Function at 0x4472e0
Capabilities:
Copy file
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bc1c
mov eax, dword fs:[0]
push eax
sub esp, 0x968
mov eax, dword [0x5503dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x55002d]
test eax, eax
jne 0x44731d
mov al, 1
jmp 0x447801
mov byte [ebp - 0x8f1], 0
call fcn.0041bd93
movzx ecx, al
test ecx, ecx
je 0x4477da
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.004debe0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0x5794e4
call fcn.00407820
movzx edx, al
test edx, edx
jne 0x447469
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.004debe0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x420]
push edx
push 0x5794e4
lea eax, [ebp - 0x890]
push eax
call fcn.004291a0
add esp, 8
mov dword [ebp - 0x904], eax
mov ecx, dword [ebp - 0x904]
call fcn.00407740
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x890]
call fcn.00407750
xor ecx, ecx
mov word [ebp - 0x628], cx
push 0x206
push 0
lea edx, [ebp - 0x626]
push edx
call fcn.004debe0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x516428
lea ecx, [ebp - 0x628]
push ecx
call fcn.004465c0
add esp, 0xc
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x628]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x447469
lea eax, [ebp - 0x420]
push eax
push 0x516430
lea ecx, [ebp - 0x218]
push ecx
call fcn.004465c0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x860]
call fcn.00407a10
mov dword [ebp - 4], 0
push str.__saferunfalse
lea ecx, [ebp - 0x860]
call fcn.00407850
lea ecx, [ebp - 0x860]
call fcn.00407830
push eax
lea eax, [ebp - 0x860]
push eax
call fcn.004194c4
add esp, 8
lea ecx, [ebp - 0x860]
push ecx
push str._param
lea edx, [ebp - 0x8a8]
push edx
call fcn.00429da0
add esp, 0xc
mov dword [ebp - 0x908], eax
mov eax, dword [ebp - 0x908]
push eax
lea ecx, [ebp - 0x860]
call fcn.00407910
lea ecx, [ebp - 0x8a8]
call fcn.004078d0
lea ecx, [ebp - 0x878]
call fcn.00418b09
mov byte [ebp - 4], 1
mov ecx, 0x579410
call fcn.00407820
movzx ecx, al
test ecx, ecx
jne 0x44757e
xor edx, edx
mov word [ebp - 0x830], dx
push 0x206
push 0
lea eax, [ebp - 0x82e]
push eax
call fcn.004debe0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x830]
push ecx
push 0x579410
lea edx, [ebp - 0x8c0]
push edx
call fcn.004291a0
add esp, 8
mov dword [ebp - 0x90c], eax
mov ecx, dword [ebp - 0x90c]
call fcn.00407740
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x8c0]
call fcn.00407750
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x878]
call fcn.00419900
jmp 0x447590
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x878]
call fcn.00419900
push 0x516450
lea ecx, [ebp - 0x878]
call fcn.00419900
lea edx, [ebp - 0x860]
push edx
lea eax, [ebp - 0x8d8]
push eax
call fcn.004291a0
add esp, 8
mov dword [ebp - 0x910], eax
mov ecx, dword [ebp - 0x910]
mov dword [ebp - 0x914], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x914]
call fcn.00407740
push eax
lea ecx, [ebp - 0x878]
call fcn.00419900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8d8]
call fcn.00407750
push 0x44
push 0
lea edx, [ebp - 0x974]
push edx
call fcn.004debe0
add esp, 0xc
mov dword [ebp - 0x974], 0x44
xor eax, eax
mov dword [ebp - 0x928], eax
mov dword [ebp - 0x924], eax
mov dword [ebp - 0x920], eax
mov dword [ebp - 0x91c], eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x848]
call fcn.004077c0
mov byte [ebp - 4], 3
mov byte [ebp - 0x8f2], 0x5c
mov byte [ebp - 0x8f3], 0x2f
lea edx, [ebp - 0x8f2]
push edx
lea eax, [ebp - 0x8f3]
push eax
lea ecx, [ebp - 0x92c]
push ecx
lea ecx, [ebp - 0x848]
call fcn.00418b22
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x930]
push eax
lea ecx, [ebp - 0x848]
call fcn.00418b40
mov ecx, dword [eax]
push ecx
call fcn.00446590
add esp, 0x10
push 0xffffffffffffffff
push 0x51645c
lea ecx, [ebp - 0x848]
call fcn.00440230
mov dword [ebp - 0x8f8], eax
cmp dword [ebp - 0x8f8], 0xffffffff
je 0x4476ef
mov edx, dword [ebp - 0x8f8]
add edx, 1
push edx
push 0
lea eax, [ebp - 0x8f0]
push eax
lea ecx, [ebp - 0x848]
call fcn.0041d2e4
mov dword [ebp - 0x918], eax
mov ecx, dword [ebp - 0x918]
push ecx
lea ecx, [ebp - 0x848]
call fcn.00418ab8
lea ecx, [ebp - 0x8f0]
call fcn.00407750
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x848]
call fcn.00407820
movzx edx, al
test edx, edx
je 0x447718
mov dword [ebp - 0x8fc], 0
jmp 0x447729
lea ecx, [ebp - 0x848]
call fcn.00407740
mov dword [ebp - 0x8fc], eax
lea eax, [ebp - 0x928]
push eax
lea ecx, [ebp - 0x974]
push ecx
mov edx, dword [ebp - 0x8fc]
push edx
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x878]
call fcn.00407740
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x447790
push 0
push 0
push 0
push 0
push str..saferun
call fcn.00406f10
add esp, 0x14
mov byte [ebp - 0x8f1], 1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x928]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x928]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x924]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x848]
call fcn.00407750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x878]
call fcn.00407750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x860]
call fcn.004078d0
movzx ecx, byte [ebp - 0x8f1]
test ecx, ecx
jne 0x4477f1
mov dword [ebp - 0x900], 1
jmp 0x4477fb
mov dword [ebp - 0x900], 0
mov al, byte [ebp - 0x900]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9018
mov esp, ebp
pop ebp
ret