Function at 0x10434ad
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
and dword [ebp - 0xc], 0
push ebx
push esi
push edi
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov ebx, 0x100300c
cmp eax, esi
je 0x10434e9
test byte [eax + 0x1c], 4
je 0x10434e9
cmp byte [eax + 0x19], 5
jb 0x10434e9
push ebx
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov edi, 0xea60
push edi
push 0
push 2
call fcn.010242e0
call fcn.010614b0
test eax, eax
jne 0x10435b9
lea eax, [ebp - 8]
push eax
call fcn.01061f1a
test eax, eax
jne 0x104358a
cmp dword [ebp - 8], eax
je 0x10435af
mov eax, dword [0x1075004]
cmp eax, esi
je 0x104353e
test byte [eax + 0x1c], 4
je 0x104353e
cmp byte [eax + 0x19], 5
jb 0x104353e
push ebx
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push 0
call fcn.0106202c
test eax, eax
jne 0x104356e
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10435af
test byte [eax + 0x1c], 4
je 0x10435af
cmp byte [eax + 0x19], 5
jb 0x10435af
push ebx
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
jmp 0x10435af
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x10435af
test byte [ecx + 0x1c], 4
je 0x10435af
cmp byte [ecx + 0x19], 2
jb 0x10435af
push eax
push ebx
push 0x15
jmp 0x10435a4
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x10435af
test byte [ecx + 0x1c], 4
je 0x10435af
cmp byte [ecx + 0x19], 2
jb 0x10435af
push eax
push ebx
push 0x16
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101463a
push edi
push 0
push 2
call fcn.010242e0
push edi
push 0
push 2
call fcn.010242e0
lea eax, [ebp - 0xc]
push eax
call fcn.0105d3b2
test eax, eax
jne 0x1043600
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10435fc
test byte [eax + 0x1c], 4
je 0x10435fc
cmp byte [eax + 0x19], 2
jb 0x10435fc
push edi
push ebx
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
mov eax, edi
jmp 0x104366c
push edi
push 0
push 2
call fcn.010242e0
push 0x100313c
call fcn.0105f5de
mov dword [ebp - 4], eax
test eax, eax
je 0x1043671
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043641
test byte [eax + 0x1c], 4
je 0x1043641
cmp byte [eax + 0x19], 2
jb 0x1043641
push dword [ebp - 4]
push ebx
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
xor eax, eax
lea ecx, [ebp - 0x30]
mov word [ebp - 0x2c], ax
call fcn.01009ad5
push eax
push 0xc0007d29
push 1
push 1
push 1
call fcn.0105d809
add esp, 0x14
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
call fcn.01049952
test eax, eax
jne 0x10436a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043641
test byte [eax + 0x1c], 4
je 0x1043641
cmp byte [eax + 0x19], 2
jb 0x1043641
push dword [ebp - 4]
push ebx
push 0x19
jmp 0x1043636
push edi
push 0
push 2
call fcn.010242e0
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x1077fd8], eax
test eax, eax
jne 0x1043701
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043641
test byte [eax + 0x1c], 4
je 0x1043641
cmp byte [eax + 0x19], 2
jb 0x1043641
push dword [ebp - 4]
push ebx
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
jmp 0x1043641
push edi
push 0
push 2
call fcn.010242e0
push 0x3c
call fcn.0105c184
mov dword [0x1077fc8], eax
test eax, eax
jne 0x1043762
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x104374a
test byte [eax + 0x1c], 4
je 0x104374a
cmp byte [eax + 0x19], 2
jb 0x104374a
push dword [ebp - 4]
push ebx
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
push 0xc0007d72
push 0
push 1
push 1
call fcn.0105d809
add esp, 0x10
jmp 0x1043669
push 0x3c
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
call fcn.0106d947
test eax, eax
jge 0x104379f
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x104374a
test byte [ecx + 0x1c], 4
je 0x104374a
cmp byte [ecx + 0x19], 2
jb 0x104374a
push eax
push ebx
push 0x1c
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101463a
jmp 0x104374a
call fcn.0106da9f
test eax, eax
jge 0x10437c4
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x104374a
test byte [ecx + 0x1c], 4
je 0x104374a
cmp byte [ecx + 0x19], 2
jb 0x104374a
push eax
push ebx
push 0x1d
jmp 0x1043792
mov eax, dword [0x1077fc8]
lea ecx, [eax + 8]
push ecx
lea ecx, [eax + 0xc]
push ecx
lea ecx, [eax + 4]
push ecx
push eax
add eax, 0x10
push eax
call fcn.0106dc8a
test eax, eax
je 0x1043812
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043812
test byte [eax + 0x1c], 4
je 0x1043812
cmp byte [eax + 0x19], 2
jb 0x1043812
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push ebx
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
mov eax, dword [0x1077fc8]
lea ecx, [eax + 0x1c]
push ecx
lea ecx, [eax + 0x20]
push ecx
lea ecx, [eax + 0x18]
push ecx
lea ecx, [eax + 0x14]
push ecx
lea ecx, [eax + 0x28]
push ecx
add eax, 0x24
push eax
call fcn.0106de30
test eax, eax
je 0x1043867
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043867
test byte [eax + 0x1c], 4
je 0x1043867
cmp byte [eax + 0x19], 2
jb 0x1043867
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push ebx
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
mov eax, dword [0x1077fc8]
lea ecx, [eax + 0x34]
push ecx
lea ecx, [eax + 0x38]
push ecx
lea ecx, [eax + 0x30]
push ecx
add eax, 0x2c
push eax
call fcn.0106db29
test eax, eax
je 0x10438b4
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10438b4
test byte [eax + 0x1c], 4
je 0x10438b4
cmp byte [eax + 0x19], 2
jb 0x10438b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push ebx
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x1078010
call ebx
mov eax, dword [0x1077fc8]
mov ecx, dword [eax + 0x20]
imul ecx, ecx, 0x3c
mov dword [0x1077fd4], ecx
mov ecx, dword [eax + 0x38]
imul ecx, ecx, 0x3c
mov dword [0x1077fcc], ecx
mov eax, dword [eax + 0xc]
imul eax, eax, 0x3c
push 0x1078010
mov dword [0x1077fd0], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
push 0
push 2
call fcn.010242e0
lea eax, [ebp - 0xc]
push eax
call fcn.01042cf9
mov dword [ebp - 4], eax
test eax, eax
je 0x1043949
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043669
test byte [eax + 0x1c], 4
je 0x1043669
cmp byte [eax + 0x19], 2
jb 0x1043669
push dword [ebp - 4]
push 0x100300c
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
jmp 0x1043669
push edi
push 0
push 2
call fcn.010242e0
push dword [ebp - 0xc]
call fcn.01049af3
test eax, eax
jne 0x10439f7
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043995
test byte [eax + 0x1c], 4
je 0x1043995
cmp byte [eax + 0x19], 2
jb 0x1043995
push ebx
push 0x100300c
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
xor eax, eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x2c], ax
call fcn.01009ad5
push eax
mov eax, dword [0x1078100]
push dword [eax + 0x5c]
push 0xc0007d68
push 2
push 1
push 1
call fcn.0105d809
add esp, 0x18
call edi
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043641
test byte [eax + 0x1c], 4
je 0x1043641
cmp byte [eax + 0x19], 2
jb 0x1043641
push dword [ebp - 4]
push 0x100300c
push 0x23
jmp 0x10436f1
push edi
push 0
push 2
call fcn.010242e0
call fcn.0102a3e8
mov dword [ebp - 4], eax
test eax, eax
je 0x1043a99
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043a3b
test byte [eax + 0x1c], 4
je 0x1043a3b
cmp byte [eax + 0x19], 2
jb 0x1043a3b
push dword [ebp - 4]
push 0x100300c
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
xor eax, eax
lea ecx, [ebp - 0x30]
mov word [ebp - 0x2c], ax
call fcn.01009ad5
push eax
push dword [0x1078064]
push 0xc0007d69
push 2
push 1
push 1
call fcn.0105d809
add esp, 0x18
push 0x1077ed0
call ebx
push 0x1077eb8
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and dword [0x1078060], 0
and dword [0x107805c], 0
push 0x1077eb8
call ebx
push 0x1077ed0
call ebx
push edi
xor ebx, ebx
push ebx
push 2
call fcn.010242e0
call fcn.0104fae5
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1043af9
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043ada
test byte [eax + 0x1c], 4
je 0x1043ada
cmp byte [eax + 0x19], 2
jb 0x1043ada
push dword [ebp - 4]
push 0x100300c
push 0x25
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
xor eax, eax
lea ecx, [ebp - 0x30]
mov word [ebp - 0x2c], ax
call fcn.01009ad5
push eax
push 0xc0007d2c
jmp 0x104365b
push edi
push ebx
push 2
call fcn.010242e0
mov ecx, dword [0x1078124]
call fcn.010507da
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1043b44
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043641
test byte [eax + 0x1c], 4
je 0x1043641
cmp byte [eax + 0x19], 2
jb 0x1043641
push dword [ebp - 4]
push 0x100300c
push 0x26
jmp 0x10436f1
push edi
push ebx
push 2
call fcn.010242e0
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0xc]
push 0x1042f05
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x1043ba5
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043669
test byte [eax + 0x1c], 4
je 0x1043669
cmp byte [eax + 0x19], 2
jb 0x1043669
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100300c
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
push 0x27
jmp 0x1043939
push 0x4e20
push ebx
push 2
call fcn.010242e0
mov edi, 0x100300c
push 0x2710
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1043c09
cmp eax, 0x102
jne 0x1043d42
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043bfa
test byte [eax + 0x1c], 4
je 0x1043bfa
cmp byte [eax + 0x19], 5
jb 0x1043bfa
push edi
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push 0x7530
push ebx
push 2
call fcn.010242e0
jmp 0x1043bb7
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x1043c4a
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043d74
test byte [eax + 0x1c], 4
je 0x1043d74
cmp byte [eax + 0x19], 2
jb 0x1043d74
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x28
jmp 0x1043d61
mov eax, dword [ebp - 0x10]
push dword [ebp - 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], ebx
je 0x1043c8a
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043669
test byte [eax + 0x1c], 4
je 0x1043669
cmp byte [eax + 0x19], 2
jb 0x1043669
push dword [ebp - 4]
push edi
push 0x2b
jmp 0x1043939
push 0x40007d01
push ebx
push 3
push 1
call fcn.0105d809
add esp, 0x10
push dword [0x1077bd0]
push 0x1003128
call fcn.010255fc
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1043ce3
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043641
test byte [eax + 0x1c], 4
je 0x1043641
cmp byte [eax + 0x19], 2
jb 0x1043641
push dword [ebp - 4]
push 0x100300c
push 0x2c
jmp 0x10436f1
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push 0x10429dc
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1077fc4], eax
cmp eax, ebx
jne 0x1043d3b
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043641
test byte [eax + 0x1c], 4
je 0x1043641
cmp byte [eax + 0x19], 2
jb 0x1043641
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100300c
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
push 0x2d
jmp 0x10436f1
xor eax, eax
jmp 0x104366c
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1043d74
test byte [eax + 0x1c], 4
je 0x1043d74
cmp byte [eax + 0x19], 2
jb 0x1043d74
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x2a
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1043669