Function at 0x5276d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add eax, ecx
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
push edi
push dword [esp + 0x44]
cmp word [ebp + 2], 0
push dword [esp + 0x44]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], ecx
push eax
je 0x527ab5
call fcn.00527260
add esp, 0xc
cmp eax, 0xffffff88
ja 0x527a73
mov eax, dword [esp + 0x28]
or esi, 0xffffffff
movzx edi, word [ebp]
mov ecx, eax
mov ebx, dword [esp + 0x24]
and ecx, 0x1f
shl ebx, cl
sub esi, edi
add eax, edi
shr ebx, 1
and esi, 0x1f
mov dword [esp + 0x28], eax
mov ecx, esi
lea eax, [esp + 0x24]
shr ebx, cl
push eax
mov dword [esp + 0x20], ebx
call fcn.00527370
mov eax, dword [esp + 0x2c]
mov ecx, eax
mov edx, dword [esp + 0x28]
and ecx, 0x1f
shl edx, cl
add eax, edi
shr edx, 1
mov ecx, esi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
shr edx, cl
push eax
mov dword [esp + 0x28], edx
call fcn.00527370
mov eax, dword [esp + 0x2c]
add esp, 8
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp edi, 0x20
ja 0x52792d
lea eax, [ebp + 4]
cmp esi, eax
jb 0x5277b5
mov eax, edi
shr eax, 3
sub esi, eax
and edi, 7
mov dword [esp + 0x2c], esi
mov ebx, dword [esi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], ebx
jmp 0x5277f2
cmp esi, ebp
je 0x52792d
mov ecx, edi
mov eax, esi
shr ecx, 3
xor edx, edx
sub eax, ecx
cmp eax, ebp
jae 0x5277d5
mov ecx, esi
mov edx, 1
sub ecx, ebp
imul eax, ecx, 0xfffffff8
sub esi, ecx
mov dword [esp + 0x2c], esi
mov ebx, dword [esi]
add edi, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], ebx
test edx, edx
jne 0x52792d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, 0xfffffffd
cmp ecx, eax
jae 0x527927
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x14]
mov edx, dword [eax + edx*4 + 4]
mov eax, edx
shr eax, 0x18
lea esi, [eax + edi]
neg eax
and edi, 0x1f
and eax, 0x1f
mov ecx, edi
mov edi, dword [esp + 0x10]
shl ebx, cl
mov ecx, eax
movzx eax, dx
shr edx, 0x10
shr ebx, cl
add ebx, eax
mov byte [ebp], dl
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], ebx
mov ebx, dword [eax + edx*4 + 4]
mov edx, ebx
shr edx, 0x18
lea eax, [edx + esi]
and esi, 0x1f
neg edx
mov dword [esp + 0x28], eax
mov ecx, esi
movzx eax, bx
shl edi, cl
and edx, 0x1f
mov ecx, edx
shr ebx, 0x10
shr edi, cl
add edi, eax
mov byte [ebp + 1], bl
lea eax, [esp + 0x24]
mov dword [esp + 0x20], edi
push eax
call fcn.00527370
add esp, 4
test eax, eax
jg 0x52790a
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov edi, ebx
mov dword [esp + 0x10], ebx
mov edx, dword [eax + edx*4 + 4]
mov eax, edx
shr eax, 0x18
lea esi, [eax + ecx]
neg eax
and eax, 0x1f
and ecx, 0x1f
shl edi, cl
mov ecx, eax
movzx eax, dx
shr edi, cl
add edi, eax
shr edx, 0x10
mov eax, dword [esp + 0x48]
mov byte [ebp + 2], dl
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], edi
mov edx, dword [eax + edx*4 + 4]
mov eax, edx
shr eax, 0x18
lea edi, [eax + esi]
and esi, 0x1f
neg eax
mov ecx, esi
shl ebx, cl
and eax, 0x1f
mov ecx, eax
movzx eax, dx
shr ebx, cl
shr edx, 0x10
add ebx, eax
mov byte [ebp + 3], dl
add ebp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebp
jmp 0x527783
mov eax, dword [esp + 0x24]
add ebp, 2
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x10], eax
jmp 0x527931
mov eax, dword [esp + 0x10]
jmp 0x527935
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add edx, 0xfffffffe
cmp ecx, edx
ja 0x527a6e
mov edx, dword [esp + 0x1c]
mov ecx, edi
mov ebx, dword [esp + 0x48]
and ecx, 0x1f
shl eax, cl
mov ebx, dword [ebx + edx*4 + 4]
mov edx, ebx
shr edx, 0x18
mov ecx, edx
add edi, edx
neg ecx
and ecx, 0x1f
shr eax, cl
movzx ecx, bx
add ecx, eax
shr ebx, 0x10
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov byte [ecx], bl
inc ecx
mov dword [esp + 0x14], ecx
cmp edi, 0x20
ja 0x527a98
lea eax, [ebp + 4]
cmp esi, eax
jb 0x5279a0
mov eax, edi
shr eax, 3
sub esi, eax
and edi, 7
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x5279cc
cmp esi, ebp
je 0x5279c8
mov edx, edi
mov eax, esi
shr edx, 3
sub eax, edx
cmp eax, ebp
jae 0x5279b5
mov edx, esi
sub edx, ebp
sub esi, edx
lea eax, [edx*8]
sub edi, eax
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x5279cc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add edx, 0xfffffffe
cmp ecx, edx
ja 0x527a6e
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
mov ebx, dword [ecx + edx*4 + 4]
mov ecx, edi
and ecx, 0x1f
mov edx, ebx
shl eax, cl
shr edx, 0x18
mov ecx, edx
add edi, edx
neg ecx
and ecx, 0x1f
shr eax, cl
movzx ecx, bx
add ecx, eax
shr ebx, 0x10
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov byte [ecx], bl
inc ecx
mov dword [esp + 0x14], ecx
cmp edi, 0x20
ja 0x527a7b
lea eax, [ebp + 4]
cmp esi, eax
jb 0x527a33
mov eax, edi
shr eax, 3
sub esi, eax
and edi, 7
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x527a5f
cmp esi, ebp
je 0x527a5b
mov edx, edi
mov eax, esi
shr edx, 3
sub eax, edx
cmp eax, ebp
jae 0x527a48
mov edx, esi
sub edx, ebp
sub esi, edx
lea eax, [edx*8]
sub edi, eax
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x527a5f
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add edx, 0xfffffffe
cmp ecx, edx
jbe 0x527944
mov eax, 0xffffffba
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov al, byte [eax + edx*4 + 6]
mov byte [ecx], al
sub ecx, dword [esp + 0x2c]
pop ebx
lea eax, [ecx + 1]
add esp, 0x24
ret
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, byte [eax + edx*4 + 6]
mov byte [ecx], al
sub ecx, dword [esp + 0x2c]
pop ebx
lea eax, [ecx + 1]
add esp, 0x24
ret
call fcn.00527260
add esp, 0xc
cmp eax, 0xffffff88
ja 0x527a73
mov eax, dword [esp + 0x28]
or esi, 0xffffffff
movzx edi, word [ebp]
mov ecx, eax
mov ebx, dword [esp + 0x24]
and ecx, 0x1f
shl ebx, cl
sub esi, edi
add eax, edi
shr ebx, 1
and esi, 0x1f
mov dword [esp + 0x28], eax
mov ecx, esi
lea eax, [esp + 0x24]
shr ebx, cl
push eax
mov dword [esp + 0x24], ebx
call fcn.00527370
mov edx, dword [esp + 0x28]
lea eax, [ebp + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov ecx, eax
and ecx, 0x1f
add eax, edi
shl edx, cl
mov ecx, esi
shr edx, 1
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
shr edx, cl
push eax
mov dword [esp + 0x24], edx
call fcn.00527370
mov eax, dword [esp + 0x2c]
add esp, 8
mov edi, dword [esp + 0x28]
mov dword [esp + 0x48], eax
nop word [eax + eax]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp edi, 0x20
ja 0x527cee
lea eax, [ebp + 4]
cmp esi, eax
jb 0x527b72
mov eax, edi
shr eax, 3
sub esi, eax
and edi, 7
mov dword [esp + 0x2c], esi
mov ebx, dword [esi]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x24], ebx
jmp 0x527baf
cmp esi, ebp
je 0x527cee
mov ecx, edi
mov eax, esi
shr ecx, 3
xor edx, edx
sub eax, ecx
cmp eax, ebp
jae 0x527b92
mov ecx, esi
mov edx, 1
sub ecx, ebp
imul eax, ecx, 0xfffffff8
sub esi, ecx
mov dword [esp + 0x2c], esi
mov ebx, dword [esi]
add edi, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x24], ebx
test edx, edx
jne 0x527cee
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, 0xfffffffd
cmp ecx, eax
jae 0x527ce8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov edx, dword [edx + ecx*4]
mov eax, edx
shr eax, 0x18
lea esi, [edi + eax]
and edi, 0x1f
mov ecx, edi
not eax
shl ebx, cl
and eax, 0x1f
mov edi, dword [esp + 0x48]
mov ecx, eax
movzx eax, dx
shr ebx, 1
shr ebx, cl
mov ecx, dword [esp + 0x1c]
add ebx, eax
mov eax, dword [esp + 0x10]
shr edx, 0x10
mov byte [ebp], dl
mov dword [esp + 0x20], ebx
mov ebx, dword [eax + ecx*4]
mov edx, ebx
shr edx, 0x18
lea eax, [edx + esi]
and esi, 0x1f
mov ecx, esi
mov dword [esp + 0x28], eax
shl edi, cl
not edx
and edx, 0x1f
shr edi, 1
mov ecx, edx
movzx eax, bx
shr edi, cl
add edi, eax
shr ebx, 0x10
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], edi
push eax
mov byte [ebp + 1], bl
call fcn.00527370
add esp, 4
test eax, eax
jg 0x527ccb
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
mov edi, ebx
mov dword [esp + 0x48], ebx
mov edx, dword [eax + ecx*4]
mov eax, edx
mov ecx, dword [esp + 0x28]
shr eax, 0x18
lea esi, [ecx + eax]
not eax
and eax, 0x1f
and ecx, 0x1f
shl edi, cl
mov ecx, eax
shr edi, 1
shr edi, cl
mov ecx, dword [esp + 0x1c]
movzx eax, dx
add edi, eax
shr edx, 0x10
mov eax, dword [esp + 0x10]
mov byte [ebp + 2], dl
mov dword [esp + 0x20], edi
mov edx, dword [eax + ecx*4]
mov eax, edx
shr eax, 0x18
lea edi, [eax + esi]
and esi, 0x1f
mov ecx, esi
not eax
shl ebx, cl
and eax, 0x1f
shr ebx, 1
mov ecx, eax
movzx eax, dx
shr ebx, cl
shr edx, 0x10
add ebx, eax
mov byte [ebp + 3], dl
add ebp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebp
jmp 0x527b40
mov eax, dword [esp + 0x24]
add ebp, 2
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x48], eax
jmp 0x527cf2
mov eax, dword [esp + 0x48]
jmp 0x527cf6
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add edx, 0xfffffffe
cmp ecx, edx
ja 0x527a6e
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + ecx*4]
mov ecx, edi
and ecx, 0x1f
mov edx, ebx
shl eax, cl
or ecx, 0xffffffff
shr edx, 0x18
sub ecx, edx
shr eax, 1
and ecx, 0x1f
add edi, edx
mov edx, dword [esp + 0x14]
shr eax, cl
movzx ecx, bx
shr ebx, 0x10
add ecx, eax
mov byte [edx], bl
inc edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
cmp edi, 0x20
ja 0x527e5d
lea eax, [ebp + 4]
cmp esi, eax
jb 0x527d63
mov eax, edi
shr eax, 3
sub esi, eax
and edi, 7
mov eax, dword [esi]
mov dword [esp + 0x48], eax
jmp 0x527d8f
cmp esi, ebp
je 0x527d8b
mov ecx, edi
mov eax, esi
shr ecx, 3
sub eax, ecx
cmp eax, ebp
jae 0x527d78
mov ecx, esi
sub ecx, ebp
sub esi, ecx
lea eax, [ecx*8]
sub edi, eax
mov eax, dword [esi]
mov dword [esp + 0x48], eax
jmp 0x527d8f
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
cmp edx, ecx
ja 0x527a6e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ebx, dword [edx + ecx*4]
mov ecx, edi
and ecx, 0x1f
mov edx, ebx
shl eax, cl
or ecx, 0xffffffff
shr edx, 0x18
sub ecx, edx
shr eax, 1
and ecx, 0x1f
add edi, edx
mov edx, dword [esp + 0x14]
shr eax, cl
movzx ecx, bx
shr ebx, 0x10
add ecx, eax
mov byte [edx], bl
inc edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
cmp edi, 0x20
ja 0x527e40
lea eax, [ebp + 4]
cmp esi, eax
jb 0x527df8
mov eax, edi
shr eax, 3
sub esi, eax
and edi, 7
mov eax, dword [esi]
mov dword [esp + 0x48], eax
jmp 0x527e24
cmp esi, ebp
je 0x527e20
mov ecx, edi
mov eax, esi
shr ecx, 3
sub eax, ecx
cmp eax, ebp
jae 0x527e0d
mov ecx, esi
sub ecx, ebp
sub esi, ecx
lea eax, [ecx*8]
sub edi, eax
mov eax, dword [esi]
mov dword [esp + 0x48], eax
jmp 0x527e24
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
cmp edx, ecx
jbe 0x527d05
pop edi
pop esi
pop ebp
mov eax, 0xffffffba
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, byte [eax + ecx*4 + 2]
mov byte [edx], al
sub edx, dword [esp + 0x2c]
pop ebx
lea eax, [edx + 1]
add esp, 0x24
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov al, byte [eax + ecx*4 + 2]
mov byte [edx], al
sub edx, dword [esp + 0x2c]
pop ebx
lea eax, [edx + 1]
add esp, 0x24
ret