Function at 0x57f2c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x114], ebx
push dword [ebx + 4]
movsx ax, byte [ebx + 0x15]
push dword [ebx]
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x104], 0x80
movzx eax, ax
push eax
movzx eax, word [ebx + 0xc]
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x100], 0x40
push eax
mov dword [ebp - 0xfc], 0x20
mov dword [ebp - 0xf8], 0x10
mov dword [ebp - 0xf4], 8
mov dword [ebp - 0xf0], 4
mov dword [ebp - 0xec], 2
mov dword [ebp - 0xe8], 1
mov dword [ebp - 0xe4], 0x8000
mov dword [ebp - 0xe0], 0x4000
mov dword [ebp - 0xdc], 0x2000
mov dword [ebp - 0xd8], 0x1000
mov dword [ebp - 0xd4], 0x800
mov dword [ebp - 0xd0], 0x400
mov dword [ebp - 0xcc], 0x200
mov dword [ebp - 0xc8], 0x100
mov dword [ebp - 0xc4], 0x800000
mov dword [ebp - 0xc0], 0x400000
mov dword [ebp - 0xbc], 0x200000
mov dword [ebp - 0xb8], 0x100000
mov dword [ebp - 0xb4], 0x80000
mov dword [ebp - 0xb0], 0x40000
mov dword [ebp - 0xac], 0x20000
mov dword [ebp - 0xa8], 0x10000
mov dword [ebp - 0xa4], 0x80000000
mov dword [ebp - 0xa0], 0x40000000
mov dword [ebp - 0x9c], 0x20000000
mov dword [ebp - 0x98], 0x10000000
mov dword [ebp - 0x94], 0x8000000
mov dword [ebp - 0x90], 0x4000000
mov dword [ebp - 0x8c], 0x2000000
mov dword [ebp - 0x88], 0x1000000
mov dword [ebp - 0x84], 0xffffff7f
mov dword [ebp - 0x80], 0xffffffbf
mov dword [ebp - 0x7c], 0xffffffdf
mov dword [ebp - 0x78], 0xffffffef
mov dword [ebp - 0x74], 0xfffffff7
mov dword [ebp - 0x70], 0xfffffffb
mov dword [ebp - 0x6c], 0xfffffffd
mov dword [ebp - 0x68], 0xfffffffe
mov dword [ebp - 0x64], 0xffff7fff
mov dword [ebp - 0x60], 0xffffbfff
mov dword [ebp - 0x5c], 0xffffdfff
mov dword [ebp - 0x58], 0xffffefff
mov dword [ebp - 0x54], 0xfffff7ff
mov dword [ebp - 0x50], 0xfffffbff
mov dword [ebp - 0x4c], 0xfffffdff
mov dword [ebp - 0x48], 0xfffffeff
mov dword [ebp - 0x44], 0xff7fffff
mov dword [ebp - 0x40], 0xffbfffff
mov dword [ebp - 0x3c], 0xffdfffff
mov dword [ebp - 0x38], 0xffefffff
mov dword [ebp - 0x34], 0xfff7ffff
mov dword [ebp - 0x30], 0xfffbffff
mov dword [ebp - 0x2c], 0xfffdffff
mov dword [ebp - 0x28], 0xfffeffff
mov dword [ebp - 0x24], 0x7fffffff
mov dword [ebp - 0x20], 0xbfffffff
mov dword [ebp - 0x1c], 0xdfffffff
mov dword [ebp - 0x18], 0xefffffff
mov dword [ebp - 0x14], 0xf7ffffff
mov dword [ebp - 0x10], 0xfbffffff
mov dword [ebp - 0xc], 0xfdffffff
mov dword [ebp - 8], 0xfeffffff
call fcn.00459c40
add esp, 0x14
test ax, ax
jne 0x57f546
pop esi
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]
mov word [ebp - 0x14c], ax
movzx eax, word [ebx + 0x22]
mov word [ebp - 0x14a], ax
lea eax, [ebp - 0x16c]
push ebx
push eax
call fcn.0045a490
mov eax, dword [ebx]
add esp, 8
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x118], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x130], eax
test ecx, ecx
jle 0x57f894
mov edx, dword [ebp - 0x164]
lea esi, [ecx - 1]
neg edx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x138], edx
mov edx, esi
imul edx, dword [ebp - 0x164]
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x120], ecx
push edi
mov dword [ebp - 0x124], edx
jmp 0x57f5d0
mov ecx, dword [ebp - 0x144]
xor edi, edi
mov eax, dword [ebp - 0x118]
add ecx, edx
xor edx, edx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x108], edx
test eax, eax
jle 0x57f85c
lea esi, [eax - 1]
lea esp, [esp]
mov eax, edx
and eax, 0x8000001f
jns 0x57f60e
dec eax
or eax, 0xffffffe0
inc eax
jne 0x57f695
mov ecx, dword [ebx + 0x28]
mov eax, esi
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
lea edx, [ecx + eax*4]
mov eax, esi
add edx, dword [ebp - 0x110]
and eax, 0x8000001f
jns 0x57f639
dec eax
or eax, 0xffffffe0
inc eax
mov ebx, dword [edx]
or edi, 0xffffffff
xor ecx, ecx
test eax, eax
jns 0x57f654
cmp esi, 0x20
jl 0x57f654
mov ebx, dword [edx - 4]
sub edx, 4
mov eax, 0x1f
test dword [ebp + eax*4 - 0x104], ebx
jne 0x57f664
and edi, dword [ebp + ecx*4 - 0x84]
inc ecx
dec eax
cmp ecx, 0x20
jl 0x57f640
mov ecx, dword [ebp - 0x10c]
sub esi, 0x20
mov edx, dword [ebp - 0x108]
mov ebx, dword [ebp - 0x114]
add edx, 0x20
mov dword [ecx], edi
add ecx, 4
mov dword [ebp - 0x10c], ecx
xor edi, edi
jmp 0x57f844
mov eax, edx
and eax, 0x8000000f
jns 0x57f6a3
dec eax
or eax, 0xfffffff0
inc eax
jne 0x57f743
mov ecx, dword [ebx + 0x28]
mov eax, esi
cdq
and edx, 0xf
add eax, edx
sar eax, 4
lea edi, [ecx + eax*2]
mov ecx, esi
add edi, dword [ebp - 0x110]
and ecx, 0x8000000f
jns 0x57f6cf
dec ecx
or ecx, 0xfffffff0
inc ecx
movzx eax, word [edi]
xor edx, edx
mov dword [ebp - 0x134], 0xffff
mov bx, word [ebp - 0x134]
test ecx, ecx
jns 0x57f6fa
cmp esi, 0x10
jl 0x57f6fa
movzx eax, word [edi - 2]
sub edi, 2
mov ecx, 0xf
movzx eax, ax
test dword [ebp + ecx*4 - 0x104], eax
jne 0x57f70e
and bx, word [ebp + edx*4 - 0x84]
movzx eax, word [edi]
inc edx
dec ecx
cmp edx, 0x10
jl 0x57f6e5
mov ecx, dword [ebp - 0x10c]
sub esi, 0x10
mov edx, dword [ebp - 0x108]
add edx, 0x10
mov word [ecx], bx
add ecx, 2
mov ebx, dword [ebp - 0x114]
xor edi, edi
mov dword [ebp - 0x10c], ecx
jmp 0x57f844
mov eax, edx
and eax, 0x80000007
jns 0x57f751
dec eax
or eax, 0xfffffff8
inc eax
jne 0x57f7ce
mov eax, esi
cdq
and edx, 7
add eax, edx
mov edx, dword [ebx + 0x28]
sar eax, 3
add edx, eax
mov eax, esi
add edx, dword [ebp - 0x110]
and eax, 0x80000007
jns 0x57f777
dec eax
or eax, 0xfffffff8
inc eax
mov bh, byte [edx]
or bl, 0xff
xor ecx, ecx
mov edi, edi
test eax, eax
jns 0x57f792
cmp esi, 8
jl 0x57f792
mov bh, byte [edx - 1]
dec edx
mov eax, 7
test byte [ebp + eax*4 - 0x104], bh
jne 0x57f7a2
and bl, byte [ebp + ecx*4 - 0x84]
inc ecx
dec eax
cmp ecx, 8
jl 0x57f780
mov ecx, dword [ebp - 0x10c]
sub esi, 8
mov edx, dword [ebp - 0x108]
add edx, 8
mov byte [ecx], bl
inc ecx
mov ebx, dword [ebp - 0x114]
xor edi, edi
mov dword [ebp - 0x10c], ecx
jmp 0x57f844
test esi, esi
js 0x57f833
cmp esi, dword [ebp - 0x118]
jge 0x57f833
mov eax, dword [ebp - 0x11c]
test eax, eax
js 0x57f833
cmp eax, dword [ebp - 0x12c]
jge 0x57f833
mov ecx, dword [ebp - 0x110]
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, dword [ebx + 0x28]
mov cl, byte [eax + ecx]
mov eax, esi
and eax, 0x80000007
jns 0x57f811
dec eax
or eax, 0xfffffff8
inc eax
test byte [ebp + eax*4 - 0x104], cl
mov edx, dword [ebp - 0x108]
mov al, byte [ebp + edi*4 - 0x84]
mov ecx, dword [ebp - 0x10c]
jne 0x57f831
and byte [ecx], al
jmp 0x57f833
or byte [ecx], al
inc edi
cmp edi, 8
jl 0x57f842
xor edi, edi
inc ecx
mov dword [ebp - 0x10c], ecx
inc edx
dec esi
mov dword [ebp - 0x108], edx
cmp edx, dword [ebp - 0x118]
jl 0x57f600
mov esi, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x124]
dec esi
add edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x130]
add dword [ebp - 0x110], eax
dec dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], esi
jne 0x57f5d0
mov esi, dword [ebp - 0x128]
pop edi
test esi, esi
jne 0x57f8e2
push ebx
call fcn.0045b520
movdqu xmm0, xmmword [ebp - 0x16c]
mov eax, dword [ebp - 0x13c]
add esp, 4
movdqu xmmword [ebx], xmm0
movdqu xmm0, xmmword [ebp - 0x15c]
pop esi
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmm0, xmmword [ebp - 0x14c]
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 - 0x16c]
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 4]
movdqu xmmword [esi], xmm0
xor ecx, ebp
movdqu xmm0, xmmword [ebp - 0x15c]
movdqu xmmword [esi + 0x10], xmm0
movdqu xmm0, xmmword [ebp - 0x14c]
movdqu xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], eax
xor eax, eax
pop esi
pop ebx
call fcn.005920c1
mov esp, ebp
pop ebp
ret