Function at 0x49a320
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1468
push 0x48f54c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
cmp dword [ebp + 8], 0
jne 0x49a351
jmp 0x49a60c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
jmp 0x49a36e
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
je 0x49a385
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
cmp eax, dword [ebp + 8]
jne 0x49a383
jmp 0x49a60c
jmp 0x49a365
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call 0x4a0b64
test eax, eax
je 0x49a39a
jmp 0x49a60c
mov edx, dword [0x4a49a4]
add edx, 1
mov dword [0x4a49a4], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [0x4a3c80]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx], 0x4550
jne 0x49a5c1
cmp dword [0x4a4714], 1
jne 0x49a3fa
cmp dword [ebp + 8], 0x80000000
jbe 0x49a3fa
push 0
push 0
push 0
push 0
call dword [fcn.004a480c]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0x80]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
cmp dword [0x4a4714], 1
jne 0x49a497
mov dword [ebp - 0x40], 0
jmp 0x49a42b
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x38]
xor eax, eax
mov ax, word [edx + 6]
cmp dword [ebp - 0x40], eax
jae 0x49a497
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp - 0x38]
lea ecx, [eax + edx + 0x18]
mov edx, dword [ebp - 0x40]
imul edx, edx, 0x28
add ecx, edx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 0x20]
ja 0x49a495
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x44]
add eax, dword [ecx + 8]
cmp dword [ebp - 0x20], eax
ja 0x49a495
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x24]
and eax, 0x10000000
test eax, eax
je 0x49a493
push 0
push 0
push 0
push 0
call dword [fcn.004a480c]
jmp 0x49a497
jmp 0x49a422
mov dword [ebp - 4], 0
jmp 0x49a4be
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x84]
xor edx, edx
mov ecx, 0x14
div ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], 0
jmp 0x49a4e5
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x1c]
jae 0x49a5c1
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + ecx + 0xc]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0xc], 0
je 0x49a52d
mov eax, dword [ebp - 0x3c]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax + 0xc]
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov cl, byte [eax + edx]
test ecx, ecx
jne 0x49a532
jmp 0x49a5c1
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + edx + 0x10]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x50]
push edx
call 0x4a027f
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x50]
mov dword [0x4a3c80], eax
cmp dword [ebp - 0x4c], 0
je 0x49a573
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0049a320
add esp, 0xc
push 0
call dword [fcn.004a47ac]
cmp eax, dword [ebp + 8]
je 0x49a5bc
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [0x4a9160]
call 0x4a0b64
test eax, eax
je 0x49a5bc
jmp 0x49a59e
mov edx, dword [ebp - 0x48]
add edx, 4
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
je 0x49a5bc
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.0049a620
add esp, 0xc
jmp 0x49a595
jmp 0x49a4dc
push 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004a0c81
mov dword [ebp - 4], 0xffffffff
jmp 0x49a5f5
mov eax, dword [ebp - 0x24]
mov dword [0x4a3c80], eax
mov ecx, dword [0x4a49a4]
sub ecx, 1
mov dword [0x4a49a4], ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret