Function at 0x4a9120
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a954b
sub esp, 0x3c
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4a951f
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
movzx ebx, byte [edx + 5]
test bl, bl
je 0x4a9518
mov ebx, dword [edx + 0x14]
cmp ebx, ecx
jge 0x4a9518
mov ecx, ebx
shl ebx, 1
test ebx, ebx
jle 0x4a94fb
movzx ebp, byte [edx + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a94e3
movzx ebp, byte [edx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a94d8
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 0x4a91bc
mov ebp, dword [edx + 0x10]
cmp ebp, ecx
jle 0x4a91bc
movzx esi, byte [edx + 6]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4a94b5
mov ebp, dword [edx]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 4]
mov ebp, dword [ebp]
movzx ecx, byte [edx + 8]
test cl, cl
je 0x4a94ae
mov ecx, dword [esp + 0x5c]
cmp ecx, 0x10
jbe 0x4a9544
lea ecx, [edi + 2]
mov eax, dword [esp + 0x58]
movzx eax, byte [eax + 0x10]
cmp ecx, esi
jg 0x4a9463
mov byte [ebp + edi], 0x30
mov byte [ebp + edi + 1], al
xor eax, eax
jmp 0x4a921b
xchg edi, eax
mov byte [ebp + edx], al
xchg edi, eax
mov byte [ebp + 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 0x4a940e
mov dword [esp + 0x28], eax
movzx edi, byte [edx + 9]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4a93ff
test eax, eax
jle 0x4a93f0
lea edi, [ecx + 1]
cmp edi, esi
jg 0x4a93aa
mov byte [ebp + ecx], 0x20
movzx ecx, byte [edx + 8]
test cl, cl
je 0x4a939d
mov ecx, dword [esp + 0x5c]
cmp ecx, 0x10
jbe 0x4a953d
lea edx, [edi + 2]
mov ebx, dword [esp + 0x58]
movzx ebx, byte [ebx + 0x10]
cmp edx, esi
jg 0x4a9350
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov byte [ebp + edi], 0x30
mov byte [ebp + edi + 1], bl
je 0x4a9333
mov ebx, dword [esp + 0x50]
cmp eax, ebx
jae 0x4a9536
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 0x4a9528
mov ecx, dword [esp + 0x58]
movzx edi, byte [ecx + edi]
movzx eax, byte [esp + 0x21]
and eax, 0xf
cmp eax, ebx
jae 0x4a9528
lea ebx, [edx + 2]
movzx eax, byte [ecx + eax]
cmp ebx, esi
jle 0x4a9200
mov dword [esp + 0x2c], edx
xchg edi, eax
mov byte [esp + 0x23], al
xchg edi, eax
mov byte [esp + 0x22], al
lea eax, [0x5a5b80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00438c30
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, 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 0x4a9200
mov ebx, dword [esp + 0x48]
cmp eax, ebx
jae 0x4a952f
mov edi, dword [esp + 0x44]
movzx edi, byte [edi + eax]
mov ebx, dword [esp + 0x50]
jmp 0x4a929e
mov dword [esp + 0x34], edi
mov byte [esp + 0x23], bl
lea eax, [0x5a5b80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.00438c30
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, 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 0x4a927f
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov edx, edi
jmp 0x4a9288
mov dword [esp + 0x30], ecx
lea eax, [0x5a5b80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
call fcn.00438c30
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, 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 0x4a9248
mov edi, dword [esp + 0x4c]
test edi, edi
mov edx, ecx
mov ecx, edi
jmp 0x4a9288
mov edi, dword [esp + 0x4c]
test edi, edi
mov edx, ecx
mov ecx, edi
jmp 0x4a9288
mov eax, dword [edx]
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov ecx, dword [0x700660]
test ecx, ecx
jne 0x4a9451
mov dword [eax], ebp
movzx eax, byte [edx + 4]
test al, al
je 0x4a943d
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x4a943d
movzx ebx, byte [edx + 6]
test bl, bl
jne 0x4a9441
add esp, 0x3c
ret
sub eax, ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004a7ef0
jmp 0x4a943d
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.0040ef10
mov edx, dword [esp + 0x40]
jmp 0x4a9422
mov byte [esp + 0x23], al
mov dword [esp + 0x2c], edi
lea eax, [0x5a5b80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.00438c30
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, 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 0x4a91f3
mov ecx, edi
jmp 0x4a91fc
sub ebp, ecx
mov dword [esp + 4], ebp
mov dword [esp], edx
call fcn.004a7ef0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
jmp 0x4a91bc
mov ebp, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x4a9191
movzx ebp, byte [edx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a94f0
add ebx, 2
mov ebp, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x4a9195
movzx eax, byte [edx + 4]
test al, al
jne 0x4a9507
add esp, 0x3c
ret
mov eax, dword [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004a7ef0
jmp 0x4a9503
mov ebx, ecx
jmp 0x4a9164
mov ecx, dword [esp + 0x48]
jmp 0x4a9149
call fcn.00425c90
ud2
call fcn.00425c90
ud2
call fcn.00425c90
ud2
call fcn.00425c90
ud2
call fcn.00425c90
ud2
call fcn.0044a520
jmp fcn.004a9120