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

Disassembly:
jmp 0x48b2d0
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
xor esi, esi
cmp ebp, esi
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
je 0x48b702
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x48b702
cmp ebp, eax
jne 0x48b344
mov esi, dword [esp + 0x64]
mov eax, dword [esi + 4]
push eax
call fcn.00651684
xor ecx, ecx
mov eax, 1
mov edx, 0x14
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0065014a
mov dword [esi + 4], eax
mov dword [esi], 1
add esp, 8
mov dword [eax], ebp
mov dword [eax + 4], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x64]
fld dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push edx
sub esp, 0xc
mov eax, esp
fstp dword [eax]
sub esp, 0xc
fld dword [esp + 0x74]
fstp dword [eax + 4]
fld dword [esp + 0x78]
fstp dword [eax + 8]
mov eax, esp
fld dword [esp + 0x60]
fstp dword [eax]
fld dword [esp + 0x64]
fstp dword [eax + 4]
fld dword [esp + 0x68]
fstp dword [eax + 8]
mov eax, ebp
call fcn.0048af80
add esp, 0x24
cmp eax, esi
jne 0x48b33a
mov eax, 0x77d7a4
mov dword [0x77d7b0], eax
mov dword [0x77d7b4], eax
mov ebx, 0x77d778
mov eax, 1
cmp dword [0x77d7d8], eax
mov dword [0x77d7d4], esi
mov dword [0x77d784], ebx
mov dword [0x77d788], ebx
jle 0x48b702
mov edi, dword [0x77d7d0]
cmp edi, esi
mov dword [0x77d7d4], eax
je 0x48b702
fldz
sub esp, 0xc
fstp dword [edi + 4]
mov eax, esp
fld dword [esp + 0x58]
mov dword [edi], ebp
fstp dword [eax]
fld dword [esp + 0x5c]
fstp dword [eax + 4]
fld dword [esp + 0x60]
fstp dword [eax + 8]
mov eax, edi
call fcn.0048aba0
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
fstp dword [edi + 8]
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], 0xffffffff
mov dword [ebp + 0x6c], edi
mov dword [edi + 0x28], esi
mov eax, dword [0x77d784]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ebx
mov ecx, dword [0x77d784]
add esp, 0xc
cmp edi, ebx
mov eax, edi
mov dword [ecx + 0x10], edi
mov dword [0x77d784], eax
je 0x48b6d2
jmp 0x48b450
cmp dword [esp + 0x10], esi
fld1
jne 0x48b6d0
mov edx, dword [eax + 0xc]
mov dword [edx + 0x10], 0x77d778
mov ecx, dword [0x77d784]
mov edx, dword [ecx + 0xc]
mov ebx, eax
add eax, 0xc
mov dword [0x77d784], edx
mov dword [eax], esi
mov dword [ebx + 0x10], esi
mov ecx, dword [0x77d7b0]
mov dword [eax], ecx
mov dword [ebx + 0x10], 0x77d7a4
mov edx, dword [0x77d7b0]
mov dword [edx + 0x10], ebx
mov dword [0x77d7b0], ebx
mov eax, dword [ebx]
cmp dword [eax + 0x14], 0
mov ebp, dword [eax + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], esi
jg 0x48b4d2
fstp st(0)
mov eax, dword [0x77d784]
xor esi, esi
cmp eax, 0x77d778
jne 0x48b450
jmp 0x48b6d2
fld1
cmp dword [ebp + 0x18], 0
je 0x48b669
mov ecx, dword [esp + 0x5c]
fst dword [esp + 0x28]
mov dword [esp + 0x20], eax
fstp dword [esp + 0x2c]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x38], 0
call dword [esp + 0x68]
add esp, 8
test eax, eax
je 0x48b66b
fld dword [esp + 0x2c]
push ecx
fadd dword [esp + 0x2c]
mov ecx, ebp
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.0048a860
add esp, 4
test eax, eax
je 0x48b66b
mov edi, dword [0x77d7d4]
lea eax, [edi + 1]
cmp eax, dword [0x77d7d8]
jge 0x48b4b2
imul edi, edi, 0x2c
add edi, dword [0x77d7d0]
je 0x48b4b2
mov edx, dword [ebp + 0x18]
fld dword [esp + 0x3c]
mov dword [edi], edx
sub esp, 0xc
mov eax, esp
fstp dword [eax]
push ebx
fld dword [esp + 0x50]
fstp dword [eax + 4]
fld dword [esp + 0x54]
fstp dword [eax + 8]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x14]
mov eax, esi
call fcn.0048aaa0
fstp dword [esp + 0x28]
fld dword [ebx + 4]
add esp, 4
fadd dword [esp + 0x24]
mov eax, esp
fstp dword [edi + 4]
fld dword [esp + 0x58]
fstp dword [eax]
fld dword [esp + 0x5c]
fstp dword [eax + 4]
fld dword [esp + 0x60]
fstp dword [eax + 8]
mov eax, edi
call fcn.0048aba0
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
mov edx, dword [esp + 0x64]
fstp dword [edi + 8]
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], esi
fld dword [esp + 0x34]
fstp dword [edi + 0x1c]
add esp, 0xc
cmp dword [edi], edx
fld dword [esp + 0x2c]
fstp dword [edi + 0x20]
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x24], ecx
je 0x48b687
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 0x6c]
cmp ecx, eax
je 0x48b633
fld dword [edi + 4]
fld dword [ecx + 4]
fcompp
fnstsw ax
test ah, 0x41
jne 0x48b66b
fld dword [edi + 4]
fstp dword [ecx + 4]
fld dword [edi + 8]
fstp dword [ecx + 8]
mov edx, dword [edi + 0x14]
mov dword [ecx + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [ecx + 0x18], eax
fld dword [edi + 0x1c]
fstp dword [ecx + 0x1c]
fld dword [edi + 0x20]
fstp dword [ecx + 0x20]
mov edx, dword [edi + 0x24]
mov dword [ecx + 0x24], edx
jmp 0x48b66b
mov eax, dword [0x77d7d4]
add eax, 1
cmp eax, dword [0x77d7d8]
jge 0x48b648
mov dword [0x77d7d4], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x6c]
mov dword [edi + 0x28], ecx
mov edx, dword [ebp + 0x18]
mov dword [edx + 0x6c], edi
mov edx, edi
mov esi, 0x77d778
call fcn.0048a710
mov esi, dword [esp + 0x48]
jmp 0x48b66b
fstp st(0)
mov eax, dword [esp + 0x1c]
add esi, 1
add ebp, 0x20
cmp esi, dword [eax + 0x14]
mov dword [esp + 0x48], esi
jl 0x48b4d0
jmp 0x48b4b2
mov ecx, dword [0x77d7d4]
add ecx, 1
cmp ecx, dword [0x77d7d8]
jge 0x48b69e
mov dword [0x77d7d4], ecx
mov dword [edi + 0x28], eax
mov eax, dword [0x77d7b0]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0x77d7a4
mov ecx, dword [0x77d7b0]
mov dword [ecx + 0x10], edi
mov dword [0x77d7b0], edi
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], edi
jmp 0x48b4b2
fstp st(0)
mov ebx, dword [esp + 0x10]
xor edi, edi
cmp ebx, esi
je 0x48b6ef
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x64]
push edx
call fcn.0048a770
add esp, 4
mov edi, eax
call fcn.0048ac00
cmp ebx, esi
je 0x48b702
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x24
ret