Function at 0x42c7d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4813d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push ebp
push esi
mov esi, ecx
mov al, 8
push edi
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], al
mov eax, dword [esi + 0x1ad0]
cmp eax, 5
mov byte [esp + 0x10], 0xff
mov byte [esp + 0x11], 0xff
mov byte [esp + 0x12], 0xff
mov byte [esp + 0x13], 0
mov byte [esp + 0x1b], 0
mov dword [esp + 0x14], 5
jg 0x42c82f
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0xd8]
lea eax, [esi + 0x20e4]
push eax
push edi
mov ecx, esi
call fcn.00435c60
mov eax, dword [esi + 0x1ad0]
mov edx, dword [esi + 0x1acc]
sub eax, edx
cmp eax, 5
jge 0x42c85c
mov dword [esp + 0x14], eax
push 0
push 0
push 0
push 0
push 7
mov ecx, esi
call fcn.00435c20
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x42c8b0
mov ebp, 0x1c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x1acc]
push 4
push 0
push ecx
push edx
push 0x10
push 7
push ebp
add eax, ebx
push 0x90
push eax
mov ecx, esi
call fcn.00436ac0
mov eax, dword [esp + 0x14]
inc ebx
add ebp, 0x70
cmp ebx, eax
jl 0x42c87c
push 0
push 0
push edi
push 0x258
push 0x320
push 0
push 0
push 7
push 1
mov ecx, esi
call fcn.00435d30
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x42ca49
lea ecx, [esi + 0x2104]
mov dword [esp + 0x10], ecx
mov ebp, dword [esi + 0x1acc]
mov ecx, esi
add ebp, ebx
push ebp
call fcn.0042cb80
test al, al
je 0x42ca31
mov edx, dword [0x4a23a0]
mov dword [esp + 0xac], edx
mov ecx, dword [0x4ccd64]
lea eax, [esp + 0x9c]
push eax
push ebp
mov ecx, dword [ecx + 0x804]
mov dword [esp + 0xd8], 0
call fcn.00416470
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
push edi
call fcn.00435c60
mov eax, dword [esp + 0xb8]
mov ecx, 0xf
and eax, 0xff
mov dword [esp + 0x3c], 0xa
cdq
idiv ecx
mov dword [esp + 0x40], 0xd
mov dword [esp + 0x44], 0x10
mov dword [esp + 0x48], 0x13
mov dword [esp + 0x4c], 0x16
mov dword [esp + 0x50], 0x19
mov dword [esp + 0x54], 0x1c
mov dword [esp + 0x58], 0x1f
mov dword [esp + 0x5c], 0x22
mov dword [esp + 0x60], 0x25
mov dword [esp + 0x64], 0x28
mov dword [esp + 0x68], 0x2b
mov dword [esp + 0x6c], 0x2e
mov dword [esp + 0x70], 0x31
mov dword [esp + 0x74], 0x34
mov dword [esp + 0x78], 0x37
lea eax, [esp + 0x7c]
mov ecx, esi
mov edx, dword [esp + edx*4 + 0x3c]
push edx
push 2
push 1
push eax
call fcn.00437330
mov eax, ebx
mov ecx, 5
cdq
idiv ecx
shl edx, 2
mov eax, dword [edx + str.44444]
mov ecx, dword [edx + 0x485fd0]
lea edx, [esp + 0x7c]
mov dword [esp + 0x84], ecx
push edx
push edi
mov ecx, esi
mov dword [esp + 0x88], eax
call fcn.00435c60
lea ecx, [esp + 0xac]
mov dword [esp + 0xd0], 0xffffffff
call fcn.00478eab
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ebx
add ecx, 0x20
cmp ebx, eax
mov dword [esp + 0x10], ecx
jl 0x42c8e6
cmp dword [esi + 0x1ad0], 1
jle 0x42cb44
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x1c]
add eax, 4
push eax
push 2
push 1
push ecx
mov ecx, esi
call fcn.00437330
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
push edi
call fcn.00435c60
mov eax, dword [esp + 0xe4]
lea ecx, [esp + 0x1c]
add eax, 7
push eax
push 2
push 1
push ecx
mov ecx, esi
call fcn.00437330
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
push edi
call fcn.00435c60
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0x1c]
push eax
push 2
push 1
push ecx
mov ecx, esi
call fcn.00437330
mov eax, dword [esp + 0xe8]
test eax, eax
je 0x42cb00
mov cl, byte [esi + 0x21b4]
test cl, cl
je 0x42cb00
mov eax, dword [eax + 4]
mov ecx, 0x2d8
cmp eax, 0x1d7
mov dword [esp + 0x20], ecx
jge 0x42caf9
cmp eax, 0x21
jge 0x42caf2
mov eax, 0x21
jmp 0x42cb27
cmp eax, 0x1d7
jl 0x42cb27
mov eax, 0x1d7
jmp 0x42cb27
mov eax, dword [esi + 0x1acc]
mov ebx, dword [esi + 0x1ad0]
mov ecx, 0x2d8
lea edx, [eax + eax*8]
mov dword [esp + 0x20], ecx
lea eax, [eax + edx*8]
lea eax, [eax + eax*2]
shl eax, 1
cdq
dec ebx
idiv ebx
add eax, 0x21
mov dword [esi + 0x21a4], ecx
mov dword [esp + 0x24], eax
mov dword [esi + 0x21a8], eax
lea eax, [esp + 0x1c]
push eax
push edi
mov ecx, esi
call fcn.00435c60
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc4
ret 0x14