Function at 0x401140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
pushal
cmp dword [ebp + 0xc], 1
jne 0x40140e
push 0x4e4941
push 0x4d5f3031
push 0x46434d4d
push 0
lea edx, [esp + 4]
push edx
call dword [sym.imp.USER32.DLL_FindWindowA]
add esp, 0xc
cmp eax, 0
je 0x40140e
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.DLL_GetWindowLongA]
cmp eax, 0
je 0x40140e
mov ebx, eax
cmp dword [ebx + 4], 0x2710
jne 0x40140e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0x401418
mov dword [ebp - 0x130], fcn.0040180b
mov dword [ebp - 0x12c], 0x401a32
push 0x534455
push 0x206e6173
push 0x73694e20
push 0x29373130
push 0x28303820
push 0x24454c55
push 0x444f4d24
push esp
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
add esp, 0x1c
push 0x118
lea edx, [ebp - 0x13c]
push edx
lea edx, [ebx + 0x84]
push edx
call fcn.004095df
push 0x6e61
push 0x7373694e
push esp
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0
lea edx, [ebx + 0x9c]
push edx
call fcn.00401eff
add esp, 8
mov dword [ebp - 0x1c], eax
push 0xa
push 0x3e8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x401290
mov dword [ebp - 0x24], eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x401287
mov dword [ebp - 0x20], eax
push 0x281e
lea edx, [eax + 0x16]
push edx
push 0x40c6ca
call dword [sym.imp.NTDLL.DLL_memcpy]
add esp, 0xc
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
push 0x74
push 0x7365745f
push 0x6e61635f
push 0x30353868
push 0x725f6e61
push 0x7373696e
mov dword [ebp - 0x14], esp
push 0x3130
push 0x302e3031
mov dword [ebp - 0x10], esp
push 0x4e41
push 0x43205d6b
push 0x36393034
push 0x5b303538
push 0x48522069
push 0x68636174
push 0x69482954
push 0x53455428
push 0x24315f30
push 0x386e6173
push 0x73696e24
push esp
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x281e
push 0x40c6ca
push 0x400000
push 0x83
push dword [ebp + 8]
push dword [ebp - 0x1c]
lea edx, [ebx + 0x9c]
push edx
call fcn.00401eff
add esp, 0x2c
add esp, 8
add esp, 0x18
mov dword [ebp - 0x18], eax
push 0xa
push 0x3e8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x401373
mov dword [ebp - 0x24], eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x40136a
mov dword [ebp - 0x20], eax
push 0x281e
lea edx, [eax + 0x16]
push edx
push 0x40c6ca
call dword [sym.imp.NTDLL.DLL_memcpy]
add esp, 0xc
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
push 0x74
push 0x7365745f
push 0x6e61635f
push 0x30353868
push 0x725f6e61
push 0x7373696e
mov dword [ebp - 8], esp
push 0x3130
push 0x302e3031
mov dword [ebp - 4], esp
push 0x4e4143
push 0x205d6b30
push 0x3635325b
push 0x34384337
push 0x31434445
push 0x20686373
push 0x6f422954
push 0x53455428
push 0x24325f30
push 0x386e6173
push 0x73696e24
push esp
push dword [ebp - 4]
push dword [ebp - 8]
push 0x281e
push 0x40c6ca
push 0x280000
push 0x83
push dword [ebp + 8]
push dword [ebp - 0x1c]
lea edx, [ebx + 0x9c]
push edx
call fcn.00401eff
add esp, 0x2c
add esp, 8
add esp, 0x18
mov dword [ebp - 0xc], eax
popal
mov eax, 1
leave
ret 0xc