Function at 0x405633
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc88
mov eax, dword [0x43b034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
movzx esi, ax
push esi
push edi
call dword [0x42a264]
push 0x58
mov dword [ebp - 0xc2c], eax
lea eax, [ebp - 0xc88]
push 0
push eax
call fcn.004158c0
mov eax, 0x402
mov dword [ebp - 0xc88], 0x58
add esp, 0xc
mov dword [ebp - 0xc84], edi
mov dword [ebp - 0xc70], 1
mov ecx, 0x104
mov dword [ebp - 0xc68], ecx
cmp esi, eax
jg 0x405a2b
je 0x405a07
sub esi, 0xa8
je 0x405abe
sub esi, 0x355
je 0x405954
dec esi
je 0x405880
dec esi
je 0x405801
dec esi
je 0x40579d
dec esi
jne 0x405bde
xor eax, eax
mov dword [ebp - 0xc7c], 0x433dd8
mov word [ebp - 0x218], ax
mov esi, 0x43e298
lea eax, [ebp - 0x218]
mov dword [ebp - 0xc4c], 0x433e0c
mov dword [ebp - 0xc6c], eax
lea eax, [ebp - 0xc88]
push eax
mov dword [ebp - 0xc5c], esi
mov dword [ebp - 0xc54], 0x1804
call dword [0x42a024]
cmp eax, 1
jne 0x405bd2
lea eax, [ebp - 0x218]
push eax
push 0x404
push edi
call dword [0x42a280]
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0xc28]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00413d6d
add esp, 0x14
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00413fdb
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.00413fac
lea eax, [ebp - 0x218]
push eax
push 0x43e4a0
call fcn.00413fdb
add esp, 0x18
jmp 0x405bd2
mov byte [0x43f513], 1
call fcn.00405bf0
mov edi, dword [0x42a264]
push 0
push 0x404
push dword [0x43de50]
call edi
mov esi, dword [0x42a2a4]
push eax
call esi
push 0
push 0x401
push dword [0x43de50]
call edi
push eax
call esi
push 0
push 0x402
push dword [0x43de50]
call edi
push eax
call esi
push 0
push 0x40d
push dword [0x43de50]
call edi
push eax
call esi
push 1
jmp 0x405863
mov byte [0x43f513], 0
call fcn.00405bf0
mov edi, dword [0x42a264]
push 1
push 0x404
push dword [0x43de50]
call edi
mov esi, dword [0x42a2a4]
push eax
call esi
push 1
push 0x401
push dword [0x43de50]
call edi
push eax
call esi
push 1
push 0x402
push dword [0x43de50]
call edi
push eax
call esi
push 1
push 0x40d
push dword [0x43de50]
call edi
push eax
call esi
push 0
push 0x9d13
push dword [0x43de50]
call dword [0x42a278]
push eax
call dword [0x42a240]
jmp 0x405bde
mov al, byte [0x43f513]
mov dword [ebp - 0xc7c], 0x433d40
test al, al
jne 0x405945
mov dword [ebp - 0xc7c], 0x433d88
mov dword [ebp - 0xc4c], 0x433dd0
xor eax, eax
mov dword [ebp - 0xc54], 4
mov word [ebp - 0x620], ax
mov esi, 0x43e090
lea eax, [ebp - 0x620]
mov dword [ebp - 0xc5c], esi
mov dword [ebp - 0xc6c], eax
lea eax, [ebp - 0xc88]
push eax
call dword [0x42a028]
cmp eax, 1
jne 0x405bd2
lea eax, [ebp - 0x620]
push eax
push 0x403
push edi
call dword [0x42a280]
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0xc28]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x620]
push eax
call fcn.00413d6d
add esp, 0x14
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00413fdb
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.00413fac
add esp, 0x10
jmp 0x405bd2
mov dword [ebp - 0xc4c], 0x433dc8
jmp 0x4058ab
xor eax, eax
mov dword [ebp - 0xc7c], 0x433cd8
mov word [ebp - 0x828], ax
mov esi, 0x43de88
lea eax, [ebp - 0x828]
mov dword [ebp - 0xc4c], 0x433d38
mov dword [ebp - 0xc6c], eax
lea eax, [ebp - 0xc88]
push eax
mov dword [ebp - 0xc5c], esi
mov dword [ebp - 0xc54], 0x1804
call dword [0x42a024]
cmp eax, 1
jne 0x405bd2
lea eax, [ebp - 0x828]
push eax
push 0x3fc
push edi
call dword [0x42a280]
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0xc28]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x828]
push eax
call fcn.00413d6d
add esp, 0x14
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00413fdb
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.00413fac
add esp, 0x10
call fcn.00405bf0
jmp 0x405bd2
push 0x433194
push 0x404
push edi
call dword [0x42a280]
xor eax, eax
mov word [0x43e298], ax
mov word [0x43e4a0], ax
jmp 0x405bd2
cmp esi, 0x9c41
je 0x405af8
cmp esi, 0x9c45
je 0x405ad0
cmp esi, 0x9c49
je 0x405abe
cmp esi, 0x9d0d
jle 0x405bde
mov ecx, 0x9d12
cmp esi, ecx
jle 0x405a97
inc ecx
cmp esi, ecx
jne 0x405bde
xor eax, eax
cmp dword [0x43e6ac], eax
sete al
mov dword [0x43e6ac], eax
test eax, eax
je 0x405a81
push 8
jmp 0x405a83
push 0
push ecx
push edi
call dword [0x42a278]
push eax
call dword [0x42a274]
jmp 0x405bde
push 8
push esi
push ecx
push 0x9d0e
lea eax, [esi - 0x9d0e]
push edi
mov dword [0x43e6a8], eax
call dword [0x42a278]
push eax
call dword [0x42a27c]
jmp 0x405bde
push 0
push 0
push 0x10
push edi
call dword [0x42a29c]
jmp 0x405bde
push 0
push 0x405d90
push edi
push 0x6f
push dword [0x43de54]
call dword [0x42a23c]
push 0x9c41
push edi
call dword [0x42a264]
push eax
jmp 0x405bd8
cmp byte [0x43f511], 0
je 0x405b0d
mov byte [0x43f512], 1
jmp 0x405bde
mov esi, dword [0x42a238]
lea eax, [ebp - 0x828]
push ecx
push eax
push 0x3fc
push edi
mov byte [0x43f512], 0
call esi
push 0x104
lea eax, [ebp - 0x620]
push eax
push 0x403
push edi
call esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x404
push edi
call esi
xor eax, eax
push eax
push eax
push pe_nt_image_headers32
push 0x40d
push dword [0x43de50]
mov dword [0x43e6b0], eax
call dword [0x42a270]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x405b7e
mov dword [0x43e6b0], ecx
lea eax, [ebp - 0x828]
push eax
push 0x43eef8
call fcn.00413fdb
lea eax, [ebp - 0x620]
push eax
push 0x43f100
call fcn.00413fdb
lea eax, [ebp - 0x218]
push eax
push 0x43f308
call fcn.00413fdb
push 0x43eedc
xor eax, eax
push eax
push 0x43de50
push 0x405f4f
push eax
push eax
call fcn.00415bd7
add esp, 0x30
mov dword [0x43eed8], eax
push dword [ebp - 0xc2c]
call dword [0x42a268]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004126e7
mov esp, ebp
pop ebp
ret 0x10