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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x57ec74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov edi, ecx
lea ecx, [ebp - 0x90]
mov ebx, dword [ebp + 0xc]
push ecx
push 0
push 0
push 0xff000000
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x15
push 0
push 0
push 0
push 0
push eax
mov eax, dword [0x5955f8]
push dword [eax + 0x2a3d8]
call fcn.00404443
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x7c]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0xc0]
mov dword [edi + 0x108], eax
mov eax, dword [ebp - 0x60]
push 0
mov dword [edi + 0x10c], eax
mov eax, dword [ebp - 0x90]
push 0
push edx
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov ecx, edi
call fcn.004c5f80
mov eax, dword [edi + 0x10c]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004cbccd
xor ecx, ecx
mov dword [edi + 0x124], eax
add esp, 4
cmp dword [edi + 0x10c], ecx
jle 0x4c5538
mov eax, dword [edi + 0x124]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, dword [edi + 0x10c]
jl 0x4c5522
mov eax, dword [edi + 0x108]
xor esi, esi
lea eax, [eax + eax*2]
add eax, eax
mov dword [edi + 0x120], eax
cmp dword [edi + 0x10c], esi
jle 0x4c558f
mov eax, dword [edi + 0x124]
mov ecx, dword [ebx]
lea eax, [eax + esi*4]
push eax
mov eax, dword [edi + 0x120]
push 1
push 0x152
push 0
lea eax, [eax + eax*8]
shl eax, 2
push eax
push ebx
call dword [ecx + 0x5c]
test eax, eax
js 0x4c5588
inc esi
cmp esi, dword [edi + 0x10c]
jl 0x4c5553
jmp 0x4c558f
mov ecx, edi
call fcn.004c5f80
mov ecx, dword [edi + 0x174]
lea eax, [edi + 0x178]
push 0x8810
push 0
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x24]
mov ecx, dword [edi + 0x10c]
xor ebx, ebx
mov dword [ebp - 0xb8], ebx
test ecx, ecx
jle 0x4c5bc8
nop
mov edx, dword [ebp - 0xc0]
xor esi, esi
mov eax, edx
mov dword [ebp - 0x8c], esi
imul eax, ebx
add eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb0], eax
lea eax, [ebx + 1]
mov dword [ebp - 0xb4], eax
cmp eax, ecx
jge 0x4c55fd
mov esi, eax
imul esi, edx
add esi, dword [ebp - 0xbc]
mov dword [ebp - 0x8c], esi
mov eax, dword [edi + 0x124]
lea edx, [ebp - 0x80]
push 0
push edx
push 0
mov eax, dword [eax + ebx*4]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x4c5e3f
mov edx, dword [edi + 0x108]
xor ecx, ecx
mov dword [ebp - 0x84], ecx
test edx, edx
jle 0x4c5b9f
movss xmm1, dword [0x56dbc4]
mov eax, dword [ebp - 0xb0]
movd xmm0, ebx
lea ebx, [esi + 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x98], eax
sub dword [ebp - 0x98], esi
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xc8], 0xbf800000
mov dword [ebp - 0xc4], ecx
mulss xmm0, xmm1
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd4], 0xbf800000
mov dword [ebp - 0xd0], ecx
movss dword [ebp - 0x118], xmm0
movss dword [ebp - 0x130], xmm0
movss dword [ebp - 0x148], xmm0
movd xmm0, dword [ebp - 0xb4]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], 0xbf800000
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xec], 0xbf800000
mulss xmm0, xmm1
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf8], 0xbf800000
mov dword [ebp - 0xf4], ecx
movss dword [ebp - 0xac], xmm0
movss dword [ebp - 0x54], xmm0
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x104], 0xbf800000
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x88], ecx
nop word [eax + eax]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x84]
and ecx, 0xff
inc eax
mov dword [ebp - 0x94], eax
cmp eax, edx
jge 0x4c5752
mov esi, dword [ebp - 0x98]
movzx esi, byte [esi + ebx]
mov dword [ebp - 0xa8], esi
mov esi, dword [ebp - 0x8c]
jmp 0x4c575c
mov dword [ebp - 0xa8], 0
test esi, esi
je 0x4c5778
mov esi, dword [ebx - 4]
and esi, 0xff
cmp eax, edx
jge 0x4c577a
movzx eax, byte [ebx]
mov dword [ebp - 0x9c], eax
jmp 0x4c5784
xor esi, esi
mov dword [ebp - 0x9c], 0
movd xmm0, dword [ebp - 0x84]
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x118]
mulss xmm0, xmm1
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov ecx, dword [ebp - 0x88]
movq qword [ebp - 0xa4], xmm0
divss xmm1, dword [0x56dc50]
mulss xmm1, dword [0x56dbf0]
unpcklps xmm0, xmm1
movq qword [ecx + eax], xmm0
movq xmm0, qword [ebp - 0xcc]
mov dword [ecx + eax + 8], edx
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
push eax
push eax
movq qword [ebp - 0x44], xmm0
call fcn.00404e16
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x88]
movq xmm0, qword [ebp - 0x44]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movq qword [edx + ecx + 0xc], xmm0
divss xmm1, dword [0x56dc50]
mov eax, dword [ebp - 0x3c]
mov dword [edx + ecx + 0x14], eax
mov eax, dword [ebp - 0x80]
mov dword [edx + eax + 0x18], 0xffff9b9b
mov eax, dword [ebp - 0x80]
mov dword [edx + eax + 0x1c], 0
mov eax, dword [ebp - 0x80]
mov dword [edx + eax + 0x20], 0
mov ecx, dword [ebp - 0x80]
movss xmm0, dword [ebp - 0xac]
mulss xmm1, dword [0x56dbf0]
movss dword [ebp - 0x124], xmm0
movss xmm0, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x124]
unpcklps xmm0, xmm1
movq qword [edx + ecx + 0x24], xmm0
movq xmm0, qword [ebp - 0xd8]
mov dword [edx + ecx + 0x2c], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push eax
movss dword [ebp - 0x84], xmm1
movq qword [ebp - 0x14], xmm0
call fcn.00404e16
movd xmm1, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x88]
movq xmm0, qword [ebp - 0x14]
mov esi, dword [ebp - 0x94]
cvtdq2ps xmm1, xmm1
movq qword [edx + ecx + 0x30], xmm0
divss xmm1, dword [0x56dc50]
mov eax, dword [ebp - 0xc]
mov dword [edx + ecx + 0x38], eax
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x130]
mov dword [edx + eax + 0x3c], 0xffff9b9b
mov eax, dword [ebp - 0x80]
mov dword [edx + eax + 0x40], 0
mov eax, dword [ebp - 0x80]
mov dword [edx + eax + 0x44], 0x3f800000
mov eax, dword [ebp - 0x80]
movd xmm0, esi
mulss xmm1, dword [0x56dbf0]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x94], xmm1
mulss xmm0, dword [0x56dbc4]
movq qword [ebp - 0x114], xmm0
unpcklps xmm0, xmm1
movq qword [edx + eax + 0x48], xmm0
movq xmm0, qword [ebp - 0xe4]
mov dword [edx + eax + 0x50], ecx
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push eax
movq qword [ebp - 0x38], xmm0
call fcn.00404e16
movd xmm1, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x88]
movq xmm0, qword [ebp - 0x38]
cvtdq2ps xmm1, xmm1
movq qword [edx + ecx + 0x54], xmm0
divss xmm1, dword [0x56dc50]
mov eax, dword [ebp - 0x30]
mov dword [edx + ecx + 0x5c], eax
mov eax, dword [ebp - 0x80]
mov dword [edx + eax + 0x60], 0xffff9b9b
mov eax, dword [ebp - 0x80]
mov dword [edx + eax + 0x64], 0x3f800000
mov eax, dword [ebp - 0x80]
mov dword [edx + eax + 0x68], 0
mov ecx, dword [ebp - 0x80]
movss xmm0, dword [ebp - 0xac]
mulss xmm1, dword [0x56dbf0]
movss dword [ebp - 0x13c], xmm0
movss xmm0, dword [ebp - 0x114]
mov eax, dword [ebp - 0x13c]
unpcklps xmm0, xmm1
movq qword [edx + ecx + 0x6c], xmm0
movq xmm0, qword [ebp - 0xf0]
mov dword [edx + ecx + 0x74], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push eax
movq qword [ebp - 0x2c], xmm0
call fcn.00404e16
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x88]
movq xmm0, qword [ebp - 0x2c]
movq xmm1, qword [ebp - 0x114]
movq qword [edx + ecx + 0x78], xmm0
mov eax, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x94]
mov dword [edx + ecx + 0x80], eax
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x148]
unpcklps xmm1, xmm0
movq xmm0, qword [ebp - 0xfc]
mov dword [edx + eax + 0x84], 0xffff9b9b
mov eax, dword [ebp - 0x80]
movq qword [ebp - 0x20], xmm0
mov dword [edx + eax + 0x88], 0x3f800000
mov eax, dword [ebp - 0x80]
mov dword [edx + eax + 0x8c], 0x3f800000
mov eax, dword [ebp - 0x80]
movq qword [edx + eax + 0x90], xmm1
mov dword [edx + eax + 0x98], ecx
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push eax
call fcn.00404e16
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x88]
movq xmm0, qword [ebp - 0x20]
movq qword [edx + ecx + 0x9c], xmm0
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx + 0xa4], eax
mov eax, dword [ebp - 0x80]
mov dword [edx + eax + 0xa8], 0xffff9b9b
mov eax, dword [ebp - 0x80]
mov dword [edx + eax + 0xac], 0x3f800000
mov eax, dword [ebp - 0x80]
mov dword [edx + eax + 0xb0], 0
mov eax, dword [ebp - 0x80]
movss xmm0, dword [ebp - 0x84]
movq xmm1, qword [ebp - 0xa4]
mov ecx, dword [ebp - 0x54]
unpcklps xmm1, xmm0
movq xmm0, qword [ebp - 0x108]
movq qword [edx + eax + 0xb4], xmm1
mov dword [edx + eax + 0xbc], ecx
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push eax
push eax
movq qword [ebp - 0x50], xmm0
call fcn.00404e16
mov edx, dword [ebp - 0x88]
add ebx, 4
mov ecx, dword [ebp - 0x80]
movq xmm0, qword [ebp - 0x50]
movss xmm1, dword [0x56dbc4]
movq qword [edx + ecx + 0xc0], xmm0
mov eax, dword [ebp - 0x48]
mov dword [edx + ecx + 0xc8], eax
mov ecx, esi
mov eax, dword [ebp - 0x80]
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0x84], ecx
mov dword [edx + eax + 0xcc], 0xffff9b9b
mov eax, dword [ebp - 0x80]
mov dword [edx + eax + 0xd0], 0
mov eax, dword [ebp - 0x80]
mov dword [edx + eax + 0xd4], 0x3f800000
add edx, 0xd8
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x88], edx
mov edx, dword [edi + 0x108]
cmp ecx, edx
jl 0x4c5720
mov ebx, dword [ebp - 0xb8]
mov eax, dword [edi + 0x124]
mov eax, dword [eax + ebx*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, dword [ebp - 0xb4]
mov ecx, dword [edi + 0x10c]
mov dword [ebp - 0xb8], ebx
cmp ebx, ecx
jl 0x4c55c0
mov eax, dword [ebp - 0x90]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x4c5bf0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x90], 0
mov eax, dword [edi + 0x174]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ecx, dword [edi + 0x10c]
xor esi, esi
mov dword [ebp - 0x84], esi
test ecx, ecx
jle 0x4c5d44
cmp dword [edi + 0x120], 0
mov dword [ebp - 0x8c], 0
jle 0x4c5d2f
xor ebx, ebx
nop dword [eax + eax]
mov eax, dword [edi + 0x124]
lea edx, [ebp - 0x80]
push 0
push edx
push 0
mov eax, dword [eax + esi*4]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x4c5e3f
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
movq xmm0, qword [ebx + eax]
mov esi, dword [ebx + eax + 8]
mov eax, dword [edi + 0x124]
movq qword [ebp - 0xa4], xmm0
mov eax, dword [eax + ecx*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
movq xmm0, qword [ebp - 0xa4]
sub esp, 0xc
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], esi
mov eax, 0x2aaaaaab
imul dword [ebp - 0x8c]
mov esi, dword [ebp - 0x84]
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004c5220
push 0
lea edx, [ebp - 0x80]
push edx
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x94], eax
mov eax, dword [edi + 0x124]
push 0
push 0
movq qword [ebp - 0xa4], xmm0
mov eax, dword [eax + esi*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x4c5e3f
mov eax, dword [ebp - 0x80]
movq xmm0, qword [ebp - 0xa4]
mov ecx, dword [ebp - 0x94]
movq qword [ebx + eax + 0xc], xmm0
mov dword [ebx + eax + 0x14], ecx
mov eax, dword [edi + 0x124]
mov eax, dword [eax + esi*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x8c]
add ebx, 0x24
inc eax
mov dword [ebp - 0x8c], eax
cmp eax, dword [edi + 0x120]
jl 0x4c5c30
mov ecx, dword [edi + 0x10c]
inc esi
mov dword [ebp - 0x84], esi
cmp esi, ecx
jl 0x4c5c12
mov eax, dword [edi + 0x108]
mov edx, 0x1c
imul eax, ecx
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004cbccd
xor ebx, ebx
mov dword [edi + 0x11c], eax
add esp, 4
cmp dword [edi + 0x10c], ebx
jle 0x4c5e3f
nop word [eax + eax]
xor esi, esi
cmp dword [edi + 0x108], esi
jle 0x4c5e32
nop
xor edx, edx
mov eax, dword [edi + 0x108]
imul eax, ebx
add eax, esi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0x11c]
lea eax, [eax + ecx*4]
mov byte [eax + edx], 0
mov eax, dword [edi + 0x108]
imul eax, ebx
add eax, esi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0x11c]
lea eax, [eax + ecx*4]
mov byte [eax + edx + 1], 0
mov eax, dword [edi + 0x108]
imul eax, ebx
add eax, esi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0x11c]
lea eax, [eax + ecx*4]
mov byte [eax + edx + 2], 0
mov eax, dword [edi + 0x108]
imul eax, ebx
add eax, esi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0x11c]
lea eax, [eax + ecx*4]
mov byte [eax + edx + 3], 0
add edx, 4
cmp edx, 0x1c
jl 0x4c5d92
inc esi
cmp esi, dword [edi + 0x108]
jl 0x4c5d90
inc ebx
cmp ebx, dword [edi + 0x10c]
jl 0x4c5d80
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb96a
mov esp, ebp
pop ebp
ret 0xc