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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b39f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d4
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
cmp eax, 1
push edi
mov dword [esp + 0xa4], esi
jbe 0x4c8890
xor edi, edi
mov dword [esp + 0x11c], edi
mov dword [esp + 0x120], edi
mov dword [esp + 0x124], edi
mov ecx, dword [0x621dc8]
push 2
push 0x17
mov dword [esp + 0x2f4], edi
call fcn.004c9ed0
mov ecx, dword [0x621dc8]
lea eax, [esp + 0x208]
push eax
push 0x100
mov dword [esp + 0x248], edi
mov dword [esp + 0x244], edi
mov dword [esp + 0x240], edi
mov dword [esp + 0x23c], edi
mov dword [esp + 0x234], edi
mov dword [esp + 0x230], edi
mov dword [esp + 0x22c], edi
mov dword [esp + 0x228], edi
mov dword [esp + 0x220], edi
mov dword [esp + 0x21c], edi
mov dword [esp + 0x218], edi
mov dword [esp + 0x214], edi
mov dword [esp + 0x24c], 0x3f800000
mov dword [esp + 0x238], 0x3f800000
mov dword [esp + 0x224], 0x3f800000
mov dword [esp + 0x210], 0x3f800000
call fcn.004cbc80
mov ecx, dword [0x621dc8]
push 0x142
call fcn.004c9ff0
mov ecx, dword [0x621dc8]
push 1
push 0x16
call fcn.004c9ed0
mov ecx, dword [0x621dc8]
push 1
push 0x1b
call fcn.004c9ed0
mov ecx, dword [0x621dc8]
push 5
push 0x13
call fcn.004c9ed0
mov ecx, dword [0x621dc8]
push 2
push 0x14
call fcn.004c9ed0
mov ecx, dword [0x621dc8]
push 1
push 0xf
call fcn.004c9ed0
mov ecx, dword [0x621dc8]
push 5
push 0x19
call fcn.004c9ed0
mov ecx, dword [0x621dc8]
push edi
push 0x18
call fcn.004c9ed0
mov ecx, dword [0x621dc8]
push 1
push 0xab
call fcn.004c9ed0
mov ecx, dword [0x621dc8]
push edi
push 2
push edi
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 2
push 3
push edi
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 2
push 1
push edi
call fcn.004c9810
mov ecx, dword [0x621dc8]
push edi
push 5
push edi
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 2
push 6
push edi
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 2
push 4
push edi
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 1
push 1
push 1
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 1
push 4
push 1
call fcn.004c9810
mov ecx, dword [0x621dc8]
push edi
push 0x89
call fcn.004c9790
mov ecx, dword [0x621dc8]
push edi
push edi
call fcn.004c97d0
mov ecx, dword [0x621dc8]
push edi
push 1
call fcn.004c97d0
lea ecx, [esp + 0x54]
call fcn.004cc0e0
lea ecx, [esp + 0x54]
mov byte [esp + 0x2ec], 1
call fcn.004cf970
mov ecx, dword [0x624458]
call fcn.00487090
cmp eax, edi
mov dword [esp + 0x68], eax
jne 0x4c7e49
lea ecx, [esp + 0x54]
mov byte [esp + 0x2ec], 0
call fcn.004cc100
mov ecx, dword [esp + 0x2e4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebp, dword [esi + 0x20]
add eax, 0x54
mov dword [esp + 0x14c], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x150], 0x3f800000
mov dword [esp + 0x160], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x164], 0x3f800000
mov dword [esp + 0x13c], 0x3f800000
mov dword [esp + 0x128], 0x3f800000
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x150], eax
lea eax, [esi + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x148], ecx
mov ecx, ebp
inc ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x14c], edx
mov dword [esp + 0x58], eax
mov ebx, eax
mov dword [esp + 0x20], ecx
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
add edx, esi
mov esi, eax
cmp esi, eax
mov dword [esp + 0x1c], esi
jne 0x4c7f52
cmp ecx, edx
je 0x4c8786
mov edx, dword [ebx + 8]
cmp edx, ebp
mov eax, ebp
ja 0x4c7f5d
sub eax, edx
mov edi, dword [ebx + 4]
mov eax, dword [edi + eax*4]
mov esi, dword [esi + 8]
mov edi, dword [esp + 0x20]
add eax, 4
cmp esi, edi
ja 0x4c7f75
mov ecx, edi
sub ecx, esi
mov esi, dword [esp + 0x1c]
mov esi, dword [esi + 4]
mov ecx, dword [esi + ecx*4]
fld dword [ecx + 4]
add ecx, 4
fsub dword [eax]
fstp dword [esp + 0x3c]
fld dword [ecx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x40]
fld dword [ecx + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x44]
fld dword [esp + 0x40]
fabs
fld dword [esp + 0x44]
fabs
fstp dword [esp + 0x18]
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4c7fbe
fld st(0)
jmp 0x4c7fc2
fld dword [esp + 0x18]
fld dword [esp + 0x3c]
fabs
fst dword [esp + 0x14]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x4c7fdf
fstp st(0)
fld dword [esp + 0x14]
jmp 0x4c7ff0
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
je 0x4c7ff0
fstp st(0)
fld dword [esp + 0x18]
cmp edx, ebp
fmul dword [0x5bba5c]
mov edi, ebp
fstp dword [esp + 0x14]
ja 0x4c8002
sub edi, edx
cmp edx, ebp
mov esi, ebp
ja 0x4c800a
sub esi, edx
cmp edx, ebp
mov ecx, ebp
ja 0x4c8012
sub ecx, edx
mov eax, dword [ebx + 4]
fld dword [esp + 0x44]
fmul dword [0x5bba5c]
mov edx, dword [eax + edi*4]
fadd dword [edx + 0xc]
mov edx, dword [eax + esi*4]
fld dword [esp + 0x40]
mov eax, dword [eax + ecx*4]
fmul dword [0x5bba5c]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, 0x629090
fadd dword [edx + 8]
lea edx, [esp + 0x200]
fld dword [esp + 0x40]
push edx
fmul dword [0x5bba5c]
fadd dword [eax + 4]
fstp dword [esp + 0x204]
fstp dword [esp + 0x208]
fstp dword [esp + 0x20c]
call fcn.00502380
cmp eax, 2
je 0x4c876c
mov ecx, dword [ebx + 8]
cmp ecx, ebp
mov eax, ebp
ja 0x4c8085
sub eax, ecx
mov ecx, dword [ebx + 4]
mov esi, dword [ecx + eax*4]
mov ecx, dword [0x6247d4]
call fcn.004fa520
fsub dword [esi]
mov esi, dword [esp + 0xa4]
mov edx, dword [esp + 0x1c]
fdiv dword [esi + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + 8]
cmp ecx, eax
fsubr dword [0x5bb7cc]
fstp dword [esp + 0x14]
ja 0x4c80bd
sub eax, ecx
mov edx, dword [edx + 4]
mov ecx, dword [0x6247d4]
mov edi, dword [edx + eax*4]
call fcn.004fa520
fsub dword [edi]
mov al, byte [esi + 4]
test al, al
fdiv dword [esi + 0x10]
fsubr dword [0x5bb7cc]
fstp dword [esp + 0x18]
fld dword [esi + 0xc]
fld dword [esi + 0xc]
jne 0x4c80f6
fxch st(1)
fmul dword [esp + 0x14]
fxch st(1)
fmul dword [esp + 0x18]
fld st(1)
mov dword [esp + 0xec], 0
fstp dword [esp + 0x110]
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x16c], ecx
fld st(1)
mov ecx, dword [esp + 0xec]
fchs
mov dword [esp + 0x178], ecx
fstp dword [esp + 0xc8]
mov ecx, dword [esp + 0xc8]
fxch st(1)
mov dword [esp + 0x180], ecx
fstp dword [esp + 0x6c]
mov dword [esp + 0x114], 0
mov edx, dword [esp + 0x114]
fld st(0)
mov dword [esp + 0x170], edx
fchs
mov dword [esp + 0xf0], 0
fst dword [esp + 0x14]
mov edx, dword [esp + 0xf0]
fstp dword [esp + 0xe0]
mov dword [esp + 0x17c], edx
mov dword [esp + 0xcc], 0
fstp dword [esp + 0x78]
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x184], edx
mov dword [esp + 0xd0], 0
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x188], ecx
mov dword [esp + 0x90], 0
mov edx, dword [esp + 0x90]
mov dword [esp + 0x190], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x94], 0x3f000000
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], edx
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x19c], ecx
mov dword [esp + 0x104], 0x3f000000
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x74], 0
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1a0], edx
mov dword [esp + 0x1a8], ecx
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0x108], 0
mov edx, dword [esp + 0x108]
mov dword [esp + 0x1ac], edx
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0xe4], 0
mov edx, dword [esp + 0xe4]
mov dword [esp + 0xe8], 0
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x10c], 0
mov eax, dword [esp + 0x10c]
mov dword [esp + 0xfc], 0x3f000000
mov edx, dword [esp + 0xfc]
mov dword [esp + 0x100], 0x3f800000
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x168], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x1c0], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x1c4], ecx
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x174], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1bc], eax
mov dword [esp + 0xb4], 0x3f800000
mov dword [esp + 0xb8], 0x3f000000
mov dword [esp + 0x80], 0
mov dword [esp + 0x1c8], edx
mov dword [esp + 0x1cc], ecx
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x1d0], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x1dc], edx
mov dword [esp + 0x84], 0
mov edx, dword [esp + 0x84]
mov dword [esp + 0x1e0], edx
mov dword [esp + 0x1d8], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x8c], 0
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x1e8], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1ec], eax
add edx, 0x30
mov dword [esp + 0xf4], 0x3f800000
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1f0], eax
mov eax, dword [edx]
mov dword [esp + 0xf8], 0x3f800000
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x1f4], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 8]
cmp ecx, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edx
mov eax, ebp
ja 0x4c840e
sub eax, ecx
mov ecx, dword [ebx + 4]
fld dword [esp + 0x24]
mov eax, dword [ecx + eax*4]
fsub dword [eax + 4]
add eax, 4
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fsub dword [eax + 4]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fsub dword [eax + 8]
fst dword [esp + 0x2c]
fmul dword [esp + 0x40]
fld dword [esp + 0x28]
fmul dword [esp + 0x44]
fsubp st(1)
fstp dword [esp + 0x98]
mov edx, dword [esp + 0x98]
fld dword [esp + 0x24]
mov dword [esp + 0x5c], edx
fmul dword [esp + 0x44]
fld dword [esp + 0x2c]
fmul dword [esp + 0x3c]
fsubp st(1)
fstp dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
fld dword [esp + 0x28]
mov dword [esp + 0x60], eax
fmul dword [esp + 0x3c]
fld dword [esp + 0x24]
fmul dword [esp + 0x40]
fsubp st(1)
fstp dword [esp + 0xa0]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x64], ecx
fld dword [esp + 0x64]
fmul dword [esp + 0x34]
fld dword [esp + 0x60]
fmul dword [esp + 0x38]
fsubp st(1)
fstp dword [esp + 0xa8]
mov edx, dword [esp + 0xa8]
fld dword [esp + 0x5c]
mov dword [esp + 0x48], edx
fmul dword [esp + 0x38]
lea edx, [esp + 0x48]
fld dword [esp + 0x64]
push edx
fmul dword [esp + 0x34]
fsubp st(1)
fstp dword [esp + 0xb0]
mov eax, dword [esp + 0xb0]
fld dword [esp + 0x64]
mov dword [esp + 0x50], eax
fmul dword [esp + 0x34]
mov eax, edx
fld dword [esp + 0x60]
push eax
fmul dword [esp + 0x3c]
fsubp st(1)
fstp dword [esp + 0xb8]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x58], ecx
call fcn.00543415
fld dword [esp + 0x50]
fmul dword [esp + 0x34]
fld dword [esp + 0x4c]
fmul dword [esp + 0x38]
fsubp st(1)
fstp dword [esp + 0xbc]
fld dword [esp + 0x48]
fmul dword [esp + 0x38]
fld dword [esp + 0x50]
fmul dword [esp + 0x30]
fsubp st(1)
fstp dword [esp + 0xc0]
fld dword [esp + 0x4c]
fmul dword [esp + 0x30]
fld dword [esp + 0x48]
fmul dword [esp + 0x34]
fsubp st(1)
mov ecx, dword [esp + 0xbc]
fstp dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x138], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x13c], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], edx
mov dword [esp + 0x130], eax
lea esi, [esp + 0x168]
mov edi, 6
lea ecx, [esp + 0x128]
push ecx
push esi
push esi
call fcn.00543738
add esi, 0x18
dec edi
jne 0x4c85e5
mov ecx, dword [ebx + 8]
cmp ecx, ebp
mov eax, ebp
ja 0x4c8605
sub eax, ecx
mov edx, dword [ebx + 4]
fld dword [esp + 0x168]
mov eax, dword [edx + eax*4]
fadd dword [eax + 4]
add eax, 4
fstp dword [esp + 0x168]
fld dword [esp + 0x16c]
fadd dword [eax + 4]
fstp dword [esp + 0x16c]
fld dword [esp + 0x170]
fadd dword [eax + 8]
mov eax, ebp
fstp dword [esp + 0x170]
mov ecx, dword [ebx + 8]
cmp ecx, ebp
ja 0x4c864c
sub eax, ecx
mov ecx, dword [ebx + 4]
fld dword [esp + 0x180]
mov eax, dword [ecx + eax*4]
fadd dword [eax + 4]
add eax, 4
fstp dword [esp + 0x180]
fld dword [esp + 0x184]
fadd dword [eax + 4]
fstp dword [esp + 0x184]
fld dword [esp + 0x188]
fadd dword [eax + 8]
mov eax, ebp
fstp dword [esp + 0x188]
mov ecx, dword [ebx + 8]
cmp ecx, ebp
ja 0x4c8693
sub eax, ecx
mov edx, dword [ebx + 4]
fld dword [esp + 0x198]
mov eax, dword [edx + eax*4]
fadd dword [eax + 4]
add eax, 4
mov edi, 3
fstp dword [esp + 0x198]
fld dword [esp + 0x19c]
fadd dword [eax + 4]
fstp dword [esp + 0x19c]
fld dword [esp + 0x1a0]
fadd dword [eax + 8]
lea eax, [esp + 0x1b8]
fstp dword [esp + 0x1a0]
jmp 0x4c86e0
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
mov esi, dword [edx + 8]
cmp esi, ecx
ja 0x4c86f1
sub ecx, esi
mov edx, dword [edx + 4]
fld dword [eax - 8]
mov ecx, dword [edx + ecx*4]
fadd dword [ecx + 4]
add ecx, 4
add eax, 0x18
dec edi
fstp dword [eax - 0x20]
fld dword [ecx + 4]
fadd dword [eax - 0x1c]
fstp dword [eax - 0x1c]
fld dword [ecx + 8]
fadd dword [eax - 0x18]
fstp dword [eax - 0x18]
jne 0x4c86e0
mov eax, dword [esp + 0x68]
fld dword [esp + 0x2c]
fmul dword [eax + 0x5c]
add eax, 0x54
fld dword [esp + 0x28]
mov ecx, 0x24
fmul dword [eax + 4]
lea esi, [esp + 0x168]
lea edi, [esp + 0x250]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [eax]
lea eax, [esp + 0x24c]
push eax
faddp st(1)
fchs
fstp dword [esp + 0x250]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x11c]
call fcn.004c7ae0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x11c]
inc ecx
mov dword [esp + 0x20], ecx
inc ebp
jmp 0x4c7f38
mov esi, dword [esp + 0x120]
mov ecx, esi
sub ecx, edi
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
push edi
call fcn.004c7300
mov ebx, dword [esp + 0x12c]
add esp, 0xc
cmp edi, ebx
mov esi, edi
je 0x4c87df
lea esp, [esp]
mov ecx, dword [0x621dc8]
push 0x18
lea edx, [esi + 4]
push edx
push 4
push 5
call fcn.004c99d0
add esi, 0x94
cmp esi, ebx
jne 0x4c87c0
mov ecx, dword [0x621dc8]
push 0x14
call fcn.004c9f10
mov ecx, dword [0x621dc8]
push 0x13
call fcn.004c9f10
mov ecx, dword [0x621dc8]
push 0x1b
call fcn.004c9f10
mov ecx, dword [0x621dc8]
push 0x16
call fcn.004c9f10
mov ecx, dword [0x621dc8]
call fcn.004ca030
mov ecx, dword [0x621dc8]
push 0x100
call fcn.004cbcb0
mov ecx, dword [0x621dc8]
push 0x17
call fcn.004c9f10
mov ecx, dword [0x621dc8]
push 0xab
call fcn.004c9f10
mov ecx, dword [0x621dc8]
push 0xf
call fcn.004c9f10
mov ecx, dword [0x621dc8]
push 0x19
call fcn.004c9f10
mov ecx, dword [0x621dc8]
push 0x18
call fcn.004c9f10
lea ecx, [esp + 0x54]
mov byte [esp + 0x2ec], 0
call fcn.004cc100
test edi, edi
je 0x4c8890
push edi
call fcn.0057ad56
add esp, 4
mov ecx, dword [esp + 0x2e4]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret