Function at 0x4a1cd0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a2033
sub esp, 0x40
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x4a1cf7
mov eax, dword [esp + 0x54]
jmp 0x4a1cfb
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
movzx ebx, byte [edx + 5]
test bl, bl
je 0x4a1d0e
mov ebx, dword [edx + 0x14]
cmp eax, ebx
jg 0x4a1d10
mov ebx, eax
mov ebp, ebx
shl ebx, 1
test ebx, ebx
jle 0x4a1e18
movzx esi, byte [edx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4a1d3b
movzx esi, byte [edx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4a1d35
mov ebx, ebp
shl ebx, 2
lea ebx, [ebx + ebp - 1]
jmp 0x4a1d48
movzx esi, byte [edx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4a1d48
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 0x4a1d8f
mov esi, dword [edx + 0x10]
cmp ebx, esi
jge 0x4a1d8b
mov eax, ebx
movzx ebx, byte [edx + 6]
test bl, bl
jne 0x4a1d91
mov dword [esp], edx
sub esi, eax
mov dword [esp + 4], esi
call fcn.004a1020
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x2c]
jmp 0x4a1d91
mov eax, ebx
jmp 0x4a1d91
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 0x4a1e02
lea edx, [ebx + 2]
mov ebx, dword [esp + 0x5c]
movzx ebx, byte [ebx + 0x10]
cmp esi, edx
jae 0x4a1df7
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, [0x4eca00]
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 0x4a1e04
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 0x4a1e57
movzx eax, byte [edx + 4]
test al, al
je 0x4a1e2f
mov eax, dword [edx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004a1020
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 0x4a1fe5
mov ebp, dword [esp + 0x44]
movzx ebp, byte [ebp + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a1f42
test ebx, ebx
jle 0x4a1f3e
inc edx
cmp esi, edx
jae 0x4a1ebc
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4eca00]
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 0x4a1f3a
add edx, 2
mov ebp, dword [esp + 0x5c]
movzx ebp, byte [ebp + 0x10]
cmp esi, edx
jb 0x4a1ee2
test edi, edi
jmp 0x4a1f2d
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, [0x4eca00]
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 0x4a1f44
test edi, edi
jmp 0x4a1f44
test edi, edi
jmp 0x4a1f44
test edi, edi
je 0x4a1f4c
movzx ebp, byte [edi + ebx]
jmp 0x4a1f64
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 0x4a1e33
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, [0x4eca00]
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 0x4a1e33
mov ebx, dword [esp + 0x44]
mov edi, dword [ebx]
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov edx, dword [0x60a560]
test edx, edx
jne 0x4a1fff
mov dword [edi], ecx
jmp 0x4a200a
mov edx, eax
mov eax, ecx
call fcn.00465280
mov eax, edx
movzx ecx, byte [ebx + 4]
test cl, cl
je 0x4a202f
mov ecx, dword [ebx + 0x10]
cmp eax, ecx
jge 0x4a202f
movzx edx, byte [ebx + 6]
test dl, dl
je 0x4a202f
mov dword [esp], ebx
sub ecx, eax
mov dword [esp + 4], ecx
call fcn.004a1020
add esp, 0x40
ret
call fcn.00463e70
jmp fcn.004a1cd0