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

Disassembly:
and al, 0x90
add byte [eax], al
add al, ch
fidivr dword [edi - 0x3f7a0001]
mov dword [esp + 0x18], eax
je 0x47f1b5
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
neg eax
push eax
push eax
push edx
call dword [0x4b5594]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x2c]
push 2
push eax
push ecx
call dword [0x4b509c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x34]
push 0
push 0
push 0
push 0
call dword [0x4b515c]
mov ecx, dword [esi + 4]
mov ebx, eax
push ebx
push ecx
mov dword [esp + 0x94], ebx
call dword [0x4b5120]
mov ebp, eax
mov dword [esp + 0x50], 0
dec ebp
mov dword [esp + 0x4c], 0x8fb0bc
neg ebp
sbb ebp, ebp
inc ebp
mov dword [esp + 0x3c], ebp
mov edx, dword [esp + 0x14]
mov byte [esp + 0xd4], 7
test byte [edx + 0x44], 8
je 0x47eecf
mov eax, edx
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jne 0x47eef2
lea ecx, [esp + 0x2c]
push ecx
call dword [0x4b5128]
push eax
lea ecx, [esp + 0x50]
call 0x4d8932
lea edx, [esp + 0x4c]
push 1
push edx
mov ecx, esi
call 0x4d8570
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
push eax
push ecx
push esi
call fcn.00474520
cmp eax, 1
jne 0x47f162
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
sub ebx, ebp
sub ecx, eax
cmp edi, 0xa
mov dword [esp + 0x48], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ecx
jne 0x47ef63
push 0xcc0020
push ecx
mov edx, eax
push ebx
push edx
lea eax, [esp + 0x74]
push ebp
push eax
jmp 0x47f148
cmp edi, 0xd
je 0x47f028
cmp edi, 0xe
je 0x47f028
cmp edi, 0xc
je 0x47f028
cmp edi, 0xb
je 0x47f028
cmp edi, 2
je 0x47efb1
cmp edi, 5
je 0x47efb1
cmp edi, 8
je 0x47efb1
cmp edi, 3
je 0x47efa5
cmp edi, 6
je 0x47efa5
cmp edi, 9
jne 0x47efc4
sub ebx, dword [esp + 0x6c]
add ebx, ebp
mov dword [esp + 0x48], ebx
jmp 0x47efc4
mov edx, dword [esp + 0x6c]
mov eax, ebx
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, ebp
mov dword [esp + 0x48], eax
cmp edi, 4
je 0x47eff4
cmp edi, 5
je 0x47eff4
cmp edi, 6
je 0x47eff4
cmp edi, 7
je 0x47efe2
cmp edi, 8
je 0x47efe2
cmp edi, 9
jne 0x47f00b
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x30]
sub ecx, edx
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x47f00b
mov ebx, dword [esp + 0x70]
mov eax, ecx
mov ecx, dword [esp + 0x30]
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
push 0xcc0020
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
lea eax, [esp + 0x74]
push edx
push eax
jmp 0x47f148
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
cmp edi, 0xd
mov dword [esp + 0x5c], ecx
je 0x47f0a4
fild dword [esp + 0x6c]
fst qword [esp + 0x5c]
fidivr dword [esp + 0x18]
fild dword [esp + 0x70]
fst qword [esp + 0x18]
fild dword [esp + 0x28]
fdiv st(1)
fstp qword [esp + 0x7c]
fstp st(0)
fcom qword [esp + 0x7c]
fnstsw ax
test ah, 1
jne 0x47f06a
fstp st(0)
fld qword [esp + 0x7c]
cmp edi, 0xb
jne 0x47f086
fld qword [0x8f4ec0]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x47f086
fstp st(0)
fld qword [0x8f4ec0]
fld qword [esp + 0x5c]
fmul st(1)
call 0x4bfec8
fld qword [esp + 0x18]
fmul st(1)
mov ebp, eax
call 0x4bfec8
fstp st(0)
mov dword [esp + 0x5c], eax
cmp edi, 0xc
je 0x47f116
cmp edi, 0xb
je 0x47f116
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x47f14d
mov eax, dword [esp + 0x18]
xor edi, edi
test ebx, ebx
jle 0x47f102
mov edx, dword [esp + 0x10]
add eax, edx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x7c]
push 0xcc0020
push eax
push ebp
push ecx
lea eax, [edi + edx]
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00474780
add edi, ebp
cmp edi, ebx
jl 0x47f0d6
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x47f0c6
jmp 0x47f14d
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
sub eax, ecx
cdq
sub eax, edx
push 0xcc0020
sar eax, 1
push ecx
add eax, edi
push ebp
push eax
mov eax, ebx
sub eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
add eax, edx
lea edx, [esp + 0x74]
push eax
push edx
call fcn.00474780
lea eax, [esp + 0x64]
push eax
call 0x474ae0
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x3c]
cmp ebp, 1
jne 0x47f174
mov ecx, dword [esi + 4]
push ebx
push ecx
call dword [0x4b5118]
jmp 0x47f17d
push 0
mov ecx, esi
call 0x4d83b3
push ebx
call dword [0x4b5114]
mov edx, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [edx + 0x20]
mov dword [esp + 0x4c], 0x8fa2c8
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd4], 8
call 0x4d8989
mov ebx, dword [esp + 0xe4]
mov byte [esp + 0xd4], 1
mov ebp, dword [esp + 0xe0]