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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x597f2c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x4b56c9
call fcn.0051bcb4
mov ecx, dword [edi + 0x120]
test ecx, ecx
je 0x4b56e3
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x120], 0
lea eax, [ebp - 0x90]
push eax
mov eax, dword [0x59a4b8]
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.0040921a
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x30]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xb4]
mov dword [edi + 0x108], eax
mov eax, dword [ebp - 0x14]
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]
push ebx
mov ecx, edi
call fcn.004b6c30
mov ecx, edi
call fcn.004b6d90
mov edx, dword [edi + 0x10c]
xor ecx, ecx
mov dword [ebp - 0x78], ecx
test edx, edx
jle 0x4b5c20
mov ebx, dword [ebp - 0xb4]
xor esi, esi
mov eax, ebx
mov dword [ebp - 0xa8], esi
imul eax, ecx
add eax, dword [ebp - 0xb0]
mov dword [ebp - 0x84], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x7c], eax
cmp eax, edx
jge 0x4b57ad
mov esi, eax
imul esi, ebx
add esi, dword [ebp - 0xb0]
mov dword [ebp - 0xa8], esi
mov eax, dword [edi + 0x128]
lea edx, [ebp - 0x70]
push 0
push edx
push 0
mov eax, dword [eax + ecx*4]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x4b5e7f
mov ecx, dword [edi + 0x108]
test ecx, ecx
jle 0x4b5bfa
mov edx, dword [ebp - 0x84]
lea eax, [esi + 4]
mov dword [ebp - 0x80], edx
mov ebx, 1
sub dword [ebp - 0x80], esi
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x9c], eax
nop dword [eax]
movzx edx, byte [edx]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x98], edx
cmp ebx, ecx
jge 0x4b5822
mov edx, dword [ebp - 0x80]
movzx edx, byte [edx + eax]
mov dword [ebp - 0x88], edx
jmp 0x4b582c
mov dword [ebp - 0x88], 0
test esi, esi
je 0x4b5849
movzx edx, byte [eax - 4]
mov dword [ebp - 0x8c], edx
cmp ebx, ecx
jge 0x4b5853
movzx eax, byte [eax]
mov dword [ebp - 0x94], eax
jmp 0x4b585d
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x94], 0
push dword [ebp - 0x98]
mov ecx, dword [ebp - 0x78]
lea esi, [ebx - 1]
push esi
push ecx
lea eax, [ebp - 0xc0]
mov ecx, edi
push eax
call fcn.004b61d0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push esi
movq xmm0, qword [eax]
push dword [ebp - 0x78]
movq qword [edx + ecx], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 8], eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.004b61a0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push dword [ebp - 0x98]
movq xmm0, qword [eax]
push esi
push dword [ebp - 0x78]
movq qword [edx + ecx + 0xc], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0x14], eax
mov ecx, edi
call fcn.004b6190
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push dword [ebp - 0x8c]
push esi
push dword [ebp - 0x7c]
mov dword [edx + ecx + 0x18], eax
mov ecx, edi
mov eax, dword [ebp - 0x70]
mov dword [edx + eax + 0x1c], 0
mov eax, dword [ebp - 0x70]
mov dword [edx + eax + 0x20], 0
lea eax, [ebp - 0xcc]
push eax
call fcn.004b61d0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push esi
movq xmm0, qword [eax]
push dword [ebp - 0x7c]
movq qword [edx + ecx + 0x24], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0x2c], eax
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
call fcn.004b61a0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push dword [ebp - 0x8c]
movq xmm0, qword [eax]
push esi
push dword [ebp - 0x7c]
movq qword [edx + ecx + 0x30], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0x38], eax
mov ecx, edi
call fcn.004b6190
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push dword [ebp - 0x88]
push ebx
push dword [ebp - 0x78]
mov dword [edx + ecx + 0x3c], eax
mov eax, dword [ebp - 0x70]
mov dword [edx + eax + 0x40], 0
mov eax, dword [ebp - 0x70]
mov dword [edx + eax + 0x44], 0x3f800000
lea eax, [ebp - 0xd8]
push eax
mov ecx, edi
call fcn.004b61d0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push ebx
movq xmm0, qword [eax]
push dword [ebp - 0x78]
movq qword [edx + ecx + 0x48], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0x50], eax
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.004b61a0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push dword [ebp - 0x88]
movq xmm0, qword [eax]
push ebx
push dword [ebp - 0x78]
movq qword [edx + ecx + 0x54], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0x5c], eax
mov ecx, edi
call fcn.004b6190
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push dword [ebp - 0x94]
push ebx
push dword [ebp - 0x7c]
mov dword [edx + ecx + 0x60], eax
mov ecx, edi
mov eax, dword [ebp - 0x70]
mov dword [edx + eax + 0x64], 0x3f800000
mov eax, dword [ebp - 0x70]
mov dword [edx + eax + 0x68], 0
lea eax, [ebp - 0xe4]
push eax
call fcn.004b61d0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push ebx
movq xmm0, qword [eax]
push dword [ebp - 0x7c]
movq qword [edx + ecx + 0x6c], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0x74], eax
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
call fcn.004b61a0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push dword [ebp - 0x94]
movq xmm0, qword [eax]
push ebx
push dword [ebp - 0x7c]
movq qword [edx + ecx + 0x78], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0x80], eax
mov ecx, edi
call fcn.004b6190
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push dword [ebp - 0x88]
push ebx
push dword [ebp - 0x78]
mov dword [edx + ecx + 0x84], eax
mov ecx, edi
mov eax, dword [ebp - 0x70]
mov dword [edx + eax + 0x88], 0x3f800000
mov eax, dword [ebp - 0x70]
mov dword [edx + eax + 0x8c], 0x3f800000
lea eax, [ebp - 0xf0]
push eax
call fcn.004b61d0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
movq xmm0, qword [eax]
movq qword [edx + ecx + 0x90], xmm0
mov eax, dword [eax + 8]
push ebx
push dword [ebp - 0x78]
mov dword [edx + ecx + 0x98], eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call fcn.004b61a0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push dword [ebp - 0x88]
movq xmm0, qword [eax]
push ebx
push dword [ebp - 0x78]
movq qword [edx + ecx + 0x9c], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0xa4], eax
mov ecx, edi
call fcn.004b6190
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push dword [ebp - 0x8c]
push esi
push dword [ebp - 0x7c]
mov dword [edx + ecx + 0xa8], eax
mov ecx, edi
mov eax, dword [ebp - 0x70]
mov dword [edx + eax + 0xac], 0x3f800000
mov eax, dword [ebp - 0x70]
mov dword [edx + eax + 0xb0], 0
lea eax, [ebp - 0xfc]
push eax
call fcn.004b61d0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push esi
movq xmm0, qword [eax]
push dword [ebp - 0x7c]
movq qword [edx + ecx + 0xb4], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0xbc], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.004b61a0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
push dword [ebp - 0x8c]
movq xmm0, qword [eax]
push esi
push dword [ebp - 0x7c]
movq qword [edx + ecx + 0xc0], xmm0
mov eax, dword [eax + 8]
mov dword [edx + ecx + 0xc8], eax
mov ecx, edi
call fcn.004b6190
mov esi, dword [ebp - 0x74]
inc ebx
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x84]
add edx, 4
mov dword [ebp - 0x84], edx
mov dword [esi + ecx + 0xcc], eax
mov eax, dword [ebp - 0x70]
mov dword [esi + eax + 0xd0], 0
mov eax, dword [ebp - 0x70]
mov dword [esi + eax + 0xd4], 0x3f800000
add esi, 0xd8
mov eax, dword [ebp - 0x9c]
mov ecx, dword [edi + 0x108]
add eax, 4
mov dword [ebp - 0x74], esi
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0xa0], ecx
jl 0x4b5800
mov eax, dword [edi + 0x128]
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + ecx*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [edi + 0x10c]
mov dword [ebp - 0x78], ecx
cmp ecx, edx
jl 0x4b5773
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 0x4b5c48
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x90], 0
mov ecx, edi
call fcn.004b4f50
mov ecx, dword [edi + 0x10c]
xor esi, esi
mov dword [ebp - 0x80], esi
test ecx, ecx
jle 0x4b5d8b
cmp dword [edi + 0x124], 0
mov dword [ebp - 0x84], 0
jle 0x4b5d79
xor ebx, ebx
nop dword [eax + eax]
mov eax, dword [edi + 0x128]
lea edx, [ebp - 0x70]
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 0x4b5e7f
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x80]
movq xmm0, qword [ebx + eax]
mov esi, dword [ebx + eax + 8]
mov eax, dword [edi + 0x128]
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 - 0x84]
mov esi, dword [ebp - 0x80]
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004b6e50
push 0
lea edx, [ebp - 0x70]
push edx
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [edi + 0x128]
push 0
push 0
movq qword [ebp - 0xac], xmm0
mov eax, dword [eax + esi*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x4b5e7f
mov eax, dword [ebp - 0x70]
movq xmm0, qword [ebp - 0xac]
mov ecx, dword [ebp - 0xa0]
movq qword [ebx + eax + 0xc], xmm0
mov dword [ebx + eax + 0x14], ecx
mov eax, dword [edi + 0x128]
mov eax, dword [eax + esi*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x84]
add ebx, 0x24
inc eax
mov dword [ebp - 0x84], eax
cmp eax, dword [edi + 0x124]
jl 0x4b5c80
mov ecx, dword [edi + 0x10c]
inc esi
mov dword [ebp - 0x80], esi
cmp esi, ecx
jl 0x4b5c62
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.004de266
xor ebx, ebx
mov dword [edi + 0x11c], eax
add esp, 4
cmp dword [edi + 0x10c], ebx
jle 0x4b5e7f
xor esi, esi
cmp dword [edi + 0x108], esi
jle 0x4b5e72
nop
xor edx, edx
mov ecx, dword [edi + 0x108]
imul ecx, ebx
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, ebx
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, ebx
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, ebx
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
cmp edx, 0x1c
jl 0x4b5dd2
inc esi
cmp esi, dword [edi + 0x108]
jl 0x4b5dd0
inc ebx
cmp ebx, dword [edi + 0x10c]
jl 0x4b5dc1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ddd4a
mov esp, ebp
pop ebp
ret 0xc