Function at 0x57f930
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x84], 0x1000000
push dword [ebx]
movsx ax, byte [ebx + 0x15]
push dword [ebx + 4]
mov dword [ebp - 0x80], 0x2000000
mov dword [ebp - 0x7c], 0x4000000
movzx eax, ax
push eax
movzx eax, word [ebx + 0xc]
push eax
lea eax, [ebp - 0x170]
mov dword [ebp - 0x78], 0x8000000
push eax
mov dword [ebp - 0x74], 0x10000000
mov dword [ebp - 0x70], 0x20000000
mov dword [ebp - 0x6c], 0x40000000
mov dword [ebp - 0x68], 0x80000000
mov dword [ebp - 0x64], 0x10000
mov dword [ebp - 0x60], 0x20000
mov dword [ebp - 0x5c], 0x40000
mov dword [ebp - 0x58], 0x80000
mov dword [ebp - 0x54], 0x100000
mov dword [ebp - 0x50], 0x200000
mov dword [ebp - 0x4c], 0x400000
mov dword [ebp - 0x48], 0x800000
mov dword [ebp - 0x44], 0x100
mov dword [ebp - 0x40], 0x200
mov dword [ebp - 0x3c], 0x400
mov dword [ebp - 0x38], 0x800
mov dword [ebp - 0x34], 0x1000
mov dword [ebp - 0x30], 0x2000
mov dword [ebp - 0x2c], 0x4000
mov dword [ebp - 0x28], 0x8000
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10], 0x20
mov dword [ebp - 0xc], 0x40
mov dword [ebp - 8], 0x80
call fcn.00459c40
add esp, 0x14
test ax, ax
jne 0x57fa74
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
movzx eax, word [ebx + 0x20]
push esi
mov word [ebp - 0x150], ax
movzx eax, word [ebx + 0x22]
push edi
mov word [ebp - 0x14e], ax
lea eax, [ebp - 0x170]
push ebx
push eax
call fcn.0045a490
mov eax, dword [ebx + 4]
add esp, 8
mov esi, dword [ebx + 8]
mov ecx, dword [ebx]
mov edi, dword [ebp - 0x16c]
mov ebx, dword [ebp - 0x168]
mov dword [ebp - 0x108], eax
add eax, 0xffffffe0
mov dword [ebp - 0x10c], eax
add eax, 0x20
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x110], 0
test eax, eax
jle 0x57fcb3
lea eax, [ecx + 0x1f]
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [ebp - 0x108]
sar eax, 5
shl eax, 2
mov dword [ebp - 0x118], eax
mov eax, esi
shl eax, 5
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x10c]
sub edx, eax
dec edx
imul edx, esi
mov esi, dword [ebp - 0x118]
mov dword [ebp - 0x108], edx
xor ecx, ecx
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x124], ecx
test esi, esi
jle 0x57fc8e
mov edx, ebx
neg edx
shl edx, 5
mov dword [ebp - 0x130], edx
lea edx, [edi - 1]
imul edx, ebx
mov dword [ebp - 0x114], edx
mov edx, dword [ebp - 0x11c]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x104], xmm0
movdqu xmmword [ebp - 0xf4], xmm0
mov ebx, dword [edx + 0x28]
add ebx, dword [ebp - 0x108]
add ebx, ecx
xor edi, edi
movdqu xmmword [ebp - 0xe4], xmm0
movdqu xmmword [ebp - 0xd4], xmm0
movdqu xmmword [ebp - 0xc4], xmm0
movdqu xmmword [ebp - 0xb4], xmm0
movdqu xmmword [ebp - 0xa4], xmm0
movdqu xmmword [ebp - 0x94], xmm0
lea ecx, [ecx]
add eax, edi
mov esi, dword [ebp + edi*4 - 0x84]
js 0x57fbfc
mov edx, dword [ebx]
lea ecx, [ebp - 0xc]
xor eax, eax
test dword [ecx + 4], edx
je 0x57fbce
or dword [ebp + eax*4 - 0x104], esi
test dword [ecx], edx
je 0x57fbd9
or dword [ebp + eax*4 - 0x100], esi
test dword [ecx - 4], edx
je 0x57fbe5
or dword [ebp + eax*4 - 0xfc], esi
test dword [ecx - 8], edx
je 0x57fbf1
or dword [ebp + eax*4 - 0xf8], esi
add eax, 4
sub ecx, 0x10
cmp eax, 0x20
jl 0x57fbc2
sub ebx, dword [ebp - 0x128]
inc edi
mov eax, dword [ebp - 0x10c]
cmp edi, 0x20
jl 0x57fbb0
mov edx, dword [ebp - 0x148]
add edx, dword [ebp - 0x110]
add edx, dword [ebp - 0x114]
xor ecx, ecx
mov esi, dword [ebp - 0x120]
mov ebx, dword [ebp - 0x13c]
mov edi, dword [ebp - 0x138]
lea eax, [ecx + esi]
cmp eax, edi
jge 0x57fc44
mov eax, dword [ebp + ecx*4 - 0x104]
mov dword [edx], eax
inc ecx
sub edx, ebx
cmp ecx, 0x20
jl 0x57fc34
mov ecx, dword [ebp - 0x124]
add esi, 0x20
mov eax, dword [ebp - 0x130]
add ecx, 4
add dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], esi
cmp ecx, dword [ebp - 0x118]
jl 0x57fb57
mov edx, dword [ebp - 0x108]
mov esi, dword [ebp - 0x118]
add edx, dword [ebp - 0x134]
sub eax, 0x20
add dword [ebp - 0x110], 4
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], edx
cmp eax, 0xffffffe0
jg 0x57fb24
movzx ecx, word [ebp - 0x158]
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x158], eax
movsx eax, cx
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x154], eax
pop edi
pop esi
test ecx, ecx
jne 0x57fd2a
mov ebx, dword [ebp - 0x11c]
push ebx
call fcn.0045b520
movdqu xmm0, xmmword [ebp - 0x170]
mov eax, dword [ebp - 0x140]
add esp, 4
movdqu xmmword [ebx], xmm0
movdqu xmm0, xmmword [ebp - 0x160]
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmm0, xmmword [ebp - 0x150]
movdqu xmmword [ebx + 0x20], xmm0
mov dword [ebx + 0x30], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
movdqu xmm0, xmmword [ebp - 0x170]
mov eax, dword [ebp - 0x140]
pop ebx
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [ebp - 0x160]
movdqu xmmword [ecx + 0x10], xmm0
movdqu xmm0, xmmword [ebp - 0x150]
movdqu xmmword [ecx + 0x20], xmm0
mov dword [ecx + 0x30], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret