Function at 0x496bd0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x497042
sub esp, 0x48
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x497016
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x4c]
movzx ebx, byte [edx + 5]
test bl, bl
je 0x49700f
mov ebx, dword [edx + 0x14]
cmp ebx, eax
jge 0x49700f
mov ebp, ebx
shl ebx, 1
test ebx, ebx
jle 0x496ff2
movzx esi, byte [edx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x496fda
movzx esi, byte [edx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x496fcf
mov ebx, ebp
shl ebp, 2
lea ebp, [ebp + ebx - 1]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], ebp
movzx esi, byte [edx + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x496fc8
mov esi, dword [edx + 0x10]
cmp esi, ebp
jle 0x496fc1
mov eax, ebp
movzx ebp, byte [edx + 6]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x496f9e
mov ebp, dword [edx]
mov esi, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [ebp]
mov ebp, dword [ebp + 4]
movzx edx, byte [edx + 8]
test dl, dl
je 0x496f97
mov edx, dword [esp + 0x68]
cmp edx, 0x10
jbe 0x49703b
lea edx, [ebp + 2]
mov ebx, dword [esp + 0x64]
movzx ebx, byte [ebx + 0x10]
cmp edx, esi
jg 0x496f4c
mov byte [ecx + ebp], 0x30
mov byte [ecx + ebp + 1], bl
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
jmp 0x496cfc
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x44]
mov byte [ecx + edx], al
xchg ebp, eax
mov byte [ecx + edx + 1], al
xchg ebp, eax
mov eax, dword [esp + 0x28]
inc eax
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov edx, ebx
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x64]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
cmp ebx, ebp
jge 0x496efc
mov ebp, dword [esp + 0x4c]
movzx ebp, byte [ebp + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x496ef5
test ebx, ebx
jle 0x496eee
lea ebp, [edx + 1]
cmp ebp, esi
jg 0x496ea8
mov byte [ecx + edx], 0x20
mov edx, dword [esp + 0x4c]
movzx edx, byte [edx + 8]
test dl, dl
je 0x496e9f
mov edx, dword [esp + 0x68]
cmp edx, 0x10
jbe 0x497034
lea edx, [ebp + 2]
mov ebx, dword [esp + 0x64]
movzx ebx, byte [ebx + 0x10]
cmp edx, esi
jg 0x496e52
test edi, edi
mov byte [ecx + ebp], 0x30
mov byte [ecx + ebp + 1], bl
je 0x496e2f
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x5c]
cmp ebx, ebp
jae 0x49702d
movzx ebp, byte [edi + ebx]
xchg ebp, eax
mov byte [esp + 0x21], al
xchg ebp, eax
xchg ebp, eax
shr al, 4
xchg ebp, eax
xchg ebp, eax
movzx eax, al
xchg ebp, eax
mov ebx, dword [esp + 0x68]
cmp ebp, ebx
jae 0x49701f
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x64]
movzx ebp, byte [ecx + ebp]
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
movzx ebp, byte [esp + 0x21]
and ebp, 0xf
cmp ebp, ebx
jae 0x49701f
lea ebx, [edx + 2]
movzx ebp, byte [ecx + ebp]
cmp ebx, esi
jle 0x496ccf
xchg ebp, eax
mov byte [esp + 0x22], al
xchg ebp, eax
mov dword [esp + 0x2c], edx
lea eax, [0x5e1800]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00437c70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebx, [ecx + 2]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x2c]
movzx ebp, byte [esp + 0x22]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
jmp 0x496ccf
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x54]
cmp ebx, ebp
jae 0x497026
mov eax, dword [esp + 0x50]
movzx eax, byte [eax + ebx]
mov ebp, eax
mov eax, dword [esp + 0x24]
jmp 0x496d89
mov dword [esp + 0x34], ebp
mov byte [esp + 0x23], bl
lea eax, [0x5e1800]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.00437c70
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea edx, [eax + 2]
mov edi, dword [esp + 0x58]
test edi, edi
mov eax, dword [esp + 0x24]
movzx ebx, byte [esp + 0x23]
mov ebp, dword [esp + 0x34]
jmp 0x496d67
test edi, edi
mov edx, ebp
jmp 0x496d6f
mov dword [esp + 0x30], edx
lea eax, [0x5e1800]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00437c70
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x58]
jmp 0x496d31
test edi, edi
jmp 0x496d6f
test edi, edi
jmp 0x496d6f
mov ebx, dword [esp + 0x4c]
mov edi, dword [ebx]
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov edx, dword [0x7d95f0]
test edx, edx
jne 0x496f3f
mov dword [edi], ecx
movzx ecx, byte [ebx + 4]
test cl, cl
je 0x496f2b
mov ecx, dword [ebx + 0x10]
cmp ecx, eax
jle 0x496f2b
movzx edx, byte [ebx + 6]
test dl, dl
jne 0x496f2f
add esp, 0x48
ret
sub ecx, eax
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.004959e0
jmp 0x496f2b
mov edx, eax
mov eax, ecx
call fcn.0044b6a0
mov eax, edx
jmp 0x496f14
mov byte [esp + 0x23], bl
mov dword [esp + 0x2c], ebp
lea eax, [0x5e1800]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.00437c70
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea edx, [eax + 2]
mov eax, dword [esp + 0x24]
movzx ebx, byte [esp + 0x23]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x58]
jmp 0x496caf
mov edx, ebp
jmp 0x496cb7
sub esi, eax
mov dword [esp + 4], esi
mov dword [esp], edx
call fcn.004959e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
jmp 0x496c76
mov eax, ebp
jmp 0x496c76
mov eax, ebp
jmp 0x496c76
mov eax, ebx
mov ebx, ebp
mov ebp, eax
jmp 0x496c41
movzx esi, byte [edx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x496fe7
add ebx, 2
mov eax, ebx
mov ebx, ebp
mov ebp, eax
jmp 0x496c45
movzx eax, byte [edx + 4]
test al, al
jne 0x496ffe
add esp, 0x48
ret
mov eax, dword [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004959e0
jmp 0x496ffa
mov ebx, eax
jmp 0x496c14
mov eax, dword [esp + 0x54]
jmp 0x496bf9
call fcn.00425880
ud2
call fcn.00425880
ud2
call fcn.00425880
ud2
call fcn.00425880
ud2
call fcn.00425880
ud2
call fcn.00449f40
jmp fcn.00496bd0