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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
push esi
call fcn.00456330
mov edi, eax
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebx
cmp edi, 0xffffffff
je 0x4832e9
mov eax, dword [esi + 0x158]
cmp eax, ebx
je 0x4832e9
cmp dword [esi + 0x15c], ebx
je 0x4832e9
cmp dword [esi + 0x160], ebx
je 0x4832e9
mov edx, dword [esi + 0x114]
push ebx
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edx + edi*4]
push ecx
call eax
add esp, 0xc
test eax, eax
jne 0x4832dc
mov eax, dword [esp + 0xc]
cmp eax, ebx
jbe 0x4832dc
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056cbbf
mov ecx, dword [esi + 0x114]
mov edx, dword [ecx + edi*4]
mov ebx, eax
push ebx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi + 0x158]
push edx
mov dword [esp + 0x2c], ebx
call eax
add esp, 0x10
test eax, eax
jne 0x4832d3
xor edi, edi
mov dword [esp + 0x10], edi
cmp dword [esp + 0xc], edi
jbe 0x4832d3
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x15c]
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], 0xc
mov edx, dword [ebx + edi*4]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x4832c4
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x483189
sub eax, 2
jne 0x4832c4
cmp dword [esp + 0x6c], 2
jne 0x4832c4
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x160]
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0x18
mov edx, dword [ebx + edi*4]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x4832c4
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x18c]
mov ebx, dword [esp + 0x78]
shl eax, 6
mov edx, dword [eax + ecx + 0x18]
or edx, dword [eax + ecx + 0x1c]
jne 0x4830c4
fld1
jmp 0x483151
mov edx, ecx
lea ecx, [eax + edx]
mov edx, dword [esp + 0x7c]
mov edi, ebx
sub edi, dword [ecx + 0x10]
mov dword [esp + 0x28], 0
sbb edx, dword [ecx + 0x14]
mov dword [esp + 0x20], edi
mov edi, edx
and edx, 0x7fffffff
and edi, 0x80000000
mov dword [esp + 0x24], edx
fild qword [esp + 0x20]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x80]
fild qword [esp + 0x28]
sub edi, dword [ecx + 0x18]
mov dword [esp + 0x38], 0
sbb edx, dword [ecx + 0x1c]
fchs
faddp st(1)
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x10]
mov ecx, edx
fmul qword [0x5e29d8]
and edx, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x34], edx
fild qword [esp + 0x30]
mov dword [esp + 0x3c], ecx
fild qword [esp + 0x38]
fchs
faddp st(1)
fdivp st(1)
mov ecx, dword [ebp + 0x10]
fstp dword [ecx]
mov ecx, dword [esi + 0x18c]
mov dword [eax + ecx + 0x10], ebx
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx + 0x14], edx
mov edx, dword [esp + 0x80]
mov ecx, dword [esi + 0x18c]
mov dword [eax + ecx + 0x18], edx
mov edx, dword [esp + 0x84]
mov dword [eax + ecx + 0x1c], edx
jmp 0x4832b8
cmp dword [esp + 0x6c], 0
jne 0x4832c4
mov edx, dword [esi + 0x160]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 0x18
mov ecx, dword [ebx + edi*4]
push eax
push ecx
call edx
add esp, 8
test eax, eax
jne 0x4832c4
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x18c]
mov ebx, dword [esp + 0x78]
shl eax, 6
mov edx, dword [eax + ecx + 8]
or edx, dword [eax + ecx + 0xc]
jne 0x4831fa
fld1
jmp 0x483286
mov edx, ecx
lea ecx, [eax + edx]
mov edx, dword [esp + 0x7c]
mov edi, ebx
sub edi, dword [ecx]
mov dword [esp + 0x48], 0
sbb edx, dword [ecx + 4]
mov dword [esp + 0x40], edi
mov edi, edx
and edx, 0x7fffffff
and edi, 0x80000000
mov dword [esp + 0x44], edx
fild qword [esp + 0x40]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x80]
fild qword [esp + 0x48]
sub edi, dword [ecx + 8]
mov dword [esp + 0x58], 0
sbb edx, dword [ecx + 0xc]
fchs
faddp st(1)
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x10]
mov ecx, edx
fmul qword [0x5e29d8]
and edx, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x54], edx
fild qword [esp + 0x50]
mov dword [esp + 0x5c], ecx
fild qword [esp + 0x58]
fchs
faddp st(1)
fdivp st(1)
mov ecx, dword [ebp + 0x10]
fstp dword [ecx]
mov ecx, dword [esi + 0x18c]
mov dword [eax + ecx], ebx
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx + 4], edx
mov edx, dword [esp + 0x80]
mov ecx, dword [esi + 0x18c]
mov dword [eax + ecx + 8], edx
mov edx, dword [esp + 0x84]
mov dword [eax + ecx + 0xc], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
inc edi
mov dword [esp + 0x10], edi
cmp edi, dword [esp + 0xc]
jb 0x48300e
push ebx
call fcn.0056cbb4
add esp, 4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc