Function at 0x4a2050
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a23b3
sub esp, 0x40
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x4a2077
mov eax, dword [esp + 0x54]
jmp 0x4a207b
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
movzx ebx, byte [edx + 5]
test bl, bl
je 0x4a208e
mov ebx, dword [edx + 0x14]
cmp eax, ebx
jg 0x4a2090
mov ebx, eax
mov ebp, ebx
shl ebx, 1
test ebx, ebx
jle 0x4a2198
movzx esi, byte [edx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4a20bb
movzx esi, byte [edx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4a20b5
mov ebx, ebp
shl ebx, 2
lea ebx, [ebx + ebp - 1]
jmp 0x4a20c8
movzx esi, byte [edx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4a20c8
add ebx, 2
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebx
movzx esi, byte [edx + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4a210f
mov esi, dword [edx + 0x10]
cmp ebx, esi
jge 0x4a210b
mov eax, ebx
movzx ebx, byte [edx + 6]
test bl, bl
jne 0x4a2111
mov dword [esp], edx
sub esi, eax
mov dword [esp + 4], esi
call fcn.004a13a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x2c]
jmp 0x4a2111
mov eax, ebx
jmp 0x4a2111
mov eax, ebx
mov ebx, dword [edx]
mov esi, dword [ebx + 8]
mov edi, ecx
mov ecx, dword [ebx]
mov ebx, dword [ebx + 4]
movzx edx, byte [edx + 8]
test dl, dl
je 0x4a2182
lea edx, [ebx + 2]
mov ebx, dword [esp + 0x5c]
movzx ebx, byte [ebx + 0x10]
cmp esi, edx
jae 0x4a2177
mov byte [esp + 0x23], bl
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 2
lea eax, [0x4ec9a0]
mov dword [esp + 0x10], eax
call fcn.0044cd30
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
movzx ebx, byte [esp + 0x23]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x50]
mov byte [edx + ecx - 2], 0x30
mov byte [edx + ecx - 1], bl
jmp 0x4a2184
mov edx, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
jmp 0x4a21d7
movzx eax, byte [edx + 4]
test al, al
je 0x4a21af
mov eax, dword [edx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004a13a0
add esp, 0x40
ret
movzx eax, byte [esp + 0x23]
mov byte [edx + ecx - 2], al
xchg ebp, eax
mov byte [edx + ecx - 1], al
xchg ebp, eax
mov eax, dword [esp + 0x28]
inc eax
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
jge 0x4a2365
mov ebp, dword [esp + 0x44]
movzx ebp, byte [ebp + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a22c2
test ebx, ebx
jle 0x4a22be
inc edx
cmp esi, edx
jae 0x4a223c
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4ec9a0]
mov dword [esp + 0x10], eax
call fcn.0044cd30
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x50]
mov byte [edx + ecx - 1], 0x20
mov ebp, dword [esp + 0x44]
movzx ebp, byte [ebp + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a22ba
add edx, 2
mov ebp, dword [esp + 0x5c]
movzx ebp, byte [ebp + 0x10]
cmp esi, edx
jb 0x4a2262
test edi, edi
jmp 0x4a22ad
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 2
lea eax, [0x4ec9a0]
mov dword [esp + 0x10], eax
call fcn.0044cd30
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
test eax, eax
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
movzx ebp, byte [esp + 0x23]
mov edi, dword [esp + 0x50]
mov byte [edx + ecx - 2], 0x30
xchg ebp, eax
mov byte [edx + ecx - 1], al
xchg ebp, eax
jmp 0x4a22c4
test edi, edi
jmp 0x4a22c4
test edi, edi
jmp 0x4a22c4
test edi, edi
je 0x4a22cc
movzx ebp, byte [edi + ebx]
jmp 0x4a22e4
mov ebp, ecx
mov ecx, dword [esp + 0x48]
movzx ecx, byte [ebx + ecx]
mov dword [esp + 0x30], eax
mov eax, ecx
mov ecx, ebp
mov ebp, eax
mov eax, dword [esp + 0x30]
xchg ebp, eax
mov byte [esp + 0x21], al
xchg ebp, eax
add edx, 2
xchg ebp, eax
shr al, 4
xchg ebp, eax
xchg ebp, eax
movzx eax, al
xchg ebp, eax
mov ebx, dword [esp + 0x5c]
movzx ebp, byte [ebp + ebx]
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
movzx ebp, byte [esp + 0x21]
and ebp, 0xf
movzx ebp, byte [ebp + ebx]
cmp esi, edx
jae 0x4a21b3
xchg ebp, eax
mov byte [esp + 0x22], al
xchg ebp, eax
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 2
lea eax, [0x4ec9a0]
mov dword [esp + 0x10], eax
call fcn.0044cd30
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x5c]
movzx ebp, byte [esp + 0x22]
mov edi, dword [esp + 0x50]
jmp 0x4a21b3
mov ebx, dword [esp + 0x44]
mov edi, dword [ebx]
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov edx, dword [0x60b520]
test edx, edx
jne 0x4a237f
mov dword [edi], ecx
jmp 0x4a238a
mov edx, eax
mov eax, ecx
call fcn.00465480
mov eax, edx
movzx ecx, byte [ebx + 4]
test cl, cl
je 0x4a23af
mov ecx, dword [ebx + 0x10]
cmp eax, ecx
jge 0x4a23af
movzx edx, byte [ebx + 6]
test dl, dl
je 0x4a23af
mov dword [esp], ebx
sub ecx, eax
mov dword [esp + 4], ecx
call fcn.004a13a0
add esp, 0x40
ret
call fcn.00464070
jmp fcn.004a2050