Function at 0x496fd0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x497495
sub esp, 0x50
mov edx, dword [esp + 0x60]
test edx, edx
je 0x49744f
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x54]
movzx ebp, byte [ebx + 5]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x497448
mov ebp, dword [ebx + 0x14]
cmp ebp, eax
jge 0x497448
mov esi, ebp
shl ebp, 1
test ebp, ebp
jle 0x49742b
mov eax, edx
movzx edx, byte [ebx + 9]
test dl, dl
je 0x497413
movzx edx, byte [ebx + 8]
test dl, dl
je 0x49740a
mov edx, esi
shl esi, 2
lea ebp, [esi + edx - 1]
mov dword [esp + 0x40], edx
mov dword [esp + 0x24], ebp
movzx esi, byte [ebx + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x497403
mov esi, dword [ebx + 0x10]
cmp esi, ebp
jle 0x4973fc
mov ecx, ebp
movzx ebp, byte [ebx + 6]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4973d9
mov ebp, dword [ebx]
mov esi, dword [ebp + 4]
mov edi, edx
mov edx, dword [ebp]
mov ebp, dword [ebp + 8]
movzx ebx, byte [ebx + 8]
test bl, bl
je 0x4973d2
mov ebx, dword [esp + 0x70]
cmp ebx, 0x10
jbe 0x497488
mov dword [esp + 0x2c], esi
lea ebx, [esi + 2]
mov esi, dword [esp + 0x6c]
movzx esi, byte [esi + 0x10]
cmp ebx, ebp
ja 0x497385
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x2c]
mov byte [edx + ebx], 0x30
xchg esi, eax
mov byte [edx + ebx + 1], al
xchg esi, eax
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
jmp 0x497110
movzx ecx, byte [esp + 0x23]
mov eax, dword [esp + 0x4c]
mov byte [eax + edx], cl
xchg esi, ebx
mov byte [eax + edx + 1], bl
xchg esi, ebx
mov ecx, dword [esp + 0x28]
inc ecx
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov esi, edx
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
cmp esi, edi
jge 0x497339
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x54]
movzx edx, byte [edx + 9]
test dl, dl
je 0x497335
test esi, esi
jle 0x497328
lea edx, [ebx + 1]
cmp edx, ebp
ja 0x4972d6
mov esi, dword [esp + 0x4c]
mov byte [esi + ebx], 0x20
mov ebx, dword [esp + 0x54]
movzx ebx, byte [ebx + 8]
test bl, bl
je 0x4972cf
mov ebx, dword [esp + 0x70]
cmp ebx, 0x10
jbe 0x49747c
mov dword [esp + 0x38], edx
lea ebx, [edx + 2]
mov edx, dword [esp + 0x6c]
movzx edx, byte [edx + 0x10]
cmp ebx, ebp
ja 0x497282
test eax, eax
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x38]
mov byte [esi + ebx], 0x30
mov byte [esi + ebx + 1], dl
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], esi
je 0x49725f
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x64]
cmp ebx, esi
jae 0x497473
movzx esi, byte [eax + ebx]
xchg esi, eax
mov byte [esp + 0x21], al
xchg esi, eax
xchg esi, eax
shr al, 4
xchg esi, eax
xchg esi, eax
movzx eax, al
xchg esi, eax
mov ebx, dword [esp + 0x70]
cmp esi, ebx
jae 0x497461
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x6c]
movzx esi, byte [ebp + esi]
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
movzx esi, byte [esp + 0x21]
and esi, 0xf
cmp esi, ebx
jae 0x497458
lea ebx, [edx + 2]
movzx esi, byte [ebp + esi]
mov ebp, dword [esp + 0x30]
cmp ebx, ebp
jbe 0x4970dd
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
mov dword [esp + 0x2c], edx
lea eax, [0x4c7880]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0043fbe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [ecx + 2]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
movzx esi, byte [esp + 0x22]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
jmp 0x4970dd
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x5c]
cmp ebx, esi
jae 0x49746a
mov ecx, dword [esp + 0x58]
movzx ecx, byte [ecx + ebx]
mov esi, ecx
mov ecx, dword [esp + 0x24]
jmp 0x4971b3
mov byte [esp + 0x23], dl
lea eax, [0x4c7880]
mov dword [esp], eax
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0043fbe0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 2]
mov eax, dword [esp + 0x60]
test eax, eax
mov ecx, dword [esp + 0x24]
movzx edx, byte [esp + 0x23]
mov edi, dword [esp + 0x40]
jmp 0x497181
test eax, eax
jmp 0x497195
mov dword [esp + 0x34], ebx
lea eax, [0x4c7880]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0043fbe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
jmp 0x497143
test eax, eax
mov esi, dword [esp + 0x4c]
mov edx, ebx
jmp 0x497195
test eax, eax
jmp 0x49732a
mov esi, dword [esp + 0x54]
mov edi, dword [esi]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebp
mov ebx, dword [0x5a9b20]
test ebx, ebx
jne 0x49737c
mov dword [edi], edx
movzx eax, byte [esi + 4]
test al, al
je 0x497368
mov eax, dword [esi + 0x10]
cmp eax, ecx
jle 0x497368
movzx edx, byte [esi + 6]
test dl, dl
jne 0x49736c
add esp, 0x50
ret
mov dword [esp], esi
sub eax, ecx
mov dword [esp + 4], eax
call fcn.00495c10
jmp 0x497368
mov eax, edx
call fcn.00455860
jmp 0x497351
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
lea eax, [0x4c7880]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0043fbe0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 2]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
movzx esi, byte [esp + 0x23]
mov edi, dword [esp + 0x40]
jmp 0x4970b3
mov ebx, esi
jmp 0x4970c9
mov dword [esp], ebx
sub esi, ecx
mov dword [esp + 4], esi
call fcn.00495c10
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x54]
jmp 0x497076
mov ecx, ebp
jmp 0x497076
mov ecx, ebp
jmp 0x497076
mov edx, esi
mov esi, ebp
jmp 0x497041
movzx edx, byte [ebx + 8]
test dl, dl
je 0x497427
lea edx, [ebp + 2]
mov ebp, edx
mov edx, esi
jmp 0x497045
mov edx, ebp
jmp 0x49741e
movzx eax, byte [ebx + 4]
test al, al
jne 0x497437
add esp, 0x50
ret
mov eax, dword [ebx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00495c10
jmp 0x497433
mov ebp, eax
jmp 0x497016
mov eax, dword [esp + 0x5c]
jmp 0x496ff9
mov eax, esi
mov ecx, ebx
call fcn.004558e0
mov eax, esi
mov ecx, ebx
call fcn.004558e0
mov eax, ebx
mov ecx, esi
call fcn.004558e0
mov eax, ebx
mov ecx, esi
call fcn.004558e0
mov eax, 0x10
mov ecx, ebx
call fcn.004558e0
mov eax, 0x10
mov ecx, ebx
call fcn.004558e0
nop
call fcn.00454020
jmp fcn.00496fd0