Function at 0x403bc0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x44983c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xa
push str.LOADERGIF
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x403bf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403d87
mov eax, dword [ebp - 0x38]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x38]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x40], eax
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [str.loader64.gif]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x28], eax
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xa
push str.INSTALLICO
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x403c81
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403d87
mov eax, dword [ebp - 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x40], eax
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [str.icon.ico]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x28], eax
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x64
push 0x44bce0
push 0x67
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x44bc78
push 0x6d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [ebp + 8]
push edx
call fcn.00403da0
add esp, 4
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00403e40
add esp, 8
test eax, eax
jne 0x403d36
xor eax, eax
jmp 0x403d87
push 0x6d
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [ebp - 0x3c], eax
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x403d85
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x403d83
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x403d45
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422b72
mov esp, ebp
pop ebp
ret 0x10