Function at 0x1004fa99
Capabilities:
Move file

Disassembly:
push 0xa0
mov eax, 0x101cea5c
call fcn.101ce156
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x60], ebx
test ebx, ebx
je 0x1004ff8e
test edi, edi
jne 0x1004fac5
push str.cimg::load_network__:_Specified_destination_string_is__null_.
jmp 0x1004ff93
cmp byte [0x102a28e4], 0
jne 0x1004fae8
lea eax, [ebp - 0x70]
push str.cimg::load_network__:_Loading_files_from_network_is_disabled.
push eax
call fcn.1004b876
pop ecx
pop ecx
push 0x1029eb68
jmp 0x1004ffa3
xor edx, edx
call fcn.1004c15a
cmp byte [eax], 0
je 0x1004faf9
cmp eax, ebx
jbe 0x1004faf9
dec eax
xor esi, esi
lea ecx, [ebp - 0x78]
push 0
inc esi
mov edx, eax
push esi
call fcn.1005151a
pop ecx
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x78], 0x10
mov esi, dword [ebp - 0x64]
mov byte [edi], 0
ja 0x1004fb64
push 3
mov edx, 0x10296188
mov ecx, esi
call fcn.1004be10
pop ecx
test eax, eax
je 0x1004fb64
mov al, byte [esi]
mov ecx, esi
jmp 0x1004fb5e
cmp al, 0x3c
je 0x1004fb58
cmp al, 0x3e
je 0x1004fb58
cmp al, 0x3a
je 0x1004fb58
cmp al, 0x22
je 0x1004fb58
cmp al, 0x2f
je 0x1004fb58
cmp al, 0x5c
je 0x1004fb58
cmp al, 0x7c
je 0x1004fb58
cmp al, 0x3f
je 0x1004fb58
cmp al, 0x2a
jne 0x1004fb5b
mov byte [ecx], 0x5f
inc ecx
mov al, byte [ecx]
test al, al
jne 0x1004fb34
jmp 0x1004fb67
mov byte [esi], 0
mov ebx, dword [ebp - 0x64]
call fcn.1004bec6
mov esi, eax
call fcn.1004f125
push ebx
push esi
push 0x5c
push eax
push str._s_c_s_s
push 0x100
push edi
call fcn.1004b535
add esp, 0x1c
mov edx, 0x10295324
mov ecx, edi
call fcn.1004d9a4
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x1004fbaa
mov ecx, eax
call fcn.1004c09a
jmp 0x1004fb6a
mov ebx, dword [ebp - 0x60]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004fbb2
xor esi, esi
sub ecx, edx
inc esi
push esi
push esi
lea eax, [ecx + 0x400]
push esi
push eax
lea ecx, [ebp - 0xac]
call fcn.1005185e
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], al
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], al
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], al
mov dword [ebp - 0x14], eax
push esi
push esi
push esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
push esi
mov byte [ebp - 0x59], al
call fcn.100515e1
lea ecx, [ebp - 0x59]
push ecx
mov ecx, eax
call fcn.10051de2
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.100515e1
lea ecx, [ebp - 0x59]
push ecx
mov ecx, eax
call fcn.10051de2
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x59], 0
call fcn.100515e1
lea ecx, [ebp - 0x59]
push ecx
mov ecx, eax
call fcn.10051de2
push 0
push esi
mov edx, ebx
lea ecx, [ebp - 0x94]
call fcn.1005151a
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.10051237
mov esi, dword [eax + 0x14]
call fcn.1004dc0b
push esi
mov ebx, dword [ebp - 0x98]
push edi
push dword [ebp - 0x2c]
push dword [ebp - 0x44]
push dword [ebp - 0x14]
push eax
push str.__s___L___max_redirs_20__s_s_s_f___silent___compressed__o___s____s_
push dword [ebp - 0xac]
push ebx
call fcn.1004b535
add esp, 0x24
mov byte [ebp - 4], 4
cmp byte [ebp - 0x84], 0
jne 0x1004fcc0
push dword [ebp - 0x80]
call fcn.101a967c
pop ecx
call fcn.1004dc0b
push ecx
mov edx, eax
mov ecx, ebx
call fcn.1004bb2f
pop ecx
mov ecx, edi
call fcn.1004c131
test edx, edx
jg 0x1004fda9
jl 0x1004fce9
test eax, eax
jne 0x1004fda9
xor esi, esi
mov byte [ebp - 0x59], 0
inc esi
lea ecx, [ebp - 0x28]
push esi
push esi
push esi
push esi
call fcn.100515e1
lea ecx, [ebp - 0x59]
push ecx
mov ecx, eax
call fcn.10051de2
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.100515e1
lea ecx, [ebp - 0x59]
push ecx
mov ecx, eax
call fcn.10051de2
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x59], 0
call fcn.100515e1
lea ecx, [ebp - 0x59]
push ecx
mov ecx, eax
call fcn.10051de2
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x94]
push 0
push esi
call fcn.1005151a
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.10051237
mov esi, dword [eax + 0x14]
call fcn.1004f67e
push esi
push edi
push dword [ebp - 0x2c]
push dword [ebp - 0x44]
push dword [ebp - 0x14]
push eax
push str.__s___NonInteractive__Command_Invoke_WebRequest__s_s_s_OutFile___s___Uri___s_
push dword [ebp - 0xac]
push ebx
call fcn.1004b535
add esp, 0x24
mov byte [ebp - 4], 4
cmp byte [ebp - 0x84], 0
jne 0x1004fd99
push dword [ebp - 0x80]
call fcn.101a967c
pop ecx
call fcn.1004f67e
push ecx
mov edx, eax
mov ecx, ebx
call fcn.1004bb2f
pop ecx
mov ecx, edi
call fcn.1004c131
test edx, edx
jg 0x1004ff3a
jl 0x1004fdc2
test eax, eax
jne 0x1004ff3a
xor esi, esi
mov byte [ebp - 0x59], 0
inc esi
lea ecx, [ebp - 0x28]
push esi
push esi
push esi
push esi
call fcn.100515e1
lea ecx, [ebp - 0x59]
push ecx
mov ecx, eax
call fcn.10051de2
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.100515e1
lea ecx, [ebp - 0x59]
push ecx
mov ecx, eax
call fcn.10051de2
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x59], 0
call fcn.100515e1
lea ecx, [ebp - 0x59]
push ecx
mov ecx, eax
call fcn.10051de2
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x94]
push 0
push esi
call fcn.1005151a
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.10051237
mov esi, dword [eax + 0x14]
call fcn.1004f53c
push esi
mov esi, dword [ebp - 0xac]
push edi
push dword [ebp - 0x2c]
push dword [ebp - 0x44]
push dword [ebp - 0x14]
push eax
push str.__s____max_redirect20__s_s_s_q__r__l_0___no_cache__O___s____s_
push esi
push ebx
call fcn.1004b535
add esp, 0x24
mov byte [ebp - 4], 4
cmp byte [ebp - 0x84], 0
jne 0x1004fe73
push dword [ebp - 0x80]
call fcn.101a967c
pop ecx
call fcn.1004f53c
push ecx
mov edx, eax
mov ecx, ebx
call fcn.1004bb2f
pop ecx
mov ecx, edi
call fcn.1004c131
test edx, edx
jg 0x1004febb
jl 0x1004fe94
test eax, eax
jne 0x1004febb
push dword [ebp - 0x60]
lea eax, [ebp - 0x8c]
push str.cimg::load_network__:_Failed_to_load_file__s_with_external_commands_wget__curl__or_powershell.
push eax
call fcn.1004b876
add esp, 0xc
lea eax, [ebp - 0x8c]
push 0x1029eb68
jmp 0x1004ffa6
mov ecx, dword [ebp - 0x7c]
call fcn.1004c09a
push edi
push str._s.gz
push esi
push ebx
call fcn.1004b535
push ebx
push edi
call fcn.101b35a4
call fcn.1004e5fc
push edi
push eax
push str.__s____quiet___s.gz_
push esi
push ebx
call fcn.1004b535
call fcn.1004e5fc
add esp, 0x28
mov edx, eax
mov ecx, ebx
call fcn.1004bb2f
pop ecx
mov edx, 0x10295324
mov ecx, edi
call fcn.1004d9a4
test eax, eax
jne 0x1004ff33
push edi
push str._s.gz
push esi
push ebx
call fcn.1004b535
push edi
push ebx
call fcn.101b35a4
add esp, 0x18
mov edx, 0x10295324
mov ecx, edi
call fcn.1004d9a4
test eax, eax
je 0x1004ff3a
mov ecx, eax
call fcn.1004c09a
cmp byte [ebp - 0x18], 0
jne 0x1004ff49
push dword [ebp - 0x14]
call fcn.101a967c
pop ecx
cmp byte [ebp - 0x30], 0
jne 0x1004ff58
push dword [ebp - 0x2c]
call fcn.101a967c
pop ecx
cmp byte [ebp - 0x48], 0
jne 0x1004ff67
push dword [ebp - 0x44]
call fcn.101a967c
pop ecx
cmp byte [ebp - 0x9c], 0
jne 0x1004ff77
push ebx
call fcn.101a967c
pop ecx
cmp byte [ebp - 0x68], 0
jne 0x1004ff86
push dword [ebp - 0x64]
call fcn.101a967c
pop ecx
mov eax, edi
call fcn.101ce105
ret
push str.cimg::load_network__:_Specified_URL_is__null_.
lea eax, [ebp - 0x70]
push eax
call fcn.1004b6c3
pop ecx
pop ecx
push 0x1029ead4
lea eax, [ebp - 0x70]
push eax
call fcn.101abedd
int3