Function at 0x498480
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5b6df8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x498704
sub esp, 0x3c
mov eax, dword [esp + 0x40]
movzx ecx, byte [eax + 4]
test cl, cl
je 0x49865a
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x49865a
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.004758a0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
movzx edx, byte [eax + 6]
sub ecx, dword [esp + 8]
test dl, dl
je 0x4985a0
mov dword [esp + 0x20], ecx
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 4]
mov esi, dword [esp + 0x48]
lea edi, [esi + ebp]
mov ecx, dword [edx]
cmp ebx, edi
jae 0x498530
mov dword [esp + 0x28], ebp
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
lea eax, [0x4c8a20]
mov dword [esp + 0x10], eax
call fcn.00468320
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], ecx
lea eax, [ecx + ebp]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0046d9a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 8], eax
mov eax, dword [0x5b6f08]
test eax, eax
jne 0x498575
mov eax, dword [esp + 0x38]
jmp 0x498585
call fcn.0046d0e0
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.004980a0
jmp 0x498656
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004980a0
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x48]
lea ebp, [ebx + edx]
mov esi, dword [eax]
cmp ecx, ebp
jae 0x4985ff
mov dword [esp + 0x28], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
lea eax, [0x4c8a20]
mov dword [esp + 0x10], eax
call fcn.00468320
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], esi
lea eax, [esi + edx]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0046d9a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 8], eax
mov eax, dword [0x5b6f08]
test eax, eax
jne 0x498644
mov eax, dword [esp + 0x38]
jmp 0x498654
call fcn.0046d0e0
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
add esp, 0x3c
ret
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x48]
lea ebp, [ebx + edx]
mov esi, dword [eax]
cmp ecx, ebp
jae 0x4986a9
mov dword [esp + 0x28], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
lea eax, [0x4c8a20]
mov dword [esp + 0x10], eax
call fcn.00468320
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ebp
lea eax, [esi + edx]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0046d9a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 8], eax
mov eax, dword [0x5b6f08]
test eax, eax
jne 0x4986ee
mov eax, dword [esp + 0x38]
jmp 0x4986fe
call fcn.0046d0e0
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
add esp, 0x3c
ret
call fcn.0046bcd0
jmp fcn.00498480