Function at 0x414280
Capabilities:
Create directory
Create process on windows
Delete file
Get common file path
Read file on windows
Resolve function by parsing pe exports
Write and execute a file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45d6b6
mov eax, dword fs:[0]
push eax
mov eax, 0x2bc8
call fcn.00439c50
mov eax, dword [0x483ca0]
xor eax, esp
mov dword [esp + 0x2bc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x483ca0]
xor eax, esp
push eax
lea eax, [esp + 0x2bdc]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x2bf0]
mov edi, dword [esp + 0x2bec]
push ebp
push edi
push str.enter__s_to__s
push 0x246
push str.ZLibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4868e8]
mov dword [esp + 0x44], ebp
call fcn.0040a4c0
mov eax, dword [ebx + 8]
add esp, 0x20
test eax, eax
je 0x414310
push eax
call fcn.0043a309
add esp, 4
mov dword [ebx + 8], 0
lea eax, [esp + 0x9d0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0
call fcn.0043c27f
push edx
push eax
lea eax, [esp + 0x9dc]
push eax
lea eax, [esp + 0x4cc]
push str._sTM_ld.txt
push eax
call fcn.0043a14b
push 0x104
lea eax, [esp + 0x2d0]
push eax
push edi
call fcn.0040fa60
lea eax, [esp + 0x2d8]
push 0x464018
push eax
call fcn.0043a8ac
add esp, 0x2c
mov dword [ebx + 4], eax
test eax, eax
jne 0x4143d2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.Error_code:__d__error:__s
push 0x25b
push str.ZLibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
push edi
push str.cant_open__s
push 0x25d
push str.ZLibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x40
xor al, al
jmp 0x414d39
push eax
push 1
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push 4
push eax
call fcn.0043bbb0
add esp, 0x10
test eax, eax
je 0x414ce5
push dword [ebx + 4]
lea eax, [esp + 0x6c8]
or edi, 0xffffffff
push dword [esp + 0x1c]
push 1
push eax
call fcn.0043bbb0
add esp, 0x10
test eax, eax
je 0x414c7d
cmp byte [ebp], 0
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
jne 0x41443d
xor ecx, ecx
jmp 0x41444b
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414442
sub ecx, edx
push ecx
push ebp
lea ecx, [esp + 0x84]
call fcn.00401eb7
cmp dword [esp + 0x90], 0x10
lea ecx, [esp + 0x7c]
mov eax, dword [esp + 0x8c]
cmovae ecx, dword [esp + 0x7c]
mov dword [esp + 0x2be4], 0
cmp byte [eax + ecx - 1], 0x5c
je 0x414496
push 1
push 0x46140c
lea ecx, [esp + 0x84]
call fcn.004092c0
cmp byte [esp + 0x6c4], 0
jne 0x4144a4
xor ecx, ecx
jmp 0x4144b9
lea ecx, [esp + 0x6c4]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4144b0
sub ecx, edx
push ecx
lea eax, [esp + 0x6c8]
push eax
lea ecx, [esp + 0x84]
call fcn.004092c0
mov ecx, dword [esp + 0x8c]
mov byte [esp + 0x14], 0x5c
cmp ecx, 1
jb 0x41452d
mov ebp, dword [esp + 0x7c]
lea esi, [esp + 0x7c]
dec ecx
cmp ecx, 0xffffffff
cmova ecx, edi
mov edi, dword [esp + 0x90]
cmp edi, 0x10
cmovae esi, ebp
add esi, ecx
lea ecx, [ecx]
cmp byte [esi], 0x5c
jne 0x41450f
mov al, byte [esi]
lea ecx, [esp + 0x14]
cmp al, byte [ecx]
je 0x41451f
lea ecx, [esp + 0x7c]
call fcn.00401f30
cmp esi, eax
je 0x41452d
dec esi
jmp 0x414500
cmp edi, 0x10
lea eax, [esp + 0x7c]
cmovae eax, ebp
sub esi, eax
jmp 0x414530
or esi, 0xffffffff
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
mov byte [esp + 0x2be4], 1
cmp esi, 0xffffffff
je 0x41465a
push esi
push 0
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x88]
call fcn.00402fa8
mov esi, eax
lea eax, [esp + 0x64]
cmp eax, esi
je 0x4145e7
cmp dword [esp + 0x78], 0x10
jb 0x41458a
push dword [esp + 0x64]
call fcn.004167f4
add esp, 4
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
cmp dword [esi + 0x14], 0x10
jae 0x4145bc
mov eax, dword [esi + 0x10]
inc eax
je 0x4145c8
push eax
lea eax, [esp + 0x68]
push esi
push eax
call fcn.00438d30
add esp, 0xc
jmp 0x4145c8
mov eax, dword [esi]
mov dword [esp + 0x64], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x78], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [esp + 0xa8], 0x10
jb 0x414600
push dword [esp + 0x94]
call fcn.004167f4
add esp, 4
mov eax, dword [esp + 0x74]
test eax, eax
je 0x41465a
cmp eax, 2
je 0x41465a
cmp dword [esp + 0x78], 0x10
lea ecx, [esp + 0xac]
push 0x104
lea eax, [esp + 0x68]
cmovae eax, dword [esp + 0x68]
push ecx
push eax
call fcn.0040fa60
add esp, 0xc
lea eax, [esp + 0xac]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edi, eax
test edi, edi
je 0x41465a
cmp edi, 0x50
je 0x41465a
cmp edi, 0xb7
jne 0x4149ef
push dword [ebx + 4]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push 1
push 4
push eax
call fcn.0043bbb0
add esp, 0x10
test eax, eax
je 0x414bbf
push dword [ebx + 4]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push 1
push 2
push eax
call fcn.0043bbb0
add esp, 0x10
test eax, eax
je 0x414b82
cmp dword [esp + 0x90], 0x10
lea ecx, [esp + 0xac]
push 0x104
lea eax, [esp + 0x80]
cmovae eax, dword [esp + 0x80]
push ecx
push eax
call fcn.0040fa60
lea eax, [esp + 0xb8]
push 0x462984
push eax
call fcn.0043a8ac
add esp, 0x14
mov dword [ebx], eax
test eax, eax
jne 0x4147bc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.Error_code:__d__error:__s
push 0x2c3
push str.ZLibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
cmp dword [esp + 0xb4], 0x10
lea eax, [esp + 0xa0]
cmovae eax, dword [esp + 0xa0]
push eax
push str.cant_create_file__s__skip_to_the_next_one.
push 0x2c5
push str.ZLibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
mov eax, dword [ebx + 8]
add esp, 0x40
test eax, eax
jne 0x414790
lea eax, [esp + 0x4bc]
push 0x462720
push eax
call fcn.0043a8ac
add esp, 8
mov dword [ebx + 8], eax
test eax, eax
je 0x414789
push str.The_following_files_failed_to_copy_to_the_destination:_n_n
push eax
call fcn.0043da94
add esp, 8
mov eax, dword [ebx + 8]
test eax, eax
je 0x4147a6
lea ecx, [esp + 0xac]
push ecx
push 0x46505c
push eax
call fcn.0043da94
add esp, 0xc
push 1
push dword [esp + 0x20]
push dword [ebx + 4]
call fcn.0043c817
add esp, 0xc
jmp 0x414979
push 0x38
lea eax, [esp + 0x30]
mov dword [esp + 0x50], 0
push 0x464688
push eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.004563f0
lea eax, [esp + 0x1be4]
mov dword [esp + 0x48], 0x1000
mov dword [esp + 0x38], eax
add esp, 0xc
lea eax, [esp + 0xbd8]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x30], eax
xor ebp, ebp
mov edi, edi
test eax, eax
jne 0x41485b
lea eax, [esp + 0x1bd8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
cmp ebp, eax
jae 0x4148cd
push dword [ebx + 4]
sub eax, ebp
cmp eax, 0x1000
jbe 0x41483e
push 0x1000
jmp 0x41483f
push eax
lea eax, [esp + 0x1be0]
push 1
push eax
call fcn.0043bbb0
add esp, 0x10
mov dword [esp + 0x30], eax
add ebp, eax
test eax, eax
je 0x4148cd
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00454ea0
mov edi, 0x1000
mov dword [esp + 0x28], eax
add esp, 8
sub edi, dword [esp + 0x3c]
je 0x4148c0
xor esi, esi
test edi, edi
jle 0x4148ad
nop
push dword [ebx]
mov eax, edi
sub eax, esi
push eax
lea eax, [esp + 0xbe0]
add eax, esi
push 1
push eax
call fcn.0043ad13
add esp, 0x10
test eax, eax
je 0x414a71
add esi, eax
cmp esi, edi
jl 0x414880
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xbd8]
mov dword [esp + 0x3c], 0x1000
mov dword [esp + 0x38], ecx
test eax, eax
jne 0x4148cd
mov eax, dword [esp + 0x30]
jmp 0x414810
lea eax, [esp + 0x2c]
push 4
push eax
call fcn.00454ea0
mov edi, 0x1000
add esp, 8
mov ebp, eax
sub edi, dword [esp + 0x3c]
je 0x414952
lea esp, [esp]
xor esi, esi
test edi, edi
jle 0x41491f
push dword [ebx]
mov eax, edi
sub eax, esi
push eax
lea eax, [esp + 0xbe0]
add eax, esi
push 1
push eax
call fcn.0043ad13
add esp, 0x10
test eax, eax
je 0x414adc
add esi, eax
cmp esi, edi
jl 0x4148f6
mov dword [esp + 0x3c], 0x1000
lea eax, [esp + 0xbd8]
mov dword [esp + 0x38], eax
test ebp, ebp
jne 0x414952
lea eax, [esp + 0x2c]
push 4
push eax
call fcn.00454ea0
mov edi, 0x1000
add esp, 8
mov ebp, eax
sub edi, dword [esp + 0x3c]
jne 0x4148f0
lea eax, [esp + 0x2c]
push eax
call fcn.004562c0
push dword [ebx]
call fcn.0043a309
add esp, 8
mov dword [ebx], 0
test ebp, ebp
je 0x414979
cmp ebp, 1
jne 0x414b19
cmp dword [esp + 0x78], 0x10
jb 0x41498c
push dword [esp + 0x64]
call fcn.004167f4
add esp, 4
cmp dword [esp + 0x90], 0x10
mov dword [esp + 0x2be4], 0xffffffff
mov byte [esp + 0x64], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0xf
jb 0x4149c2
push dword [esp + 0x7c]
call fcn.004167f4
add esp, 4
push dword [ebx + 4]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push 1
push 4
push eax
call fcn.0043bbb0
add esp, 0x10
test eax, eax
je 0x414ce5
mov ebp, dword [esp + 0x24]
jmp 0x4143f4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.Error_code:__d__error:__s
push 0x292
push str.ZLibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
cmp dword [esp + 0xb4], 0x10
lea eax, [esp + 0xa0]
push edi
cmovae eax, dword [esp + 0xa4]
push eax
push str.SHCreateDirectoryEx_error:__s__error_code___d
push 0x294
push str.ZLibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x44
push dword [ebx + 4]
call fcn.0043a309
mov dword [ebx + 4], 0
jmp 0x414c35
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.Error_code:__d__error:__s
push 0x30e
push str.ZLibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
push str.fwrite_error
push 0x310
push str.ZLibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
push dword [ebx + 4]
call fcn.0043a309
add esp, 0x40
mov dword [ebx + 4], 0
push dword [ebx]
jmp 0x414c2a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.Error_code:__d__error:__s
push 0x330
push str.ZLibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
push str.fwrite_error
push 0x332
jmp 0x414aac
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.Error_code:__d__error:__s
push 0x34e
push str.ZLibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
push str.iErr___Z_OK__iErr___Z_STREAM_END
push 0x350
push str.ZLibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
push dword [ebx + 4]
call fcn.0043a309
add esp, 0x40
mov dword [ebx + 4], 0
jmp 0x414c38
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.Error_code:__d__error:__s
push 0x2b1
push str.ZLibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
push str.fread_iFileMask_error
push 0x2b3
jmp 0x414bfa
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.Error_code:__d__error:__s
push 0x2a0
push str.ZLibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
push str.fread_lFileLength_error
push 0x2a2
push str.ZLibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
push dword [ebx + 4]
call fcn.0043a309
mov eax, dword [ebx]
add esp, 0x40
mov dword [ebx + 4], 0
test eax, eax
je 0x414c38
push eax
call fcn.0043a309
mov dword [ebx], 0
add esp, 4
cmp dword [esp + 0x78], 0x10
jb 0x414c4b
push dword [esp + 0x64]
call fcn.004167f4
add esp, 4
cmp dword [esp + 0x90], 0x10
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
jb 0x414c76
push dword [esp + 0x7c]
call fcn.004167f4
add esp, 4
xor al, al
jmp 0x414d39
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.Error_code:__d__error:__s
push 0x26b
push str.ZLibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
push str.fread_error
push 0x26d
push str.ZLibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4868e8]
call fcn.0040a4c0
push dword [ebx + 4]
call fcn.0043a309
add esp, 0x40
mov dword [ebx + 4], 0
xor al, al
jmp 0x414d39
push dword [ebx + 4]
call fcn.0043a309
add esp, 4
mov dword [ebx + 4], 0
lea eax, [esp + 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebx + 8]
test eax, eax
je 0x414d37
push eax
call fcn.0043a309
add esp, 4
mov dword [ebx + 8], 0
lea eax, [esp + 0x4bc]
push 1
push 0
push 0
push eax
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov al, 1
mov ecx, dword [esp + 0x2bdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2bc4]
xor ecx, esp
call fcn.004396df
add esp, 0x2bd4
ret 8