joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001bf04
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xbc0]
sub esp, 0xc40
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0xbbc], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x206
push esi
lea eax, [ebp - 0x72]
push edi
push eax
mov dword [ebp - 0x78], ecx
xor ebx, ebx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov word [ebp - 0x74], di
call fcn.10072750
push esi
lea eax, [ebp + 0x39e]
push edi
push eax
mov word [ebp + 0x39c], di
call fcn.10072750
push esi
lea eax, [ebp + 0x7ae]
push edi
push eax
mov word [ebp + 0x7ac], di
call fcn.10072750
push esi
lea eax, [ebp + 0x196]
push edi
push eax
mov word [ebp + 0x194], di
call fcn.10072750
push esi
lea eax, [ebp + 0x9b6]
push edi
push eax
mov word [ebp + 0x9b4], di
call fcn.10072750
push esi
lea eax, [ebp + 0x5a6]
push edi
push eax
mov word [ebp + 0x5a4], di
call fcn.10072750
add esp, 0x48
push edi
push 0x1a
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x9b4]
push eax
call fcn.10072c5d
lea eax, [ebp + 0x9b4]
push eax
call fcn.100726e4
lea eax, [ebp + 0x9b4]
push 0x5c
push eax
call fcn.1007514d
add esp, 0x14
cmp eax, edi
je 0x1001c10d
mov word [eax], di
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x39c]
push eax
call fcn.10072c5d
lea eax, [ebp + 0x39c]
push str.Local
push eax
call fcn.10072c33
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
lea eax, [ebp + 0x39c]
push eax
call esi
test eax, eax
je 0x1001c030
inc ebx
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x7ac]
push eax
call fcn.10072c5d
lea eax, [ebp + 0x7ac]
push str.LocalLow
push eax
call fcn.10072c33
add esp, 0x10
lea eax, [ebp + 0x7ac]
push eax
call esi
test eax, eax
je 0x1001c06b
mov dword [ebp - 0x80], 1
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.10072c5d
lea eax, [ebp + 0x194]
push str.Roaming
push eax
call fcn.10072c33
add esp, 0x10
lea eax, [ebp + 0x194]
push eax
call esi
test eax, eax
je 0x1001c0a6
mov dword [ebp - 0x7c], 1
cmp ebx, edi
je 0x1001c10d
cmp dword [ebp - 0x80], edi
je 0x1001c10d
cmp dword [ebp - 0x7c], edi
je 0x1001c10d
mov edi, dword [ebp - 0x78]
mov ecx, edi
call fcn.1001a3b5
test eax, eax
je 0x1001c10d
push str.DongFangIME.users
lea eax, [ebp + 0x7ac]
push eax
lea eax, [ebp + 0x5a4]
push str._s_s_
push eax
call fcn.100048d5
add esp, 0x10
lea eax, [ebp + 0x5a4]
push eax
call esi
test eax, eax
jne 0x1001c0fc
lea eax, [ebp + 0x5a4]
push eax
call fcn.1001cc6a
pop ecx
lea eax, [ebp + 0x5a4]
push eax
lea ecx, [edi + 0x24]
call fcn.100017c0
jmp 0x1001c115
mov ecx, dword [ebp - 0x78]
call fcn.1001b940
mov ecx, dword [ebp + 0xbbc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071fee
add ebp, 0xbc0
leave
ret
Function at 0x1001c12d
Capabilities:
Check if file exists

Disassembly:
push esi
push 0xffffffffffffffff
lea esi, [ecx + 0x78]
add ecx, 0x40
push 0
push ecx
mov ecx, esi
call fcn.10001d60
push str.Skin_
mov ecx, esi
call fcn.10003620
cmp dword [esi + 0x18], 8
jb 0x1001c157
mov eax, dword [esi + 4]
jmp 0x1001c15a
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001c17a
cmp dword [esi + 0x18], 8
jb 0x1001c170
mov esi, dword [esi + 4]
jmp 0x1001c173
add esi, 4
push esi
call fcn.1001cc6a
pop ecx
pop esi
ret

Function at 0x1001c20d
Capabilities:
Write clipboard data

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x14]
push edi
inc eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x1001c262
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1001c25b
cmp dword [esi + 0x18], 0x10
jb 0x1001c23f
mov esi, dword [esi + 4]
jmp 0x1001c242
add esi, 4
push esi
push eax
call fcn.10072cb0
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 7
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
ret 4

Function at 0x1001c267
Capabilities:
Write clipboard data

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x14]
push edi
inc eax
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x1001c2bc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1001c2b5
cmp dword [esi + 0x18], 0x10
jb 0x1001c299
mov esi, dword [esi + 4]
jmp 0x1001c29c
add esi, 4
push esi
push eax
call fcn.10072cb0
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
ret 4

Function at 0x1001c2c1
Capabilities:
Write clipboard data

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov ebx, dword [edi + 0x14]
lea ebx, [ebx + ebx + 2]
push ebx
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x1001c31c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1001c315
cmp dword [edi + 0x18], 8
jb 0x1001c2f7
mov edi, dword [edi + 4]
jmp 0x1001c2fa
add edi, 4
push ebx
push edi
push eax
call fcn.10074d40
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebx
ret 4
Function at 0x1001c322
Capabilities:
Write clipboard data

Disassembly:
push ebx
push esi
push edi
push str.QQ_RichEdit_Format
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov edi, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [edi + 0x14]
inc eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x1001c384
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1001c37d
cmp dword [edi + 0x18], 0x10
jb 0x1001c362
mov edi, dword [edi + 4]
jmp 0x1001c365
add edi, 4
push edi
push eax
call fcn.10072cb0
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebx
ret 4
Function at 0x1001cae3
Capabilities:
Open clipboard

Disassembly:
push 0xb0
mov eax, 0x100ce144
call fcn.10072066
mov ebx, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0xbc], edi
call fcn.1001c57c
lea eax, [ebp - 0x64]
push edi
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.1001c57c
add esp, 0x10
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1001cc4c
push 0xf
pop edi
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
call fcn.100019b0
push str._QQRichEditFormat__Info_version_1001____Info__EditElement_type_1__filepath_
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.10001580
push str.__shortcut_______EditElement___QQRichEditFormat_
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.10001580
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.1001c38a
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1001c38a
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1001c38a
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], edi
call fcn.100019b0
push str._IMG_src_file:___
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.1001c4cd
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x48]
call fcn.1001c38a
push 0x100d9244
lea ecx, [ebp - 0x48]
call fcn.1001c4cd
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebp - 0x64]
push eax
mov ecx, ebx
call fcn.1001c267
push dword [ebp - 0xbc]
mov ecx, ebx
call fcn.1001c2c1
lea eax, [ebp - 0x64]
push eax
mov ecx, ebx
call fcn.1001c20d
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.1001c322
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
call fcn.1001c606
call dword [sym.imp.USER32.dll_CloseClipboard]
xor edi, edi
push esi
inc edi
push edi
lea ecx, [ebp - 0x48]
call fcn.10001770
push esi
push edi
lea ecx, [ebp - 0x9c]
call fcn.10001770
push esi
push edi
lea ecx, [ebp - 0xb8]
call fcn.10001770
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.10001770
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.10001770
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.10001770
call fcn.100720e9
ret 8

Function at 0x1001cc6a
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
call fcn.100726e4
mov edi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1004ed41
push dword [esp + 0x1c]
mov esi, eax
push esi
call fcn.10072c5d
add esp, 0x10
xor ebp, ebp
test edi, edi
mov bl, 1
jl 0x1001ccd9
cmp word [esi + ebp*2], 0x5c
jne 0x1001ccd0
and word [esi + ebp*2], 0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001ccca
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1001ccd7
mov word [esi + ebp*2], 0x5c
inc ebp
cmp ebp, edi
jle 0x1001cca7
jmp 0x1001ccd9
xor bl, bl
push esi
call fcn.1004ed3c
pop ecx
pop edi
pop esi
pop ebp
movzx eax, bl
pop ebx
ret
Function at 0x1001cfda
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
mov eax, dword [ebp + 0x3ac]
push ebx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001d029
xor eax, eax
jmp 0x1001d0fc
push esi
push edi
mov edi, 0x206
push edi
lea eax, [ebp - 0x6e]
push ebx
push eax
mov word [ebp - 0x70], bx
call fcn.10072750
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x10102f18
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], 0x104
mov dword [ebp - 0x80], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x70]
push eax
call esi
test eax, eax
jne 0x1001d0e0
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
lea eax, [ebp + 0x19a]
push ebx
push eax
mov word [ebp + 0x198], bx
call fcn.10072750
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp + 0x198]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x198]
push str.Internet_Exploreriexplore.exe
push eax
call fcn.10072c33
pop ecx
pop ecx
lea eax, [ebp + 0x198]
push eax
call esi
test eax, eax
je 0x1001d0fa
lea eax, [ebp + 0x198]
push eax
push dword [ebp - 0x78]
call fcn.10072c5d
pop ecx
pop ecx
jmp 0x1001d0f7
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
call fcn.10072c5d
pop ecx
pop ecx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
pop ebx
call fcn.10071fee
add ebp, 0x3a4
leave
ret

Function at 0x1001d112
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
push esi
push edi
mov edi, dword [ebp + 0x7b0]
push 0x44
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.10072750
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.10072750
push edi
lea eax, [ebp - 0x2c]
push 0x100d6110
push eax
call fcn.100048d5
add esp, 0x24
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1001d196
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x7a4]
pop edi
xor ecx, ebp
pop esi
call fcn.10071fee
add ebp, 0x7a8
leave
ret
Function at 0x1001d1ad
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7ac]
sub esp, 0x82c
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x7a8], eax
push esi
push edi
mov edi, dword [ebp + 0x7b4]
push 0x44
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.10072750
push 0x10
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.10072750
push edi
lea eax, [ebp - 0x28]
push 0x100d6110
push eax
call fcn.100048d5
add esp, 0x24
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1001d249
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x34]
call esi
mov ecx, dword [ebp + 0x7a8]
pop edi
xor ecx, ebp
pop esi
call fcn.10071fee
add ebp, 0x7ac
leave
ret

Function at 0x1001d260
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x5c4]
sub esp, 0x644
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x5c0], eax
push ebx
mov ebx, dword [ebp + 0x5cc]
push edi
xor edi, edi
cmp ebx, edi
jne 0x1001d290
xor eax, eax
jmp 0x1001d357
push esi
mov esi, 0x206
push esi
lea eax, [ebp + 0x3ba]
push edi
push eax
mov word [ebp + 0x3b8], di
call fcn.10072750
lea eax, [ebp + 0x3b8]
push ebx
push eax
call fcn.10072c5d
lea eax, [ebp + 0x3b8]
push eax
call fcn.10075a50
push 0x228
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push edi
push eax
mov dword [ebp - 0x7c], edi
call fcn.10072750
add esp, 0x24
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001d354
lea eax, [ebp - 0x7c]
push eax
push ebx
mov dword [ebp - 0x7c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1001d349
push esi
lea eax, [ebp + 0x1b2]
push edi
push eax
mov word [ebp + 0x1b0], di
call fcn.10072750
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.10072c5d
lea eax, [ebp + 0x1b0]
push eax
call fcn.10075a50
push dword [ebp - 0x80]
push eax
call fcn.10072e67
add esp, 0x20
test eax, eax
je 0x1001d36e
lea eax, [ebp - 0x7c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001d2fe
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp + 0x5c0]
pop edi
xor ecx, ebp
pop ebx
call fcn.10071fee
add ebp, 0x5c4
leave
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x74]
jmp 0x1001d356
Function at 0x1001d5b7
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
and dword [ebp - 0x7c], 0
push ebx
mov ebx, dword [ebp + 0x1a0]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x80], eax
and word [ebp - 0x78], 0
push 0x206
lea eax, [ebp - 0x76]
push 0
push eax
call fcn.10072750
add esp, 0xc
cmp dword [ebp - 0x7c], 0
lea eax, [ebp - 0x78]
jne 0x1001d626
push ebx
push str._s.bak
push eax
call fcn.100048d5
add esp, 0xc
jmp 0x1001d638
push dword [ebp - 0x7c]
push ebx
push str._s.bak_d
push eax
call fcn.100048d5
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001d64c
lea eax, [ebp - 0x78]
push eax
call edi
lea eax, [ebp - 0x78]
push eax
push ebx
call fcn.10075ab9
pop ecx
pop ecx
lea eax, [ebp - 0x78]
push eax
call edi
push 0
push ebx
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
push 0
lea eax, [ebp - 0x78]
push eax
jne 0x1001d686
call esi
cmp dword [ebp - 0x7c], 0xa
jge 0x1001d691
inc dword [ebp - 0x7c]
jmp 0x1001d5f4
call esi
push 5
push 0
push dword [ebp - 0x80]
call esi
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071fee
add ebp, 0x194
leave
ret

Function at 0x1001d6a9
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push str..del
push edi
call fcn.10074cd9
test eax, eax
pop ecx
pop ecx
je 0x1001d6e1
push 5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1001d778
push esi
xor esi, esi
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.10072750
add esp, 0xc
test esi, esi
lea eax, [ebp - 0x20c]
jne 0x1001d71d
push edi
push str._s.del
push eax
call fcn.100048d5
add esp, 0xc
jmp 0x1001d72d
push esi
push edi
push str._s.del_d
push eax
call fcn.100048d5
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001d757
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001d757
cmp esi, 0xa
jge 0x1001d777
inc esi
jmp 0x1001d6e4
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10075ab9
pop ecx
pop ecx
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10071fee
leave
ret
Function at 0x1001d785
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x5a4]
sub esp, 0x624
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x5a0], eax
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
mov esi, dword [ebp + 0x5ac]
push esi
mov dword [ebp - 0x80], esi
call ebx
test eax, eax
je 0x1001d8e8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001d8e8
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp - 0x76]
push edi
push eax
mov word [ebp - 0x78], di
call fcn.10072750
push esi
lea eax, [ebp + 0x192]
push edi
push eax
mov word [ebp + 0x190], di
call fcn.10072750
add esp, 0x18
lea eax, [ebp + 0x190]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call fcn.1001d37a
pop ecx
pop ecx
mov dword [ebp - 0x7c], edi
push esi
lea eax, [ebp + 0x39a]
push edi
push eax
mov word [ebp + 0x398], di
call fcn.10072750
add esp, 0xc
cmp dword [ebp - 0x7c], edi
lea eax, [ebp - 0x78]
jne 0x1001d85b
push eax
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp + 0x398]
push str._s_s.del
push eax
call fcn.100048d5
add esp, 0x10
jmp 0x1001d87a
push dword [ebp - 0x7c]
push eax
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp + 0x398]
push str._s_s.del_d
push eax
call fcn.100048d5
add esp, 0x14
lea eax, [ebp + 0x398]
push eax
call ebx
test eax, eax
je 0x1001d8a6
lea eax, [ebp + 0x398]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, edi
jne 0x1001d8a6
cmp dword [ebp - 0x7c], 0xa
jge 0x1001d8e7
inc dword [ebp - 0x7c]
jmp 0x1001d81d
lea eax, [ebp + 0x398]
push eax
push dword [ebp - 0x80]
call fcn.10075ab9
pop ecx
pop ecx
lea eax, [ebp + 0x398]
push eax
call ebx
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
je 0x1001d8d6
push 5
push edi
lea eax, [ebp + 0x398]
push eax
call esi
push dword [ebp - 0x80]
call ebx
test eax, eax
je 0x1001d8e7
push 5
push edi
push dword [ebp - 0x80]
call esi
pop edi
mov ecx, dword [ebp + 0x5a0]
pop esi
xor ecx, ebp
pop ebx
call fcn.10071fee
add ebp, 0x5a4
leave
ret
Function at 0x1001d953
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x90], eax
push esi
mov esi, dword [ebp + 0x9c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001da49
push ebx
push edi
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001d9b0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea esi, [ebx + 1]
push esi
call fcn.1004ed41
and dword [ebp - 0x80], 0
pop ecx
push 0
lea ecx, [ebp - 0x80]
push ecx
push esi
push eax
push edi
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xe
pop ecx
mov esi, str.identifierBegin:abcdefghijklmnopqrstuvwxyz:identifierEnd
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0xcb
xor edi, edi
lea eax, [ebp - 0x3b]
push edi
push eax
call fcn.10072750
lea eax, [ebp - 0x74]
push eax
call fcn.10071a00
add esp, 0x10
cmp ebx, edi
jle 0x1001da36
mov ecx, dword [ebp - 0x78]
add ecx, edi
mov dl, byte [ecx]
cmp dl, byte [ebp - 0x74]
jne 0x1001da31
xor esi, esi
test eax, eax
mov dword [ebp - 0x7c], esi
jle 0x1001da31
mov dl, byte [ecx + esi]
cmp dl, byte [ebp + esi - 0x74]
jne 0x1001da31
inc dword [ebp - 0x7c]
cmp dword [ebp - 0x7c], eax
je 0x1001da5f
inc esi
cmp esi, eax
jl 0x1001da1b
inc edi
cmp edi, ebx
jl 0x1001da06
cmp dword [ebp - 0x78], 0
je 0x1001da45
push dword [ebp - 0x78]
call fcn.1004ed3c
pop ecx
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
pop esi
call fcn.10071fee
add ebp, 0x94
leave
ret
cmp dword [ebp - 0x78], 0
je 0x1001da6e
push dword [ebp - 0x78]
call fcn.1004ed3c
pop ecx
xor eax, eax
inc eax
jmp 0x1001da47

Function at 0x1001dac2
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push dword [esp + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1001dad3
xor eax, eax
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x1001dad0
push esi
push dword [esp + 0xc]
call fcn.100726e4
pop ecx
lea eax, [eax + eax + 0xa]
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x1001db00
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [esp + 0xc]
push eax
call fcn.10072c5d
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
neg eax
sbb eax, eax
neg eax
pop esi
ret