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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x507b40]
xor eax, esp
mov dword [esp + 0x174], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x24], eax
jne 0x48bc93
call fcn.004ad3e4
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x509420]
push 0
push 0
push 0xff000000
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x15
push 0
push 0
push 0
push 0
push esi
push dword [eax + 0x2a3d8]
call fcn.00405959
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x15c]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esp + 0x174]
lea edx, [esp + 0x50]
mov dword [edi + 0x108], eax
mov eax, dword [esp + 0x178]
push 0
mov dword [edi + 0x10c], eax
mov eax, dword [esp + 0x2c]
push 0
push edx
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov ecx, edi
call fcn.0048cdb0
mov eax, dword [edi + 0x10c]
mov ecx, 4
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.00498892
mov edx, dword [edi + 0x10c]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x124], eax
test edx, edx
jle 0x48bd58
nop dword [eax]
mov eax, dword [edi + 0x124]
mov dword [eax + ecx*4], 0
inc ecx
mov edx, dword [edi + 0x10c]
cmp ecx, edx
jl 0x48bd40
mov eax, dword [edi + 0x108]
xor esi, esi
lea eax, [eax + eax*2]
add eax, eax
mov dword [edi + 0x120], eax
test edx, edx
jle 0x48bdb2
nop
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov ecx, dword [eax + 0x5c]
mov eax, dword [edi + 0x124]
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 edx
call ecx
test eax, eax
js 0x48bdab
inc esi
cmp esi, dword [edi + 0x10c]
jl 0x48bd70
jmp 0x48bdb2
mov ecx, edi
call fcn.0048cdb0
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 edx, dword [edi + 0x10c]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test edx, edx
jle 0x48c466
mov eax, dword [esp + 0x50]
lea esi, [ecx + 1]
imul eax, ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], esi
add eax, dword [esp + 0x54]
mov dword [esp + 0x30], eax
cmp esi, edx
jge 0x48be13
imul esi, dword [esp + 0x50]
add esi, dword [esp + 0x54]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x24]
mov eax, dword [edi + 0x124]
lea edx, [esp + 0x14]
push 0
push edx
push 0
mov ecx, dword [eax + ecx*4]
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
js 0x48c6ed
mov eax, dword [edi + 0x108]
mov dword [esp + 0x20], eax
test eax, eax
jle 0x48c43d
movd xmm1, dword [esp + 0x1c]
movss xmm2, dword [0x4cb300]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
movd xmm0, esi
mov esi, 1
cvtdq2ps xmm1, xmm1
lea eax, [edx + 4]
mov dword [esp + 0x38], ecx
sub dword [esp + 0x38], edx
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0xbf800000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0xbf800000
mov dword [esp + 0x6c], 0
mulss xmm1, xmm2
mov dword [esp + 0x70], 0
mulss xmm0, xmm2
mov dword [esp + 0x74], 0xbf800000
movss dword [esp + 0xd4], xmm1
movss dword [esp + 0xec], xmm1
movss dword [esp + 0xe0], xmm0
mov dword [esp + 0x78], 0
movss dword [esp + 0xf8], xmm0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0xbf800000
mov dword [esp + 0x84], 0
movss dword [esp + 0x104], xmm1
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0xbf800000
mov dword [esp + 0x90], 0
movss dword [esp + 0x158], xmm0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0xbf800000
mov dword [esp + 0x9c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x48], eax
nop dword [eax]
mov ecx, dword [ecx]
and ecx, 0xff
mov dword [esp + 0x40], esi
cmp esi, dword [esp + 0x20]
jge 0x48bf94
mov edx, dword [esp + 0x38]
movzx edx, byte [eax + edx]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
jmp 0x48bf9c
mov dword [esp + 0x20], 0
test edx, edx
je 0x48bfb9
movzx edx, byte [eax - 4]
mov dword [esp + 0x34], edx
cmp esi, dword [edi + 0x108]
jge 0x48bfc1
movzx eax, byte [eax]
mov dword [esp + 0x3c], eax
jmp 0x48bfc9
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
movd xmm1, ecx
lea eax, [esi - 1]
cvtdq2ps xmm1, xmm1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xd4]
movd xmm0, eax
divss xmm1, dword [0x4cb848]
mov eax, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm1, dword [0x4cd6a4]
mulss xmm0, xmm2
movups xmmword [esp + 0xb0], xmm0
unpcklps xmm0, xmm1
movq qword [ecx + eax], xmm0
movq xmm0, qword [esp + 0x58]
mov dword [ecx + eax + 8], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14c], eax
lea eax, [esp + 0x144]
push eax
push eax
movq qword [esp + 0x14c], xmm0
call fcn.00401271
movd xmm1, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movq xmm0, qword [esp + 0x144]
mov ecx, dword [esp + 0x14c]
cvtdq2ps xmm1, xmm1
movq qword [edx + eax + 0xc], xmm0
divss xmm1, dword [0x4cb848]
mov dword [edx + eax + 0x14], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xe0]
mov dword [edx + eax + 0x18], 0xffff9b9b
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x1c], 0
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x20], 0
mov eax, dword [esp + 0x14]
movss xmm0, dword [esp + 0xb0]
mulss xmm1, dword [0x4cd6a4]
unpcklps xmm0, xmm1
movq qword [edx + eax + 0x24], xmm0
movq xmm0, qword [esp + 0x64]
mov dword [edx + eax + 0x2c], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x110], eax
lea eax, [esp + 0x108]
push eax
push eax
movss dword [esp + 0x3c], xmm1
movq qword [esp + 0x110], xmm0
call fcn.00401271
movd xmm1, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movq xmm0, qword [esp + 0x108]
mov ecx, dword [esp + 0x110]
cvtdq2ps xmm1, xmm1
movq qword [edx + eax + 0x30], xmm0
divss xmm1, dword [0x4cb848]
mov dword [edx + eax + 0x38], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xec]
mov dword [edx + eax + 0x3c], 0xffff9b9b
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x40], 0
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x44], 0x3f800000
mov eax, dword [esp + 0x14]
movd xmm0, esi
mulss xmm1, dword [0x4cd6a4]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x20], xmm1
mulss xmm0, dword [0x4cb300]
movaps xmmword [esp + 0xa0], xmm0
unpcklps xmm0, xmm1
movq qword [edx + eax + 0x48], xmm0
movq xmm0, qword [esp + 0x70]
mov dword [edx + eax + 0x50], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x11c], eax
lea eax, [esp + 0x114]
push eax
push eax
movq qword [esp + 0x11c], xmm0
call fcn.00401271
movd xmm1, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movq xmm0, qword [esp + 0x114]
mov ecx, dword [esp + 0x11c]
cvtdq2ps xmm1, xmm1
movq qword [edx + eax + 0x54], xmm0
divss xmm1, dword [0x4cb848]
mov dword [edx + eax + 0x5c], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xf8]
mov dword [edx + eax + 0x60], 0xffff9b9b
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x64], 0x3f800000
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x68], 0
mov eax, dword [esp + 0x14]
movss xmm0, dword [esp + 0xa0]
mulss xmm1, dword [0x4cd6a4]
unpcklps xmm0, xmm1
movq qword [edx + eax + 0x6c], xmm0
movq xmm0, qword [esp + 0x7c]
mov dword [edx + eax + 0x74], ecx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x128], eax
lea eax, [esp + 0x120]
push eax
push eax
movq qword [esp + 0x128], xmm0
call fcn.00401271
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movq xmm0, qword [esp + 0x120]
mov ecx, dword [esp + 0x128]
movaps xmm1, xmmword [esp + 0xa0]
movq qword [edx + eax + 0x78], xmm0
movss xmm0, dword [esp + 0x20]
mov dword [edx + eax + 0x80], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x104]
unpcklps xmm1, xmm0
movq xmm0, qword [esp + 0x88]
mov dword [edx + eax + 0x84], 0xffff9b9b
mov eax, dword [esp + 0x14]
movq qword [esp + 0x12c], xmm0
mov dword [edx + eax + 0x88], 0x3f800000
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0x8c], 0x3f800000
mov eax, dword [esp + 0x14]
movq qword [edx + eax + 0x90], xmm1
mov dword [edx + eax + 0x98], ecx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x134], eax
lea eax, [esp + 0x12c]
push eax
push eax
call fcn.00401271
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movq xmm0, qword [esp + 0x12c]
mov ecx, dword [esp + 0x134]
movups xmm1, xmmword [esp + 0xb0]
movq qword [edx + eax + 0x9c], xmm0
movss xmm0, dword [esp + 0x34]
mov dword [edx + eax + 0xa4], ecx
mov eax, dword [esp + 0x14]
unpcklps xmm1, xmm0
mov dword [edx + eax + 0xa8], 0xffff9b9b
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0xac], 0x3f800000
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0xb0], 0
mov eax, dword [esp + 0x14]
movq qword [edx + eax + 0xb4], xmm1
mov ecx, dword [esp + 0x158]
movq xmm0, qword [esp + 0x94]
mov dword [edx + eax + 0xbc], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x140], eax
lea eax, [esp + 0x138]
push eax
push eax
movq qword [esp + 0x140], xmm0
call fcn.00401271
mov edx, dword [esp + 0x18]
inc esi
mov eax, dword [esp + 0x14]
movq xmm0, qword [esp + 0x138]
mov ecx, dword [esp + 0x140]
add dword [esp + 0x30], 4
movq qword [edx + eax + 0xc0], xmm0
mov dword [edx + eax + 0xc8], ecx
mov eax, dword [esp + 0x14]
movss xmm2, dword [0x4cb300]
mov dword [edx + eax + 0xcc], 0xffff9b9b
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0xd0], 0
mov eax, dword [esp + 0x14]
mov dword [edx + eax + 0xd4], 0x3f800000
add edx, 0xd8
mov eax, dword [esp + 0x48]
mov ecx, dword [edi + 0x108]
add eax, 4
cmp dword [esp + 0x40], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], eax
jl 0x48bf70
mov eax, dword [edi + 0x124]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x10c]
mov dword [esp + 0x1c], ecx
cmp ecx, edx
jl 0x48bde0
mov eax, dword [esp + 0x28]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x48c488
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x28], 0
mov eax, dword [edi + 0x174]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov edx, dword [edi + 0x10c]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test edx, edx
jle 0x48c5e4
nop dword [eax + eax]
cmp dword [edi + 0x120], 0
mov dword [esp + 0x1c], 0
jle 0x48c5d1
xor esi, esi
mov dword [esp + 0x24], esi
nop dword [eax + eax]
mov eax, dword [edi + 0x124]
lea edx, [esp + 0x14]
push 0
push edx
push 0
mov ecx, dword [eax + ecx*4]
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
js 0x48c6ed
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movq xmm0, qword [esi + eax]
mov esi, dword [esi + eax + 8]
mov eax, dword [edi + 0x124]
movq qword [esp + 0x40], xmm0
mov eax, dword [eax + ecx*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
movq xmm0, qword [esp + 0x40]
sub esp, 0xc
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], esi
mov eax, 0x2aaaaaab
imul dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
push eax
lea eax, [esp + 0x164]
push eax
call fcn.0048ce20
push 0
lea edx, [esp + 0x18]
push edx
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x124]
push 0
push 0
movq qword [esp + 0x58], xmm0
mov ecx, dword [eax + esi*4]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
js 0x48c6ed
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
movq xmm0, qword [esp + 0x48]
mov ecx, dword [esp + 0x40]
movq qword [esi + eax + 0xc], xmm0
mov dword [esi + eax + 0x14], ecx
mov eax, dword [edi + 0x124]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + ecx*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esp + 0x1c]
add esi, 0x24
mov ecx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
cmp eax, dword [edi + 0x120]
jl 0x48c4d0
mov edx, dword [edi + 0x10c]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, edx
jl 0x48c4b0
mov eax, dword [edi + 0x108]
mov ecx, 0x1c
imul eax, edx
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.00498892
mov dword [edi + 0x11c], eax
add esp, 4
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [edi + 0x10c], eax
jle 0x48c6ed
nop dword [eax]
xor esi, esi
cmp dword [edi + 0x108], esi
jle 0x48c6dc
nop
xor edx, edx
mov ecx, dword [edi + 0x108]
imul ecx, eax
add ecx, esi
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [edx + eax*4]
mov eax, dword [edi + 0x11c]
mov byte [ecx + eax], 0
mov ecx, dword [edi + 0x108]
imul ecx, dword [esp + 0x18]
add ecx, esi
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [edx + eax*4]
mov eax, dword [edi + 0x11c]
mov byte [ecx + eax + 1], 0
mov ecx, dword [edi + 0x108]
imul ecx, dword [esp + 0x18]
add ecx, esi
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [edx + eax*4]
mov eax, dword [edi + 0x11c]
mov byte [ecx + eax + 2], 0
mov ecx, dword [edi + 0x108]
imul ecx, dword [esp + 0x18]
add ecx, esi
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [edx + eax*4]
mov eax, dword [edi + 0x11c]
add edx, 4
mov byte [ecx + eax + 3], 0
mov eax, dword [esp + 0x18]
cmp edx, 0x1c
jl 0x48c632
inc esi
cmp esi, dword [edi + 0x108]
jl 0x48c630
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [edi + 0x10c]
jl 0x48c620
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
xor ecx, esp
call fcn.00498846
mov esp, ebp
pop ebp
ret 0xc