Function at 0x4a6db0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a71d7
sub esp, 0x3c
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4a71ab
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
movzx ebx, byte [edx + 5]
test bl, bl
je 0x4a71a4
mov ebx, dword [edx + 0x14]
cmp ebx, ecx
jge 0x4a71a4
mov ecx, ebx
shl ebx, 1
test ebx, ebx
jle 0x4a7187
movzx ebp, byte [edx + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a716f
movzx ebp, byte [edx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a7164
mov ebx, ecx
shl ecx, 2
lea ecx, [ecx + ebx - 1]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], ecx
movzx ebp, byte [edx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a6e4c
mov ebp, dword [edx + 0x10]
cmp ebp, ecx
jle 0x4a6e4c
movzx esi, byte [edx + 6]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4a7141
mov ebp, dword [edx]
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
mov ebp, dword [ebp + 8]
movzx ecx, byte [edx + 8]
test cl, cl
je 0x4a713a
mov ecx, dword [esp + 0x5c]
cmp ecx, 0x10
jbe 0x4a71d0
lea ecx, [edi + 2]
mov eax, dword [esp + 0x58]
movzx eax, byte [eax + 0x10]
cmp ecx, ebp
jg 0x4a70ef
mov byte [esi + edi], 0x30
mov byte [esi + edi + 1], al
xor eax, eax
jmp 0x4a6ea9
xchg edi, eax
mov byte [esi + edx], al
xchg edi, eax
mov byte [esi + edx + 1], al
mov edi, dword [esp + 0x28]
lea eax, [edi + 1]
mov edx, dword [esp + 0x40]
mov ecx, ebx
mov ebx, dword [esp + 0x38]
cmp eax, ebx
jge 0x4a709a
mov dword [esp + 0x28], eax
movzx edi, byte [edx + 9]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4a708b
test eax, eax
jle 0x4a707c
lea edi, [ecx + 1]
cmp edi, ebp
jg 0x4a7036
mov byte [esi + ecx], 0x20
movzx ecx, byte [edx + 8]
test cl, cl
je 0x4a7029
mov ecx, dword [esp + 0x5c]
cmp ecx, 0x10
jbe 0x4a71c9
lea edx, [edi + 2]
mov ebx, dword [esp + 0x58]
movzx ebx, byte [ebx + 0x10]
cmp edx, ebp
jg 0x4a6fdc
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov byte [esi + edi], 0x30
mov byte [esi + edi + 1], bl
je 0x4a6fbf
mov ebx, dword [esp + 0x50]
cmp eax, ebx
jae 0x4a71c2
movzx edi, byte [ecx + eax]
xchg edi, eax
mov byte [esp + 0x21], al
xchg edi, eax
xchg edi, eax
shr al, 4
xchg edi, eax
xchg edi, eax
movzx eax, al
xchg edi, eax
mov ebx, dword [esp + 0x5c]
cmp edi, ebx
jae 0x4a71b4
mov ecx, dword [esp + 0x58]
movzx edi, byte [ecx + edi]
movzx eax, byte [esp + 0x21]
and eax, 0xf
cmp eax, ebx
jae 0x4a71b4
lea ebx, [edx + 2]
movzx eax, byte [ecx + eax]
cmp ebx, ebp
jle 0x4a6e8f
mov dword [esp + 0x2c], edx
xchg edi, eax
mov byte [esp + 0x23], al
xchg edi, eax
mov byte [esp + 0x22], al
lea eax, [0x5b5f40]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004388a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 2]
movzx eax, byte [esp + 0x22]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
movzx edi, byte [esp + 0x23]
jmp 0x4a6e8f
mov ebx, dword [esp + 0x48]
cmp eax, ebx
jae 0x4a71bb
mov edi, dword [esp + 0x44]
movzx edi, byte [edi + eax]
mov ebx, dword [esp + 0x50]
jmp 0x4a6f2a
mov dword [esp + 0x34], edi
mov byte [esp + 0x23], bl
lea eax, [0x5b5f40]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.004388a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 2]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov eax, dword [esp + 0x28]
movzx ebx, byte [esp + 0x23]
mov edi, dword [esp + 0x34]
jmp 0x4a6f0c
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov edx, edi
jmp 0x4a6f14
mov dword [esp + 0x30], ecx
lea eax, [0x5b5f40]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edi
call fcn.004388a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edi, [eax + 1]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
jmp 0x4a6ed6
mov edi, dword [esp + 0x4c]
test edi, edi
mov edx, ecx
mov ecx, edi
jmp 0x4a6f14
mov edi, dword [esp + 0x4c]
test edi, edi
mov edx, ecx
mov ecx, edi
jmp 0x4a6f14
mov eax, dword [edx]
mov dword [eax + 4], ecx
mov dword [eax + 8], ebp
mov ecx, dword [0x71de50]
test ecx, ecx
jne 0x4a70dd
mov dword [eax], esi
movzx eax, byte [edx + 4]
test al, al
je 0x4a70c9
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x4a70c9
movzx ebx, byte [edx + 6]
test bl, bl
jne 0x4a70cd
add esp, 0x3c
ret
sub eax, ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004a5b80
jmp 0x4a70c9
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0040e560
mov edx, dword [esp + 0x40]
jmp 0x4a70ae
mov byte [esp + 0x23], al
mov dword [esp + 0x2c], edi
lea eax, [0x5b5f40]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.004388a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 2]
movzx eax, byte [esp + 0x23]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
jmp 0x4a6e83
mov ecx, edi
jmp 0x4a6e8b
sub ebp, ecx
mov dword [esp + 4], ebp
mov dword [esp], edx
call fcn.004a5b80
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
jmp 0x4a6e4c
mov ebp, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x4a6e21
movzx ebp, byte [edx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a717c
add ebx, 2
mov ebp, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x4a6e25
movzx eax, byte [edx + 4]
test al, al
jne 0x4a7193
add esp, 0x3c
ret
mov eax, dword [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004a5b80
jmp 0x4a718f
mov ebx, ecx
jmp 0x4a6df4
mov ecx, dword [esp + 0x48]
jmp 0x4a6dd9
call fcn.00425810
ud2
call fcn.00425810
ud2
call fcn.00425810
ud2
call fcn.00425810
ud2
call fcn.00425810
ud2
call fcn.0044a3c0
jmp fcn.004a6db0