Function at 0x489d90
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48a009
sub esp, 0x3c
mov eax, dword [esp + 0x40]
movzx ecx, byte [eax + 4]
test cl, cl
je 0x489f66
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x489f66
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.00462d20
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
sub ecx, dword [esp + 0xc]
movzx edx, byte [eax + 6]
test dl, dl
je 0x489eb3
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 0x489e4a
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, [0x49c280]
mov dword [esp + 0x10], eax
call fcn.00446be0
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.0045e000
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 [0x566f50]
test eax, eax
jne 0x489e91
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x489e9a
mov eax, dword [esp + 0x38]
call fcn.0045d740
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00489c40
jmp 0x489f62
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00489c40
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 0x489f12
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, [0x49c280]
mov dword [esp + 0x10], eax
call fcn.00446be0
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.0045e000
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 [0x566f50]
test eax, eax
jne 0x489f59
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x489f62
mov eax, dword [esp + 0x38]
call fcn.0045d740
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 0x489fb5
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, [0x49c280]
mov dword [esp + 0x10], eax
call fcn.00446be0
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.0045e000
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 [0x566f50]
test eax, eax
jne 0x489ffc
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x48a005
mov eax, dword [esp + 0x38]
call fcn.0045d740
add esp, 0x3c
ret
call fcn.0045c330
jmp fcn.00489d90