joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1070d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1070d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x1070d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1070d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1070d94
push eax
push esi
call fcn.0107320b
add esp, 8
pop esi
ret 0x10

Function at 0x1070da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1070e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x1070e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x1089320
push ecx
mov dword [esp + 0x1c], 4
call fcn.01072dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x1070dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x1070e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1070ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x1070eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x1089320
push ecx
mov dword [esp + 0x1c], 4
call fcn.01072dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x1070eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x1070e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x1071000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x1071131
push esi
call fcn.01074145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.01063080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x1071131
push 0
push ebp
call fcn.010633a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.01063260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x107108b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.010632f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1071121
push 0x1089918
push edi
call fcn.010723f0
push eax
push ebx
push esi
call fcn.01070f60
push 0x10898f8
push edi
call fcn.010723f0
push eax
push ebx
push esi
call fcn.01070f60
push 0x10898d8
push edi
call fcn.010723f0
push eax
push ebx
push esi
call fcn.01070f60
push 0x10898c0
push edi
call fcn.010723f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.01070f60
push 0x10898a0
push edi
call fcn.010723f0
push eax
push ebx
push esi
call fcn.01070f60
push 0x1089888
push edi
call fcn.010723f0
push eax
push ebx
push esi
call fcn.01070f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10721b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.01072140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.01072140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.01072140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.01072140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x1072bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1072c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x108487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1072c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1072c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x7023ff10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x468
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x464], eax
push ebx
push edi
push 0x208
xor edi, edi
lea eax, [esp + 0xc]
push edi
push eax
mov ebx, ecx
call fcn.702e95e0
add esp, 0xc
push str.wdres.dll
push 0x70359d48
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x70240046
mov ecx, esi
call fcn.70289f00
test eax, eax
je 0x70240046
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov dword [esi + 0x138c], eax
mov eax, dword [esi + 0xa4]
push esi
push eax
call fcn.70286050
cmp eax, 1
jne 0x7023fff0
push 0x258
lea ecx, [esp + 0x214]
push edi
push ecx
mov dword [esi + 0x138c], edi
call fcn.702e95e0
lea edx, [esp + 0x14]
push edx
push str.res:___s_nav.htm
mov ecx, 0x12c
lea ebx, [esp + 0x224]
call fcn.7020db00
add esp, 0x14
push edi
push esi
mov ecx, ebx
call fcn.7023d290
lea eax, [edi + 1]
pop edi
pop ebx
mov ecx, dword [esp + 0x464]
xor ecx, esp
call fcn.702e1c2f
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x70240040
lea edi, [esi + 0xa0]
mov eax, ebx
call fcn.70208e30
mov eax, dword [esi + 0xa4]
push 0xf
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0xa4]
push 0
push 0x384
push 0xf
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop edi
pop ebx
mov ecx, dword [esp + 0x464]
xor ecx, esp
call fcn.702e1c2f
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x138c], edi
mov ecx, dword [esp + 0x46c]
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.702e1c2f
mov esp, ebp
pop ebp
ret
Function at 0x702434f0
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
sub esp, 0x234
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x36]
xor eax, eax
push edi
push ecx
mov word [esp + 0x3c], ax
call fcn.702e95e0
add esp, 0xc
push str.AntiTrack.dat
push 0x70359d48
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x70243695
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x34], edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
mov dword [esp + 0x10], ebp
cmp ebp, 0xffffffff
je 0x70243691
lea edx, [esp + 0x1c]
push edx
push ebp
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp dword [esp + 0x1c], esi
ja 0x70243670
cmp ebx, 0x400000
ja 0x70243670
push 0x70358018
push ebx
call fcn.702e36d5
lea ebp, [ebx + 8]
push 0x70358018
push ebp
mov esi, eax
call fcn.702e36d5
add esp, 0x10
mov edi, eax
test esi, esi
je 0x7024366c
test edi, edi
je 0x7024366c
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x18]
push eax
push ebx
push esi
push ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x7024366c
mov dl, 0x34
mov al, 0x12
mov byte [esp + 0x20], dl
mov byte [esp + 0x29], dl
mov cl, 0x45
lea edx, [esp + 0x20]
mov byte [esp + 0x27], al
mov byte [esp + 0x2c], al
mov al, 0x42
push edi
mov byte [esp + 0x25], cl
mov byte [esp + 0x2c], cl
mov ecx, dword [esp + 0x18]
push edx
mov edx, esi
mov byte [esp + 0x2a], 0x56
mov byte [esp + 0x2b], 0x67
mov byte [esp + 0x2c], 0x89
mov byte [esp + 0x2d], 0x98
mov byte [esp + 0x2e], 0x78
mov byte [esp + 0x32], 0x11
mov byte [esp + 0x33], 0x23
mov byte [esp + 0x35], al
mov byte [esp + 0x36], al
mov byte [esp + 0x37], 0x52
call fcn.702b6750
add esp, 8
test eax, eax
jle 0x7024366c
cmp eax, ebp
jg 0x7024366c
push ebp
mov ecx, edi
call fcn.702436b0
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x10]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x70243684
push esi
call fcn.702e1ea6
add esp, 4
test edi, edi
je 0x70243691
push edi
call fcn.702e1ea6
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.702e1c2f
add esp, 0x234
ret
Function at 0x702439f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov eax, 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
test byte [0x7036f0a4], al
jne 0x70243a1c
or dword [0x7036f0a4], eax
call edi
mov dword [0x7036f0a0], eax
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
test al, al
je 0x70243a76
mov ebx, dword [ebp + 8]
push esi
mov ecx, ebx
call fcn.70244270
test eax, eax
je 0x70243a76
cmp dword [esi + 8], 0
je 0x70243a4e
call edi
sub eax, dword [0x7036f0a0]
cmp eax, 0x493e0
jb 0x70243a5f
mov ecx, esi
call fcn.70243100
mov dword [esi + 8], eax
call edi
mov dword [0x7036f0a0], eax
cmp dword [esi + 8], 0
je 0x70243aa5
push esi
call fcn.702437d0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 8], 0
je 0x70243aa5
cmp dword [esi + 0x24], 0x10
mov ecx, dword [esi + 0x20]
jb 0x70243a8a
mov eax, dword [esi + 0x10]
jmp 0x70243a8d
lea eax, [esi + 0x10]
push 0
inc ecx
push ecx
push eax
push 0x10000001
call fcn.7030a182
neg eax
sbb eax, eax
neg eax
mov dword [esi + 8], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x702f0970
Capabilities:
Encode data using xor

Disassembly:
in al, 1
add dword [0x978b68d4], esi
insb byte es:[edi], dx
in al, 1
add dword [0x878b68c2], esi
outsb dx, byte [esi]
in al, 1
add dword [0x8f8b68cb], esi
jo 0x702f094f
in al, 1
add dword [0x978b68d4], esi
invalid
xchg edi, eax
add dword [ecx], eax
xor eax, 0x978b68d4
invalid
xchg edi, eax
mov edx, dword [edi + 0x101e472]
jb 0x702f0958
in al, 1
add dword [0x878b68c2], esi
add dword [ecx], eax
xor eax, 0x878b68c2
je 0x702f0961
in al, 1
add dword [0x8f8b68cb], esi
add dword [ecx], eax
xor eax, 0x8f8b68cb
jbe 0x702f096a
in al, 1
add dword [0x978b68d4], esi
add dword [ecx], eax
xor eax, 0x978b68d4
js 0x702f0973
in al, 1
add dword [0x878b68c2], esi
add dword [ecx], eax
xor eax, 0x878b68c2
jp 0x702f097c
add dword [ecx], eax
xor eax, 0x8f8b68cb
jl 0x702f0985
add dword [ecx], eax
xor eax, 0x978b68d4
jle 0x702f098e
add dword [ecx], eax
xor eax, 0x878b68c2
and ah, 1
add dword [0x8f8b68cb], esi
and ah, 1
add dword [0x978b68d4], esi
test ah, ah
add dword [ecx], eax
xor eax, 0x878b68c2
xchg ah, ah
add dword [ecx], eax
xor eax, 0x8f8b68cb
mov ah, ah
add dword [ecx], eax
xor eax, 0x978b68d4
mov ah, ah
add dword [ecx], eax
xor eax, 0x878b68c2
mov esp, fs
add dword [ecx], eax
xor eax, 0x8f8b68cb
mov fs, esp
add dword [ecx], eax
xor eax, 0x978b68d4
nop
in al, 1
add dword [0x878b68c2], esi
xchg edx, eax
in al, 1
add dword [0x8f8b68cb], esi
xchg esp, eax
in al, 1
add dword [0x978b68d4], esi
xchg esi, eax
in al, 1
add dword [0x878b68c2], esi
cwde
in al, 1
add dword [0x8f8b68cb], esi
lcall 0x68d4, 0x350101e4
mov edx, dword [edi + 0x101e49c]
xor eax, 0x878b68c2
sahf
in al, 1
add dword [0x8f8b68cb], esi
mov al, byte [0x350101e4]
aam 0x68
mov edx, dword [edi + 0x101e4a2]
xor eax, 0x878b68c2
movsb byte es:[edi], byte [esi]
in al, 1
add dword [0x8f8b68cb], esi
cmpsb byte [esi], byte es:[edi]
in al, 1
add dword [0x978b68d4], esi
test al, 0xe4
add dword [ecx], eax
xor eax, 0x878b68c2
stosb byte es:[edi], al
in al, 1
add dword [0x8f8b68cb], esi
lodsb al, byte [esi]
in al, 1
add dword [0x978b68d4], esi
scasb al, byte es:[edi]
in al, 1
add dword [0x878b68c2], esi
mov al, 0xe4
add dword [ecx], eax
xor eax, 0x8f8b68cb
mov dl, 0xe4
add dword [ecx], eax
xor eax, 0x978b68d4
mov ah, 0xe4
add dword [ecx], eax
xor eax, 0x878b68c2
mov dh, 0xe4
add dword [ecx], eax
xor eax, 0x8f8b68cb
mov eax, 0x350101e4
aam 0x68
mov edx, dword [edi + 0x101e4ba]
xor eax, 0x878b68c2
mov esp, 0x350101e4
retf
Function at 0x4010d8
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1104
call fcn.00476b40
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x800
push esi
xor edi, edi
lea eax, [ebp - 0x1104]
push edi
push eax
call fcn.00475420
push esi
lea eax, [ebp - 0x904]
push edi
push eax
call fcn.00475420
add esp, 0x18
lea eax, [ebp - 0x1104]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x100
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.00475420
add esp, 0xc
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.00401000
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x1104]
push eax
lea eax, [ebp - 0x904]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x904]
push str..tmp
push eax
call fcn.00477a17
pop ecx
pop ecx
lea eax, [ebp - 0x904]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4011ab
inc edi
cmp edi, 0xa
jl 0x401142
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047549a
leave
ret
lea eax, [ebp - 0x904]
push eax
mov ecx, ebx
call fcn.00402766
xor eax, eax
inc eax
jmp 0x40119c

Function at 0x401227
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x401234
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x18]
test eax, eax
je 0x401230
lea ecx, [esi + 8]
push ecx
push 0
push dword [esi + 0x1c]
push eax
push 0
push 0
call fcn.00475fd9
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [esi + 4], eax
pop esi
mov eax, ecx
ret

Function at 0x401493
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x18]
push 8
push 0
push edi
call fcn.00475420
add esp, 0xc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4014e8
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4014e7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], ebx
inc eax
pop ebx
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x401714
Capabilities:
Move file

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x10
mov eax, 0x4b63c9
call fcn.004764c0
mov esi, dword [ebp + 0x80c]
mov eax, dword [ebp + 0x810]
mov ecx, dword [ebp + 0x814]
mov edx, dword [ebp + 0x818]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x1c], vtable.CResourceUnpack.0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
push edx
push ecx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
call fcn.00404e47
test eax, eax
je 0x40181a
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.004027fb
push 0x800
lea eax, [ebp]
push edi
push eax
mov byte [ebp - 4], 1
call fcn.00475420
add esp, 0xc
push edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004050cf
test eax, eax
je 0x4017c8
push 0x4d278c
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esi]
lea ecx, [ebp]
push ecx
push esi
call dword [eax]
jmp 0x4017f6
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404ff3
test eax, eax
je 0x4017f8
push 0x4d278c
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esi]
lea ecx, [ebp]
push ecx
push esi
call dword [eax + 0x60]
mov ebx, eax
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 4
push edi
lea eax, [ebp]
push eax
call esi
push 4
push edi
mov edi, dword [ebp - 0x10]
push edi
call esi
lea ecx, [edi - 0x10]
call fcn.00402820
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0047549a
add ebp, 0x804
leave
ret 0x10

Function at 0x40183f
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push 0
mov eax, 0x4b05fb
call fcn.004764c0
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
je 0x4018c4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4018c4
push ebx
push esi
call fcn.0040224e
pop ecx
pop ecx
test eax, eax
je 0x4018c4
push 0x4f9e00
lea ecx, [ebp + 0xc]
call fcn.004027fb
lea eax, [ebp + 0xc]
push eax
mov dword [ebp - 4], ebx
call fcn.004010d8
mov edi, dword [ebp + 0xc]
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, dword [ebp + 8]
lea eax, [ebp + 0xc]
add esi, 0x394
push eax
mov ecx, esi
call fcn.00401c3e
mov eax, dword [esi]
push ebx
push eax
call fcn.0040224e
pop ecx
pop ecx
test eax, eax
jne 0x4018ce
lea ecx, [edi - 0x10]
call fcn.00402820
xor eax, eax
call fcn.00476598
ret 8
push dword [esi]
call fcn.00472c90
pop ecx
push 4
push ebx
push dword [esi]
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [edi - 0x10]
call fcn.00402820
mov eax, dword [ebp + 0xc]
jmp 0x4018c6
Function at 0x4018f1
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x40191c
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40191c
push 0
push esi
call fcn.0040224e
pop ecx
pop ecx
test eax, eax
je 0x40191c
push esi
call fcn.00472c90
pop ecx
jmp 0x40191e
xor eax, eax
pop esi
ret 8

Function at 0x401937
Capabilities:
Move file

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x10
mov eax, 0x4b63c9
call fcn.004764c0
mov esi, dword [ebp + 0x80c]
mov eax, dword [ebp + 0x810]
mov ecx, dword [ebp + 0x814]
mov edx, dword [ebp + 0x818]
xor edi, edi
mov dword [ebp - 0x1c], vtable.CResourceUnpack.0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
push edx
push ecx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
call fcn.00404e47
test eax, eax
jne 0x4019b9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0047549a
add ebp, 0x804
leave
ret 0x10
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.004027fb
xor eax, eax
mov byte [ebp - 4], 1
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00475420
push 0x800
lea eax, [ebp]
push edi
push eax
call fcn.00475420
add esp, 0x18
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004050cf
test eax, eax
jne 0x401a16
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404ff3
test eax, eax
je 0x401a28
push str.360SafeAssist.exe
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push edi
push eax
call fcn.0040224e
pop ecx
pop ecx
test eax, eax
jne 0x401a4a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
mov eax, edi
jmp 0x401994
lea eax, [ebp]
add esi, 0x39c
push eax
mov ecx, esi
call fcn.00402766
push 4
push edi
push dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call esi
push 4
push edi
push dword [ebp - 0x10]
call esi
xor edi, edi
inc edi
jmp 0x401a38

Function at 0x401b74
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push 4
mov eax, 0x4b1d2e
call fcn.004764c0
mov esi, ecx
test esi, esi
je 0x401c02
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401c02
push 0
push esi
call fcn.0040224e
pop ecx
pop ecx
test eax, eax
je 0x401c02
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.004027fb
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.004010d8
mov edi, dword [ebp - 0x10]
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
add esi, 0x398
push eax
mov ecx, esi
call fcn.00401c3e
push dword [esi]
call fcn.00402140
push 4
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [edi - 0x10]
call fcn.00402820
xor eax, eax
inc eax
jmp 0x401c04
xor eax, eax
call fcn.00476598
ret 4