Function at 0x53e240
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 0x53e625
call fcn.0053de60
add esp, 0xc
cmp eax, 0xffffff88
ja 0x53e5e3
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.00539a50
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.00539a50
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 0x53e49d
lea eax, [ebp + 4]
cmp esi, eax
jb 0x53e325
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 0x53e362
cmp esi, ebp
je 0x53e49d
mov ecx, edi
mov eax, esi
shr ecx, 3
xor edx, edx
sub eax, ecx
cmp eax, ebp
jae 0x53e345
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 0x53e49d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, 0xfffffffd
cmp ecx, eax
jae 0x53e497
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.00539a50
add esp, 4
test eax, eax
jg 0x53e47a
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 0x53e2f3
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 0x53e4a1
mov eax, dword [esp + 0x10]
jmp 0x53e4a5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add edx, 0xfffffffe
cmp ecx, edx
ja 0x53e5de
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 0x53e608
lea eax, [ebp + 4]
cmp esi, eax
jb 0x53e510
mov eax, edi
shr eax, 3
sub esi, eax
and edi, 7
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x53e53c
cmp esi, ebp
je 0x53e538
mov edx, edi
mov eax, esi
shr edx, 3
sub eax, edx
cmp eax, ebp
jae 0x53e525
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 0x53e53c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add edx, 0xfffffffe
cmp ecx, edx
ja 0x53e5de
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 0x53e5eb
lea eax, [ebp + 4]
cmp esi, eax
jb 0x53e5a3
mov eax, edi
shr eax, 3
sub esi, eax
and edi, 7
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x53e5cf
cmp esi, ebp
je 0x53e5cb
mov edx, edi
mov eax, esi
shr edx, 3
sub eax, edx
cmp eax, ebp
jae 0x53e5b8
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 0x53e5cf
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add edx, 0xfffffffe
cmp ecx, edx
jbe 0x53e4b4
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.0053de60
add esp, 0xc
cmp eax, 0xffffff88
ja 0x53e5e3
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.00539a50
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.00539a50
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 0x53e85e
lea eax, [ebp + 4]
cmp esi, eax
jb 0x53e6e2
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 0x53e71f
cmp esi, ebp
je 0x53e85e
mov ecx, edi
mov eax, esi
shr ecx, 3
xor edx, edx
sub eax, ecx
cmp eax, ebp
jae 0x53e702
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 0x53e85e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, 0xfffffffd
cmp ecx, eax
jae 0x53e858
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.00539a50
add esp, 4
test eax, eax
jg 0x53e83b
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 0x53e6b0
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 0x53e862
mov eax, dword [esp + 0x48]
jmp 0x53e866
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add edx, 0xfffffffe
cmp ecx, edx
ja 0x53e5de
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 0x53e9cd
lea eax, [ebp + 4]
cmp esi, eax
jb 0x53e8d3
mov eax, edi
shr eax, 3
sub esi, eax
and edi, 7
mov eax, dword [esi]
mov dword [esp + 0x48], eax
jmp 0x53e8ff
cmp esi, ebp
je 0x53e8fb
mov ecx, edi
mov eax, esi
shr ecx, 3
sub eax, ecx
cmp eax, ebp
jae 0x53e8e8
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 0x53e8ff
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
cmp edx, ecx
ja 0x53e5de
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 0x53e9b0
lea eax, [ebp + 4]
cmp esi, eax
jb 0x53e968
mov eax, edi
shr eax, 3
sub esi, eax
and edi, 7
mov eax, dword [esi]
mov dword [esp + 0x48], eax
jmp 0x53e994
cmp esi, ebp
je 0x53e990
mov ecx, edi
mov eax, esi
shr ecx, 3
sub eax, ecx
cmp eax, ebp
jae 0x53e97d
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 0x53e994
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
cmp edx, ecx
jbe 0x53e875
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