joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b770
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
add ecx, 2
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x218]
mov ax, word [edx]
mov word [ebp - 0x21a], ax
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21a], 0
jne 0x41b79b
mov ecx, dword [ebp - 0x218]
sub ecx, dword [ebp - 0x22c]
sar ecx, 1
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x224], edx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.004938a0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x224]
add eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00497e93
add esp, 0xc
mov byte [ebp - 0x20d], 1
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x234], 0
jmp 0x41b844
mov edx, dword [ebp - 0x214]
add edx, 1
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x224]
jg 0x41b909
mov ecx, dword [ebp - 0x214]
movzx edx, word [ebp + ecx*2 - 0x20c]
cmp edx, 0x5c
jne 0x41b904
mov eax, dword [ebp - 0x214]
mov cx, word [ebp + eax*2 - 0x20c]
mov word [ebp - 0x220], cx
mov edx, dword [ebp - 0x214]
shl edx, 1
mov dword [ebp - 0x228], edx
cmp dword [ebp - 0x228], 0x208
jae 0x41b89e
jmp 0x41b8a3
call fcn.00491a5e
xor eax, eax
mov ecx, dword [ebp - 0x228]
mov word [ebp + ecx - 0x20c], ax
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b8e0
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41b8e0
mov byte [ebp - 0x20d], 0
jmp 0x41b909
mov ecx, dword [ebp - 0x214]
mov dx, word [ebp - 0x220]
mov word [ebp + ecx*2 - 0x20c], dx
mov eax, dword [ebp - 0x214]
add eax, 1
mov dword [ebp - 0x234], eax
jmp 0x41b835
movzx eax, byte [ebp - 0x20d]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret
Function at 0x41b920
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4f9904
mov eax, dword [ebp + 8]
push eax
call fcn.0041bac0
add esp, 8
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x41b966
push 5
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x41ba77
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x210], 0
mov edx, 1
test edx, edx
je 0x41ba69
mov dword [ebp - 0x214], 1
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.004938a0
add esp, 0xc
cmp dword [ebp - 0x210], 0
jne 0x41b9d3
mov edx, dword [ebp + 8]
push edx
push 0x4f9910
lea eax, [ebp - 0x20c]
push eax
call fcn.0041ba90
add esp, 0xc
jmp 0x41b9f2
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x4f9920
lea eax, [ebp - 0x20c]
push eax
call fcn.0041ba90
add esp, 0x10
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ba16
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x41ba3e
cmp dword [ebp - 0x210], 0xa
jl 0x41ba2a
jmp 0x41ba77
mov eax, dword [ebp - 0x210]
add eax, 1
mov dword [ebp - 0x210], eax
jmp 0x41b97a
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00497f07
add esp, 8
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x41ba77
push 5
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret
Function at 0x41de60
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xff8
mov eax, dword [0x52e474]
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 0x41deb0
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 0x41defe
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.004938a0
add esp, 0xc
mov dword [ebp - 0xfec], 0x4f9e84
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 0x4f9ef0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x41dfa5
lea eax, [ebp - 0xfa4]
push eax
call fcn.0041e970
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret
Function at 0x41dff0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x52e474]
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.004938a0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x414], dx
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.004938a0
add esp, 0xc
mov dword [ebp - 0x444], 0x104
mov dword [ebp - 0x448], 1
lea ecx, [ebp - 0x42c]
push ecx
push 0x20019
push 0
push 0x4f9d00
push accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x41e0cf
xor eax, eax
jmp 0x41e235
lea edx, [ebp - 0x424]
push edx
push 0x20019
push 0
push 0x4f9d0c
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 0x41e105
xor eax, eax
jmp 0x41e235
lea ecx, [ebp - 0x428]
push ecx
push 0x20019
push 0
push 0x4f9d18
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 0x41e13b
xor eax, eax
jmp 0x41e235
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 0x4f9d34
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.0049ce87
add esp, 4
mov dword [ebp - 0x420], eax
push 0x4f9d38
mov ecx, dword [ebp - 0x420]
push ecx
call fcn.0041bac0
add esp, 8
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x41e1ce
xor eax, eax
jmp 0x41e235
mov edx, dword [ebp - 0x41c]
add edx, 2
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x438], eax
push 0x4f9d3c
mov ecx, dword [ebp - 0x420]
push ecx
call fcn.0041bac0
add esp, 8
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x41e210
xor eax, eax
jmp 0x41e235
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 0x41e230
xor eax, eax
jmp 0x41e235
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret
Function at 0x41e450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x52e474]
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.004938a0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x414], dx
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.004938a0
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 0x41e52f
xor eax, eax
jmp 0x41e632
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 0x41e565
xor eax, eax
jmp 0x41e632
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 0x41e59b
xor eax, eax
jmp 0x41e632
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 0x4f9dd8
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.0049ce87
add esp, 4
mov dword [ebp - 0x430], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x430]
push edx
call fcn.0041bac0
add esp, 8
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
jne 0x41e62d
xor eax, eax
jmp 0x41e632
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret
Function at 0x41e680
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 [0x52e474]
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 0x41e6d3
xor eax, eax
jmp 0x41e8c9
xor ecx, ecx
mov word [ebp - 0x414], cx
push 0x206
push 0
lea edx, [ebp - 0x412]
push edx
call fcn.004938a0
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 0x4f9cac
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 0x41e84e
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.004938a0
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 0x41e792
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 0x41e7de
xor eax, eax
jmp 0x41e8c9
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 0x41e7ff
mov eax, 1
jmp 0x41e8c9
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 0x41e86f
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.00491b3a
mov esp, ebp
pop ebp
ret
Function at 0x41e970
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x828]
push eax
call fcn.004938a0
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 0x4f9f14
lea eax, [ebp - 0x7d4]
push eax
call fcn.00422aa0
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 0x41ea01
jmp 0x41ea1b
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.00491b3a
mov esp, ebp
pop ebp
ret
Function at 0x422fb0
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 0x424620
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 0x424652
mov dword [ebp - 8], 1
jmp 0x424659
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 0x425200
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 0x4fa078
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x425229
mov eax, dword [ebp - 4]
jmp 0x425241
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 0x425250
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 0x42527b
xor eax, eax
jmp 0x425307
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 0x42528a
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 0x4252c1
xor eax, eax
jmp 0x425307
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 0x4252e5
xor eax, eax
jmp 0x425307
cmp dword [ebp - 0xc], 0
je 0x425304
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x425304
mov dword [ebp - 0xc], 0
xor eax, eax
jmp 0x425307
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 8
Function at 0x425cd0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x52e474]
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.004938a0
add esp, 0xc
push 0
push 0x10
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4fa1c0
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.00491b3a
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f31c8
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x52e474]
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.004938a0
add esp, 0xc
push 0
push 0xb
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4fa1d4
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.00402c40
mov dword [ebp - 4], 0
push 0x4fa1e0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.00426160
add esp, 0xc
mov byte [ebp - 4], 1
push 0x4fa1f8
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.00426160
add esp, 0xc
lea ecx, [ebp - 0x224]
call fcn.00402b90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x220]
call fcn.00402b90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x220]
call fcn.00402bf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00402bf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00402bf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret
Function at 0x426a10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f326f
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x52e474]
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.00425610
mov ecx, eax
call fcn.00436e80
movzx eax, al
test eax, eax
je 0x426b36
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.004938a0
add esp, 0xc
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4fa454
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x248]
push edx
call fcn.00425610
mov ecx, eax
call fcn.00436b50
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.00402fa0
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.00402040
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.00404c00
push 0x4fa520
lea ecx, [ebp - 0x230]
call fcn.0040e6a0
push 0
lea edx, [ebp - 0x218]
push edx
push 0
lea ecx, [ebp - 0x230]
call fcn.004043e0
push eax
mov ecx, dword [ebp - 0x254]
call fcn.00426e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00404850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret
Function at 0x427d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f33e8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x52e474]
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.00428780
lea eax, [ebp - 0x40]
push eax
call fcn.00425610
mov ecx, eax
call fcn.00436b50
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.00402fa0
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00428160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c00
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
call fcn.0040d1f0
jmp 0x427d9f
lea ecx, [ebp - 0x60]
call fcn.0040d1c0
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
call fcn.0040d1e0
push eax
lea ecx, [ebp - 0x60]
call fcn.0040d1a0
movzx ecx, al
test ecx, ecx
je 0x427e16
lea ecx, [ebp - 0x60]
call fcn.00402b90
mov ecx, eax
call fcn.00402fa0
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.00402040
add esp, 8
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004043e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427e05
lea ecx, [ebp - 0x28]
call fcn.004043e0
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00428470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404850
jmp 0x427d97
lea eax, [ebp - 0x58]
push eax
call fcn.00425610
mov ecx, eax
call fcn.00436b50
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.00402fa0
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00428160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00404c00
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
call fcn.00428780
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret