Function at 0x53d290
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 0x53d675
call fcn.0053ceb0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x53d633
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.00538aa0
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.00538aa0
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 0x53d4ed
lea eax, [ebp + 4]
cmp esi, eax
jb 0x53d375
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 0x53d3b2
cmp esi, ebp
je 0x53d4ed
mov ecx, edi
mov eax, esi
shr ecx, 3
xor edx, edx
sub eax, ecx
cmp eax, ebp
jae 0x53d395
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 0x53d4ed
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, 0xfffffffd
cmp ecx, eax
jae 0x53d4e7
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.00538aa0
add esp, 4
test eax, eax
jg 0x53d4ca
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 0x53d343
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 0x53d4f1
mov eax, dword [esp + 0x10]
jmp 0x53d4f5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add edx, 0xfffffffe
cmp ecx, edx
ja 0x53d62e
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 0x53d658
lea eax, [ebp + 4]
cmp esi, eax
jb 0x53d560
mov eax, edi
shr eax, 3
sub esi, eax
and edi, 7
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x53d58c
cmp esi, ebp
je 0x53d588
mov edx, edi
mov eax, esi
shr edx, 3
sub eax, edx
cmp eax, ebp
jae 0x53d575
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 0x53d58c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add edx, 0xfffffffe
cmp ecx, edx
ja 0x53d62e
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 0x53d63b
lea eax, [ebp + 4]
cmp esi, eax
jb 0x53d5f3
mov eax, edi
shr eax, 3
sub esi, eax
and edi, 7
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x53d61f
cmp esi, ebp
je 0x53d61b
mov edx, edi
mov eax, esi
shr edx, 3
sub eax, edx
cmp eax, ebp
jae 0x53d608
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 0x53d61f
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add edx, 0xfffffffe
cmp ecx, edx
jbe 0x53d504
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.0053ceb0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x53d633
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.00538aa0
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.00538aa0
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 0x53d8ae
lea eax, [ebp + 4]
cmp esi, eax
jb 0x53d732
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 0x53d76f
cmp esi, ebp
je 0x53d8ae
mov ecx, edi
mov eax, esi
shr ecx, 3
xor edx, edx
sub eax, ecx
cmp eax, ebp
jae 0x53d752
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 0x53d8ae
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, 0xfffffffd
cmp ecx, eax
jae 0x53d8a8
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.00538aa0
add esp, 4
test eax, eax
jg 0x53d88b
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 0x53d700
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 0x53d8b2
mov eax, dword [esp + 0x48]
jmp 0x53d8b6
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add edx, 0xfffffffe
cmp ecx, edx
ja 0x53d62e
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 0x53da1d
lea eax, [ebp + 4]
cmp esi, eax
jb 0x53d923
mov eax, edi
shr eax, 3
sub esi, eax
and edi, 7
mov eax, dword [esi]
mov dword [esp + 0x48], eax
jmp 0x53d94f
cmp esi, ebp
je 0x53d94b
mov ecx, edi
mov eax, esi
shr ecx, 3
sub eax, ecx
cmp eax, ebp
jae 0x53d938
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 0x53d94f
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
cmp edx, ecx
ja 0x53d62e
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 0x53da00
lea eax, [ebp + 4]
cmp esi, eax
jb 0x53d9b8
mov eax, edi
shr eax, 3
sub esi, eax
and edi, 7
mov eax, dword [esi]
mov dword [esp + 0x48], eax
jmp 0x53d9e4
cmp esi, ebp
je 0x53d9e0
mov ecx, edi
mov eax, esi
shr ecx, 3
sub eax, ecx
cmp eax, ebp
jae 0x53d9cd
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 0x53d9e4
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
cmp edx, ecx
jbe 0x53d8c5
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