Function at 0x4015f0
Capabilities:
Enumerate pe sections
Extract resource via kernel32 functions
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x64], 0x36
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x60], 0x98
xor eax, eax
mov word [ebp - 4], ax
mov dword [ebp - 0x2c], 0
push 2
push 1
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401676
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x40166d
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x2c], eax
jmp 0x401674
xor eax, eax
jmp 0x401917
jmp 0x40167d
xor eax, eax
jmp 0x401917
push 0xa
push 1
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4016c1
mov eax, dword [ebp - 0x4c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x4016b8
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
jmp 0x4016bf
xor eax, eax
jmp 0x401917
jmp 0x4016c8
xor eax, eax
jmp 0x401917
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ecx
push 4
push 0x3000
mov edx, dword [ebp - 0x3c]
push edx
push 0
call dword [0x413e64]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x20], 0x28
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
jmp 0x40171d
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x28]
jae 0x40184f
push 2
mov eax, dword [ebp - 0x1c]
add eax, 1
movzx ecx, ax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401773
mov edx, dword [ebp - 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x40176a
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x2c], eax
jmp 0x401771
xor eax, eax
jmp 0x401917
jmp 0x40177a
xor eax, eax
jmp 0x401917
push 4
push 0x3000
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [0x413e64]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00408120
add esp, 0xc
mov edx, dword [ebp - 0x24]
add edx, 4
push edx
call fcn.004015a0
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
push str.COrner_:__d
call fcn.0040193f
add esp, 8
mov dword [ebp - 0x30], 0
jmp 0x4017d9
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x38]
jae 0x401829
mov dword [ebp - 0x34], 0
jmp 0x4017f3
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x38]
jae 0x401827
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
mov cx, word [edx]
mov word [eax], cx
mov dl, byte [edx + 2]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x18]
add eax, 3
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
add ecx, 3
mov dword [ebp - 0x20], ecx
jmp 0x4017ea
jmp 0x4017d0
mov dword [ebp - 0x20], 0x28
push 0x8000
push 0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0x18], eax
jmp 0x401714
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00401120
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x401879
mov ecx, dword [ebp - 0x40]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x401880
xor eax, eax
jmp 0x401917
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
je 0x401899
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0x4550
je 0x40189d
xor eax, eax
jmp 0x401917
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
sub edx, 1
imul eax, edx, 0x28
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
sub edx, 1
imul ecx, edx, 0x28
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + eax + 0x14]
mov edx, dword [ebp - 0x58]
add eax, dword [edx + ecx + 0x10]
mov dword [ebp - 0x44], eax
push 0x40
push 0x3000
mov eax, dword [ebp - 0x44]
push eax
push 0
call dword [0x413e64]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00408120
add esp, 0xc
push 0x8000
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 0x5c]
mov esp, ebp
pop ebp
ret