Function at 0x422fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e188
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x5a6900]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x74], 0
je 0x42300c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x74]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
push edx
call fcn.0048b8ec
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x74], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x70], 0
je 0x42308a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x70]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x423076
mov ecx, dword [ebp - 0x80]
cmp dword [ecx - 4], 0
je 0x42304f
push 3
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x88], eax
jmp 0x423068
mov eax, dword [ebp - 0x80]
sub eax, 4
push eax
call fcn.0048b8ec
add esp, 4
mov dword [ebp - 0x88], 0
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
jmp 0x423080
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x70], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00404820
push 0x54a628
lea ecx, [ebp - 0x14]
call fcn.00404760
mov dword [ebp - 4], 0
push 0x54a628
lea ecx, [ebp - 0x18]
call fcn.00404760
mov byte [ebp - 4], 1
push 0x54a628
lea ecx, [ebp - 0x1c]
call fcn.00404760
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
add eax, 0x3c
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00404880
push eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x6c]
call fcn.0043b0d0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00404880
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x6c]
call fcn.0043af70
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push 0
mov ecx, dword [ebp - 0x10]
sub ecx, 4
push ecx
push 0x4234f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x58], 0
jne 0x423193
mov dword [ebp - 0x74], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004047e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004047e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004047e0
mov eax, dword [ebp - 0x74]
jmp 0x42322a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x58], 0xffffffff
jne 0x4231cf
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004047e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004047e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004047e0
mov eax, dword [ebp - 0x70]
jmp 0x42322a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.0040d9c0
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.004af7a7
add esp, 8
mov dword [ebp - 0x6c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004047e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004047e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004047e0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8