Function at 0x497760
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x497bd2
sub esp, 0x48
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x497ba6
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x4c]
movzx ebx, byte [edx + 5]
test bl, bl
je 0x497b9f
mov ebx, dword [edx + 0x14]
cmp ebx, eax
jge 0x497b9f
mov ebp, ebx
shl ebx, 1
test ebx, ebx
jle 0x497b82
movzx esi, byte [edx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x497b6a
movzx esi, byte [edx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x497b5f
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 0x497b58
mov esi, dword [edx + 0x10]
cmp esi, ebp
jle 0x497b51
mov eax, ebp
movzx ebp, byte [edx + 6]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x497b2e
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 0x497b27
mov edx, dword [esp + 0x68]
cmp edx, 0x10
jbe 0x497bcb
lea edx, [ebp + 2]
mov ebx, dword [esp + 0x64]
movzx ebx, byte [ebx + 0x10]
cmp edx, esi
jg 0x497adc
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 0x49788c
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 0x497a8c
mov ebp, dword [esp + 0x4c]
movzx ebp, byte [ebp + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x497a85
test ebx, ebx
jle 0x497a7e
lea ebp, [edx + 1]
cmp ebp, esi
jg 0x497a38
mov byte [ecx + edx], 0x20
mov edx, dword [esp + 0x4c]
movzx edx, byte [edx + 8]
test dl, dl
je 0x497a2f
mov edx, dword [esp + 0x68]
cmp edx, 0x10
jbe 0x497bc4
lea edx, [ebp + 2]
mov ebx, dword [esp + 0x64]
movzx ebx, byte [ebx + 0x10]
cmp edx, esi
jg 0x4979e2
test edi, edi
mov byte [ecx + ebp], 0x30
mov byte [ecx + ebp + 1], bl
je 0x4979bf
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x5c]
cmp ebx, ebp
jae 0x497bbd
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 0x497baf
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 0x497baf
lea ebx, [edx + 2]
movzx ebp, byte [ecx + ebp]
cmp ebx, esi
jle 0x49785f
xchg ebp, eax
mov byte [esp + 0x22], al
xchg ebp, eax
mov dword [esp + 0x2c], edx
lea eax, [0x5dfee0]
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.00437c50
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 0x49785f
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x54]
cmp ebx, ebp
jae 0x497bb6
mov eax, dword [esp + 0x50]
movzx eax, byte [eax + ebx]
mov ebp, eax
mov eax, dword [esp + 0x24]
jmp 0x497919
mov dword [esp + 0x34], ebp
mov byte [esp + 0x23], bl
lea eax, [0x5dfee0]
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.00437c50
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 0x4978f7
test edi, edi
mov edx, ebp
jmp 0x4978ff
mov dword [esp + 0x30], edx
lea eax, [0x5dfee0]
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.00437c50
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 0x4978c1
test edi, edi
jmp 0x4978ff
test edi, edi
jmp 0x4978ff
mov ebx, dword [esp + 0x4c]
mov edi, dword [ebx]
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov edx, dword [0x7db370]
test edx, edx
jne 0x497acf
mov dword [edi], ecx
movzx ecx, byte [ebx + 4]
test cl, cl
je 0x497abb
mov ecx, dword [ebx + 0x10]
cmp ecx, eax
jle 0x497abb
movzx edx, byte [ebx + 6]
test dl, dl
jne 0x497abf
add esp, 0x48
ret
sub ecx, eax
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.00496570
jmp 0x497abb
mov edx, eax
mov eax, ecx
call fcn.0044b680
mov eax, edx
jmp 0x497aa4
mov byte [esp + 0x23], bl
mov dword [esp + 0x2c], ebp
lea eax, [0x5dfee0]
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.00437c50
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 0x49783f
mov edx, ebp
jmp 0x497847
sub esi, eax
mov dword [esp + 4], esi
mov dword [esp], edx
call fcn.00496570
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
jmp 0x497806
mov eax, ebp
jmp 0x497806
mov eax, ebp
jmp 0x497806
mov eax, ebx
mov ebx, ebp
mov ebp, eax
jmp 0x4977d1
movzx esi, byte [edx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x497b77
add ebx, 2
mov eax, ebx
mov ebx, ebp
mov ebp, eax
jmp 0x4977d5
movzx eax, byte [edx + 4]
test al, al
jne 0x497b8e
add esp, 0x48
ret
mov eax, dword [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00496570
jmp 0x497b8a
mov ebx, eax
jmp 0x4977a4
mov eax, dword [esp + 0x54]
jmp 0x497789
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.00449f20
jmp fcn.00497760