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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 0xc]
sub esp, 0x44
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.0040f150
mov edi, dword [esi + 0x154]
mov eax, dword [esi + 0x158]
mov edx, dword [esi + 0x15c]
mov ecx, dword [esi + 0x160]
add edi, dword [esi + 0x1074]
add eax, dword [esi + 0x1078]
sub edx, dword [esi + 0x107c]
sub ecx, dword [esi + 0x1080]
cmp dword [esi + 0x106c], 0
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], ecx
jne 0x427f22
mov ebx, dword [esi]
push 0
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ebp + 0xc]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [ebx + 0x1b4]
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 0x1090]
test ecx, ecx
je 0x427f4a
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x427f4a
mov ecx, dword [esi + 0x1090]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
sub dword [ebp + 0x10], eax
mov ecx, dword [esi + 0x1094]
test ecx, ecx
je 0x427f72
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x427f72
mov ecx, dword [esi + 0x1094]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
sub dword [ebp + 0x14], eax
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
sub ebx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x1094]
sub edi, dword [ebp + 8]
mov dword [esp + 0x2c], ebx
test ecx, ecx
je 0x427fa6
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x427fa6
mov ecx, dword [esi + 0x1094]
add edi, dword [ecx + 0x1068]
xor edx, edx
cmp dword [esi + 0x106c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
jle 0x4280a9
mov edx, dword [esi + 0x1068]
mov eax, dword [esp + 0x10]
mov ebx, dword [edx + eax*4]
mov edx, dword [ebx]
mov eax, dword [edx + 0xc8]
mov ecx, ebx
call eax
test al, al
je 0x42808c
mov edx, dword [ebx]
mov eax, dword [edx + 0xf4]
mov ecx, ebx
call eax
test al, al
jne 0x42808c
mov eax, dword [esp + 0x2c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x114]
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call edx
cmp dword [esp + 0x20], 0
jne 0x42801d
inc dword [esp + 0x18]
jmp 0x428055
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
mov ecx, ebx
call edx
cmp dword [esp + 0x20], eax
jge 0x428039
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
mov ecx, ebx
call edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x70]
mov ecx, ebx
call edx
cmp dword [esp + 0x20], eax
jle 0x428055
mov eax, dword [ebx]
mov edx, dword [eax + 0x70]
mov ecx, ebx
call edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call edx
add eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call edx
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
add eax, dword [ecx]
add eax, dword [esp + 0x20]
add dword [esp + 0xc], eax
inc dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esi + 0x106c]
mov dword [esp + 0x10], eax
jl 0x427fc4
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x1084]
dec eax
imul ecx, eax
add edx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
jle 0x4280e4
mov eax, edi
sub eax, edx
cdq
idiv ecx
xor edx, edx
test eax, eax
setl dl
dec edx
and edx, eax
mov dword [esp + 0x14], edx
mov ecx, dword [esi + 0x1094]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x18], ebx
cmp ecx, edi
je 0x42811d
mov eax, dword [ecx]
mov edx, dword [eax + 0xc8]
call edx
test al, al
je 0x42811d
mov eax, dword [esi + 0x1094]
sub ebx, dword [eax + 0x106c]
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x106c], edi
mov dword [esp + 0x10], edi
jle 0x4282fc
mov ecx, dword [esi + 0x1068]
mov edx, dword [esp + 0x10]
mov edi, dword [ecx + edx*4]
mov eax, dword [edi]
mov edx, dword [eax + 0xc8]
mov ecx, edi
call edx
test al, al
je 0x4282e5
mov eax, dword [edi]
mov edx, dword [eax + 0xf4]
mov ecx, edi
call edx
test al, al
je 0x428174
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x1b0]
push ecx
mov ecx, esi
call edx
jmp 0x4282e5
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi]
mov edx, dword [edx + 0x114]
push ecx
push eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x20], 0
mov ecx, edi
jne 0x4281b6
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
call eax
cmp dword [esp + 0x20], eax
jge 0x4281d0
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
mov dword [esp + 0x20], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
mov ecx, edi
call eax
cmp dword [esp + 0x20], eax
jle 0x4281ec
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
mov ecx, edi
call eax
mov dword [esp + 0x20], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x60]
mov ecx, edi
call eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x428211
mov eax, dword [ebp + 0x14]
sub eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
test eax, eax
jge 0x42821b
mov dword [esp + 0x24], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
cmp dword [esp + 0x24], eax
jge 0x428237
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
mov dword [esp + 0x24], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
cmp dword [esp + 0x24], eax
jle 0x428259
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
lea edx, [ecx + ebx]
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 0xc]
add eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x34]
add ecx, ebx
mov ebx, dword [esp + 0x24]
add eax, ebx
mov ebx, dword [esp + 0x40]
add eax, edx
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
mov dword [esp + 0x4c], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x54]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0xc], ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x38]
mov eax, dword [esi + 0x1084]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
lea edi, [eax + ecx]
add edi, dword [esp + 0x20]
add eax, ecx
add eax, dword [esp + 0x20]
add edi, edx
add ebx, edi
mov edi, dword [esp + 0x20]
add edi, ecx
add edi, edx
add dword [esp + 0xc], edi
sub dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esi + 0x106c]
mov dword [esp + 0x10], eax
jl 0x42812d
xor edi, edi
mov eax, dword [esi + 0x1084]
imul eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x1094]
add dword [esp + 0xc], eax
cmp ecx, edi
je 0x4284a9
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov edx, dword [ecx]
cmp dword [esp + 0xc], eax
mov eax, dword [edx + 0xc8]
jle 0x4283da
call eax
mov ecx, dword [esi + 0x1094]
test al, al
je 0x428351
mov eax, dword [esp + 0xc]
sub eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
call fcn.00426000
jmp 0x4284a9
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov eax, dword [esp + 0xc]
sub eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x1094]
add eax, dword [ebp + 8]
call fcn.00426000
mov ecx, dword [esi + 0x1094]
cmp dword [ecx + 0x106c], edi
je 0x4283c5
mov eax, dword [ecx + 0x1068]
cmp eax, edi
mov dword [ecx + 0x106c], edi
jge 0x428396
mov dword [ecx + 0x106c], 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 + 0x1094]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
sub dword [ebp + 0x14], eax
jmp 0x4284a9
call eax
test al, al
je 0x4284a9
mov ecx, dword [esi + 0x1094]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push edi
call eax
mov ecx, dword [esi + 0x1094]
cmp dword [ecx + 0x1068], edi
je 0x428446
cmp dword [ecx + 0x106c], edi
mov dword [ecx + 0x1068], edi
jle 0x428417
mov dword [ecx + 0x106c], 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 + 0x1094]
cmp dword [ecx + 0x106c], edi
je 0x428499
mov eax, dword [ecx + 0x1068]
cmp eax, edi
mov dword [ecx + 0x106c], edi
jge 0x42846a
mov dword [ecx + 0x106c], 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 + 0x1094]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
add dword [ebp + 0x14], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x1b4]
push edi
push eax
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