Function at 0x40403a
Capabilities:
Copy file
Get common file path
Get hostname

Disassembly:
push 0x604
mov eax, 0x48957c
call fcn.00458e5d
mov edi, ecx
push str.UploadResult
push 0x26f
mov dword [ebp - 0x564], edi
call fcn.0041ef10
push eax
mov ebx, 0x800010
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0xc
push str.Packing_files..._n_n
call fcn.00450ee8
xor eax, eax
mov word [ebp - 0x238], ax
mov dword [esp], 0x206
xor esi, esi
lea eax, [ebp - 0x236]
push esi
push eax
call fcn.004504c0
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 7
pop ebx
xor eax, eax
mov dword [ebp - 0x4ec], ebx
mov dword [ebp - 0x4f0], esi
mov word [ebp - 0x500], ax
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 4], esi
call fcn.00450a1d
pop ecx
lea ecx, [ebp - 0x238]
lea esi, [ebp - 0x504]
call fcn.00401b92
xor esi, esi
xor eax, eax
mov dword [ebp - 0x4b4], ebx
mov dword [ebp - 0x4b8], esi
mov word [ebp - 0x4c8], ax
mov dword [ebp - 0x4d0], ebx
mov dword [ebp - 0x4d4], esi
mov word [ebp - 0x4e4], ax
lea eax, [ebp - 0x5d8]
push eax
push edi
mov byte [ebp - 4], 2
call fcn.00405b01
push str..zip
push eax
lea eax, [ebp - 0x558]
push eax
mov byte [ebp - 4], 3
call fcn.00401e38
add esp, 0xc
push esi
push 1
lea esi, [ebp - 0x5d8]
mov byte [ebp - 4], 5
call fcn.004019bb
push 0x49b660
lea eax, [ebp - 0x478]
push 0x4b3238
push eax
call fcn.00401e38
add esp, 0xc
lea ecx, [ebp - 0x558]
push ecx
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x520]
push eax
call fcn.0040b38b
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x4cc]
mov byte [ebp - 4], bl
push ecx
xor ebx, ebx
call fcn.0040191e
push ebx
push 1
lea esi, [ebp - 0x520]
call fcn.004019bb
push ebx
push 1
lea esi, [ebp - 0x478]
mov byte [ebp - 4], 5
call fcn.004019bb
mov eax, dword [edi + 0x1b0]
cmp eax, ebx
jne 0x4041cd
cmp dword [edi + 0x140], ebx
je 0x4043ad
xor ecx, ecx
mov dword [ebp - 0x47c], 7
mov dword [ebp - 0x480], ebx
mov word [ebp - 0x490], cx
push 0xffffffffffffffff
lea ecx, [ebp - 0x494]
cmp eax, ebx
mov byte [ebp - 4], 8
push ecx
lea eax, [edi + 0x19c]
jne 0x404203
lea eax, [edi + 0x12c]
xor ebx, ebx
call fcn.0040191e
push str.zipcloak.exe
lea eax, [ebp - 0x520]
push 0x4b3254
push eax
call fcn.00401e38
add esp, 0xc
lea eax, [ebp - 0x520]
push eax
mov esi, 0x49bb1c
lea eax, [ebp - 0x584]
push esi
push eax
mov byte [ebp - 4], 9
call fcn.0040b3d6
add esp, 0xc
push 0x49bb28
push eax
lea eax, [ebp - 0x610]
push eax
mov byte [ebp - 4], 0xa
call fcn.00401e38
add esp, 0xc
lea ecx, [ebp - 0x494]
push ecx
push eax
lea eax, [ebp - 0x5a0]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040b38b
add esp, 0xc
push 0x49bb20
push eax
lea eax, [ebp - 0x5bc]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401e38
add esp, 0xc
lea ecx, [ebp - 0x4cc]
push ecx
push eax
lea eax, [ebp - 0x5f4]
push eax
mov byte [ebp - 4], 0xd
call fcn.0040b38b
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x478]
push eax
mov byte [ebp - 4], 0xe
call fcn.00401e38
add esp, 0xc
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x5f4]
call fcn.004019bb
push ebx
push edi
lea esi, [ebp - 0x5bc]
call fcn.004019bb
push ebx
push edi
lea esi, [ebp - 0x5a0]
call fcn.004019bb
push ebx
push edi
lea esi, [ebp - 0x610]
call fcn.004019bb
push ebx
push edi
lea esi, [ebp - 0x584]
mov byte [ebp - 4], 0x14
call fcn.004019bb
cmp dword [ebp - 0x4ec], 8
mov edi, dword [ebp - 0x500]
jae 0x40431d
lea edi, [ebp - 0x500]
cmp dword [ebp - 0x460], 8
mov ecx, dword [ebp - 0x474]
jae 0x404332
lea ecx, [ebp - 0x474]
call fcn.0042caa0
cmp eax, ebx
je 0x40437d
cmp dword [ebp - 0x460], 8
mov ecx, dword [ebp - 0x474]
jae 0x404350
lea ecx, [ebp - 0x474]
push ecx
push eax
push str.UploadResult
push str._s_Failed_to_add_password_on_archive__d_:__S
push 0x293
push ecx
call fcn.0041ef10
pop ecx
push eax
mov ebx, 0x800002
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0x18
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x478]
call fcn.004019bb
push ebx
push 1
lea esi, [ebp - 0x520]
call fcn.004019bb
push ebx
push 1
lea esi, [ebp - 0x494]
mov byte [ebp - 4], 5
call fcn.004019bb
xor ebx, ebx
xor eax, eax
push 7
mov word [ebp - 0x30], ax
pop ecx
lea edi, [ebp - 0x2e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x560]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x560], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea ecx, [ebp - 0x53c]
call fcn.00403939
push ebx
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 0x15
call fcn.00403ba1
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x53c]
lea esi, [ebp - 0x4e8]
mov byte [ebp - 4], 0x16
call fcn.00401aee
lea eax, [ebp - 0x30]
push eax
mov eax, esi
push eax
call fcn.00401817
mov edi, 0x49bb68
push edi
mov eax, esi
push eax
call fcn.00401817
cmp dword [ebp - 0x49c], ebx
je 0x404444
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x4b0]
call fcn.00401aee
push edi
mov eax, esi
push eax
call fcn.00401817
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x558]
lea esi, [ebp - 0x4e8]
call fcn.00401aee
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x4b0]
call fcn.004019bb
push ebx
push edi
lea esi, [ebp - 0x53c]
call fcn.004019bb
push ebx
push edi
lea esi, [ebp - 0x558]
mov byte [ebp - 4], 2
call fcn.004019bb
push 0x49b010
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x560], ebx
call fcn.004017d2
mov esi, dword [ebp - 0x564]
mov byte [ebp - 4], 0x17
cmp dword [esi + 0x94], ebx
jne 0x4044e7
cmp dword [esi + 0x204], ebx
jne 0x4044e7
mov edi, str.UploadResult
push edi
push str._s_Report_through_network_drive_disabled
push 0x2d0
push ecx
call fcn.0041ef10
pop ecx
push eax
mov ebx, 0x800008
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0x10
xor ebx, ebx
jmp 0x4046c5
push 0xffffffffffffffff
lea ecx, [ebp - 0x45c]
lea eax, [esi + 0x80]
push ecx
xor ebx, ebx
mov dword [ebp - 0x568], eax
call fcn.0040191e
cmp dword [esi + 0x204], ebx
je 0x40451f
push 0xffffffffffffffff
lea ecx, [ebp - 0x45c]
lea eax, [esi + 0x1f0]
push ecx
call fcn.0040191e
lea ecx, [ebp - 0x45c]
call fcn.0042bc00
cmp dword [ebp - 0x444], 8
mov eax, dword [ebp - 0x458]
jae 0x40453f
lea eax, [ebp - 0x458]
call fcn.00426200
test eax, eax
jne 0x404557
lea eax, [ebp - 0x45c]
push edi
push eax
call fcn.00425d30
pop ecx
pop ecx
mov ebx, dword [ebp - 0x448]
push edi
lea eax, [ebp - 0x45c]
dec ebx
push eax
lea esi, [ebp - 0x584]
call fcn.00407f24
mov edi, 0x49b660
push edi
mov esi, eax
mov byte [ebp - 4], 0x18
call fcn.00407f4e
test eax, eax
setne byte [ebp - 0x559]
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x584]
mov byte [ebp - 4], 0x17
call fcn.004019bb
cmp byte [ebp - 0x559], bl
je 0x4045b4
push edi
lea eax, [ebp - 0x45c]
push eax
call fcn.00401817
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x4e8]
lea esi, [ebp - 0x45c]
call fcn.00401aee
mov ecx, dword [ebp - 0x458]
push 8
pop edi
cmp dword [ebp - 0x444], edi
jae 0x4045df
lea ecx, [ebp - 0x458]
mov eax, dword [ebp - 0x4c8]
cmp dword [ebp - 0x4b4], edi
jae 0x4045f3
lea eax, [ebp - 0x4c8]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4046ba
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
movzx edx, ax
or edx, 0x80030000
lea eax, [ebp - 0x560]
call fcn.00402552
call esi
cmp eax, 3
jne 0x404664
mov eax, dword [ebp - 0x568]
cmp dword [eax + 0x18], edi
jb 0x404637
mov eax, dword [eax + 4]
jmp 0x40463a
add eax, 4
push eax
push str.UploadResult
push str._s_Cannot_find_path__S
push 0x2c5
call fcn.0041ef10
push eax
mov ebx, 0x800002
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0x14
jmp 0x4046b8
mov ecx, dword [ebp - 0x458]
cmp dword [ebp - 0x444], edi
jae 0x404678
lea ecx, [ebp - 0x458]
mov eax, dword [ebp - 0x4c8]
cmp dword [ebp - 0x4b4], edi
jae 0x40468c
lea eax, [ebp - 0x4c8]
push ecx
push eax
call esi
push eax
push str.UploadResult
push str._s_Error__lu_copy__S_to__S
push 0x2ca
call fcn.0041ef10
push eax
mov ebx, 0x800002
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0x1c
xor ebx, ebx
mov esi, dword [ebp - 0x564]
mov edi, str.UploadResult
cmp dword [esi + 0x104], ebx
jne 0x4046fe
cmp dword [esi + 0x220], ebx
jne 0x4046fe
push edi
push str._s_Report_through_FTP_disabled
push 0x2da
push ecx
call fcn.0041ef10
pop ecx
push eax
mov ebx, 0x800008
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0x10
xor ebx, ebx
jmp 0x404720
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x4cc]
push eax
mov ecx, esi
call fcn.004052cd
mov edx, eax
lea eax, [ebp - 0x560]
call fcn.00402552
cmp dword [esi + 0x1cc], ebx
je 0x404730
cmp dword [esi + 0x1e8], ebx
jne 0x404740
cmp dword [esi + 0x15c], ebx
je 0x404757
cmp dword [esi + 0x178], ebx
je 0x404757
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x4cc]
push eax
mov ecx, esi
call fcn.0040585b
jmp 0x40477e
push edi
push str._s_Report_through_HTTP_disabled
push 0x2e5
push ecx
call fcn.0041ef10
pop ecx
push eax
mov ebx, 0x800008
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0x10
xor ebx, ebx
cmp dword [esi + 4], ebx
jne 0x404b13
push 7
pop esi
xor eax, eax
mov dword [ebp - 0x498], esi
mov dword [ebp - 0x49c], ebx
mov word [ebp - 0x4ac], ax
mov dword [ebp - 0x47c], esi
mov dword [ebp - 0x480], ebx
mov word [ebp - 0x490], ax
push 0x206
mov word [ebp - 0x440], ax
lea eax, [ebp - 0x43e]
push ebx
push eax
call fcn.004504c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x440]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x464], ebx
mov word [ebp - 0x474], ax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x53c]
mov byte [ebp - 4], 0x1b
call fcn.004017d2
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x53c]
push eax
mov byte [ebp - 4], 0x1c
call fcn.0042be10
add esp, 0xc
push ebx
push 1
lea esi, [ebp - 0x53c]
mov byte [ebp - 4], 0x1b
call fcn.004019bb
cmp dword [ebp - 0x444], 8
mov ebx, dword [ebp - 0x458]
jae 0x404854
lea ebx, [ebp - 0x458]
lea ecx, [ebp - 0x520]
call fcn.0042aae0
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x520]
push eax
mov byte [ebp - 4], 0x1d
call fcn.0042be10
add esp, 0xc
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x584]
push eax
call fcn.004266b0
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x494]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 0x1e
call fcn.0040191e
push ebx
push 1
lea esi, [ebp - 0x584]
mov byte [ebp - 4], 0x1d
call fcn.004019bb
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x584]
push eax
call fcn.004266b0
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x4b0]
push ecx
mov byte [ebp - 4], 0x1f
call fcn.0040191e
push ebx
push 1
lea esi, [ebp - 0x584]
mov byte [ebp - 4], 0x1d
call fcn.004019bb
cmp dword [ebp - 0x47c], 8
mov eax, dword [ebp - 0x490]
jae 0x404909
lea eax, [ebp - 0x490]
push eax
push edi
push str._s_wsRemoteFilePathFullFolder__S
push 0x2f7
call fcn.0041ef10
mov esi, str..SupportWrapper.cpp
push eax
mov ebx, 0x800008
mov ecx, esi
call fcn.0041f0d0
mov eax, dword [ebp - 0x4ac]
add esp, 0x14
cmp dword [ebp - 0x498], 8
jae 0x404944
lea eax, [ebp - 0x4ac]
push eax
push edi
push str._s_wsModuleFolder__S
push 0x2f8
call fcn.0041ef10
push eax
mov ecx, esi
call fcn.0041f0d0
add esp, 0x14
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x520]
call fcn.004019bb
push ebx
push 1
lea esi, [ebp - 0x478]
mov byte [ebp - 4], 0x1a
call fcn.004019bb
lea ecx, [ebp - 0x4b0]
lea eax, [ebp - 0x494]
call fcn.0040b421
test al, al
je 0x4049d5
cmp dword [ebp - 0x498], 8
mov eax, dword [ebp - 0x4ac]
jae 0x4049ac
lea eax, [ebp - 0x4ac]
push eax
push edi
push str._s_wsRemoteFilePathFullFolder__wsModuleFolder___S
push 0x2fe
call fcn.0041ef10
push eax
mov ebx, 0x800008
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0x14
jmp 0x404af1
cmp dword [ebp - 0x448], ebx
jbe 0x404af1
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x584]
push str.__SYSTEMROOT_EXPLORER.EXE___N__select__
push eax
call fcn.0040b3d6
add esp, 0xc
push 0x49bb1c
push eax
lea eax, [ebp - 0x478]
push eax
mov byte [ebp - 4], 0x20
call fcn.00401e38
add esp, 0xc
push ebx
push 1
lea esi, [ebp - 0x584]
mov byte [ebp - 4], 0x22
call fcn.004019bb
lea ecx, [ebp - 0x478]
call fcn.0042bc00
cmp dword [ebp - 0x460], 8
mov eax, dword [ebp - 0x474]
jae 0x404a47
lea eax, [ebp - 0x474]
push eax
push edi
push str._s_show__S
push 0x306
call fcn.0041ef10
mov esi, str..SupportWrapper.cpp
push eax
mov ebx, 0x800008
mov ecx, esi
call fcn.0041f0d0
add esp, 0x14
push 0
lea eax, [ebp - 0x478]
push 0
push eax
xor ecx, ecx
call fcn.0042c470
add esp, 0xc
test eax, eax
je 0x404a8f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404ae2
cmp dword [ebp - 0x460], 8
mov ecx, dword [ebp - 0x474]
jae 0x404aa4
lea ecx, [ebp - 0x474]
cmp dword [ebp - 0x444], 8
mov eax, dword [ebp - 0x458]
jae 0x404ab9
lea eax, [ebp - 0x458]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str._s_Error__lu_show__S_with_command___S_
push 0x311
call fcn.0041ef10
push eax
mov ebx, 0x800002
mov ecx, esi
call fcn.0041f0d0
add esp, 0x1c
push 0
push 1
lea esi, [ebp - 0x478]
call fcn.004019bb
push 0
push 1
lea esi, [ebp - 0x494]
call fcn.004019bb
push 0
push 1
lea esi, [ebp - 0x4b0]
mov byte [ebp - 4], 0x17
call fcn.004019bb
push edi
push 0x317
call fcn.0041ef10
push eax
mov ebx, 0x800020
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0xc
xor edi, edi
xor ebx, ebx
push edi
inc ebx
push ebx
lea esi, [ebp - 0x45c]
call fcn.004019bb
push edi
push ebx
lea esi, [ebp - 0x4e8]
call fcn.004019bb
push edi
push ebx
lea esi, [ebp - 0x4cc]
call fcn.004019bb
push edi
push ebx
lea esi, [ebp - 0x504]
call fcn.004019bb
mov eax, dword [ebp - 0x560]
call fcn.00458ee0
ret