Function at 0x41b200
Capabilities:
Create directory
Create process on windows
Delete file
Get common file path
Read file on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476be6
mov eax, dword fs:[0]
push eax
mov eax, 0x2bd0
call fcn.00444260
mov eax, dword [0x4a6c44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2b8c], edi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
push esi
push str.enter__s_to__s
push 0x246
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4a9068]
mov dword [ebp - 0x2b88], esi
mov dword [ebp - 0x2ba0], eax
mov dword [ebp - 0x2b9c], 0
call fcn.0040eee0
mov eax, dword [edi + 8]
add esp, 0x20
test eax, eax
je 0x41b292
push eax
call fcn.0044f88c
add esp, 4
mov dword [edi + 8], 0
lea eax, [ebp - 0x830]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0
call fcn.00454c8c
push edx
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x628]
push str._sTM_d.txt
push eax
call fcn.00402ee7
push 0x104
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.00416680
lea eax, [ebp - 0x420]
push 0x47f5a0
push eax
call fcn.0044fa5e
add esp, 0x2c
mov dword [edi + 4], eax
test eax, eax
jne 0x41b354
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470f20
push eax
push esi
push str.Error_code:__d__error:__s
push 0x25b
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
push dword [ebp - 0x2b88]
push str.cant_open__s
push 0x25d
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
add esp, 0x40
xor al, al
jmp 0x41ba51
push eax
push 1
lea eax, [ebp - 0x2b90]
mov dword [ebp - 0x2b90], 0
push 4
push eax
call fcn.00455c28
add esp, 0x10
test eax, eax
je 0x41b9ff
nop word [eax + eax]
push dword [edi + 4]
lea eax, [ebp - 0xb3c]
push dword [ebp - 0x2b90]
push 1
push eax
call fcn.00455c28
add esp, 0x10
test eax, eax
je 0x41bd60
mov esi, dword [ebp - 0x2ba0]
mov ecx, esi
mov dword [ebp - 0x2b44], 0
mov dword [ebp - 0x2b40], 0xf
mov byte [ebp - 0x2b54], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b3c8
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x2b54]
call fcn.00401d51
cmp dword [ebp - 0x2b40], 0x10
lea ecx, [ebp - 0x2b54]
mov eax, dword [ebp - 0x2b44]
cmovae ecx, dword [ebp - 0x2b54]
mov dword [ebp - 4], 0
cmp byte [eax + ecx - 1], 0x5c
je 0x41b418
push 1
push 0x47cb7c
lea ecx, [ebp - 0x2b54]
call fcn.004068a0
lea ecx, [ebp - 0xb3c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b421
sub ecx, edx
lea eax, [ebp - 0xb3c]
push ecx
push eax
lea ecx, [ebp - 0x2b54]
call fcn.004068a0
cmp dword [ebp - 0x2b40], 0x10
lea edx, [ebp - 0x2b54]
mov esi, dword [ebp - 0x2b44]
cmovae edx, dword [ebp - 0x2b54]
test esi, esi
je 0x41b47e
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x41b47a
nop dword [eax]
cmp ecx, edx
je 0x41b47e
dec ecx
cmp byte [ecx], 0x5c
jne 0x41b470
sub ecx, edx
jmp 0x41b481
or ecx, 0xffffffff
mov dword [ebp - 0x2b5c], 0
mov dword [ebp - 0x2b58], 0xf
mov byte [ebp - 0x2b6c], 0
mov byte [ebp - 4], 1
cmp ecx, 0xffffffff
je 0x41b5ac
cmp esi, ecx
mov dword [ebp - 0x2b74], 0
lea eax, [ebp - 0x2b54]
mov dword [ebp - 0x2b70], 0xf
cmovb ecx, esi
mov byte [ebp - 0x2b84], 0
cmp dword [ebp - 0x2b40], 0x10
push ecx
cmovae eax, dword [ebp - 0x2b54]
lea ecx, [ebp - 0x2b84]
push eax
call fcn.00401d51
or dword [ebp - 0x2b9c], 1
mov edx, dword [ebp - 0x2b58]
cmp edx, 0x10
jb 0x41b52b
mov ecx, dword [ebp - 0x2b6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b521
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bdcb
push edx
push ecx
call fcn.00443caf
add esp, 8
movups xmm0, xmmword [ebp - 0x2b84]
mov eax, dword [ebp - 0x2b74]
movups xmmword [ebp - 0x2b6c], xmm0
movq xmm0, qword [ebp - 0x2b74]
movq qword [ebp - 0x2b5c], xmm0
test eax, eax
je 0x41b5ac
cmp eax, 2
je 0x41b5ac
cmp dword [ebp - 0x2b70], 0x10
lea ecx, [ebp - 0x218]
push 0x104
lea eax, [ebp - 0x2b6c]
cmovae eax, dword [ebp - 0x2b84]
push ecx
push eax
call fcn.00416680
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x2b98], eax
test eax, eax
je 0x41b5ac
cmp eax, 0x50
je 0x41b5ac
cmp eax, 0xb7
jne 0x41ba6e
push dword [edi + 4]
lea eax, [ebp - 0x2b94]
mov dword [ebp - 0x2b94], 0
push 1
push 4
push eax
call fcn.00455c28
add esp, 0x10
test eax, eax
je 0x41bc51
push dword [edi + 4]
lea eax, [ebp - 0x2ba4]
mov dword [ebp - 0x2ba4], 0
push 1
push 2
push eax
call fcn.00455c28
add esp, 0x10
test eax, eax
je 0x41bc14
cmp dword [ebp - 0x2b40], 0x10
lea ecx, [ebp - 0x218]
push 0x104
lea eax, [ebp - 0x2b54]
cmovae eax, dword [ebp - 0x2b54]
push ecx
push eax
call fcn.00416680
lea eax, [ebp - 0x218]
push 0x47dfe4
push eax
call fcn.0044fa5e
add esp, 0x14
mov dword [edi], eax
test eax, eax
jne 0x41b70e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470f20
push eax
push esi
push str.Error_code:__d__error:__s
push 0x2c3
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
cmp dword [ebp - 0x2b40], 0x10
lea eax, [ebp - 0x2b54]
cmovae eax, dword [ebp - 0x2b54]
push eax
push str.cant_create_file__s__skip_to_the_next_one.
push 0x2c5
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
mov eax, dword [edi + 8]
add esp, 0x40
test eax, eax
jne 0x41b6e1
lea eax, [ebp - 0x628]
push 0x47dd78
push eax
call fcn.0044fa5e
add esp, 8
mov dword [edi + 8], eax
test eax, eax
je 0x41b6f6
push str.The_following_files_failed_to_copy_to_the_destination:_n_n
push eax
call fcn.0041bde0
mov eax, dword [edi + 8]
add esp, 8
test eax, eax
je 0x41b6f6
lea ecx, [ebp - 0x218]
push ecx
push 0x4806e4
push eax
call fcn.0041bde0
add esp, 0xc
push 1
push dword [ebp - 0x2b94]
push dword [edi + 4]
call fcn.00455f8c
add esp, 0xc
jmp 0x41b93d
push 0x38
lea eax, [ebp - 0x2bdc]
mov dword [ebp - 0x2bbc], 0
push str.1.2.1
push eax
mov dword [ebp - 0x2bb8], 0
mov dword [ebp - 0x2bb4], 0
call fcn.0046e570
lea eax, [ebp - 0x2b3c]
mov dword [ebp - 0x2bcc], 0x1000
mov dword [ebp - 0x2bdc], eax
add esp, 0xc
lea eax, [ebp - 0x1b3c]
mov dword [ebp - 0x2bd0], eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x2bd8], eax
mov dword [ebp - 0x2b88], esi
test eax, eax
jne 0x41b7cd
lea eax, [ebp - 0x2b3c]
mov dword [ebp - 0x2bdc], eax
mov eax, dword [ebp - 0x2b94]
cmp esi, eax
jae 0x41b865
push dword [edi + 4]
sub eax, esi
cmp eax, 0x1000
jbe 0x41b7a5
push 0x1000
jmp 0x41b7a6
push eax
lea eax, [ebp - 0x2b3c]
push 1
push eax
call fcn.00455c28
add esi, eax
mov dword [ebp - 0x2bd8], eax
add esp, 0x10
mov dword [ebp - 0x2b88], esi
test eax, eax
je 0x41b865
lea eax, [ebp - 0x2bdc]
push 0
push eax
call fcn.0046d010
mov edi, 0x1000
mov dword [ebp - 0x2b98], eax
add esp, 8
sub edi, dword [ebp - 0x2bcc]
je 0x41b850
xor esi, esi
test edi, edi
jle 0x41b834
nop word [eax + eax]
mov eax, dword [ebp - 0x2b8c]
push dword [eax]
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp - 0x1b3c]
add eax, esi
push 1
push eax
call fcn.0045014b
add esp, 0x10
test eax, eax
je 0x41baf2
add esi, eax
cmp esi, edi
jl 0x41b800
mov eax, dword [ebp - 0x2b98]
mov esi, dword [ebp - 0x2b88]
lea ecx, [ebp - 0x1b3c]
mov dword [ebp - 0x2bd0], ecx
mov dword [ebp - 0x2bcc], 0x1000
test eax, eax
jne 0x41b865
mov eax, dword [ebp - 0x2bd8]
mov edi, dword [ebp - 0x2b8c]
jmp 0x41b774
lea eax, [ebp - 0x2bdc]
push 4
push eax
call fcn.0046d010
mov edi, 0x1000
mov dword [ebp - 0x2b88], eax
add esp, 8
sub edi, dword [ebp - 0x2bcc]
je 0x41b908
nop dword [eax]
xor esi, esi
test edi, edi
jle 0x41b8ca
mov eax, dword [ebp - 0x2b8c]
push dword [eax]
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp - 0x1b3c]
add eax, esi
push 1
push eax
call fcn.0045014b
add esp, 0x10
test eax, eax
je 0x41bb6e
add esi, eax
cmp esi, edi
jl 0x41b896
mov eax, dword [ebp - 0x2b88]
mov dword [ebp - 0x2bcc], 0x1000
lea ecx, [ebp - 0x1b3c]
mov dword [ebp - 0x2bd0], ecx
test eax, eax
jne 0x41b908
lea eax, [ebp - 0x2bdc]
push 4
push eax
call fcn.0046d010
mov edi, 0x1000
mov dword [ebp - 0x2b88], eax
add esp, 8
sub edi, dword [ebp - 0x2bcc]
jne 0x41b890
lea eax, [ebp - 0x2bdc]
push eax
call fcn.0046e440
mov edi, dword [ebp - 0x2b8c]
push dword [edi]
call fcn.0044f88c
mov eax, dword [ebp - 0x2b88]
add esp, 8
mov dword [edi], 0
test eax, eax
je 0x41b93d
cmp eax, 1
jne 0x41bbab
mov edx, dword [ebp - 0x2b58]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x41b97b
mov ecx, dword [ebp - 0x2b6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b971
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bdcb
push edx
push ecx
call fcn.00443caf
add esp, 8
mov edx, dword [ebp - 0x2b40]
mov dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x2b6c], 0
mov dword [ebp - 0x2b58], 0xf
mov dword [ebp - 0x2b5c], 0
cmp edx, 0x10
jb 0x41b9d7
mov ecx, dword [ebp - 0x2b54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b9cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bdcb
push edx
push ecx
call fcn.00443caf
add esp, 8
push dword [edi + 4]
lea eax, [ebp - 0x2b90]
mov dword [ebp - 0x2b90], 0
push 1
push 4
push eax
call fcn.00455c28
add esp, 0x10
test eax, eax
jne 0x41b380
push dword [edi + 4]
call fcn.0044f88c
add esp, 4
mov dword [edi + 4], 0
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 8]
test eax, eax
je 0x41ba4f
push eax
call fcn.0044f88c
add esp, 4
mov dword [edi + 8], 0
lea eax, [ebp - 0x628]
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 [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444138
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470f20
push eax
push esi
push str.Error_code:__d__error:__s
push 0x292
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
push dword [ebp - 0x2b98]
cmp dword [ebp - 0x2b40], 0x10
lea eax, [ebp - 0x2b54]
cmovae eax, dword [ebp - 0x2b54]
push eax
push str.SHCreateDirectoryEx_error:__s__error_code___d
push 0x294
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
add esp, 0x44
push dword [edi + 4]
call fcn.0044f88c
mov dword [edi + 4], 0
jmp 0x41bcc7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470f20
push eax
push esi
push str.Error_code:__d__error:__s
push 0x30e
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
push str.fwrite_error
push 0x310
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
mov esi, dword [ebp - 0x2b8c]
push dword [esi + 4]
call fcn.0044f88c
add esp, 0x40
mov dword [esi + 4], 0
push dword [esi]
call fcn.0044f88c
mov dword [esi], 0
jmp 0x41bcc7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470f20
push eax
push esi
push str.Error_code:__d__error:__s
push 0x330
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
push str.fwrite_error
push 0x332
jmp 0x41bb2d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470f20
push eax
push esi
push str.Error_code:__d__error:__s
push 0x34e
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
push str.iErr___Z_OK__iErr___Z_STREAM_END
push 0x350
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
push dword [edi + 4]
call fcn.0044f88c
add esp, 0x40
mov dword [edi + 4], 0
jmp 0x41bcca
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470f20
push eax
push esi
push str.Error_code:__d__error:__s
push 0x2b1
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
push str.fread_iFileMask_error
push 0x2b3
jmp 0x41bc8c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470f20
push eax
push esi
push str.Error_code:__d__error:__s
push 0x2a0
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
push str.fread_lFileLength_error
push 0x2a2
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
push dword [edi + 4]
call fcn.0044f88c
mov eax, dword [edi]
add esp, 0x40
mov dword [edi + 4], 0
test eax, eax
je 0x41bcca
push eax
call fcn.0044f88c
mov dword [edi], 0
add esp, 4
mov edx, dword [ebp - 0x2b58]
cmp edx, 0x10
jb 0x41bd04
mov ecx, dword [ebp - 0x2b6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bcfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bdcb
push edx
push ecx
call fcn.00443caf
add esp, 8
mov edx, dword [ebp - 0x2b40]
mov dword [ebp - 0x2b5c], 0
mov dword [ebp - 0x2b58], 0xf
mov byte [ebp - 0x2b6c], 0
cmp edx, 0x10
jb 0x41bd59
mov ecx, dword [ebp - 0x2b54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bd4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bdd0
push edx
push ecx
call fcn.00443caf
add esp, 8
xor al, al
jmp 0x41ba51
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470f20
push eax
push esi
push str.Error_code:__d__error:__s
push 0x26b
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CCZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
push str.fread_error
push 0x26d
push str.c:_rhub2codeutilityzlibpp.cpp
push 0
push str.CZLib::UnZip
push dword [0x4a9068]
call fcn.0040eee0
push dword [edi + 4]
call fcn.0044f88c
add esp, 0x40
mov dword [edi + 4], 0
xor al, al
jmp 0x41ba51
call fcn.0044a823
call fcn.0044a823
int3