Function at 0x4591a0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4afd62
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x4d1644]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d1644]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x60]
call fcn.00457480
xor ebx, ebx
lea eax, [esi + 0x290]
push eax
push ebx
push esi
push 0x454f10
push ebx
push ebx
mov dword [esp + 0x110], ebx
call fcn.0047be84
mov ecx, dword [esi + 0x294]
add esp, 0x18
push ecx
push eax
mov dword [esi + 0x28c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45922b
mov ecx, esi
call fcn.004582e0
jmp 0x4598a7
lea edx, [esi + 0x27c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], bl
call fcn.00416200
cmp dword [esi + 0x278], ebx
mov byte [esp + 0xf8], 1
je 0x459890
cmp dword [esi + 0x2ac], ebx
je 0x459890
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x298]
lea ecx, [esi + 0x230]
push eax
call fcn.0040208a
lea ecx, [esp + 0x14]
mov byte [esp + 0xf8], bl
call fcn.004161b0
push 0x4be61e
lea ecx, [esp + 0x2c]
call fcn.004040f9
push 0x4be61e
push esi
mov byte [esp + 0x100], 2
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x4592be
push 0xffffffffffffffff
push ebx
push esi
call fcn.00408910
jmp 0x4592c8
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x1c]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x4592fa
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x459304
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x38]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x459336
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x459340
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x54]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x459372
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x45937c
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x70]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x4593ae
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x4593b8
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x8c]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x4593ed
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x4593f7
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0xa8]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x45942c
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x459436
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0xc4]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x45946b
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x459475
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0xe0]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x4594aa
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x4594b4
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0xfc]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x4594e9
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x4594f3
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x118]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x459528
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x459532
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x134]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x459567
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x459571
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x150]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x4595a6
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x4595b0
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x16c]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x4595e5
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x4595ef
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x188]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x459624
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x45962e
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x1a4]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x459663
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x45966d
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x1c0]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x4596a2
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x4596ac
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x1dc]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x4596e1
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x4596eb
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x1f8]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x459720
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x45972a
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
lea edi, [esi + 0x214]
push 0x4be61e
push edi
call fcn.00452f90
add esp, 8
test al, al
lea ecx, [esp + 0x28]
je 0x45975f
push 0xffffffffffffffff
push ebx
push edi
call fcn.00408910
jmp 0x459769
push str.NULL
call fcn.00415c30
push 0x4b96f0
lea ecx, [esp + 0x2c]
call fcn.00415c30
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0xdc]
call fcn.0040208a
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x64]
call fcn.00454350
mov byte [esp + 0xf8], 3
mov dword [esp + 0x1c], ebx
lea ebp, [esi + 0x24c]
mov edi, 0xf
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x68]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.0040208a
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebp
mov byte [esp + 0x13c], 4
mov byte [ecx + 4], bl
call fcn.0040208a
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x230]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x158], 5
mov byte [ecx + 4], bl
call fcn.0040208a
mov ecx, esi
mov byte [esp + 0x14c], 3
call fcn.00453ae0
cmp al, bl
jne 0x459844
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, 3
mov dword [esp + 0x1c], eax
jb 0x4597b0
jmp 0x45984b
mov ecx, esi
call fcn.004582e0
mov esi, 0x10
cmp dword [esp + 0x5c], esi
jb 0x459863
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00479e49
add esp, 4
cmp dword [esp + 0x40], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x459882
mov edx, dword [esp + 0x2c]
push edx
call fcn.00479e49
add esp, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
jmp 0x4598a7
mov ecx, esi
call fcn.004582e0
lea ecx, [esp + 0x14]
mov byte [esp + 0xf8], bl
call fcn.004161b0
lea ecx, [esp + 0x60]
call fcn.00452fd0
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00479e10
add esp, 0xe8
ret