Function at 0x495870
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x495ae9
sub esp, 0x3c
mov eax, dword [esp + 0x40]
movzx ecx, byte [eax + 4]
test cl, cl
je 0x495a46
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x495a46
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
call fcn.00464f30
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
sub ecx, dword [esp + 0xc]
movzx edx, byte [eax + 6]
test dl, dl
je 0x495993
mov dword [esp + 0x20], ecx
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov ebx, dword [edx + 4]
mov ebp, dword [esp + 0x48]
lea esi, [ebx + ebp]
mov edi, dword [edx + 8]
mov ecx, dword [edx]
cmp edi, esi
jae 0x49592a
mov dword [esp + 0x28], ebx
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
lea eax, [0x4c5a80]
mov dword [esp + 0x10], eax
call fcn.00447140
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], ecx
lea eax, [ecx + ebx]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.0045f000
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 8], eax
mov eax, dword [0x5b41a0]
test eax, eax
jne 0x495971
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x49597a
mov eax, dword [esp + 0x38]
call fcn.0045e740
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00495720
jmp 0x495a42
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00495720
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x48]
lea ebx, [ecx + edx]
mov ebp, dword [eax + 8]
mov esi, dword [eax]
cmp ebp, ebx
jae 0x4959f2
mov dword [esp + 0x28], ecx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
lea eax, [0x4c5a80]
mov dword [esp + 0x10], eax
call fcn.00447140
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], esi
lea eax, [esi + ecx]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0045f000
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 8], eax
mov eax, dword [0x5b41a0]
test eax, eax
jne 0x495a39
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x495a42
mov eax, dword [esp + 0x38]
call fcn.0045e740
add esp, 0x3c
ret
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x48]
lea ebx, [ecx + edx]
mov ebp, dword [eax + 8]
mov esi, dword [eax]
cmp ebp, ebx
jae 0x495a95
mov dword [esp + 0x28], ecx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
lea eax, [0x4c5a80]
mov dword [esp + 0x10], eax
call fcn.00447140
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
lea eax, [esi + ecx]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0045f000
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 8], eax
mov eax, dword [0x5b41a0]
test eax, eax
jne 0x495adc
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x495ae5
mov eax, dword [esp + 0x38]
call fcn.0045e740
add esp, 0x3c
ret
call fcn.0045d330
jmp fcn.00495870