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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f89b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x10087040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x11c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x228], eax
jne 0x10011cd1
mov edx, str.E36A5F88_9B4B_4DE8_B29B_5A13E04B3A37
lea ecx, [ebp - 0x224]
call fcn.100061c0
mov dword [ebp - 4], 0
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011c90
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x10c]
call fcn.1000a240
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011cd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x120], 7
lea esi, [edi + 0x10c]
mov ebx, esi
jbe 0x10011ce4
mov ebx, dword [esi]
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x10011eff
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push ebx
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 1
call fcn.10005830
test al, al
jne 0x10011d41
test ebx, ebx
jne 0x10011d20
xor ecx, ecx
jmp 0x10011d34
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011d25
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x224]
call fcn.10005aa0
mov dword [ebp - 4], 0xffffffff
or ebx, 0xffffffff
mov edx, dword [ebp - 0x224]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011d68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x224]
push eax
lea ecx, [edi + 4]
call fcn.1000dd40
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10011d92
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x14], 7
jbe 0x10011d9a
mov esi, dword [esi]
push ecx
push 1
push esi
call fcn.1000b350
cmp dword [edi + 0x120], 7
lea eax, [edi + 0x10c]
jbe 0x10011db4
mov eax, dword [eax]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10043f30
lea eax, [edi + 0x10c]
add esp, 0xc
cmp dword [eax + 0x14], 7
jbe 0x10011de3
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.1004cfef
add esp, 0xc
lea eax, [ebp - 0x21c]
push str.setup.config
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, dword [edi + 0x16c]
test esi, esi
jne 0x10011e1e
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push 0xa
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x10011e43
mov eax, dword [ebp - 0x228]
mov dword [eax], 4
jmp 0x10011edc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x224], eax
test eax, eax
jne 0x10011e63
mov eax, dword [ebp - 0x228]
mov dword [eax], 5
jmp 0x10011edc
push ebx
push esi
mov dword [ebp - 0x220], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0x80
push 2
push 0
push 1
mov ebx, eax
lea eax, [ebp - 0x21c]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10011ed0
test esi, esi
je 0x10011ed0
push 0
lea eax, [ebp - 0x220]
push eax
push ebx
push dword [ebp - 0x224]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [edi + 4]
call fcn.100124f0
jmp 0x10011ee1
mov eax, dword [ebp - 0x228]
mov dword [eax], 6
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10041e20
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100013a0
int3