Function at 0x422ab0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e148
mov eax, dword fs:[0]
push eax
sub esp, 0x78
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 0x422b03
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x74]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
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 0x422b78
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x70]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x422b64
mov ecx, dword [ebp - 0x78]
cmp dword [ecx - 4], 0
je 0x422b43
push 3
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x74]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x80], eax
jmp 0x422b59
mov eax, dword [ebp - 0x78]
sub eax, 4
push eax
call fcn.0048b8ec
add esp, 4
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
jmp 0x422b6e
mov dword [ebp - 0x84], 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
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.00404820
mov eax, dword [ebp - 0x10]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00404800
push 0x54cf28
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00401fa0
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 0x4234c0
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 0x422caf
mov dword [ebp - 0x6c], 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 - 0x6c]
jmp 0x422ce0
mov dword [ebp - 0x68], 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 - 0x68]
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