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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4b682e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [esi + 0x74], 0
je 0x4b6818
cmp dword [esi + 0x78], 0
je 0x4b6818
mov byte [esi + 0x99], 1
mov byte [ebp - 9], 0
mov eax, dword [esi + 0xac]
cmp eax, dword [ebp - 4]
je 0x4b652c
mov eax, dword [esi + 0xb0]
cmp eax, dword [ebp - 8]
je 0x4b652c
mov eax, dword [esi + 0xb4]
cmp eax, dword [ebp - 8]
jne 0x4b6530
cmp dword [esi + 0xa8], 0
jg 0x4b6530
xor eax, eax
jmp 0x4b6532
mov al, 1
mov edx, dword [esi + 0xac]
cmp edx, dword [ebp - 4]
jne 0x4b654c
mov edx, dword [esi + 0xb0]
cmp edx, dword [ebp - 8]
je 0x4b6676
inc dword [esi + 0xa8]
test al, al
je 0x4b656e
inc dword [esi + 0xa4]
mov eax, dword [esi + 0x84]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov eax, dword [esi + 0x84]
mov edx, dword [eax + 8]
fild dword [edx + 8]
fmul dword [edi + 8]
fstp dword [eax + 0x1c]
wait
cmp byte [edi + 0xc], 0
je 0x4b6590
mov dword [eax + 0x20], 0x40c90fdb
jmp 0x4b6597
mov dword [eax + 0x20], 0x40490fdb
mov ebx, dword [esi + 0x84]
mov ax, word [edi + 0xe]
mov word [ebx + 0x2d], ax
mov al, byte [edi + 0x10]
mov byte [ebx + 0x2f], al
movzx eax, byte [edi + 0xd]
mov byte [ebx + 0x2c], al
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x3c]
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x40]
mov dword [ebx + 0x38], eax
movzx eax, byte [0x4f3bf4]
mov byte [ebx + 0x48], al
mov eax, dword [esi + 0xb8]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0xbc]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x30]
mov edx, dword [ebx + 8]
imul dword [edx + 8]
mov ecx, 0x64
cdq
idiv ecx
mov dword [ebx + 0x40], eax
mov eax, dword [edi + 0x34]
mov edx, dword [ebx + 8]
imul dword [edx + 0xc]
mov ecx, 0x64
cdq
idiv ecx
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 8]
fild dword [eax + 8]
fmul dword [edi + 4]
call fcn.004034ac
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x88]
call fcn.00404468
mov byte [esi + 0x9b], 0
fild dword [esi + 0xb8]
fmul dword [edi]
call fcn.004034ac
push eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x14]
call fcn.004b6070
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x18]
cdq
xor eax, edx
sub eax, edx
mov edx, eax
mov eax, dword [esi + 0x84]
call fcn.004b37f0
mov dword [esi + 0x88], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0xac], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xb0], eax
jmp 0x4b6694
cmp dword [ebp + 0x18], 0
jl 0x4b668b
fld qword [esi + 0x90]
fcomp qword [ebp + 0xc]
wait
fnstsw ax
sahf
je 0x4b668f
xor eax, eax
jmp 0x4b6691
mov al, 1
mov byte [ebp - 9], al
cmp dword [ebp + 0x18], 0
setl al
mov byte [esi + 0x9d], al
test byte [esi + 0xa4], 1
je 0x4b66b5
mov dl, 1
mov eax, esi
call fcn.004b4d64
jmp 0x4b66be
mov dl, 2
mov eax, esi
call fcn.004b4d64
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, esi
call fcn.004b4d9c
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
cmp byte [esi + 0x9d], 0
je 0x4b66fb
mov eax, esi
call fcn.004b4d9c
xor eax, eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], 0xbff00000
cmp dword [esi + 0x88], 0
je 0x4b6818
cmp byte [ebp - 9], 0
jne 0x4b6818
cmp byte [esi + 0x9d], 0
jne 0x4b6818
cmp dword [ebp + 0x18], 2
jne 0x4b6781
cmp byte [esi + 0x98], 0
je 0x4b6754
fld qword [ebp + 0xc]
fsub qword [esi + 0x90]
fabs
fmul dword [0x4b6840]
fcomp dword [0x4b6844]
wait
fnstsw ax
sahf
jbe 0x4b6754
mov byte [esi + 0x98], 0
jmp 0x4b6781
cmp byte [esi + 0x98], 0
jne 0x4b6781
fld qword [ebp + 0xc]
fsub qword [esi + 0x90]
fabs
fmul dword [0x4b6840]
fcomp dword [0x4b6848]
wait
fnstsw ax
sahf
jae 0x4b6781
mov byte [esi + 0x98], 1
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x94], eax
cmp byte [0x4f3bf8], 0
je 0x4b67c7
cmp byte [esi + 0x98], 0
je 0x4b67c7
mov edx, dword [esi + 0x74]
movzx edx, byte [edx + 8]
mov eax, dword [esi + 0x88]
mov ecx, dword [eax + 0x14]
mov byte [ecx + 0x18], dl
mov edx, dword [esi + 0x78]
movzx edx, byte [edx + 8]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x18], dl
jmp 0x4b67d4
mov eax, dword [esi + 0x88]
mov eax, dword [eax + 0x14]
mov byte [eax + 0x18], 1
mov eax, dword [esi + 0x84]
fld dword [eax + 0x50]
mov edx, dword [esi + 0x84]
fsub dword [edx + 0x4c]
fmul qword [ebp + 0xc]
fadd dword [eax + 0x4c]
fstp qword [ebp + 0xc]
wait
fld qword [ebp + 0xc]
add esp, 0xfffffffc
fstp dword [esp]
wait
mov eax, dword [esi + 0x88]
mov edx, dword [eax]
call dword [edx + 4]
cmp dword [ebp + 0x18], 2
sete al
mov byte [esi + 0x9a], al
xor byte [esi + 0x9b], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6835
lea eax, [ebp - 0x10]
call fcn.0040525c
ret