Function at 0x4013f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0xc], 1
mov ecx, 0x454868
call fcn.00401260
mov dword [ebp - 8], eax
push 0xf0
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [0x453f9c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4015e8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4015e8
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4015e8
call fcn.00401600
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0xc], 0
je 0x4015e8
mov edx, dword [ebp - 0x14]
movzx eax, word [edx]
test eax, eax
je 0x4015e8
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
mov word [ebp - 0x2c], dx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
mov word [ebp - 0x30], dx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
movzx ecx, word [ebp - 0x30]
cmp ecx, 0x403
jne 0x40153f
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x4014d8
mov dword [ebp - 0x5c], 0
jmp 0x401513
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
shl eax, 1
add eax, 3
and eax, 0xfffffffc
call fcn.0042c4c0
mov dword [ebp - 0x60], esp
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00401610
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
push edx
push 0
push 0x143
movzx eax, word [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 4
call fcn.004024f0
cmp eax, 0xffffffff
jne 0x40153a
mov dword [ebp - 0xc], 0
jmp 0x4015da
movzx ecx, word [ebp - 0x30]
cmp ecx, 0x1234
jne 0x4015da
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x401572
mov dword [ebp - 0x64], 0
jmp 0x4015ad
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
shl eax, 1
add eax, 3
and eax, 0xfffffffc
call fcn.0042c4c0
mov dword [ebp - 0x68], esp
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00401610
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x54]
push eax
push 0
push 0x40b
movzx ecx, word [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 4
call fcn.004024f0
cmp eax, 0xffffffff
jne 0x4015da
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], edx
jmp 0x401468
mov eax, dword [ebp - 0xc]
lea esp, [ebp - 0x68]
mov esp, ebp
pop ebp
ret 4