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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x1030
call fcn.005f9f10
push ebx
push ebp
mov ebx, ecx
cmp byte [ebx + 0x1f8], 0
push esi
push edi
mov dword [esp + 0x2c], ebx
je 0x47d82c
mov ecx, dword [0x6b50f4]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x54], edi
je 0x47d825
cmp dword [0x6b2d30], edi
je 0x47d825
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
cmp word [eax], 1
mov dword [esp + 0x58], eax
jne 0x47d825
movzx eax, word [eax + 0xe]
cmp ax, 8
je 0x47d4c4
cmp ax, 0x10
jne 0x47d825
mov ecx, dword [0x6b2d30]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
mov dword [esp + 0x30], 0xfa0
call edx
mov esi, dword [0x6b50f4]
mov ebp, eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebp
mov dword [esp + 0x54], ebp
call edx
mov ecx, eax
call fcn.0051dc1d
fstp qword [esp + 0x48]
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call edx
mov ecx, eax
call fcn.0051dc1d
fdivr qword [esp + 0x48]
sub esp, 8
fst qword [esp + 0x90]
fild qword [ebx + 0x1f0]
fmulp st(1)
fst qword [esp + 0x88]
fstp qword [esp]
call fcn.0043c270
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
fild qword [esp + 0x40]
add esp, 8
fsubr qword [esp + 0x80]
lea eax, [esp + 0x9c]
fstp qword [esp + 0x48]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x4b]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x68]
push edx
push eax
push ecx
add ebx, 0x38
mov ecx, ebx
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], edi
call fcn.0044bb00
mov esi, edx
test esi, esi
mov edi, eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], esi
jg 0x47d63a
jl 0x47d5a3
test edi, edi
jae 0x47d63a
cmp byte [0x6af1d7], 0
jne 0x47d6bc
cmp dword [ebx + 8], 0
je 0x47d6bc
mov edx, dword [ebx + 4]
mov eax, dword [edx + 4]
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
add eax, 8
add esi, dword [eax]
mov ecx, ebp
adc edi, dword [eax + 4]
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
call edx
cmp esi, eax
jne 0x47d6bc
cmp edi, edx
jne 0x47d6bc
fild qword [esp + 0x78]
mov ecx, ebx
fadd qword [esp + 0x80]
fstp qword [esp + 0x48]
call fcn.0044b8a0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
fild qword [esp + 0x90]
sub esp, 8
fsubr qword [esp + 0x50]
fdiv qword [esp + 0x90]
fstp qword [esp]
call fcn.00519e5d
add esp, 8
mov ebp, eax
mov ebx, edx
jmp 0x47d69a
fld1
sub esp, 8
fdiv qword [esp + 0x90]
fst qword [esp + 0x38]
fild qword [esp + 0x70]
fadd qword [esp + 0x50]
fmulp st(1)
fstp qword [esp]
call fcn.00519e5d
add edi, dword [esp + 0x68]
mov ebp, eax
adc esi, dword [esp + 0x6c]
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], esi
fild qword [esp + 0x78]
mov ebx, edx
fmul qword [esp + 0x38]
fstp qword [esp]
call fcn.00519e5d
add esp, 8
sub eax, ebp
sbb edx, ebx
je 0x47d696
sar edx, 0x1f
not edx
mov esi, edx
mov dword [esp + 0x30], esi
jmp 0x47d69e
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x47d6d1
add dword [esp + 0x38], 1
fldz
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x2c]
adc dword [esp + 0x3c], esi
xor edi, edi
jmp 0x47d54f
mov eax, dword [esp + 0x2c]
mov byte [eax + 0x1f8], 0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6af1d0]
mov ecx, dword [0x6b50f4]
mov edi, dword [ecx]
cdq
push edx
mov edx, dword [edi + 0x40]
push eax
call edx
mov edi, dword [esp + 0x58]
movzx ecx, word [edi + 0xc]
sub ebp, eax
sbb ebx, edx
test ecx, ecx
je 0x47d717
xor edx, edx
mov eax, 0xfa0
div ecx
mov dword [esp + 0x50], eax
cmp eax, esi
lea eax, [esp + 0x50]
jb 0x47d70f
lea eax, [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov esi, eax
test ebx, ebx
jg 0x47d78f
jl 0x47d721
test ebp, ebp
jae 0x47d78f
xor ecx, ecx
mov edi, esi
add esi, ebp
adc ecx, ebx
mov dword [esp + 0x4c], ecx
js 0x47d739
jg 0x47d735
test esi, esi
jbe 0x47d739
neg ebp
mov edi, ebp
mov esi, dword [esp + 0x58]
cmp word [esi + 0xe], 0x10
jne 0x47d75d
movzx edx, word [esi + 2]
imul edx, edi
push edx
lea eax, [esp + 0xa4]
push 0
push eax
call fcn.0051e138
jmp 0x47d777
movzx ecx, word [esi + 2]
imul ecx, edi
push ecx
lea edx, [esp + 0xa4]
push 0x80
push edx
call fcn.0051e11f
mov eax, edi
mov dword [esp + 0x60], eax
movzx ecx, word [esi + 0xc]
add esp, 0xc
imul ecx, edi
mov dword [esp + 0x5c], ecx
mov edi, esi
jmp 0x47d7ca
mov ecx, dword [0x6b50f4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x60]
push eax
push 0xfa0
lea eax, [esp + 0xac]
push eax
push esi
push ebx
push ebp
call edx
test eax, eax
jne 0x47d6bc
mov eax, dword [esp + 0x54]
test eax, eax
je 0x47d6bc
mov esi, dword [esp + 0x2c]
add dword [esi + 0x1f0], eax
mov ecx, dword [esi + 0x1e4]
adc dword [esi + 0x1f4], 0
cmp word [edi + 0xe], 8
movzx edi, word [edi + 0xc]
mov edx, dword [ecx]
push edi
jne 0x47d7f6
mov edx, dword [edx + 0x44]
push 1
jmp 0x47d7fb
mov edx, dword [edx + 0x48]
push 2
push eax
lea eax, [esp + 0xac]
push eax
call edx
test al, al
je 0x47d814
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x1f8], 0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.00478b50
pop edi
xor al, al
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret