Function at 0x498430
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4988a2
sub esp, 0x48
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x498876
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x4c]
movzx ebx, byte [edx + 5]
test bl, bl
je 0x49886f
mov ebx, dword [edx + 0x14]
cmp ebx, eax
jge 0x49886f
mov ebp, ebx
shl ebx, 1
test ebx, ebx
jle 0x498852
movzx esi, byte [edx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x49883a
movzx esi, byte [edx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x49882f
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 0x498828
mov esi, dword [edx + 0x10]
cmp esi, ebp
jle 0x498821
mov eax, ebp
movzx ebp, byte [edx + 6]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4987fe
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 0x4987f7
mov edx, dword [esp + 0x68]
cmp edx, 0x10
jbe 0x49889b
lea edx, [ebp + 2]
mov ebx, dword [esp + 0x64]
movzx ebx, byte [ebx + 0x10]
cmp edx, esi
jg 0x4987ac
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 0x49855c
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 0x49875c
mov ebp, dword [esp + 0x4c]
movzx ebp, byte [ebp + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x498755
test ebx, ebx
jle 0x49874e
lea ebp, [edx + 1]
cmp ebp, esi
jg 0x498708
mov byte [ecx + edx], 0x20
mov edx, dword [esp + 0x4c]
movzx edx, byte [edx + 8]
test dl, dl
je 0x4986ff
mov edx, dword [esp + 0x68]
cmp edx, 0x10
jbe 0x498894
lea edx, [ebp + 2]
mov ebx, dword [esp + 0x64]
movzx ebx, byte [ebx + 0x10]
cmp edx, esi
jg 0x4986b2
test edi, edi
mov byte [ecx + ebp], 0x30
mov byte [ecx + ebp + 1], bl
je 0x49868f
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x5c]
cmp ebx, ebp
jae 0x49888d
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 0x49887f
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 0x49887f
lea ebx, [edx + 2]
movzx ebp, byte [ecx + ebp]
cmp ebx, esi
jle 0x49852f
xchg ebp, eax
mov byte [esp + 0x22], al
xchg ebp, eax
mov dword [esp + 0x2c], edx
lea eax, [0x5f4a80]
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.00437d20
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 0x49852f
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x54]
cmp ebx, ebp
jae 0x498886
mov eax, dword [esp + 0x50]
movzx eax, byte [eax + ebx]
mov ebp, eax
mov eax, dword [esp + 0x24]
jmp 0x4985e9
mov dword [esp + 0x34], ebp
mov byte [esp + 0x23], bl
lea eax, [0x5f4a80]
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.00437d20
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 0x4985c7
test edi, edi
mov edx, ebp
jmp 0x4985cf
mov dword [esp + 0x30], edx
lea eax, [0x5f4a80]
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.00437d20
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 0x498591
test edi, edi
jmp 0x4985cf
test edi, edi
jmp 0x4985cf
mov ebx, dword [esp + 0x4c]
mov edi, dword [ebx]
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov edx, dword [0x7fe8b0]
test edx, edx
jne 0x49879f
mov dword [edi], ecx
movzx ecx, byte [ebx + 4]
test cl, cl
je 0x49878b
mov ecx, dword [ebx + 0x10]
cmp ecx, eax
jle 0x49878b
movzx edx, byte [ebx + 6]
test dl, dl
jne 0x49878f
add esp, 0x48
ret
sub ecx, eax
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.00497210
jmp 0x49878b
mov edx, eax
mov eax, ecx
call fcn.0044b7c0
mov eax, edx
jmp 0x498774
mov byte [esp + 0x23], bl
mov dword [esp + 0x2c], ebp
lea eax, [0x5f4a80]
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.00437d20
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 0x49850f
mov edx, ebp
jmp 0x498517
sub esi, eax
mov dword [esp + 4], esi
mov dword [esp], edx
call fcn.00497210
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
jmp 0x4984d6
mov eax, ebp
jmp 0x4984d6
mov eax, ebp
jmp 0x4984d6
mov eax, ebx
mov ebx, ebp
mov ebp, eax
jmp 0x4984a1
movzx esi, byte [edx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x498847
add ebx, 2
mov eax, ebx
mov ebx, ebp
mov ebp, eax
jmp 0x4984a5
movzx eax, byte [edx + 4]
test al, al
jne 0x49885e
add esp, 0x48
ret
mov eax, dword [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00497210
jmp 0x49885a
mov ebx, eax
jmp 0x498474
mov eax, dword [esp + 0x54]
jmp 0x498459
call fcn.00425910
ud2
call fcn.00425910
ud2
call fcn.00425910
ud2
call fcn.00425910
ud2
call fcn.00425910
ud2
call fcn.0044a060
jmp fcn.00498430