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

Disassembly:
movzx edx, byte [0x95cd61]
push ebx
push esi
push edi
push ebp
imul edx, edx, 0x4f
add esp, 0xffffff80
mov ebx, ecx
mov eax, dword [edx*4 + 0x9412f0]
mov esi, dword [eax + 0x53c]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x18], eax
call fcn.004a10c0
test eax, eax
je 0x4c1b90
call fcn.004a10c0
mov ebp, eax
jmp 0x4c1ba1
movzx eax, byte [0x95cd61]
imul eax, eax, 0x4f
mov ebp, dword [eax*4 + 0x9412f0]
mov al, byte [esi + 0x16]
shr al, 1
and al, 1
jne 0x4c1bb1
mov al, byte [esi + 0x16]
and al, 1
je 0x4c1bd0
cmp dword [ebx + 0x224], 0x2b
je 0x4c1bc1
mov ecx, ebx
call fcn.004c28c0
sub esp, 0xffffff80
pop ebp
pop edi
pop esi
pop ebx
ret
call fcn.00525ca0
test al, al
je 0x4c1ca7
cmp byte [ebx + 0x544], 0
je 0x4c1ca7
cmp byte [ebx + 0x545], 0
jne 0x4c1ca7
mov al, byte [ebx + 0x155]
shr al, 6
and al, 1
je 0x4c1cff
mov byte [ebx + 0x549], 1
mov byte [ebx + 0x545], 1
mov word [ebx + 0x53c], 0
mov al, byte [ebx + 0x158]
and al, 0xfe
mov ecx, ebx
or al, 1
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x155]
and al, 0xdf
mov byte [ebx + 0x155], al
mov al, byte [ebx + 0x158]
and al, 0xfb
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x158]
and al, 0xf7
mov byte [ebx + 0x158], al
call fcn.004d0600
mov ecx, ebx
call fcn.004d8df0
mov ecx, ebx
call fcn.004c28c0
mov ecx, ebx
mov dword [ebx + 0x168], 0
push 0
mov dword [ebx + 0x228], 0
call fcn.004d1300
fld dword [ebx + 0x540]
fcomp dword [0x5f8230]
fnstsw ax
test ah, 0x45
jne 0x4c1cff
mov byte [ebx + 0x548], 1
jmp 0x4c1cff
cmp byte [ebx + 0x549], 0
je 0x4c1cff
call fcn.00525ca0
test al, al
jne 0x4c1cff
mov byte [ebx + 0x549], 0
mov byte [ebx + 0x545], 0
mov byte [ebx + 0x548], 0
mov al, byte [ebx + 0x158]
and al, 0xfe
mov ecx, ebx
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x158]
and al, 0xf7
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x159]
and al, 0x7f
mov byte [ebx + 0x159], al
call fcn.004c28c0
cmp dword [esp + 0x18], 0
fldz
fldz
fldz
jle 0x4c2405
cmp byte [ebx + 0x545], 0
jne 0x4c1f50
mov al, byte [ebx + 0x544]
mov byte [esp + 0x14], al
cmp byte [esp + 0x14], 0
je 0x4c1d3c
mov al, byte [esi + 0x11]
mov cl, byte [esi + 0x10]
cmp cl, al
jbe 0x4c1e62
mov al, byte [esi + 0x10]
xor ecx, ecx
mov byte [esp + 0x10], al
mov al, byte [esi + 0x11]
mov byte [esp + 0xc], al
mov al, byte [esp + 0xc]
cmp al, byte [esp + 0x10]
jbe 0x4c1d60
mov al, byte [esp + 0xc]
jmp 0x4c1d64
mov al, byte [esp + 0x10]
fld dword [ebx + 0x540]
movzx edx, al
xor ebp, ebp
fst st(1)
fstp st(3)
jmp 0x4c1d9a
mov edi, dword [esi + ebp*4 + 0x1dc]
test edi, edi
je 0x4c1d99
fld dword [edi + 0x540]
fstp st(2)
fld st(1)
fcomp st(3)
fnstsw ax
test ah, 0x45
jne 0x4c1d99
fld st(1)
fstp st(3)
mov ecx, edi
inc ebp
cmp ebp, edx
jl 0x4c1d75
cmp byte [esp + 0x14], 0
jne 0x4c1e10
mov al, byte [esp + 0x10]
cmp al, byte [esp + 0xc]
jae 0x4c1db6
push 1
jmp 0x4c1e64
fcom dword [0x5f8234]
fnstsw ax
and ah, 0x45
cmp ah, 1
je 0x4c1de3
cmp ah, 0x40
je 0x4c1de3
test ecx, ecx
je 0x4c25d0
fcom st(2)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4c25e0
test ecx, ecx
je 0x4c25b0
fld st(2)
fcomp dword [0x5f8234]
fnstsw ax
test ah, 0x45
jne 0x4c25c0
fcompp
fstp st(0)
call fcn.004c28c0
mov ecx, ebx
push 1
jmp 0x4c1e6a
test ecx, ecx
je 0x4c25f0
mov al, byte [esp + 0x10]
cmp al, byte [esp + 0xc]
jbe 0x4c2600
cmp ecx, ebx
jne 0x4c1e44
fcom dword [0x5f8234]
fnstsw ax
test ah, 0x45
jne 0x4c1e44
fcompp
mov ecx, ebx
fstp st(0)
call fcn.004c28c0
jmp 0x4c1e6f
fld st(2)
fcomp dword [0x5f8234]
fnstsw ax
test ah, 0x45
jne 0x4c2610
fcompp
fstp st(0)
call fcn.004c28c0
jmp 0x4c1e6f
push 0
fcompp
fstp st(0)
mov ecx, ebx
call fcn.004c27d0
cmp byte [ebx + 0x544], 0
je 0x4c25a1
cmp dword [esp + 0x18], 1
jle 0x4c1ea0
movsx eax, byte [ebx + 0x498]
lea eax, [eax + eax*2]
mov edi, dword [ebx + eax*8 + 0x35c]
test edi, edi
jne 0x4c1ea0
push 2
jmp 0x4c1ecc
cmp dword [esp + 0x18], 1
jne 0x4c1ed3
movsx eax, byte [ebx + 0x498]
lea eax, [eax + eax*2]
mov ebp, dword [ebx + eax*8 + 0x35c]
test ebp, ebp
je 0x4c1ed3
call fcn.004a1150
cmp dword [eax + 0x2ec], 0
jne 0x4c1ed3
push 0
mov ecx, ebx
call fcn.004cfa60
call fcn.004a10c0
test eax, eax
je 0x4c25a1
cmp byte [ebx + 0x547], 0
je 0x4c1ef3
dec byte [esi + 0x13]
mov byte [ebx + 0x547], 0
call fcn.004a1090
fld dword [eax + 4]
fld st(0)
fmul st(0)
fld dword [eax]
fstp st(2)
fld st(1)
fmul st(0)
faddp st(1)
fld dword [eax + 8]
fstp st(2)
fld st(1)
fmul st(0)
faddp st(1)
fst st(1)
fsqrt
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp st(1)
fld dword [ebx + 0x540]
fmul st(1)
fcomp dword [0x5f8238]
fnstsw ax
test ah, 0x45
jne 0x4c2650
mov ecx, ebx
fstp st(0)
call fcn.004c28c0
jmp 0x4c25a1
movsx edx, byte [ebx + 0x498]
fcompp
fstp st(0)
lea edx, [edx + edx*2]
mov eax, dword [ebx + edx*8 + 0x35c]
push eax
call fcn.00564fd0
fld dword [eax + 4]
pop ecx
mov ecx, ebx
fstp dword [esp + 0x24]
push 1
push ebp
call fcn.004c6460
mov ecx, ebx
call fcn.004d1390
mov ecx, ebx
push 2
call fcn.004cfa60
mov al, byte [ebx + 0x158]
shr al, 4
and al, 1
fldz
jne 0x4c2657
mov ecx, dword [0x885b48]
mov esi, dword [ebx + 0x4d4]
cmp esi, ecx
jae 0x4c2120
fld dword [ebx + 0x540]
fcomp dword [esp + 0x24]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4c2620
movsx edx, byte [ebx + 0x498]
fstp st(0)
lea edx, [edx + edx*2]
mov eax, dword [ebx + edx*8 + 0x35c]
push eax
call fcn.00564fd0
lea esi, [eax + 0x28]
pop ecx
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x1bc]
mov edi, dword [eax + 0x10]
test edi, edi
je 0x4c201f
lea eax, [eax]
lea eax, [edi + 0x10]
lea esi, [esp + 0x30]
push eax
lea eax, [esp + 0x34]
push 1
push esi
push eax
call fcn.005a37d0
mov edi, dword [edi + 4]
add esp, 0x10
test edi, edi
jne 0x4c2000
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x64]
lea edx, [ebp + 0x34]
push 0
push 0
push 1
push 0
push 0
push 1
push 0
push ecx
push eax
lea eax, [esp + 0x54]
push edx
push eax
call fcn.004af970
add esp, 0x2c
test al, al
je 0x4c2059
cmp dword [esp + 0x64], 0
je 0x4c20c5
cmp dword [esp + 0x64], ebp
jne 0x4c20c5
test ebp, ebp
mov dword [ebx + 0x49c], ebp
je 0x4c2071
lea eax, [ebx + 0x49c]
mov ecx, ebp
push eax
call fcn.004a7480
mov ecx, ebx
push ebp
call fcn.004e6220
call fcn.005a41d0
and eax, 0xffff
mov ecx, ebx
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul dword [0x5f8240]
fmul dword [0x5f823c]
fnstcw word [esp + 0x1c]
mov eax, dword [esp + 0x1c]
or byte [esp + 0x1d], 0xc
fldcw word [esp + 0x1c]
mov dword [esp + 0x1c], eax
fistp dword [esp + 0x28]
fldcw word [esp + 0x1c]
mov eax, dword [esp + 0x28]
add eax, 0x1f4
push eax
call fcn.004d1340
call fcn.005a41d0
and eax, 0xffff
mov ecx, ebx
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul dword [0x5f8240]
fmul dword [0x5f8244]
fnstcw word [esp + 0x1c]
mov eax, dword [esp + 0x1c]
or byte [esp + 0x1d], 0xc
fldcw word [esp + 0x1c]
mov dword [esp + 0x1c], eax
fistp dword [esp + 0x28]
fldcw word [esp + 0x1c]
mov eax, dword [esp + 0x28]
add eax, 0xc8
push eax
call fcn.004d1300
mov ecx, ebx
push 1
call fcn.004c5a30
jmp 0x4c25a1
mov edi, dword [ebx + 0x224]
cmp edi, 0x10
je 0x4c2660
cmp edi, 0x11
je 0x4c2667
test al, al
jne 0x4c2670
cmp byte [ebx + 0x549], 0
jne 0x4c2677
mov dword [esp + 8], ebp
add dword [esp + 8], 4
add dword [esp + 8], 0x30
mov esi, dword [esp + 8]
mov dword [esp + 4], ebx
add dword [esp + 4], 4
add dword [esp + 4], 0x30
mov eax, dword [esp + 4]
fld dword [esi]
fsub dword [eax]
lea edi, [esp + 0x68]
fstp dword [esp + 0x74]
fld dword [esi + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x78]
fld dword [esi + 8]
fsub dword [eax + 8]
lea esi, [esp + 0x74]
fstp dword [esp + 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [ebx + 0x540]
fst st(1)
fcomp dword [0x5f8248]
fnstsw ax
test ah, 0x45
jne 0x4c2250
mov eax, dword [ebx + 0x4c]
push 0xa5
push eax
fstp st(0)
call fcn.004055c0
test eax, eax
pop ecx
pop ecx
je 0x4c21ce
mov dword [eax + 0x1c], 0xc47a0000
add ebp, 0x78
fld dword [ebp + 4]
fmul dword [esp + 0x6c]
fld dword [ebp]
fmul dword [esp + 0x68]
faddp st(1)
fld dword [ebp + 8]
fmul dword [esp + 0x70]
faddp st(1)
fcomp dword [0x5f8214]
fnstsw ax
test ah, 0x45
jne 0x4c25a1
mov byte [ebx + 0x545], 0
mov al, byte [ebx + 0x158]
and al, 0xfe
mov ecx, ebx
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x158]
and al, 0xf7
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x159]
and al, 0x7f
push 0
mov byte [ebx + 0x159], al
call fcn.004c27d0
call fcn.004a1150
mov ecx, ebx
push eax
push 8
call fcn.004d83e0
jmp 0x4c25a1
fcom dword [0x5f8218]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4c22e0
fstp st(0)
call fcn.004a10c0
test eax, eax
je 0x4c22a7
call fcn.004a10c0
add eax, 0x78
fld dword [eax + 4]
fld st(0)
fmul st(0)
fld dword [eax]
fstp st(2)
fld st(1)
fmul st(0)
faddp st(1)
fld dword [eax + 8]
fstp st(2)
fld st(1)
fmul st(0)
faddp st(1)
fst st(1)
fcomp dword [0x5f824c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4c22e0
fstp st(0)
mov byte [ebx + 0x545], 0
mov al, byte [ebx + 0x158]
and al, 0xfe
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x158]
and al, 0xf7
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x159]
and al, 0x7f
mov byte [ebx + 0x159], al
jmp 0x4c25a1
movsx ecx, word [ebx + 0x53c]
fldz
fldz
movsx eax, word [ecx*2 + 0x72b3a8]
fldz
mov edi, dword [eax*4 + 0x929234]
mov eax, dword [esp + 4]
lea edx, [edi + 0x34]
add edi, 0x14
fld dword [edx + 4]
fstp st(3)
fld dword [eax + 4]
fsub st(3)
fld dword [edi + 4]
fstp st(3)
mov eax, dword [esp + 4]
fmul st(2)
fld dword [edx]
fstp st(2)
fld dword [eax]
fsub st(2)
fld dword [edi]
fstp dword [esp + 0x20]
fmul dword [esp + 0x20]
mov eax, dword [esp + 8]
faddp st(1)
fstp st(4)
fld dword [eax + 4]
fsub st(3)
fmul st(2)
fld dword [eax]
fsub st(2)
fmul dword [esp + 0x20]
faddp st(1)
fstp st(3)
fld st(3)
fcomp dword [0x5f8214]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4c236c
fld st(2)
fcomp dword [0x5f8214]
fnstsw ax
and ah, 5
cmp ah, 1
je 0x4c238a
fld st(3)
fcomp dword [0x5f8214]
fnstsw ax
test ah, 0x45
jne 0x4c23f0
fld st(2)
fcomp dword [0x5f8214]
fnstsw ax
test ah, 0x45
jne 0x4c23f0
mov byte [ebx + 0x545], 0
mov al, byte [ebx + 0x158]
and al, 0xfe
mov ecx, ebx
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x158]
and al, 0xf7
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x158]
and al, 0xef
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x158]
and al, 0xfb
fcompp
fcompp
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x159]
and al, 0x7f
push 0
mov byte [ebx + 0x159], al
call fcn.004c27d0
jmp 0x4c25a1
mov al, byte [ebx + 0x154]
and al, 0xf7
or al, 8
mov byte [ebx + 0x154], al
jmp 0x4c2680
cmp byte [ebx + 0x545], 0
je 0x4c24b0
cmp byte [ebx + 0x549], 0
jne 0x4c24b0
cmp byte [ebx + 0x544], 0
je 0x4c2627
cmp dword [ebx + 0x224], 0x16
je 0x4c2630
fcompp
mov ecx, ebx
fstp st(0)
call fcn.004c28c0
mov byte [ebx + 0x545], 0
mov al, byte [ebx + 0x158]
and al, 0xfe
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x158]
and al, 0xf7
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x158]
and al, 0xef
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x158]
and al, 0xfb
mov byte [ebx + 0x158], al
mov al, byte [ebx + 0x159]
and al, 0x7f
mov byte [ebx + 0x159], al
mov eax, dword [ebx + 0x310]
test eax, eax
je 0x4c25a1
mov ecx, ebx
push eax
push 0xf
call fcn.004d83e0
jmp 0x4c25a1
cmp dword [ebx + 0x224], 0x16
je 0x4c2690
cmp byte [ebx + 0x544], 0
je 0x4c2640
fcompp
mov ecx, ebx
fstp st(0)
call fcn.004c28c0
cmp dword [ebx + 0x310], 0
je 0x4c25a1
cmp byte [ebx + 0x314], 0
jne 0x4c25a1
mov ecx, ebx
call fcn.004ce6c0
test al, al
je 0x4c25a1
mov ecx, dword [ebx + 0x310]
call fcn.00552880
test al, al
je 0x4c2575
mov eax, dword [ebx + 0x310]
mov ecx, dword [eax + 0x1a4]
test ecx, ecx
je 0x4c2560
cmp dword [ecx + 0x32c], 6
jne 0x4c2540
cmp dword [ebx + 0x164], 0xe
je 0x4c25a1
mov ecx, ebx
push eax
push 0xe
call fcn.004d83e0
jmp 0x4c25a1
call fcn.004d48e0
test al, al
je 0x4c25a1
push 1
call fcn.004a1150
mov ecx, eax
call fcn.004f31b0
jmp 0x4c25a1
cmp dword [ebx + 0x164], 0xf
je 0x4c25a1
mov ecx, ebx
push eax
push 0xf
call fcn.004d83e0
jmp 0x4c25a1
mov ecx, ebx
mov dword [ebx + 0x310], 0
call fcn.004d8df0
call fcn.005a41d0
movzx eax, ax
mov ecx, ebx
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
push eax
call fcn.004d2750
sub esp, 0xffffff80
pop ebp
pop edi
pop esi
pop ebx
ret
fcompp
fstp st(0)
jmp 0x4c1e07
fcompp
fstp st(0)
jmp 0x4c1e07
fcompp
fstp st(0)
jmp 0x4c1e6f
fcompp
fstp st(0)
jmp 0x4c1e6f
fcompp
fstp st(0)
jmp 0x4c1e6f
fcompp
fstp st(0)
jmp 0x4c1e6f
fcompp
fstp st(0)
jmp 0x4c1e6f
fstp st(0)
jmp 0x4c2111
fcompp
fstp st(0)
jmp 0x4c2444
fcompp
fstp st(0)
jmp 0x4c2444
fcompp
fstp st(0)
jmp 0x4c24d5
fstp st(0)
jmp 0x4c25a1
fstp st(0)
jmp 0x4c25a1
fstp st(0)
jmp 0x4c25a1
fstp st(0)
jmp 0x4c25a1
fstp st(0)
jmp 0x4c25a1
fstp st(0)
jmp 0x4c25a1
fcompp
fcompp
jmp 0x4c25a1
fcompp
fstp st(0)
jmp 0x4c25a1