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

Disassembly:
sub esp, 0x144
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 0x4d4]
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0x78]
lea edx, [eax + eax*4]
mov eax, dword [0x77e490]
test eax, eax
mov dword [esp + 0x24], edx
jle 0x4836c2
lea ecx, [eax + eax*4]
mov esi, edx
sub esi, ecx
mov edi, edx
jmp 0x4836cc
lea esi, [edx + 0x1e]
lea eax, [eax + eax*4]
mov edi, esi
sub edi, eax
test esi, esi
jge 0x4836d2
xor esi, esi
mov ecx, dword [ebp + 0x4bc]
test ecx, ecx
jne 0x4836e0
xor eax, eax
jmp 0x4836eb
mov eax, dword [ebp + 0x4c0]
sub eax, ecx
sar eax, 2
cmp edi, eax
jbe 0x483708
mov eax, dword [ebp + 0x4bc]
test eax, eax
jne 0x4836fd
xor edi, edi
jmp 0x483708
mov edi, dword [ebp + 0x4c0]
sub edi, eax
sar edi, 2
cmp esi, edi
jge 0x483752
lea ebx, [ebp + 0x4c8]
mov ecx, dword [ebp + 0x4bc]
mov edx, dword [ecx + esi*4]
lea eax, [ecx + esi*4]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
mov dword [esp + 0x20], edx
call fcn.00443c90
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebp + 0x4cc]
je 0x483749
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
push 0
call dword [edx + 0x54]
inc esi
cmp esi, edi
jl 0x483712
mov edx, dword [esp + 0x24]
mov ebx, edx
mov dword [esp + 0x1c], 0
lea esp, [esp]
mov ecx, dword [ebp + 0x4bc]
test ecx, ecx
je 0x483955
mov eax, dword [ebp + 0x4c0]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x483955
add edx, 0x1e
cmp ebx, edx
jge 0x483955
mov eax, ecx
mov ecx, dword [eax + ebx*4]
lea eax, [eax + ebx*4]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [ebp + 0x4c8]
call fcn.00443c90
mov edi, dword [esp + 0x28]
cmp edi, dword [ebp + 0x4cc]
je 0x483942
mov eax, dword [esp + 0x1c]
cdq
mov ecx, 5
idiv ecx
xor esi, esi
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0x14], 0x3f800000
mov byte [esp + 0x48], 0
mov dword [esp + 0x14c], esi
mov dword [esp + 0x150], esi
mov dword [esp + 0x34], esi
mov ecx, dword [edi + 0x10]
imul edx, edx, 0x36
imul eax, eax, 0x2c
add edx, 0x51
add eax, 0xc4
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x34]
mov dword [esp + 0x30], eax
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00631e90
test al, al
je 0x483942
mov ecx, dword [0x77ff08]
mov edx, dword [ecx]
lea eax, [esp + 0x48]
push eax
call dword [edx + 0x5c]
cmp eax, esi
je 0x483851
mov ecx, dword [esp + 0x150]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x150]
push ecx
mov ecx, eax
call dword [edx + 0x28]
cmp eax, esi
jne 0x483855
xor eax, eax
jmp 0x48385c
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
movzx edx, word [eax + 0x24]
movzx ecx, word [eax + 0x28]
movzx esi, word [eax + 0x26]
movzx eax, word [eax + 0x2a]
add ecx, edx
sub ecx, edx
add eax, esi
cmp ecx, 0x20
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], ecx
jg 0x483890
mov ecx, eax
sub ecx, esi
cmp ecx, 0x20
mov dword [esp + 0x20], ecx
jle 0x4838d3
fild dword [esp + 0x18]
sub eax, esi
mov dword [esp + 0x20], eax
fdivr dword [0x700568]
fstp dword [esp + 0x10]
fild dword [esp + 0x20]
fdivr dword [0x700568]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x4838cb
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
jmp 0x4838d3
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 0x10]
lea edx, [esp + 0x10]
push edx
call fcn.00631050
fild dword [esp + 0x20]
fmul dword [esp + 0x14]
fsubr dword [0x700568]
fmul dword [0x700484]
fiadd dword [esp + 0x30]
fild dword [esp + 0x3c]
fmul dword [esp + 0x14]
fsubp st(1)
call fcn.0065ea1c
fild dword [esp + 0x18]
push eax
fmul dword [esp + 0x14]
fsubr dword [0x700568]
fmul dword [0x700484]
fiadd dword [esp + 0x30]
fild dword [esp + 0x3c]
fmul dword [esp + 0x14]
fsubp st(1)
call fcn.0065ea1c
mov ecx, dword [edi + 0x10]
push eax
call fcn.0062dff0
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
push 1
call dword [eax + 0x54]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
inc ebx
inc eax
mov dword [esp + 0x1c], eax
jmp 0x483760
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret