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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 0xc]
sub esp, 0x6c
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.00421750
mov eax, dword [esi + 0x154]
mov ecx, dword [esi + 0x158]
mov edi, dword [esi + 0x15c]
mov ebx, dword [esi + 0x160]
add eax, dword [esi + 0x4b0]
add ecx, dword [esi + 0x4b4]
sub edi, dword [esi + 0x4b8]
sub ebx, dword [esi + 0x4bc]
cmp dword [esi + 0x4c8], 0
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x14], ebx
je 0x42f13c
mov ecx, dword [esi + 0x4c8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x42f13c
mov ecx, dword [esi + 0x4c8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
call edx
sub edi, eax
mov dword [ebp + 0x10], edi
cmp dword [esi + 0x4cc], 0
je 0x42f16b
mov ecx, dword [esi + 0x4cc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x42f16b
mov ecx, dword [esi + 0x4cc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
call edx
sub ebx, eax
mov dword [ebp + 0x14], ebx
sub edi, dword [ebp + 8]
sub ebx, dword [ebp + 0xc]
cmp dword [esi + 0x4cc], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x20], ebx
je 0x42f1aa
mov ecx, dword [esi + 0x4cc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x42f1aa
mov eax, dword [esi + 0x4cc]
mov ecx, dword [eax + 0x4a4]
add dword [esp + 0x40], ecx
xor eax, eax
cmp dword [esi + 0x4a8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
jle 0x42f318
mov edi, eax
mov edi, edi
mov edx, dword [esi + 0x4a4]
mov ebx, dword [edx + edi*4]
mov eax, dword [ebx]
mov edx, dword [eax + 0xc8]
mov ecx, ebx
call edx
test al, al
je 0x42f305
mov eax, dword [ebx]
mov edx, dword [eax + 0xf4]
mov ecx, ebx
call edx
test al, al
jne 0x42f305
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
mov eax, dword [ebx]
push ecx
push edx
mov edx, dword [eax + 0x114]
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call edx
cmp dword [esp + 0x3c], 0
jne 0x42f22a
add dword [esp + 0x18], 1
jmp 0x42f268
mov eax, dword [ebx]
mov edx, dword [eax + 0x78]
mov ecx, ebx
call edx
cmp dword [esp + 0x3c], eax
jge 0x42f246
mov eax, dword [ebx]
mov edx, dword [eax + 0x78]
mov ecx, ebx
call edx
mov dword [esp + 0x3c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x80]
mov ecx, ebx
call edx
cmp dword [esp + 0x3c], eax
jle 0x42f268
mov eax, dword [ebx]
mov edx, dword [eax + 0x80]
mov ecx, ebx
call edx
mov dword [esp + 0x3c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebx
call edx
lea edi, [eax + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebx
call edx
mov eax, dword [eax + 4]
add eax, dword [edi]
mov edx, dword [ebx]
add eax, dword [esp + 0x3c]
mov edx, dword [edx + 0x48]
add dword [esp + 0x10], eax
lea eax, [esp + 0x48]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x38]
xor ecx, ecx
test eax, eax
setle cl
sub ecx, 1
and ecx, eax
mov dword [esp + 0x38], ecx
mov edx, dword [ebx]
mov eax, dword [edx + 0x68]
mov ecx, ebx
call eax
cmp dword [esp + 0x38], eax
jge 0x42f2d2
mov edx, dword [ebx]
mov eax, dword [edx + 0x68]
mov ecx, ebx
call eax
mov dword [esp + 0x38], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x70]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x38]
cmp ecx, eax
jle 0x42f2f2
mov edx, dword [ebx]
mov eax, dword [edx + 0x70]
mov ecx, ebx
call eax
mov ecx, eax
mov dword [esp + 0x38], ecx
cmp dword [esp + 0xc], ecx
jg 0x42f2fc
mov dword [esp + 0xc], ecx
add dword [esp + 0x1c], 1
mov edi, dword [esp + 0x14]
add edi, 1
cmp edi, dword [esi + 0x4a8]
mov dword [esp + 0x14], edi
jl 0x42f1d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x4c0]
add eax, 0xffffffff
imul ecx, eax
add dword [esp + 0x10], ecx
cmp dword [esi + 0x4f4], 0
mov dword [esp + 0x34], eax
je 0x42f3b4
mov eax, dword [esi + 0x4f4]
mov edx, dword [eax + 0x4f4]
lea ecx, [eax + 0x4f4]
mov eax, dword [edx + 0x10]
call eax
mov ebx, eax
test ebx, ebx
je 0x42f3b4
mov edx, dword [ebx + 0x4a0]
mov eax, dword [edx + 0xc]
lea ecx, [ebx + 0x4a0]
call eax
test eax, eax
jle 0x42f3b4
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [ebx]
mov edx, dword [edx + 0x114]
push edi
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebx
call edx
cmp dword [eax], 0
jge 0x42f395
mov dword [esp + 0xc], 0
jmp 0x42f3b8
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx]
mov eax, dword [eax + 0x114]
push edi
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, ebx
call eax
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
jmp 0x42f3b8
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
xor ecx, ecx
cmp ebx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], ecx
jle 0x42f3e3
mov eax, edi
sub eax, dword [esp + 0x10]
cdq
idiv ebx
xor edx, edx
cmp eax, ecx
setl dl
sub edx, 1
and edx, eax
mov dword [esp + 0x30], edx
cmp dword [esi + 0x4c8], ecx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x24], ebx
je 0x42f41a
mov ecx, dword [esi + 0x4c8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x42f41a
mov eax, dword [esi + 0x4c8]
sub ebx, dword [eax + 0x4a8]
mov dword [esp + 0x24], ebx
cmp dword [esi + 0x4cc], 0
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], edi
je 0x42f450
mov ecx, dword [esi + 0x4cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x42f450
mov ecx, dword [esi + 0x4cc]
mov eax, edi
sub eax, dword [ecx + 0x4a8]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x10]
xor eax, eax
cmp dword [esi + 0x4a8], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
jle 0x42f6a8
mov edi, edi
mov eax, dword [esi + 0x4a4]
mov ecx, dword [esp + 0x10]
mov edi, dword [eax + ecx*4]
mov edx, dword [edi]
mov eax, dword [edx + 0xc8]
mov ecx, edi
call eax
test al, al
je 0x42f691
mov edx, dword [edi]
mov eax, dword [edx + 0xf4]
mov ecx, edi
call eax
test al, al
je 0x42f4b7
mov edx, dword [esi]
mov eax, dword [esp + 0x10]
mov edx, dword [edx + 0x1a8]
push eax
mov ecx, esi
call edx
jmp 0x42f691
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x58]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x5c]
mov edx, dword [edi]
mov edx, dword [edx + 0x114]
push eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x3c], 0
jne 0x42f565
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ecx
jne 0x42f525
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x64]
mov edx, 0
sub eax, dword [esp + 0x20]
sets dl
sub edx, 1
and edx, eax
mov dword [esp + 0x3c], edx
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
cmp dword [esp + 0x3c], eax
jge 0x42f541
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
cmp dword [esp + 0x3c], eax
jle 0x42f5ab
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov dword [esp + 0x3c], eax
jmp 0x42f5ab
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
cmp dword [esp + 0x3c], eax
jge 0x42f581
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jle 0x42f5a7
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov ecx, eax
mov dword [esp + 0x3c], ecx
sub dword [esp + 0x20], ecx
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xc]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x38], ecx
cmp ecx, eax
jg 0x42f5c7
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
cmp dword [esp + 0x38], eax
jge 0x42f5e3
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
cmp dword [esp + 0x38], eax
jle 0x42f5ff
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x5c]
add ecx, ebx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x38]
add eax, ecx
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
add eax, ecx
add eax, dword [esp + 0x5c]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x7c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x80]
add eax, ebx
mov ebx, dword [edi]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x34]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x4c0]
mov ebx, dword [esp + 0x24]
lea edi, [ecx + edx]
mov edx, dword [esp + 0x5c]
add edi, edx
add edi, eax
add ebx, edi
mov edi, dword [esp + 0x3c]
add edi, ecx
add edi, edx
mov edx, dword [esp + 0x3c]
add dword [esp + 0x14], edi
add ecx, edx
add ecx, eax
sub dword [esp + 0x4c], ecx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esi + 0x4a8]
mov dword [esp + 0x10], eax
jl 0x42f470
mov eax, dword [esi + 0x4c0]
imul eax, dword [esp + 0x34]
add dword [esp + 0x14], eax
xor edi, edi
cmp dword [esi + 0x4cc], edi
je 0x42f903
mov ecx, dword [esi + 0x4cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
mov ebx, dword [esp + 0xc]
call eax
cmp ebx, dword [esp + 0x28]
jle 0x42f836
test al, al
mov ecx, dword [esi + 0x4cc]
je 0x42f759
mov eax, ebx
sub eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
cmp dword [ecx + 0x4a4], eax
je 0x42f903
cmp eax, edi
mov dword [ecx + 0x4a4], eax
jge 0x42f711
mov dword [ecx + 0x4a4], edi
mov eax, dword [ecx + 0x4a4]
cmp dword [ecx + 0x4a8], eax
jle 0x42f725
mov dword [ecx + 0x4a8], eax
mov edi, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ecx + 0x158]
mov dword [eax + 4], edi
mov edi, dword [ecx + 0x15c]
mov dword [eax + 8], edi
mov edi, dword [ecx + 0x160]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x34]
call eax
jmp 0x42f903
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov ecx, dword [esi + 0x4cc]
mov eax, ebx
sub eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
cmp dword [ecx + 0x4a4], eax
je 0x42f7ce
cmp eax, edi
mov dword [ecx + 0x4a4], eax
jge 0x42f78b
mov dword [ecx + 0x4a4], edi
mov eax, dword [ecx + 0x4a4]
cmp dword [ecx + 0x4a8], eax
jle 0x42f79f
mov dword [ecx + 0x4a8], eax
mov ebx, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ecx + 0x158]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 0x15c]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0x160]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x4cc]
cmp dword [ecx + 0x4a8], edi
je 0x42f821
mov eax, dword [ecx + 0x4a4]
cmp eax, edi
mov dword [ecx + 0x4a8], edi
jge 0x42f7f2
mov dword [ecx + 0x4a8], eax
mov edi, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ecx + 0x158]
mov dword [eax + 4], edi
mov edi, dword [ecx + 0x15c]
mov dword [eax + 8], edi
mov edi, dword [ecx + 0x160]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x4cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
sub dword [ebp + 0x14], eax
jmp 0x42f903
test al, al
je 0x42f903
mov ecx, dword [esi + 0x4cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push edi
call eax
mov ecx, dword [esi + 0x4cc]
cmp dword [ecx + 0x4a4], edi
je 0x42f8a0
cmp dword [ecx + 0x4a8], edi
mov dword [ecx + 0x4a4], edi
jle 0x42f871
mov dword [ecx + 0x4a8], edi
mov ebx, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ecx + 0x158]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 0x15c]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0x160]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x4cc]
cmp dword [ecx + 0x4a8], edi
je 0x42f8f3
mov eax, dword [ecx + 0x4a4]
cmp eax, edi
mov dword [ecx + 0x4a8], edi
jge 0x42f8c4
mov dword [ecx + 0x4a8], eax
mov edi, dword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ecx + 0x158]
mov dword [eax + 4], edi
mov edi, dword [ecx + 0x15c]
mov dword [eax + 8], edi
mov edi, dword [ecx + 0x160]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x4cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
add dword [ebp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x1ac]
push eax
push ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10