joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41da80
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xff8
mov eax, dword [0x52d474]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x7d0
lea eax, [ebp - 0xfa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ecx, 0x17
mov esi, str.Program_FilesInternet_Exploreriexplore.exe
lea edi, [ebp - 0xf98]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xfa8], ecx
mov edx, dword [ebp - 0xfa8]
mov dword [ebp - 0xfb4], edx
mov eax, dword [ebp - 0xfa8]
mov cx, word [eax]
mov word [ebp - 0xfae], cx
add dword [ebp - 0xfa8], 2
cmp word [ebp - 0xfae], 0
jne 0x41dad0
mov edx, dword [ebp - 0xfa8]
sub edx, dword [ebp - 0xfb4]
mov eax, dword [ebp - 0xfb4]
mov dword [ebp - 0xfb8], eax
mov dword [ebp - 0xfbc], edx
lea ecx, [ebp - 0xfa4]
add ecx, 0xfffffffe
mov dword [ebp - 0xfac], ecx
mov edx, dword [ebp - 0xfac]
mov ax, word [edx + 2]
mov word [ebp - 0xfb0], ax
add dword [ebp - 0xfac], 2
cmp word [ebp - 0xfb0], 0
jne 0x41db1e
mov edi, dword [ebp - 0xfac]
mov esi, dword [ebp - 0xfb8]
mov edx, dword [ebp - 0xfbc]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x3c
push 0
lea eax, [ebp - 0xff8]
push eax
call fcn.00493270
add esp, 0xc
mov dword [ebp - 0xfec], 0x4f8e74
mov dword [ebp - 0xff4], 0x200
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xfe4], ecx
mov dword [ebp - 0xfdc], 1
push 1
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x4f8ee0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x41dbc5
lea eax, [ebp - 0xfa4]
push eax
call fcn.0041e590
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491511
mov esp, ebp
pop ebp
ret
Function at 0x41dc10
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x52d474]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x430], 0
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00493270
add esp, 0xc
xor edx, edx
mov word [ebp - 0x414], dx
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.00493270
add esp, 0xc
mov dword [ebp - 0x444], 0x104
mov dword [ebp - 0x448], 1
lea ecx, [ebp - 0x42c]
push ecx
push 0x20019
push 0
push 0x4f8cf0
push accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x41dcef
xor eax, eax
jmp 0x41de55
lea edx, [ebp - 0x424]
push edx
push 0x20019
push 0
push 0x4f8cfc
mov eax, dword [ebp - 0x42c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x41dd25
xor eax, eax
jmp 0x41de55
lea ecx, [ebp - 0x428]
push ecx
push 0x20019
push 0
push 0x4f8d08
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x41dd5b
xor eax, eax
jmp 0x41de55
mov dword [ebp - 0x430], 0x104
mov dword [ebp - 0x434], 1
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x434]
push edx
push 0
push 0x4f8d24
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x428]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push eax
call fcn.0049c81c
add esp, 4
mov dword [ebp - 0x420], eax
push 0x4f8d28
mov ecx, dword [ebp - 0x420]
push ecx
call fcn.0041b6e0
add esp, 8
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x41ddee
xor eax, eax
jmp 0x41de55
mov edx, dword [ebp - 0x41c]
add edx, 2
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x438], eax
push 0x4f8d2c
mov ecx, dword [ebp - 0x420]
push ecx
call fcn.0041b6e0
add esp, 8
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x41de30
xor eax, eax
jmp 0x41de55
xor edx, edx
mov eax, dword [ebp - 0x41c]
mov word [eax], dx
mov ecx, dword [ebp - 0x438]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41de50
xor eax, eax
jmp 0x41de55
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491511
mov esp, ebp
pop ebp
ret
Function at 0x41e070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x52d474]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x428], 0
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00493270
add esp, 0xc
xor edx, edx
mov word [ebp - 0x414], dx
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.00493270
add esp, 0xc
mov dword [ebp - 0x440], 0x104
mov dword [ebp - 0x444], 1
lea ecx, [ebp - 0x424]
push ecx
push 0x20019
push 0
push str.htmlfile
push accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x41e14f
xor eax, eax
jmp 0x41e252
lea edx, [ebp - 0x41c]
push edx
push 0x20019
push 0
push str.shell
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x41e185
xor eax, eax
jmp 0x41e252
lea ecx, [ebp - 0x420]
push ecx
push 0x20019
push 0
push str.opencommand
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x41e1bb
xor eax, eax
jmp 0x41e252
mov dword [ebp - 0x428], 0x104
mov dword [ebp - 0x42c], 1
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x42c]
push edx
push 0
push 0x4f8dc8
mov eax, dword [ebp - 0x420]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push eax
call fcn.0049c81c
add esp, 4
mov dword [ebp - 0x430], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x430]
push edx
call fcn.0041b6e0
add esp, 8
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
jne 0x41e24d
xor eax, eax
jmp 0x41e252
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491511
mov esp, ebp
pop ebp
ret
Function at 0x41e2a0
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x52d474]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x428], 0
lea eax, [ebp - 0x428]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
je 0x41e2f3
xor eax, eax
jmp 0x41e4e9
xor ecx, ecx
mov word [ebp - 0x414], cx
push 0x206
push 0
lea edx, [ebp - 0x412]
push edx
call fcn.00493270
add esp, 0xc
mov dword [ebp - 0x43c], 0x104
mov dword [ebp - 0x440], 1
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x440]
push edx
push 0
push 0x4f8c9c
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41e46e
mov edx, dword [ebp - 0x428]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00493270
add esp, 0xc
push 0
push 0x26
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x41c]
mov dx, word [ecx + 2]
mov word [ebp - 0x42a], dx
add dword [ebp - 0x41c], 2
cmp word [ebp - 0x42a], 0
jne 0x41e3b2
mov edi, dword [ebp - 0x41c]
mov ecx, 0x10
mov esi, str.Internet_Exploreriexplore.exe
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41e3fe
xor eax, eax
jmp 0x41e4e9
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x430], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x430]
mov dx, word [ecx]
mov word [ebp - 0x416], dx
mov eax, dword [ebp - 0x420]
mov cx, word [ebp - 0x416]
mov word [eax], cx
mov edx, dword [ebp - 0x430]
add edx, 2
mov dword [ebp - 0x430], edx
mov eax, dword [ebp - 0x420]
add eax, 2
mov dword [ebp - 0x420], eax
cmp word [ebp - 0x416], 0
jne 0x41e41f
mov eax, 1
jmp 0x41e4e9
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x434], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x448], eax
mov ecx, dword [ebp - 0x434]
mov dx, word [ecx]
mov word [ebp - 0x418], dx
mov eax, dword [ebp - 0x424]
mov cx, word [ebp - 0x418]
mov word [eax], cx
mov edx, dword [ebp - 0x434]
add edx, 2
mov dword [ebp - 0x434], edx
mov eax, dword [ebp - 0x424]
add eax, 2
mov dword [ebp - 0x424], eax
cmp word [ebp - 0x418], 0
jne 0x41e48f
mov ecx, dword [ebp - 0x428]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491511
mov esp, ebp
pop ebp
ret
Function at 0x41e590
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x52d474]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x828]
push eax
call fcn.00493270
add esp, 0xc
mov dword [ebp - 0x828], 0x44
xor ecx, ecx
mov dword [ebp - 0x7e4], ecx
mov dword [ebp - 0x7e0], ecx
mov dword [ebp - 0x7dc], ecx
mov dword [ebp - 0x7d8], ecx
mov edx, dword [ebp + 8]
push edx
push 0x4f8f04
lea eax, [ebp - 0x7d4]
push eax
call fcn.00422680
add esp, 0xc
lea ecx, [ebp - 0x7e4]
push ecx
lea edx, [ebp - 0x828]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x7d4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41e621
jmp 0x41e63b
mov ecx, dword [ebp - 0x7e4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x7e0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491511
mov esp, ebp
pop ebp
ret
Function at 0x422b90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x424200
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x424232
mov dword [ebp - 8], 1
jmp 0x424239
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x424de0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
push 1
push 0x4f9068
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x424e09
mov eax, dword [ebp - 4]
jmp 0x424e21
push 8
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x424e30
Capabilities:
Encrypt data using rc4 via winapi
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8003
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x424e5b
xor eax, eax
jmp 0x424ee7
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
add dword [ebp - 8], 1
cmp byte [ebp - 1], 0
jne 0x424e6a
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x424ea1
xor eax, eax
jmp 0x424ee7
lea ecx, [ebp - 0x18]
push ecx
push 0x800000
mov edx, dword [ebp - 0xc]
push edx
push 0x6801
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x424ec5
xor eax, eax
jmp 0x424ee7
cmp dword [ebp - 0xc], 0
je 0x424ee4
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x424ee4
mov dword [ebp - 0xc], 0
xor eax, eax
jmp 0x424ee7
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 8
Function at 0x425950
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x52d474]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00493270
add esp, 0xc
push 0
push 0x10
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4f91b0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491511
mov esp, ebp
pop ebp
ret

Function at 0x4259d0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x52d474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00493270
add esp, 0xc
push 0
push 0xb
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4f91c4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00402c70
mov dword [ebp - 4], 0
push 0x4f91d0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.00425e20
add esp, 0xc
mov byte [ebp - 4], 1
push 0x4f91e8
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.00425e20
add esp, 0xc
lea ecx, [ebp - 0x224]
call fcn.00402bc0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x220]
call fcn.00402bc0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x220]
call fcn.00402c20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00402c20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00402c20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491511
mov esp, ebp
pop ebp
ret
Function at 0x426780
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2c6f
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x52d474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
call fcn.00425290
mov ecx, eax
call fcn.00436650
movzx eax, al
test eax, eax
je 0x4268a6
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.00493270
add esp, 0xc
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4f9444
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x248]
push edx
call fcn.00425290
mov ecx, eax
call fcn.00436320
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x250], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x250]
call fcn.00402fb0
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.00402070
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.00404c10
push 0x4f9510
lea ecx, [ebp - 0x230]
call fcn.0040e2c0
push 0
lea edx, [ebp - 0x218]
push edx
push 0
lea ecx, [ebp - 0x230]
call fcn.004043f0
push eax
mov ecx, dword [ebp - 0x254]
call fcn.00426bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00404860
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491511
mov esp, ebp
pop ebp
ret
Function at 0x427ac0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2de8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x52d474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
call fcn.00428530
lea eax, [ebp - 0x40]
push eax
call fcn.00425290
mov ecx, eax
call fcn.00436320
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x68]
call fcn.00402fb0
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00427f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c10
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
call fcn.0040ce80
jmp 0x427b4f
lea ecx, [ebp - 0x60]
call fcn.0040ce50
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
call fcn.0040ce70
push eax
lea ecx, [ebp - 0x60]
call fcn.0040ce30
movzx ecx, al
test ecx, ecx
je 0x427bc6
lea ecx, [ebp - 0x60]
call fcn.00402bc0
mov ecx, eax
call fcn.00402fb0
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.00402070
add esp, 8
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004043f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427bb5
lea ecx, [ebp - 0x28]
call fcn.004043f0
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00428220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404860
jmp 0x427b47
lea eax, [ebp - 0x58]
push eax
call fcn.00425290
mov ecx, eax
call fcn.00436320
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x70]
call fcn.00402fb0
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00427f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00404c10
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
call fcn.00428530
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491511
mov esp, ebp
pop ebp
ret
Function at 0x428220
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x52d474]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x62c], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42824c
jmp 0x4283e7
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x628], eax
cmp dword [ebp - 0x628], 0
je 0x42826a
jmp 0x4283e7
xor edx, edx
mov word [ebp - 0x414], dx
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.00493270
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x61c], cx
push 0x206
push 0
lea edx, [ebp - 0x61a]
push edx
call fcn.00493270
add esp, 0xc
lea eax, [ebp - 0x61c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x62c]
call fcn.00428400
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x620], 0
mov eax, 1
test eax, eax
je 0x4283e7
mov dword [ebp - 0x624], 1
xor ecx, ecx
mov word [ebp - 0x20c], cx
push 0x206
push 0
lea edx, [ebp - 0x20a]
push edx
call fcn.00493270
add esp, 0xc
cmp dword [ebp - 0x620], 0
jne 0x428347
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x61c]
push ecx
push 0x4f963c
lea edx, [ebp - 0x20c]
push edx
call fcn.0041b6b0
add esp, 0x10
jmp 0x428370
mov eax, dword [ebp - 0x620]
push eax
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x61c]
push edx
push str._s_s.del_d
lea eax, [ebp - 0x20c]
push eax
call fcn.0041b6b0
add esp, 0x14
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428394
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 0
jne 0x4283bc
cmp dword [ebp - 0x620], 0xa
jl 0x4283a8
jmp 0x4283e7
mov eax, dword [ebp - 0x620]
add eax, 1
mov dword [ebp - 0x620], eax
jmp 0x4282e4
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004978b7
add esp, 8
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4283e7
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491511
mov esp, ebp
pop ebp
ret 4