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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x6317e8]
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 0x52bf19
call fcn.0056e528
mov ecx, dword [edi + 0x120]
test ecx, ecx
je 0x52bf33
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x120], 0
lea eax, [ebp - 0x90]
push eax
mov eax, dword [0x634408]
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.00408a02
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.0052d480
mov ecx, edi
call fcn.0052d5e0
mov edx, dword [edi + 0x10c]
xor ecx, ecx
mov dword [ebp - 0x78], ecx
test edx, edx
jle 0x52c470
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 0x52bffd
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 0x52c6cf
mov ecx, dword [edi + 0x108]
test ecx, ecx
jle 0x52c44a
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 0x52c072
mov edx, dword [ebp - 0x80]
movzx edx, byte [edx + eax]
mov dword [ebp - 0x88], edx
jmp 0x52c07c
mov dword [ebp - 0x88], 0
test esi, esi
je 0x52c099
movzx edx, byte [eax - 4]
mov dword [ebp - 0x8c], edx
cmp ebx, ecx
jge 0x52c0a3
movzx eax, byte [eax]
mov dword [ebp - 0x94], eax
jmp 0x52c0ad
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.0052ca20
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.0052c9f0
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.0052c9e0
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.0052ca20
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.0052c9f0
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.0052c9e0
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.0052ca20
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.0052c9f0
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.0052c9e0
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.0052ca20
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.0052c9f0
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.0052c9e0
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.0052ca20
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.0052c9f0
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.0052c9e0
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.0052ca20
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.0052c9f0
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.0052c9e0
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 0x52c050
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 0x52bfc3
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 0x52c498
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x90], 0
mov ecx, edi
call fcn.0052b7a0
mov ecx, dword [edi + 0x10c]
xor esi, esi
mov dword [ebp - 0x80], esi
test ecx, ecx
jle 0x52c5db
cmp dword [edi + 0x124], 0
mov dword [ebp - 0x84], 0
jle 0x52c5c9
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 0x52c6cf
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.0052d6a0
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 0x52c6cf
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 0x52c4d0
mov ecx, dword [edi + 0x10c]
inc esi
mov dword [ebp - 0x80], esi
cmp esi, ecx
jl 0x52c4b2
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.0055f396
xor ebx, ebx
mov dword [edi + 0x11c], eax
add esp, 4
cmp dword [edi + 0x10c], ebx
jle 0x52c6cf
xor esi, esi
cmp dword [edi + 0x108], esi
jle 0x52c6c2
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 0x52c622
inc esi
cmp esi, dword [edi + 0x108]
jl 0x52c620
inc ebx
cmp ebx, dword [edi + 0x10c]
jl 0x52c611
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055ee88
mov esp, ebp
pop ebp
ret 0xc