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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, 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, ebx
mov dword [esp + 0x3c], ebx
mov dword [eax + 0xc], edx
call fcn.0040c280
mov esi, dword [ebx + 0x154]
mov edx, dword [ebx + 0x158]
mov eax, dword [ebx + 0x15c]
mov ecx, dword [ebx + 0x160]
add esi, dword [ebx + 0x1074]
add edx, dword [ebx + 0x1078]
sub eax, dword [ebx + 0x107c]
sub ecx, dword [ebx + 0x1080]
cmp dword [ebx + 0x106c], 0
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
je 0x436bcf
sub eax, esi
sub ecx, edx
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x20], ecx
xor ecx, ecx
xor edi, edi
cmp dword [ebx + 0x106c], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
jle 0x436920
mov eax, dword [ebx + 0x1068]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xc8]
mov ecx, esi
call eax
test al, al
je 0x436902
mov edx, dword [esi]
mov eax, dword [edx + 0xf4]
mov ecx, esi
call eax
test al, al
jne 0x436902
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x114]
push eax
push ecx
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x30], 0
jne 0x436895
inc dword [esp + 0xc]
jmp 0x4368cd
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
mov ecx, esi
call edx
cmp dword [esp + 0x30], eax
jge 0x4368b1
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
mov ecx, esi
call edx
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
mov ecx, esi
call edx
cmp dword [esp + 0x30], eax
jle 0x4368cd
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
mov ecx, esi
call edx
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call edx
add eax, 8
mov dword [esp + 0x28], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
add edx, dword [eax]
add edx, dword [esp + 0x30]
add edi, edx
inc dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [ebx + 0x106c]
mov dword [esp + 0x10], eax
jl 0x436838
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
xor eax, eax
mov edx, dword [esp + 0x14]
dec edx
imul edx, dword [ebx + 0x1084]
add edi, edx
cmp ecx, eax
mov dword [esp + 0x24], eax
jle 0x43694f
mov eax, dword [esp + 0x1c]
sub eax, edi
cdq
idiv ecx
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x24], ecx
xor eax, eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
mov edx, dword [ebx]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x38]
mov ecx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edi
call eax
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
test eax, eax
je 0x4369a2
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1a8]
call eax
test eax, eax
je 0x4369a2
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
sub dword [esp + 0x14], eax
xor edi, edi
cmp dword [ebx + 0x106c], edi
mov dword [esp + 0x28], edi
jle 0x436bcf
mov ecx, dword [ebx + 0x1068]
mov esi, dword [ecx + edi*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xc8]
mov ecx, esi
call eax
test al, al
je 0x436bbe
mov edx, dword [esi]
mov eax, dword [edx + 0xf4]
mov ecx, esi
call eax
test al, al
je 0x4369f3
mov edx, dword [ebx]
mov eax, dword [edx + 0x1b0]
push edi
mov ecx, ebx
call eax
jmp 0x436bbe
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x48]
cmp byte [ebx + 0x10bc], 0
mov dword [esp + 0x30], eax
je 0x436a2f
fild dword [esi + 0x12a0]
fimul dword [esp + 0x14]
fdiv qword [0x7c9c08]
call fcn.00565400
mov edi, eax
jmp 0x436a4f
mov ecx, dword [esp + 0x34]
mov edx, dword [esi]
mov edx, dword [edx + 0x114]
push ecx
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call edx
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
test edi, edi
jne 0x436ab1
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0xc]
jne 0x436a7f
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x50]
mov ecx, 0
sub eax, dword [esp + 0x10]
sets cl
dec ecx
and ecx, eax
mov edi, ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
cmp edi, eax
jge 0x436a97
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
mov edi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
cmp edi, eax
jle 0x436ae5
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov edi, eax
jmp 0x436ae5
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
cmp edi, eax
jge 0x436ac9
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
mov edi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
cmp edi, eax
jle 0x436ae1
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov edi, eax
sub dword [esp + 0x10], edi
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
mov ecx, esi
call eax
mov ebx, eax
test ebx, ebx
jne 0x436b04
mov ebx, dword [ebp + 0x14]
sub ebx, dword [esp + 0x54]
sub ebx, dword [esp + 0x4c]
sub ebx, dword [ebp + 0xc]
test ebx, ebx
jge 0x436b08
xor ebx, ebx
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
cmp ebx, eax
jge 0x436b20
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
mov ebx, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
cmp ebx, eax
jle 0x436b3e
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
mov ebx, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
mov eax, dword [ebp + 0xc]
add edx, ecx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x4c]
add edx, eax
mov eax, dword [esp + 0x50]
add eax, edi
add eax, dword [esp + 0x48]
sub esp, 0x10
add eax, ecx
mov ecx, dword [esp + 0x5c]
add ecx, ebx
add ecx, dword [ebp + 0xc]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x74], ecx
mov ecx, esp
mov dword [ecx], ebx
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x6c]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x74]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x1084]
mov ecx, dword [esp + 0x50]
lea edx, [eax + ecx]
add edx, edi
add edx, dword [esp + 0x48]
add eax, ecx
add dword [esp + 0x18], edx
add eax, edi
sub dword [esp + 0x30], eax
mov edi, dword [esp + 0x28]
inc edi
cmp edi, dword [ebx + 0x106c]
mov dword [esp + 0x28], edi
jl 0x4369b4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10