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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
mov esi, eax
mov dword [esp + 0x10], 0
call fcn.00443e30
mov edi, eax
lea ecx, [ecx]
mov eax, dword [esi + 8]
push eax
call fcn.004c2c50
add eax, 0xffffffff
add esp, 4
cmp eax, 3
ja case.default.0x4b0878
jmp dword [eax*4 + 0x4b0b34]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x5c]
add ecx, 0xffffffcf
cmp ecx, 5
ja case.default.0x4b0891
jmp dword [ecx*4 + 0x4b0b44]
mov eax, dword [eax + 0x78]
lea ecx, [esp + 0x18]
push ecx
push esi
mov ebx, 3
call fcn.004b0630
add esp, 8
test eax, eax
jle 0x4b0b2c
or dword [esp + 0x10], 1
jmp 0x4b0860
mov eax, dword [eax + 0x78]
lea edx, [esp + 0x30]
push edx
push esi
mov ebx, 3
call fcn.004b0630
add esp, 8
test eax, eax
jle 0x4b0b2c
fld qword [esp + 0x30]
or dword [esp + 0x10], 2
fstp dword [edi + 8]
fld qword [esp + 0x38]
fstp dword [edi + 0xc]
fld qword [esp + 0x40]
fstp dword [edi + 0x10]
jmp 0x4b0860
mov eax, dword [eax + 0x78]
lea ecx, [esp + 0x30]
push ecx
push esi
mov ebx, 3
call fcn.004b0630
add esp, 8
test eax, eax
jle 0x4b0b2c
fld qword [esp + 0x30]
or dword [esp + 0x10], 4
fstp dword [edi + 0x14]
fld qword [esp + 0x38]
fstp dword [edi + 0x18]
fld qword [esp + 0x40]
fstp dword [edi + 0x1c]
jmp 0x4b0860
mov eax, dword [eax + 0x78]
lea edx, [esp + 0x30]
push edx
push esi
mov ebx, 3
call fcn.004b0630
add esp, 8
test eax, eax
jle 0x4b0b2c
fld qword [esp + 0x30]
or dword [esp + 0x10], 8
fstp dword [edi + 0x30]
fld qword [esp + 0x38]
fstp dword [edi + 0x34]
fld qword [esp + 0x40]
fstp dword [edi + 0x38]
jmp 0x4b0860
mov eax, dword [eax + 0x78]
lea ecx, [esp + 0x30]
push ecx
push esi
mov ebx, 4
call fcn.004b0630
add esp, 8
test eax, eax
jle 0x4b0b2c
fld qword [esp + 0x30]
or dword [esp + 0x10], 0x10
fstp dword [edi + 0x20]
fld qword [esp + 0x38]
fstp dword [edi + 0x24]
fld qword [esp + 0x40]
fstp dword [edi + 0x28]
fld qword [esp + 0x48]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [edi + 0x2c]
jmp 0x4b0860
mov eax, dword [eax + 0x78]
lea edx, [esp + 0x30]
push edx
push esi
mov ebx, 1
call fcn.004b0630
add esp, 8
test eax, eax
jle 0x4b0b2c
fld qword [esp + 0x30]
or dword [esp + 0x10], 0x20
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [edi + 0x3c]
jmp 0x4b0860
push 0
push 0
push eax
call fcn.004c26b0
push esi
call fcn.004b05a0
add esp, 0x10
test eax, eax
jg 0x4b0860
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
jmp case.default.0x4b0891
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x5c], 0x10
je 0x4b0a31
mov edx, dword [esi + 8]
push 0x10
push 2
push edx
jmp 0x4b09fc
mov al, byte [esp + 0x10]
fld qword [esp + 0x20]
test al, 2
fld qword [esp + 0x18]
jne 0x4b0a61
test al, 1
je 0x4b0a56
fst dword [edi + 8]
fxch st(1)
fst dword [edi + 0xc]
fld qword [esp + 0x28]
fstp dword [edi + 0x10]
jmp 0x4b0a63
fld1
fst dword [edi + 8]
fst dword [edi + 0xc]
fstp dword [edi + 0x10]
fxch st(1)
test al, 4
jne 0x4b0a9f
test al, 1
je 0x4b0a8a
fld qword [0x511328]
fmul st(2), st(0)
fxch st(2)
fstp dword [edi + 0x14]
fmulp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [edi + 0x18]
fstp dword [edi + 0x1c]
jmp 0x4b0aa3
fstp st(1)
fstp st(0)
fld dword [0x511318]
fst dword [edi + 0x14]
fst dword [edi + 0x18]
fstp dword [edi + 0x1c]
jmp 0x4b0aa3
fstp st(1)
fstp st(0)
test al, 8
jne 0x4b0ab2
fldz
fst dword [edi + 0x30]
fst dword [edi + 0x34]
fstp dword [edi + 0x38]
test al, 0x10
jne 0x4b0ace
fld dword [0x51102c]
fst dword [edi + 0x20]
fst dword [edi + 0x24]
fstp dword [edi + 0x28]
fld dword [0x511028]
fstp dword [edi + 0x2c]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x128]
push edi
push ecx
call fcn.00444de0
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x4b0af0
push edi
call fcn.00443f50
add esp, 4
call fcn.004445f0
mov edi, eax
push edi
mov dword [edi + 0xc], ebx
call fcn.00444900
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x128]
push edi
push eax
call fcn.00444f70
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4b0b22
push edi
call fcn.00444720
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret