Function at 0x437f80
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x45136f
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x464630]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x464630]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
xor esi, esi
mov eax, 7
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edi, ecx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xe0], eax
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xc0], esi
mov word [esp + 0xb0], cx
mov dword [esp + 0xdc], esi
mov word [esp + 0xcc], dx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0xfc]
lea eax, [esp + 0x74]
push eax
push ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0xfc], esi
call fcn.0042f130
test al, al
je 0x438212
push 0x98
call fcn.0043a403
mov ebp, eax
add esp, 4
mov dword [esp + 0x70], ebp
mov byte [esp + 0xf4], 1
cmp ebp, esi
je 0x43813e
push 0x458428
lea ecx, [esp + 0x58]
call fcn.004016c5
push 0x458428
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf8], 2
mov dword [esp + 0x18], 1
call fcn.004016c5
mov eax, 3
push 0x458428
lea ecx, [esp + 0x20]
mov dword [esp + 0xf8], eax
mov dword [esp + 0x18], eax
call fcn.004016c5
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x54]
push edx
mov edx, dword [esp + 0x90]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x108]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push 0xffffffffffffffff
push esi
push eax
mov ebx, 7
push ecx
mov dword [esp + 0x114], 4
mov dword [esp + 0x34], ebx
call fcn.0042cfd0
mov edx, dword [esp + 0x11c]
push eax
push edi
push edx
push 1
mov ecx, ebp
call fcn.004314b0
mov edi, dword [esp + 0x18]
mov ebp, eax
jmp 0x438140
xor ebp, ebp
test bl, 4
je 0x43816f
and ebx, 0xfffffffb
cmp dword [esp + 0x34], 8
jb 0x43815c
mov eax, dword [esp + 0x20]
push eax
call fcn.0043a3dd
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
test bl, 2
je 0x43819e
and ebx, 0xfffffffd
cmp dword [esp + 0x50], 8
jb 0x43818b
mov edx, dword [esp + 0x3c]
push edx
call fcn.0043a3dd
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], ax
mov dword [esp + 0xf4], esi
test bl, 1
je 0x4381d1
cmp dword [esp + 0x6c], 8
jb 0x4381be
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0043a3dd
add esp, 4
xor edx, edx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], esi
mov word [esp + 0x58], dx
cmp ebp, esi
je 0x438212
mov ecx, dword [edi + 4]
cmp ecx, esi
je 0x4381e2
push ebp
call fcn.00430940
mov eax, dword [esp + 0xa0]
push esi
push esi
push eax
push 0x437250
push esi
push esi
call fcn.0043a95e
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xfc]
push ecx
mov ecx, dword [edi + 8]
call fcn.0042ffc0
lea ecx, [esp + 0x74]
call fcn.0042e660
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0043a84e
add esp, 0xe4
ret 8