Function at 0x49b310
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49b673
sub esp, 0x40
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x49b337
mov eax, dword [esp + 0x54]
jmp 0x49b33b
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
movzx ebx, byte [edx + 5]
test bl, bl
je 0x49b34e
mov ebx, dword [edx + 0x14]
cmp eax, ebx
jg 0x49b350
mov ebx, eax
mov ebp, ebx
shl ebx, 1
test ebx, ebx
jle 0x49b458
movzx esi, byte [edx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x49b37b
movzx esi, byte [edx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x49b375
mov ebx, ebp
shl ebx, 2
lea ebx, [ebx + ebp - 1]
jmp 0x49b388
movzx esi, byte [edx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x49b388
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 0x49b3cf
mov esi, dword [edx + 0x10]
cmp ebx, esi
jge 0x49b3cb
mov eax, ebx
movzx ebx, byte [edx + 6]
test bl, bl
jne 0x49b3d1
mov dword [esp], edx
sub esi, eax
mov dword [esp + 4], esi
call fcn.0049a370
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x2c]
jmp 0x49b3d1
mov eax, ebx
jmp 0x49b3d1
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 0x49b442
lea edx, [ebx + 2]
mov ebx, dword [esp + 0x5c]
movzx ebx, byte [ebx + 0x10]
cmp esi, edx
jae 0x49b437
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, [0x4ed440]
mov dword [esp + 0x10], eax
call fcn.00446290
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 0x49b444
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 0x49b497
movzx eax, byte [edx + 4]
test al, al
je 0x49b46f
mov eax, dword [edx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0049a370
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 0x49b625
mov ebp, dword [esp + 0x44]
movzx ebp, byte [ebp + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49b582
test ebx, ebx
jle 0x49b57e
inc edx
cmp esi, edx
jae 0x49b4fc
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4ed440]
mov dword [esp + 0x10], eax
call fcn.00446290
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 0x49b57a
add edx, 2
mov ebp, dword [esp + 0x5c]
movzx ebp, byte [ebp + 0x10]
cmp esi, edx
jb 0x49b522
test edi, edi
jmp 0x49b56d
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, [0x4ed440]
mov dword [esp + 0x10], eax
call fcn.00446290
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 0x49b584
test edi, edi
jmp 0x49b584
test edi, edi
jmp 0x49b584
test edi, edi
je 0x49b58c
movzx ebp, byte [edi + ebx]
jmp 0x49b5a4
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 0x49b473
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, [0x4ed440]
mov dword [esp + 0x10], eax
call fcn.00446290
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 0x49b473
mov ebx, dword [esp + 0x44]
mov edi, dword [ebx]
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov edx, dword [0x62f5a0]
test edx, edx
jne 0x49b63f
mov dword [edi], ecx
jmp 0x49b64a
mov edx, eax
mov eax, ecx
call fcn.0045d410
mov eax, edx
movzx ecx, byte [ebx + 4]
test cl, cl
je 0x49b66f
mov ecx, dword [ebx + 0x10]
cmp eax, ecx
jge 0x49b66f
movzx edx, byte [ebx + 6]
test dl, dl
je 0x49b66f
mov dword [esp], ebx
sub ecx, eax
mov dword [esp + 4], ecx
call fcn.0049a370
add esp, 0x40
ret
call fcn.0045c000
jmp fcn.0049b310