Function at 0x4010f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
add eax, 0x10
push edi
mov dword [esp + 0x10], eax
mov edi, edi
mov esi, dword [esp + 0x34]
movzx ebp, word [esi + 6]
movzx edx, word [esi + 0x14]
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx - 4]
xor edi, edi
test ebp, ebp
lea eax, [edx + esi + 0x18]
jbe 0x401141
lea ecx, [ecx]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40112a
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x401137
add edx, ecx
cmp ebx, edx
jb 0x40114b
add edi, 1
add eax, 0x28
cmp edi, ebp
jb 0x401120
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x18
ret
mov edi, dword [eax + 0x14]
sub edi, dword [eax + 0xc]
add edi, ebx
add edi, dword [esp + 0x30]
mov dword [esp + 0x14], edi
je 0x401141
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [esp + 0x2c]
push ebx
call fcn.00401000
add esp, 4
test eax, eax
jne 0x401201
push ebx
mov dword [esp + 0x20], ebx
xor ebx, ebx
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x4011b4
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4011aa
push eax
call fcn.0040559e
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
jmp 0x401201
mov ebx, edi
lea esi, [esp + 0x18]
call fcn.00401580
test al, al
jne 0x4011f4
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x4011d3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
je 0x4011ea
push eax
call fcn.0040559e
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
jmp 0x4011fd
lea ecx, [esp + 0x18]
call fcn.00401610
mov esi, dword [esp + 0x34]
movzx ebp, word [esi + 6]
mov eax, dword [esp + 0x10]
movzx ecx, word [esi + 0x14]
mov ebx, dword [eax]
xor edi, edi
test ebp, ebp
lea eax, [ecx + esi + 0x18]
jbe 0x40123a
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x401223
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x401230
add edx, ecx
cmp ebx, edx
jb 0x40123e
add edi, 1
add eax, 0x28
cmp edi, ebp
jb 0x401219
xor ebp, ebp
jmp 0x40124a
mov ebp, dword [eax + 0x14]
sub ebp, dword [eax + 0xc]
add ebp, ebx
add ebp, dword [esp + 0x30]
cmp dword [ebp], 0
je 0x4012e7
jmp 0x401264
mov esi, dword [esp + 0x34]
movzx edx, word [esi + 0x14]
mov edi, dword [ebp]
lea eax, [edx + esi + 0x18]
movzx esi, word [esi + 6]
xor ebx, ebx
test esi, esi
jbe 0x40129a
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x401283
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp edi, edx
jb 0x401290
add edx, ecx
cmp edi, edx
jb 0x40129e
add ebx, 1
add eax, 0x28
cmp ebx, esi
jb 0x401279
xor ebx, ebx
jmp 0x4012aa
mov ebx, dword [eax + 0x14]
sub ebx, dword [eax + 0xc]
add ebx, edi
add ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
push eax
call fcn.00401000
add esp, 4
mov ecx, edi
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add ebx, 2
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esi, edi
add eax, esi
mov dword [ebp], eax
add ebp, 4
cmp dword [ebp], 0
jne 0x401260
add dword [esp + 0x10], 0x14
jmp 0x401100