Function at 0x4a9bd0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xf40b4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a9ebb
sub esp, 0x54
mov ebx, dword [esp + 0x58]
mov ebp, dword [ebx]
mov esi, ebp
movzx ecx, word [esi + 6]
movzx esi, word [esi + 0x14]
lea ebp, [esi + ebp + 0x18]
test byte [ebp], al
cmp ecx, 0xffff
ja 0x4a9eb0
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x34]
xor eax, eax
call fcn.00462d6b
mov ecx, dword [esp + 0x30]
test ecx, ecx
jbe 0x4a9ea7
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], edx
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
neg edx
and edx, dword [esp + 0x34]
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x4a9c65
mov edx, dword [ebp + 0x24]
test edx, 0x40
je 0x4a9c54
mov esi, dword [ebx]
mov edx, dword [esi + 0x20]
jmp 0x4a9c65
test edx, 0x80
je 0x4a9c63
mov esi, dword [ebx]
mov edx, dword [esi + 0x24]
jmp 0x4a9c65
xor edx, edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], edx
nop
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x40], edx
mov eax, 1
jmp 0x4a9c8f
movzx edx, word [esp + 0x1e]
lea eax, [edx + 1]
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx]
cmp word [edx + 6], ax
jbe 0x4a9e06
movzx esi, ax
cmp ecx, esi
jbe 0x4a9ea0
mov word [esp + 0x1e], ax
lea esi, [esi + esi*4]
mov edi, dword [edx + 0x38]
lea ecx, [ebp + esi*8 + 8]
mov ebx, dword [ecx]
xchg edi, ebx
neg ebx
xchg edi, ebx
lea eax, [ebp + esi*8 + 0x10]
mov eax, dword [eax]
and edi, ebx
test eax, eax
jne 0x4a9ce9
lea eax, [ebp + esi*8 + 0x24]
mov eax, dword [eax]
test eax, 0x40
je 0x4a9cdb
mov eax, dword [edx + 0x20]
jmp 0x4a9ce9
test eax, 0x80
je 0x4a9ce7
mov eax, dword [edx + 0x24]
jmp 0x4a9ce9
xor eax, eax
nop
mov dword [ecx], eax
cmp dword [esp + 0x38], edi
je 0x4a9cfe
mov edx, dword [esp + 0x34]
add edx, dword [esp + 0x3c]
cmp edx, edi
jbe 0x4a9d40
lea edx, [ebp + esi*8 + 0x24]
mov edx, dword [edx]
test edx, 0x2000000
je 0x4a9d18
mov esi, dword [esp + 0x40]
test esi, 0x2000000
jne 0x4a9d2a
mov esi, dword [esp + 0x40]
or edx, esi
and edx, 0xfdffffff
mov dword [esp + 0x40], edx
jmp 0x4a9d30
or edx, esi
mov dword [esp + 0x40], edx
lea edx, [eax + ebx]
sub edx, dword [esp + 0x34]
mov dword [esp + 0x3c], edx
jmp 0x4a9c7f
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x58]
mov dword [esp], eax
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.004a9990
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x4a9da1
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x48]
lea edx, [ebx + edx*8 + 0x24]
mov edx, dword [edx]
mov dword [esp + 0x40], edx
mov ebp, ebx
jmp 0x4a9c7f
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
test eax, eax
je 0x4a9dbc
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
lea eax, [0x4d3bdb]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00492c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
add esp, 0x54
ret
mov byte [esp + 0x44], 1
mov dword [esp], ebx
lea eax, [esp + 0x34]
mov dword [esp + 4], eax
call fcn.004a9990
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x4a9e8c
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
test eax, eax
je 0x4a9e42
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
lea eax, [0x4d3bdb]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00492c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
add esp, 0x54
ret
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
add esp, 0x54
ret
mov eax, esi
call fcn.00462c20
xor eax, eax
mov ecx, eax
call fcn.00462c20
mov edx, 0xffff
call fcn.00462c40
nop
call fcn.004617c0
jmp fcn.004a9bd0