Function at 0x499f50
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49a3c2
sub esp, 0x48
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x49a396
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x4c]
movzx ebx, byte [edx + 5]
test bl, bl
je 0x49a38f
mov ebx, dword [edx + 0x14]
cmp ebx, eax
jge 0x49a38f
mov ebp, ebx
shl ebx, 1
test ebx, ebx
jle 0x49a372
movzx esi, byte [edx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x49a35a
movzx esi, byte [edx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x49a34f
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 0x49a348
mov esi, dword [edx + 0x10]
cmp esi, ebp
jle 0x49a341
mov eax, ebp
movzx ebp, byte [edx + 6]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49a31e
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 0x49a317
mov edx, dword [esp + 0x68]
cmp edx, 0x10
jbe 0x49a3bb
lea edx, [ebp + 2]
mov ebx, dword [esp + 0x64]
movzx ebx, byte [ebx + 0x10]
cmp edx, esi
jg 0x49a2cc
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 0x49a07c
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 0x49a27c
mov ebp, dword [esp + 0x4c]
movzx ebp, byte [ebp + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49a275
test ebx, ebx
jle 0x49a26e
lea ebp, [edx + 1]
cmp ebp, esi
jg 0x49a228
mov byte [ecx + edx], 0x20
mov edx, dword [esp + 0x4c]
movzx edx, byte [edx + 8]
test dl, dl
je 0x49a21f
mov edx, dword [esp + 0x68]
cmp edx, 0x10
jbe 0x49a3b4
lea edx, [ebp + 2]
mov ebx, dword [esp + 0x64]
movzx ebx, byte [ebx + 0x10]
cmp edx, esi
jg 0x49a1d2
test edi, edi
mov byte [ecx + ebp], 0x30
mov byte [ecx + ebp + 1], bl
je 0x49a1af
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x5c]
cmp ebx, ebp
jae 0x49a3ad
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 0x49a39f
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 0x49a39f
lea ebx, [edx + 2]
movzx ebp, byte [ecx + ebp]
cmp ebx, esi
jle 0x49a04f
xchg ebp, eax
mov byte [esp + 0x22], al
xchg ebp, eax
mov dword [esp + 0x2c], edx
lea eax, [0x4dc9e0]
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.00436350
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 0x49a04f
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x54]
cmp ebx, ebp
jae 0x49a3a6
mov eax, dword [esp + 0x50]
movzx eax, byte [eax + ebx]
mov ebp, eax
mov eax, dword [esp + 0x24]
jmp 0x49a109
mov dword [esp + 0x34], ebp
mov byte [esp + 0x23], bl
lea eax, [0x4dc9e0]
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.00436350
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 0x49a0e7
test edi, edi
mov edx, ebp
jmp 0x49a0ef
mov dword [esp + 0x30], edx
lea eax, [0x4dc9e0]
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.00436350
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 0x49a0b1
test edi, edi
jmp 0x49a0ef
test edi, edi
jmp 0x49a0ef
mov ebx, dword [esp + 0x4c]
mov edi, dword [ebx]
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov edx, dword [0x5cd9c0]
test edx, edx
jne 0x49a2bf
mov dword [edi], ecx
movzx ecx, byte [ebx + 4]
test cl, cl
je 0x49a2ab
mov ecx, dword [ebx + 0x10]
cmp ecx, eax
jle 0x49a2ab
movzx edx, byte [ebx + 6]
test dl, dl
jne 0x49a2af
add esp, 0x48
ret
sub ecx, eax
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.00498d60
jmp 0x49a2ab
mov edx, eax
mov eax, ecx
call fcn.00449ce0
mov eax, edx
jmp 0x49a294
mov byte [esp + 0x23], bl
mov dword [esp + 0x2c], ebp
lea eax, [0x4dc9e0]
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.00436350
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 0x49a02f
mov edx, ebp
jmp 0x49a037
sub esi, eax
mov dword [esp + 4], esi
mov dword [esp], edx
call fcn.00498d60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
jmp 0x499ff6
mov eax, ebp
jmp 0x499ff6
mov eax, ebp
jmp 0x499ff6
mov eax, ebx
mov ebx, ebp
mov ebp, eax
jmp 0x499fc1
movzx esi, byte [edx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x49a367
add ebx, 2
mov eax, ebx
mov ebx, ebp
mov ebp, eax
jmp 0x499fc5
movzx eax, byte [edx + 4]
test al, al
jne 0x49a37e
add esp, 0x48
ret
mov eax, dword [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00498d60
jmp 0x49a37a
mov ebx, eax
jmp 0x499f94
mov eax, dword [esp + 0x54]
jmp 0x499f79
call fcn.00424490
ud2
call fcn.00424490
ud2
call fcn.00424490
ud2
call fcn.00424490
ud2
call fcn.00424490
ud2
call fcn.00448580
jmp fcn.00499f50