Function at 0x4068d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x47700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], edi
mov ebx, ecx
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x406c45
test edi, edi
je 0x406c64
mov eax, ebx
mov esi, eax
test eax, eax
je 0x40692b
push 0x2e
push eax
call dword [sym.imp.VCRUNTIME140.dll_strchr]
inc eax
add esp, 8
cmp eax, ebx
jae 0x406914
cmp esi, ebx
jne 0x406940
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406934
sub ecx, edx
lea esi, [ecx + ebx]
cmp byte [esi], 0
je 0x40694a
cmp esi, ebx
jbe 0x40694a
dec esi
test esi, esi
jne 0x406966
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x3c], cl
mov dword [ebp - 0x38], eax
jmp 0x406993
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406970
push 0
sub esp, 8
sub ecx, edx
push 1
lea eax, [ecx + 1]
push eax
push esi
lea ecx, [ebp - 0x4c]
call fcn.00408110
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], 0
mov byte [edi], 0
cmp ecx, 0x10
ja 0x406a51
test eax, eax
je 0x406a18
mov edi, eax
xor esi, esi
sub edi, 0x458688
nop dword [eax]
nop dword [eax + eax]
mov bl, byte [edi + esi + 0x458688]
mov dh, byte [esi + 0x458688]
mov dl, bl
sub dl, 0x41
cmp dl, 0x19
mov dl, dh
lea eax, [ebx + 0x20]
movzx ecx, al
movzx eax, bl
cmova ecx, eax
mov al, dh
add al, 0x20
movsx ebx, cl
sub dl, 0x41
movzx ecx, al
cmp dl, 0x19
movzx eax, dh
cmova ecx, eax
movsx eax, cl
sub ebx, eax
jne 0x406a06
inc esi
cmp esi, 3
jl 0x4069c0
mov edi, dword [ebp - 0x14]
xor eax, eax
cmp esi, 3
cmovne eax, ebx
test eax, eax
je 0x406a51
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov al, byte [eax]
test al, al
je 0x406a57
cmp al, 0x3c
je 0x406a44
cmp al, 0x3e
je 0x406a44
cmp al, 0x3a
je 0x406a44
cmp al, 0x22
je 0x406a44
cmp al, 0x2f
je 0x406a44
cmp al, 0x5c
je 0x406a44
cmp al, 0x7c
je 0x406a44
cmp al, 0x3f
je 0x406a44
cmp al, 0x2a
jne 0x406a47
mov byte [ecx], 0x5f
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x406a20
jmp 0x406a57
mov eax, dword [ebp - 0x38]
mov byte [eax], 0
mov ebx, dword [ebp - 0x38]
nop word [eax + eax]
push ebx
call fcn.00401d80
push eax
push 0x5c
call fcn.00404240
push eax
push str._s_c_s_s
push pe_nt_image_headers32
push edi
call fcn.004012c0
add esp, 0x1c
mov edx, 0x4579d0
mov ecx, edi
call fcn.00404110
mov esi, eax
test esi, esi
je 0x406ad0
push 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
cmp esi, eax
je 0x406a60
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
cmp esi, eax
je 0x406a60
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test eax, eax
je 0x406a60
push eax
push str.cimg::fclose__:_Error_code__d_returned_during_file_closing.
call fcn.00401b40
add esp, 8
jmp 0x406a60
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406ad8
sub ecx, edx
push 1
push 1
push 1
lea eax, [ecx + 0x40]
push eax
lea ecx, [ebp - 0x64]
call fcn.00408260
push ebx
push edi
mov byte [ebp - 4], 1
call fcn.00406330
mov esi, dword [ebp - 0x50]
push eax
push str._s__f___silent___compressed__o___s____s_
push dword [ebp - 0x64]
push esi
call fcn.004012c0
add esp, 0x18
xor edx, edx
mov ecx, esi
call fcn.00401be0
mov edx, 0x4579d0
mov ecx, edi
call fcn.00404110
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x406be7
push ebx
push edi
call fcn.004061e0
push eax
push str._s__q__r__l_0___no_cache__O___s____s_
push dword [ebp - 0x64]
push esi
call fcn.004012c0
add esp, 0x18
xor edx, edx
mov ecx, esi
call fcn.00401be0
mov edx, 0x4579d0
mov ecx, edi
call fcn.00404110
test eax, eax
je 0x406c83
mov ecx, eax
call fcn.004020a0
push edi
push str._s.gz
push dword [ebp - 0x64]
push esi
call fcn.004012c0
push esi
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
add esp, 0x18
push edi
call fcn.00405f40
push eax
push str._s___quiet___s.gz_
push dword [ebp - 0x64]
push esi
call fcn.004012c0
add esp, 0x14
xor edx, edx
mov ecx, esi
call fcn.00401be0
mov edx, 0x4579d0
mov ecx, edi
call fcn.00404110
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x406be7
push edi
push str._s.gz
push dword [ebp - 0x64]
push esi
call fcn.004012c0
push edi
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
add esp, 0x18
mov edx, 0x4579d0
mov ecx, edi
call fcn.00404110
mov dword [ebp - 0x10], eax
push 2
push 0
push 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 0x14
test eax, eax
jle 0x406ca3
mov ecx, dword [ebp - 0x10]
call fcn.004020a0
cmp byte [ebp - 0x54], 0
jne 0x406c1f
push esi
call fcn.0043575c
add esp, 4
cmp byte [ebp - 0x3c], 0
jne 0x406c31
mov eax, dword [ebp - 0x38]
push eax
call fcn.0043575c
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push str.cimg::load_network__:_Specified_URL_is__null_.
push eax
call fcn.00401450
add esp, 8
lea eax, [ebp - 0x24]
push 0x475714
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
lea eax, [ebp - 0x24]
push str.cimg::load_network__:_Specified_destination_string_is__null_.
push eax
call fcn.00401450
add esp, 8
lea eax, [ebp - 0x24]
push 0x475714
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push ebx
lea eax, [ebp - 0x24]
push str.cimg::load_network__:_Failed_to_load_file__s_with_external_commands_wget_or_curl.
push eax
call fcn.00401780
add esp, 0xc
lea eax, [ebp - 0x24]
push 0x47569c
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push ebx
lea eax, [ebp - 0x34]
push str.cimg::load_network__:_Failed_to_load_URL__s_with_external_commands_wget_or_curl.
push eax
call fcn.00401780
add esp, 0xc
lea eax, [ebp - 0x34]
push 0x47569c
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3