joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426db0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c3f6
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x48106c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - reloc.USER32.dll_PeekMessageA], 0
lea eax, reloc.USER32.dll_PeekMessageA
mov dword [ebp - 4], 0
push eax
push 0x45d2ec
push 1
push 0
push 0x45d31c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x426e18
xor esi, esi
jmp 0x426ed6
mov eax, dword [ebp - reloc.USER32.dll_PeekMessageA]
push edi
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
push ecx
lea edx, reloc.USER32.dll_PeekMessageA
mov ecx, edi
call fcn.00426f80
mov eax, dword [ebp - reloc.USER32.dll_PeekMessageA]
lea edx, reloc.USER32.dll_PeekMessageA
add esp, 4
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov dword [ebp - reloc.USER32.dll_PeekMessageA], 0
mov byte [ebp - 4], 4
lea edx, reloc.USER32.dll_PeekMessageA
mov eax, dword [ebp - reloc.USER32.dll_PeekMessageA]
push edx
push 0x45d30c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x426eb6
mov eax, dword [ebp - reloc.USER32.dll_PeekMessageA]
push 1
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
test eax, eax
js 0x426eb6
push ecx
lea edx, reloc.USER32.dll_PeekMessageA
mov ecx, esi
call fcn.00426f80
add esp, 4
lea eax, reloc.USER32.dll_PeekMessageA
push 0
push eax
push 0x1005
push 0x1000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov esi, 1
jmp 0x426eb8
xor esi, esi
mov byte [ebp - 4], 9
mov eax, dword [ebp - reloc.USER32.dll_PeekMessageA]
test eax, eax
je 0x426ed6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - reloc.USER32.dll_PeekMessageA], 0
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - reloc.USER32.dll_PeekMessageA]
test ecx, ecx
je 0x426eed
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043c755
mov esp, ebp
pop ebp
ret

Function at 0x426f10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x48106c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x426f40
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c755
mov esp, ebp
pop ebp
ret
push ecx
lea edx, reloc.USER32.dll_PeekMessageA
mov ecx, esi
call fcn.00426f80
add esp, 4
lea eax, reloc.USER32.dll_PeekMessageA
push 0
push eax
push 0x1005
push 0x1000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.0043c755
mov esp, ebp
pop ebp
ret

Function at 0x427040
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, reloc.USER32.dll_PeekMessageA
je 0x427056
mov eax, 1
pop esi
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
ret
Function at 0x427220
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x48106c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov eax, ecx
mov ebx, 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, 9
mov dword [ebp - reloc.USER32.dll_PeekMessageA], eax
mov edx, 0x475688
push esi
push eax
test esi, esi
mov eax, 0x475668
cmovne eax, edx
push eax
lea eax, reloc.USER32.dll_PeekMessageA
push 0x104
push eax
call fcn.0041fb80
add esp, 0x14
lea eax, [esi + 1]
push eax
push dword [ebp - 0x420]
lea eax, reloc.USER32.dll_PeekMessageA
push 0x47567c
push 0x104
push eax
call fcn.0041fb80
add esp, 0x14
lea eax, reloc.USER32.dll_PeekMessageA
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, reloc.USER32.dll_PeekMessageA
je 0x4272d0
push 1
lea eax, reloc.USER32.dll_PeekMessageA
push eax
lea eax, reloc.USER32.dll_PeekMessageA
push eax
call edi
test eax, eax
je 0x4272ce
push 4
push 0
lea eax, reloc.USER32.dll_PeekMessageA
push eax
call edi
jmp 0x4272d0
xor ebx, ebx
sub esi, 1
mov eax, dword [ebp - reloc.USER32.dll_PeekMessageA]
mov edx, 0x475688
jns 0x427253
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c755
mov esp, ebp
pop ebp
ret

Function at 0x427300
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x48106c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov edi, 1
mov esi, 0xa
push esi
push ebx
push str._s._d
lea eax, reloc.USER32.dll_PeekMessageA
push 0x104
push eax
call fcn.0041fb80
add esp, 0x14
lea eax, reloc.USER32.dll_PeekMessageA
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, reloc.USER32.dll_PeekMessageA
je 0x427362
lea eax, reloc.USER32.dll_PeekMessageA
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
and edi, eax
dec esi
test esi, esi
jg 0x427322
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c755
mov esp, ebp
pop ebp
ret
Function at 0x427380
Capabilities:
Get file size
Read file via mapping
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c430
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x48106c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push ecx
push 0
push 3
push ecx
push 1
mov edx, 0x80000000
call fcn.0041dd80
add esp, 0x14
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp eax, reloc.USER32.dll_PeekMessageA
jne 0x4273f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.src__s__open_err__x__n
call fcn.0041d110
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, edi
mov ebx, eax
call fcn.00427300
push ecx
push 0x80
push 2
push ecx
push 0
mov edx, 0x40000000
mov ecx, edi
call fcn.0041dd80
add esp, 0x14
mov esi, eax
mov byte [ebp - 4], 1
cmp esi, reloc.USER32.dll_PeekMessageA
jne 0x42748d
push ecx
mov ecx, edi
call fcn.00427220
mov eax, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x427448
mov dword [eax], 1
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, reloc.USER32.dll_PeekMessageA
jne 0x42748d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x4756e0
call fcn.0041d110
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
xor ebx, ebx
jmp 0x42754b
push 0
push 0
push 0
push 2
push 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
je 0x427523
cmp edi, reloc.USER32.dll_PeekMessageA
je 0x427523
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x427511
cmp eax, reloc.USER32.dll_PeekMessageA
je 0x427511
push 0
lea ecx, [ebp - 0x18]
push ecx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x427511
cmp ebx, dword [ebp - 0x18]
jne 0x427511
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x42750a
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ebx, 1
jmp 0x427513
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x427525
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x427525
xor ebx, ebx
test edi, edi
je 0x427539
cmp edi, reloc.USER32.dll_PeekMessageA
je 0x427539
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x42753f
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x42754b
cmp esi, reloc.USER32.dll_PeekMessageA
je 0x42754b
push esi
call edi
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x427555
push eax
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4387f0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00438570

Function at 0x4390c0
Capabilities:
Hash data with crc32

Disassembly:
mov edx, ecx
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + reloc.USER32.dll_PeekMessageA]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + reloc.USER32.dll_PeekMessageA]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + reloc.USER32.dll_PeekMessageA]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + reloc.USER32.dll_PeekMessageA]
mov eax, edx
ret

Function at 0x439420
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00439100
Function at 0x1001ac4b
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x10054b47
call fcn.10026c7b
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edx
mov edi, ebx
mov dword [ebp - 0x24], edx
xor eax, eax
xor ecx, ecx
inc ecx
mov esi, edx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x1d]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 0x1d], dl
call fcn.10025702
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.1002456e
push ecx
mov ecx, esp
push eax
call fcn.10018582
call fcn.1001b2e0
mov edx, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x28], eax
je 0x1001ad22
and dword [ebp - 0x30], esi
lea eax, [ecx - 4]
mov byte [ebp - 0x24], 0
push dword [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10017ad1
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.1001842c
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.10018654
call fcn.1001a8ca
mov edx, dword [ebp - 0x1c]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
xor edi, edi
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
je 0x1001ad55
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + str.EXAIXLXECNTZGDJJHWIVUMBPWSFYKF]
mov byte [ebp - 0x1d], al
lea eax, [ebp - 0x1d]
push eax
call fcn.10025702
mov edx, dword [ebp - 0x1c]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x1001ad2c
lea eax, [ebp - 0x1d]
mov byte [ebp - 0x1d], 0
push eax
mov ecx, ebx
call fcn.10025702
lea ecx, [ebp - 0x34]
call fcn.100243b4
lea ecx, [ebp - 0x1c]
call fcn.100243b4
lea ecx, [ebp + 0xc]
call fcn.100243b4
mov eax, ebx
call fcn.10026c25
ret
Function at 0x1001ad84
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x10054b9d
call fcn.10026c7b
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edx
mov edi, ebx
mov dword [ebp - 0x20], edx
xor eax, eax
xor ecx, ecx
inc ecx
mov esi, edx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x21]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 0x21], dl
call fcn.10025702
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.1002456e
push ecx
mov ecx, esp
push eax
call fcn.10018582
call fcn.1001b2e0
mov edx, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x28], eax
je 0x1001ae5b
and dword [ebp - 0x30], esi
lea eax, [ecx - 4]
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10017ad1
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.1001842c
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.10018654
call fcn.1001a8ca
mov edx, dword [ebp - 0x1c]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
xor edi, edi
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
je 0x1001ae93
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + str.EXAIXLXECNTZGDJJHWIVUMBPWSFYKF]
cbw
movzx eax, ax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.100257fb
mov edx, dword [ebp - 0x1c]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x1001ae65
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.100257fb
lea ecx, [ebp - 0x34]
call fcn.100243b4
lea ecx, [ebp - 0x1c]
call fcn.100243b4
lea ecx, [ebp + 0xc]
call fcn.100243b4
mov eax, ebx
call fcn.10026c25
ret
Function at 0x1001b22f
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x10054bca
call fcn.10026c7b
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov esi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
xor edx, edx
push edx
push edx
push ecx
push edx
push 1
push dword [eax - 0xc]
mov dword [ebp - 4], edx
push eax
call esi
test eax, eax
je 0x1001b299
push dword [ebp - 0x14]
call fcn.10026685
push dword [ebp - 0x14]
mov ebx, eax
push 0
push ebx
call fcn.10029570
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
add esp, 0x10
push 0
push 0
push eax
push ebx
push 1
push dword [ecx - 0xc]
push ecx
call esi
test eax, eax
jne 0x1001b2aa
push ebx
call fcn.1002668e
pop ecx
mov ecx, edi
call fcn.1001af7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1001b2cb
mov ecx, dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
push ebx
call fcn.1001b36e
mov esi, eax
test esi, esi
je 0x1001b2c4
mov ecx, edi
call fcn.1001af7a
push ebx
call fcn.1002668e
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.1001ec41
mov eax, esi
call fcn.10026c25
ret 8

Function at 0x1001b2e0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x10054bca
call fcn.10026c7b
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], ebx
je 0x1001b35b
push ebx
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x1001b31d
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x1001b353
push dword [ebp - 0x14]
mov ecx, esi
call fcn.10025852
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push ebx
push ebx
mov esi, dword [edi - 0xc]
push eax
push ebx
call fcn.1002456e
push eax
push 1
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x1001b35b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.1001ec41
mov eax, ebx
call fcn.10026c25
ret
Function at 0x1001b36e
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x114
mov eax, 0x10054bfa
call fcn.10026c7b
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [edi + 1]
mov dword [ebp - 0x14], edi
push eax
call fcn.10026685
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 0
push eax
call fcn.10029570
push edi
push esi
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.10025c4d
add esp, 0x20
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 1
push 0
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x1001b3e8
push esi
call fcn.1002668e
pop ecx
mov ecx, dword [ebp - 0x18]
call fcn.1001af7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1001b44e
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x120]
push 0xfde9
push esi
mov byte [esi + eax], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], eax
call fcn.1001d0a3
push dword [ebp - 0x120]
and dword [ebp - 4], 0
call fcn.10020b2b
pop ecx
mov ecx, dword [ebp - 0x18]
push eax
push dword [ebp - 0x120]
call fcn.10020a62
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x120], eax
je 0x1001b445
push dword [ebp - 0x120]
call fcn.10030285
pop ecx
push esi
call fcn.1002668e
pop ecx
xor eax, eax
call fcn.10026c25
ret 0xc
Function at 0x1001d26b
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1009572c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0xf0000040
push 0x18
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1001d29f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1001d3a4
push edi
mov edi, 0x94
push edi
call fcn.10026685
push edi
push ebx
push eax
mov dword [esi + 0x10], eax
call fcn.10029570
mov eax, dword [esi + 0x10]
push 0x80
push 0x1005a470
push edi
mov dword [eax], 0x206
mov dword [eax + 4], 0xa400
mov eax, dword [esi + 0x10]
mov dword [eax + 8], 0x31415352
mov dword [eax + 0xc], 0x400
mov dword [eax + 0x10], 0x10001
mov eax, dword [esi + 0x10]
add eax, 0x14
push eax
call fcn.10025c4d
add esp, 0x20
lea eax, [esi + 4]
push eax
push ebx
push ebx
push edi
push dword [esi + 0x10]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x1001d387
lea edi, [esi + 8]
push edi
push 0x800001
push 0x6602
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x1001d387
lea ebx, [esi + 0xc]
push ebx
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDuplicateKey]
test eax, eax
je 0x1001d387
lea eax, [ebp - 8]
push eax
push 0
push 0
push 1
push dword [ebx]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
je 0x1001d387
push dword [ebp - 8]
call fcn.10026685
push dword [ebp - 8]
mov dword [esi + 0x14], eax
push 0
push eax
call fcn.10029570
add esp, 0x10
lea eax, [ebp - 8]
push eax
push dword [esi + 0x14]
push 0
push 1
push dword [ebx]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
jne 0x1001d38f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1001d3a3
mov eax, dword [esi + 0x14]
add eax, 0xc
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
mov dword [esi + 0x1c], eax
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10026547
mov esp, ebp
pop ebp
ret
Function at 0x1001ef63
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x80
mov eax, 0x10055018
call fcn.10026c7b
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x7c], ebx
call fcn.1001b605
push eax
lea ecx, [ebp - 0x7c]
call fcn.10018449
mov eax, dword [esi]
lea ecx, [ebp - 0x80]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x78], 0x6b56474b
mov dword [ebp - 0x74], 0x374a6a4f
mov dword [ebp - 0x70], 0x546b7942
mov dword [ebp - 0x6c], 0x6341444c
mov dword [ebp - 0x68], 0x7441414e
mov dword [ebp - 0x64], 0x68426e48
mov dword [ebp - 0x60], 0x6c55684b
mov dword [ebp - 0x5c], 0x5945774c
mov dword [ebp - 0x58], 0x794d7945
mov dword [ebp - 0x54], 0x5645534b
mov dword [ebp - 0x50], 0x71494345
mov dword [ebp - 0x4c], 0x2b4a4443
mov dword [ebp - 0x48], 0x31464861
mov dword [ebp - 0x44], 0x52634248
mov dword [ebp - 0x40], 0x4e595341
mov dword [ebp - 0x3c], 0x74347948
mov dword [ebp - 0x38], 0x68515250
mov dword [ebp - 0x34], 0x6d457a46
mov dword [ebp - 0x30], 0x4d635246
mov dword [ebp - 0x2c], 0x4b38774d
mov dword [ebp - 0x28], 0x32707746
mov dword [ebp - 0x24], 0x72454465
mov dword [ebp - 0x20], 0x42495843
mov dword [ebp - 0x1c], 0x41414141
mov word [ebp - 0x18], 0x5151
call dword [eax + 4]
push dword [eax]
mov byte [ebp - 0x14], bl
lea eax, [ebp - 0x16]
push ebx
sub esp, 0xc
mov byte [ebp - 4], 1
mov ecx, esp
push dword [ebp - 0x14]
mov dword [ecx], ebx
push eax
lea eax, [ebp - 0x78]
mov dword [ecx + 4], ebx
push eax
mov dword [ecx + 8], ebx
call fcn.10017be3
lea eax, [ebp - 0x8c]
push eax
call fcn.1001ad84
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.100245b7
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.1001b108
add esp, 0xc
lea ecx, [ebp - 0x8c]
call fcn.10024437
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.1001ec41
mov dword [ebp - 0x14], ebx
call fcn.1001b605
push eax
lea ecx, [ebp - 0x14]
call fcn.10018449
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x80], esi
mov edi, dword [ebp - 0x7c]
add edi, 0xfffffff0
push edi
call fcn.1001aa12
pop ecx
add eax, 0x10
push ebx
mov dword [esi], eax
call fcn.1001f189
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.1001ec41
mov ecx, edi
call fcn.1001ec41
mov eax, esi
call fcn.10026c25
ret
Function at 0x10021d9a
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x9c
mov eax, 0x10055274
call fcn.10026c7b
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
push 0xfde9
push dword [ebp + 8]
xor edi, edi
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0xa8], eax
call fcn.1001d168
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10018534
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa8], eax
je 0x10021e0e
push dword [ebp - 0xa8]
call fcn.10030285
pop ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax - 0xc]
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push 1
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x10021e95
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add eax, dword [ebx + 0x1c]
push eax
mov dword [ecx], eax
call fcn.10026685
mov ecx, dword [ebp - 0x20]
mov dword [esi], eax
push dword [ecx]
push edi
push eax
call fcn.10029570
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x1c]
push dword [esi]
call fcn.10025c4d
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebx + 0x1c]
mov ecx, dword [eax - 0xc]
add esi, dword [edx]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
push esi
call fcn.10025c4d
add esp, 0x30
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
push eax
push esi
push edi
push 1
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x10021e9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.1001ec41
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.1001ec41
mov eax, edi
call fcn.10026c25
ret 0xc