Function at 0x49c260
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49c4d1
sub esp, 0x3c
mov eax, dword [esp + 0x40]
movzx ecx, byte [eax + 4]
test cl, cl
je 0x49c42e
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x49c42e
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0046e9f0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
sub ecx, dword [esp + 8]
movzx edx, byte [eax + 6]
test dl, dl
je 0x49c37b
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 0x49c312
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, [0x4d7180]
mov dword [esp + 0x10], eax
call fcn.00447640
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.0045ee10
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 [0x5a2480]
test eax, eax
jne 0x49c359
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x49c362
mov eax, dword [esp + 0x38]
call fcn.0045e510
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.0049be80
jmp 0x49c42a
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0049be80
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 0x49c3da
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, [0x4d7180]
mov dword [esp + 0x10], eax
call fcn.00447640
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.0045ee10
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 [0x5a2480]
test eax, eax
jne 0x49c421
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x49c42a
mov eax, dword [esp + 0x38]
call fcn.0045e510
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 0x49c47d
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, [0x4d7180]
mov dword [esp + 0x10], eax
call fcn.00447640
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.0045ee10
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 [0x5a2480]
test eax, eax
jne 0x49c4c4
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x49c4cd
mov eax, dword [esp + 0x38]
call fcn.0045e510
add esp, 0x3c
ret
call fcn.0045d0e0
jmp fcn.0049c260