Function at 0x411e70
Capabilities:
Create directory
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
push edi
lea edi, [ebp - 0x58]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4250c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x42d0a6
call fcn.004115cd
nop
mov esi, esp
push 0xa
movzx eax, word [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp esi, esp
call fcn.00411447
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x411ed9
mov eax, dword [ebp + 8]
push eax
push str.Launcher:_Failed_to_find_resource__d
call fcn.00411154
add esp, 8
xor al, al
jmp 0x412052
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00411447
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x411f0f
mov eax, dword [ebp + 8]
push eax
push str.Launcher:_Failed_to_load_resource__d
call fcn.00411154
add esp, 8
xor al, al
jmp 0x412052
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, esp
call fcn.00411447
mov dword [ebp - 0x24], eax
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.00411447
mov dword [ebp - 0x30], eax
mov esi, esp
push 0
push 0x422b88
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.00411447
test eax, eax
jne 0x411f85
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00411447
cmp eax, 0xb7
je 0x411f85
mov eax, dword [ebp + 8]
push eax
push str.Launcher:_Failed_to_create_directory_for_resource__d
call fcn.00411154
add esp, 8
xor al, al
jmp 0x412052
mov esi, esp
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.00411447
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x411fcb
mov eax, dword [ebp + 8]
push eax
push str.Launcher:_Failed_to_create_resource__d
call fcn.00411154
add esp, 8
xor al, al
jmp 0x412052
mov esi, esp
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.00411447
nop
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00411447
nop
cmp dword [ebp + 0xc], 0
jne 0x412050
mov esi, esp
push 1
push 0
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
cmp esi, esp
call fcn.00411447
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x41203c
mov eax, dword [ebp + 8]
push eax
push str.Launcher:_Failed_to_load_DLL__d
call fcn.00411154
add esp, 8
xor al, al
jmp 0x412052
mov esi, esp
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00411447
nop
mov al, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x412084]
call fcn.0041136b
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041126c
add esp, 0x118
cmp ebp, esp
call fcn.00411447
mov esp, ebp
pop ebp
ret