Function at 0x44a1bd
Capabilities:
Copy file
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.0043a455
mov dword [ebp - 0x48], eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x44], edx
call fcn.004379a9
mov eax, dword [ebp + 8]
add eax, 0xfffffffe
xor ebx, ebx
pop ecx
push eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 3], bl
mov byte [ebp - 5], bl
mov byte [ebp - 1], bl
mov byte [ebp - 2], bl
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov dword [ebp - 0x54], eax
lea eax, [eax + eax + 0x410]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043d49b
mov esi, dword [ebp - 0x20]
add esi, 0x20a
mov dword [ebp - 0x40], esi
add esi, 0x12
lea ecx, [ebp - 0x1c]
mov word [esi], bx
call fcn.0043d47d
lea ecx, [ebp - 0x30]
call fcn.0043d47d
lea ecx, [ebp - 0x14]
call fcn.0043d47d
lea ecx, [ebp - 0x10]
call fcn.0043d47d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], ebx
cmp word [eax], 0x2d
mov edi, 0x4ac2ec
mov dword [ebp - 0x50], edi
jne 0x44a302
push str._dir
push 4
pop eax
lea ebx, [ebp + 8]
call fcn.0043d120
test al, al
pop ecx
je 0x44a274
mov byte [ebp - 5], 1
jmp 0x44a2f3
push str._TaskBand
push 9
pop eax
lea ebx, [ebp + 8]
call fcn.0043d120
test al, al
pop ecx
je 0x44a28f
mov byte [ebp - 2], 2
jmp 0x44a2f3
push str._StartMenu
push 0xa
pop eax
lea ebx, [ebp + 8]
call fcn.0043d120
test al, al
pop ecx
je 0x44a2aa
mov byte [ebp - 1], 2
jmp 0x44a2f3
push str._base:
push 6
pop eax
lea ebx, [ebp + 8]
call fcn.0043d120
test al, al
pop ecx
je 0x44a2e9
mov ecx, dword [ebp - 0x18]
push 0
push 0x2c
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
push eax
call fcn.00433065
push dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
mov eax, dword [ebp - 0x14]
and word [eax], 0
mov byte [ebp - 3], 1
jmp 0x44a2f3
lea eax, [ebp + 8]
push eax
call fcn.0040507c
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2d
je 0x44a259
xor ebx, ebx
cmp word [eax], 0x2a
jne 0x44a330
mov ecx, dword [ebp - 0x18]
inc eax
inc eax
push ebx
mov dword [ebp + 8], eax
push 0x2c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00433065
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 8]
push eax
call fcn.004379a9
pop ecx
mov ecx, dword [ebp - 0x18]
push ebx
push 0x2c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00433065
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 8]
push eax
call fcn.004379a9
push dword [ebp + 8]
push 0x4ac29c
call fcn.00438bce
add esp, 0xc
test al, al
je 0x44a456
cmp dword [0x4bde94], ebx
je 0x44aa20
mov eax, dword [ebp - 0x1c]
cmp word [eax], bx
jne 0x44a380
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x28], eax
jne 0x44a3a2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, ebx
jne 0x44a39b
xor eax, eax
inc eax
mov ebx, eax
jmp 0x44aa20
push 0x1032
lea ecx, [ebp - 0x24]
call fcn.0043d373
push ebx
push ebx
push ebx
push dword [0x4bde94]
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov esi, dword [ebp - 0x24]
push 2
pop edi
mov dword [ebp - 8], 1
push 0x1000
lea eax, [esi + 0x19]
push eax
push dword [ebp - 8]
mov byte [eax], bl
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x44a422
push dword [ebp - 8]
push dword [ebp - 8]
push str._r_n__12d_0x__7X
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push esi
mov byte [esi + 0x18], 0x3a
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push ebx
lea ecx, [ebp - 0x50]
push ecx
sub eax, edi
push eax
add edi, esi
push edi
push dword [0x4bde94]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
xor edi, edi
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xffff
jle 0x44a3ce
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push dword [0x4bde94]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x24]
mov dword [0x4bde94], ebx
call fcn.00437960
jmp 0x44aa20
mov eax, dword [ebp - 0x1c]
cmp word [eax], bx
jne 0x44a468
mov ebx, 0x80070057
jmp 0x44aa20
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
mov dword [ebp - 0xc], ebx
jne 0x44a480
inc edi
inc edi
mov dword [ebp - 0xc], 1
mov dword [ebp + 8], edi
cmp word [edi], bx
je 0x44a496
push edi
push str.StartMenu
call fcn.00438bce
test al, al
pop ecx
pop ecx
je 0x44a49a
or byte [ebp - 1], 1
push edi
push str.TaskBand
call fcn.00438bce
test al, al
pop ecx
pop ecx
je 0x44a4af
or byte [ebp - 2], 1
test byte [0x4beb80], 1
jne 0x44a4d0
or dword [0x4beb80], 1
push 0x4a2f62
mov dword [0x4beb7c], ebx
call fcn.0048fad6
pop ecx
test byte [0x4beb80], 2
jne 0x44a4f1
or dword [0x4beb80], 2
push 0x4a2f58
mov dword [0x4beb78], ebx
call fcn.0048fad6
pop ecx
cmp dword [ebp - 0xc], ebx
mov dword [ebp - 0x24], 0x4beb78
jne 0x44a504
mov dword [ebp - 0x24], 0x4beb7c
cmp byte [ebp - 3], bl
jne 0x44a516
push 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov dword [ebp - 0x4c], eax
inc eax
push eax
push esi
push dword [ebp - 0x20]
call fcn.00405064
add esp, 0xc
cmp dword [ebp - 0x44], 0xa
jb 0x44a80f
ja 0x44a543
cmp dword [ebp - 0x48], ebx
jb 0x44a80f
cmp byte [ebp - 2], bl
je 0x44a61c
cmp byte [ebp - 5], bl
jne 0x44a61c
cmp byte [ebp - 3], bl
jne 0x44a6dd
push str.NODELAYEXPLORER
call fcn.00410d42
test eax, eax
pop ecx
jg 0x44a625
push 0x1208
lea ecx, [ebp - 8]
call fcn.0043d49b
mov edi, dword [ebp - 8]
push ebx
push 0x24
push edi
push ebx
mov word [edi], bx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Explorer.exe
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x44a614
push 0x1207
push edi
mov word [edi], bx
push 0x2728
push dword [0x4bde84]
call fcn.00437f99
add esp, 0x10
cmp word [edi], bx
je 0x44a614
push ebx
push ebx
push ebx
push 0x30
push dword [ebp - 0x28]
call fcn.00415c84
add esp, 0x14
test eax, eax
jne 0x44a614
push 0x4ac22c
lea ecx, [ebp - 8]
call fcn.0043d4e9
mov eax, dword [ebp - 0x3c]
add eax, 2
push eax
lea ecx, [ebp - 8]
call fcn.0043d4e9
push dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.00402d69
lea ecx, [ebp - 8]
mov ebx, eax
call fcn.00437960
jmp 0x44aa20
lea ecx, [ebp - 8]
call fcn.00437960
cmp byte [ebp - 3], bl
jne 0x44a6dd
push 0x5c
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, ebx
je 0x44a6dd
inc eax
inc eax
je 0x44a6dd
push 0x4ac210
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x44a6dd
push 0x12
push str.__hide__
push dword [ebp - 0x40]
call fcn.004125f9
mov edi, dword [ebp - 0x4c]
lea eax, [edi + edi]
push 0x24
mov dword [ebp - 0x38], eax
add eax, esi
push str..DirExplorer.exe
push eax
call fcn.004125f9
add edi, 0x11
push esi
mov dword [ebp - 0x34], edi
call fcn.0048f0e8
add esp, 0x1c
mov edi, eax
neg edi
sbb edi, edi
push 0x4beb4c
inc edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, edi
neg eax
sbb eax, eax
and eax, str.GlobalPECMD:main:lock:PINT:FILE
push eax
lea ecx, [ebp - 0x44]
call fcn.0040e2dc
cmp edi, ebx
je 0x44a8a3
push str.NOTMPEXPLORER
call fcn.00410d42
test eax, eax
pop ecx
jle 0x44a849
lea ecx, [ebp - 0x44]
call fcn.0040e2f9
push 0x4beb4c
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp byte [ebp - 1], bl
je 0x44a90d
mov eax, dword [ebp - 0x24]
cmp dword [eax], ebx
jne 0x44a80f
cmp dword [ebp - 0xc], ebx
mov eax, str..FromStartMenu
jne 0x44a700
mov eax, str..ToStartMenu
push eax
mov eax, dword [ebp - 0x4c]
lea eax, [esi + eax*2]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push 0x400
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], ebx
call fcn.0043d49b
mov edi, dword [ebp - 0x4c]
push ebx
push 0x80
push 3
push ebx
push 7
lea eax, [edi + 2]
push 0x80000000
mov word [eax], bx
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x54], eax
mov word [edi], bx
call fcn.0040511c
push ebx
lea eax, [ebp - 8]
push eax
push 0x7fe
push edi
push dword [ebp - 0x18]
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
shr dword [ebp - 8], 1
mov eax, 0x3ff
cmp dword [ebp - 8], eax
jbe 0x44a76d
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov word [edi + eax*2], bx
cmp word [edi], 0xfeff
mov esi, edi
jne 0x44a780
mov esi, dword [ebp - 0x54]
cmp word [esi], bx
jne 0x44a7f6
cmp dword [ebp - 0xc], ebx
mov dword [ebp - 0x40], 1
mov word [esi], bx
mov dword [ebp - 0x54], 0x7fc
mov eax, str.WIN10FromStartMenu
jne 0x44a7a5
mov eax, str.WIN10ToStartMenu
lea ecx, [ebp - 0x54]
push ecx
push esi
lea ecx, [ebp - 0x40]
push ecx
push eax
push str.SOFTWAREPELOGONUSRCFG
push 0x80000002
call fcn.004389fd
add esp, 0x18
test eax, eax
je 0x44a7c8
mov word [esi], bx
cmp word [esi], bx
mov word [esi + 0x7fc], bx
jne 0x44a7f6
xor eax, eax
cmp dword [ebp - 0xc], ebx
push 0x3fe
setne al
push esi
add eax, 0x1505
push eax
push dword [0x4bde84]
call fcn.00437f99
add esp, 0x10
mov ecx, dword [ebp - 0x24]
push esi
call fcn.0044584c
lea ecx, [ebp - 0x4c]
call fcn.00437960
lea ecx, [ebp - 0x18]
call fcn.00402b5a
cmp byte [ebp - 1], bl
je 0x44a90d
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0xc]
mov eax, dword [eax]
add esi, 0x1505
cmp eax, ebx
je 0x44a958
cmp word [eax], bx
je 0x44a958
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x10]
call fcn.0043d5a1
mov edi, dword [eax]
jmp 0x44a9a6
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], ebx
call fcn.004037f1
mov edi, eax
cmp edi, ebx
pop ecx
jle 0x44a89b
mov eax, dword [ebp - 8]
cmp word [eax], bx
je 0x44a89b
push 0x1a
lea eax, [eax + edi*2]
push 0x4ac210
push eax
call fcn.004125f9
add esp, 0xc
push 1
push dword [ebp - 8]
add edi, 0xc
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
lea eax, [edi + 1]
push eax
push dword [ebp - 8]
push esi
call fcn.00405064
add esp, 0xc
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 8]
call fcn.00437960
mov eax, dword [ebp - 0x34]
push 0x2a
lea esi, [esi + eax*2]
push str.__PINT__dir__base:__
push esi
call fcn.004125f9
push dword [ebp - 0x38]
add esi, 0x28
push dword [ebp - 0x20]
push esi
call fcn.004125af
add esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x54]
inc eax
push eax
push dword [ebp - 0x3c]
mov word [esi], 0x22
add esi, 2
push esi
call fcn.00405064
mov ecx, dword [ebp - 0x18]
add esp, 0x24
push ebx
push ebx
push 1
lea eax, [ebp - 6]
push eax
push ecx
push dword [ebp - 0x40]
mov word [ebp - 6], bx
call fcn.004094d9
lea ecx, [ebp - 0x44]
mov ebx, eax
call fcn.0040e2f9
push 0x4beb4c
jmp 0x44aa1a
mov eax, dword [ebp + 8]
cmp word [eax], 0x23
jne 0x44a93c
or dword [ebp - 8], 0xffffffff
add dword [ebp + 8], 2
push 0x2c
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00440076
mov esi, dword [ebp - 8]
add esp, 0xc
cmp esi, ebx
jge 0x44a958
jmp 0x44a45e
push dword [ebp + 8]
push str.TaskBand
call fcn.00438bce
test al, al
pop ecx
pop ecx
je 0x44a996
mov esi, dword [ebp - 0xc]
add esi, 0x150a
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov edi, eax
cmp edi, ebx
jne 0x44a96f
xor ebx, ebx
inc ebx
jmp 0x44aa20
push 0x1001
lea ecx, [ebp - 0x10]
call fcn.0043d4c2
push 0x1000
push dword [ebp - 0x10]
push esi
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
mov edi, dword [ebp - 0x10]
cmp word [edi], bx
jne 0x44a9a6
jmp 0x44a967
push 0xffffffffffffffff
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0043d5a1
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
cmp word [eax], bx
je 0x44a45e
push eax
call fcn.0041113a
mov esi, eax
push esi
call fcn.0048f0e8
test eax, eax
pop ecx
pop ecx
jne 0x44a9cb
push 2
pop ebx
jmp 0x44aa20
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.00482842
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp eax, ebx
je 0x44a967
mov esi, 0x4beb4c
push esi
mov word [eax - 2], bx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push str.GlobalPECMD:main:lock:PINT
lea ecx, [ebp - 0x58]
call fcn.0040e2dc
push edi
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00405e72
add esp, 0xc
lea ecx, [ebp - 0x58]
mov ebx, eax
call fcn.0040e2f9
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea ecx, [ebp - 0x10]
call fcn.00437960
lea ecx, [ebp - 0x14]
call fcn.00437960
lea ecx, [ebp - 0x30]
call fcn.00437960
lea ecx, [ebp - 0x1c]
call fcn.00437960
lea ecx, [ebp - 0x20]
call fcn.00437960
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8