Function at 0x7157be
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401286
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4011d0
mov edx, dword [ebp + 0x10]
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], esi
call dword [fcn.004010d8]
mov esi, dword [0x401078]
push 0x11
lea eax, [ebp - 0x34]
push 0x4035c8
push eax
call esi
push 0x11
lea ecx, [ebp - 0x54]
push 0x4035c8
push ecx
call esi
push 3
lea edx, [ebp - 0x70]
push 0x4035e4
push edx
call esi
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
push eax
push ecx
call fcn.007151be
test ax, ax
je 0x715868
mov eax, 0xffffffa4
mov dword [ebp - 0x1c], eax
jmp 0x7159fc
mov ecx, 2
call dword [0x401090]
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x84]
push 1
push ecx
mov byte [edx + 1], al
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x54]
push edx
mov dword [ebp - 0x84], eax
call fcn.00714cce
test ax, ax
jne 0x71589f
mov eax, dword [ebp - 0x3c]
push eax
jmp 0x7158c3
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x84]
push 8
lea ecx, [ebp - 0x34]
push edx
push eax
mov dword [ebp - 0x84], ecx
call fcn.00714afe
test ax, ax
jne 0x7158db
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0071310a
call dword [0x401030]
mov eax, 0xffffffa3
mov dword [ebp - 0x1c], eax
jmp 0x7159fc
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0071310a
call dword [0x401030]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x64]
xor eax, eax
mov edi, 0x10
mov al, byte [ecx]
mov esi, 0x18
mov dword [edx], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x64]
xor eax, eax
mov al, byte [ecx + 1]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x64]
xor eax, eax
mov al, byte [ecx + 2]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x64]
xor eax, eax
mov al, byte [ecx + 3]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x64]
xor eax, eax
mov al, byte [ecx + 4]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x64]
xor eax, eax
mov al, byte [ecx + 5]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x64]
xor eax, eax
mov al, byte [ecx + 6]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x64]
xor eax, eax
mov al, byte [ecx + 7]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x78], 8
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], esi
mov edx, dword [ecx + 8]
lea eax, [ebp - 0x78]
push eax
push edx
call fcn.00714a3e
mov ecx, dword [ebp - 0x64]
mov ebx, eax
lea eax, [ebp - 0x7c]
mov edx, dword [ecx + 4]
push eax
push edx
call fcn.00714a3e
mov ecx, dword [ebp - 0x64]
or ebx, eax
lea eax, [ebp - 0x80]
mov edx, dword [ecx]
push eax
push edx
call fcn.00714a3e
or ebx, eax
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x78]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x78], 8
or ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], esi
mov dword [ecx], ebx
mov eax, dword [eax + 0x18]
push edx
push eax
call fcn.00714a3e
mov edx, dword [ebp - 0x64]
mov esi, eax
lea ecx, [ebp - 0x7c]
mov eax, dword [edx + 0x14]
push ecx
push eax
call fcn.00714a3e
mov edx, dword [ebp - 0x64]
or esi, eax
lea ecx, [ebp - 0x80]
mov eax, dword [edx + 0x10]
push ecx
push eax
call fcn.00714a3e
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp + 0xc]
or esi, eax
or esi, dword [ecx + 0x1c]
mov dword [edx], esi
push 0x4058ee
lea ecx, [ebp - 0x14]
call dword [fcn.00401128]
mov edi, dword [0x401040]
lea ecx, [ebp - 0x84]
xor esi, esi
lea eax, [ebp - 0x34]
push ecx
push esi
mov dword [ebp - 0x84], eax
call edi
lea eax, [ebp - 0x88]
lea edx, [ebp - 0x54]
push eax
push esi
mov dword [ebp - 0x88], edx
call edi
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x70]
push edx
push esi
mov dword [ebp - 0x8c], ecx
call edi
ret