joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40de90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x418008
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x20]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x14]
push ebx
push edx
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.0040e750
mov esi, eax
mov ecx, esi
mov dword [esp + 0x30], esi
call fcn.00406440
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push esi
push ebx
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.0040df30
mov ecx, esi
mov edi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.00406450
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x40fd10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x418200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x41a3cc
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x70], ebx
call dword [sym.imp.USER32.dll_CopyRect]
push 0xfffffffffffffffe
lea edx, [esp + 0x18]
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x7c]
sub eax, esi
neg ecx
sbb ecx, ecx
mov dword [esp + 0x24], eax
and ecx, 0x12c
mov edi, 0x41f4f8
add ecx, 0x190
xor eax, eax
mov dword [esp + 0x34], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x40]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x28], ebx
shr ecx, 2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 1
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x70]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x30]
push 1
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi]
mov ebx, eax
lea eax, [esp + 0x14]
push 0x21
push eax
lea ecx, [esp + 0x80]
push 1
push ecx
mov ecx, esi
call dword [edx + 0x70]
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x30]
mov dword [esp + 0xc], 0x41a37c
lea ecx, [esp + 0xc]
mov dword [esp + 0x68], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10
Function at 0x410890
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x418238
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, dword [esp + 0x34]
push edi
push esi
call fcn.004115f0
mov edi, eax
add esp, 4
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x4109c8
push ebx
push ebp
push 0
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esp + 0x44], eax
call sub.MFC42.DLL_CDC::FromHandle
lea ecx, [esp + 0x20]
mov ebx, eax
call sub.MFC42.DLL_CDC::CDC
test ebx, ebx
mov dword [esp + 0x38], 0
jne 0x4108f3
xor eax, eax
jmp 0x4108f6
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CDC::Attach
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
sub eax, edx
sub ecx, ebp
add eax, 0xa
add ecx, 0xa
push eax
push ecx
mov ecx, dword [ebx + 4]
lea esi, [edi + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call sub.MFC42.DLL_CGdiObject::Attach
test esi, esi
je 0x41094b
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x24]
push esi
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0xc]
mov ebp, dword [edi + 8]
sub eax, ecx
mov ecx, dword [esp + 0x18]
add eax, 0xa
sub ecx, dword [esp + 0x10]
add ecx, 0xa
test ebx, ebx
je 0x41097d
mov ebx, dword [ebx + 4]
push 0xcc0020
push edx
push ebp
push ebx
push eax
mov eax, dword [esp + 0x38]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
pop ebp
pop ebx
test esi, esi
je 0x41099f
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [esp + 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00416808
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x413a40
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x14]
push edi
push eax
push 0x20019
push 0
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x413a6d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x14]
push 0
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
je 0x413aa4
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.00413b90
lea ecx, [esp + 0x24]
lea edx, [esp + 0x10]
push ecx
push eax
mov eax, dword [esp + 0x20]
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x413aec
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
push ebp
call edi
mov ecx, esi
call fcn.00413bd0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.00413b80
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x414f50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4188f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 8], esp
push eax
mov dword [esp + 0x4c], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 8]
push ecx
call fcn.00415810
add esp, 8
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 4]
mov byte [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xffff0002
mov dword [esp + 0x10], 0x67
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::GetBuffer
push 0xffffffffffffffff
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], eax
call sub.MFC42.DLL_CString::ReleaseBuffer
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov dword [esp + 0x28], eax
test edx, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
sete cl
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x60]
cmp ecx, 0xffffffff
mov dword [esp + 0x34], edx
je 0x415016
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x84]
lea eax, [esp + 8]
push eax
push 0
push 0x1100
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x54]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x44
ret 0x18
Function at 0x104122f6
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x1044c30d
call fcn.1041e43a
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.1041cc40
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.1041baac
push ecx
mov ecx, esp
push eax
call fcn.1040fdf5
call fcn.1041298b
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 0x104123cd
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.1040f344
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.1040fc9f
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.1040fec7
call fcn.10411f75
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 0x10412400
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + str.PQXPFFARBLFNCLEWFQFRIPGHXDDLGD]
mov byte [ebp - 0x1d], al
lea eax, [ebp - 0x1d]
push eax
call fcn.1041cc40
mov edx, dword [ebp - 0x1c]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x104123d7
lea eax, [ebp - 0x1d]
mov byte [ebp - 0x1d], 0
push eax
mov ecx, ebx
call fcn.1041cc40
lea ecx, [ebp - 0x34]
call fcn.1041b8f2
lea ecx, [ebp - 0x1c]
call fcn.1041b8f2
lea ecx, [ebp + 0xc]
call fcn.1041b8f2
mov eax, ebx
call fcn.1041e3e4
ret
Function at 0x1041242f
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x1044c363
call fcn.1041e43a
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.1041cc40
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.1041baac
push ecx
mov ecx, esp
push eax
call fcn.1040fdf5
call fcn.1041298b
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 0x10412506
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.1040f344
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.1040fc9f
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.1040fec7
call fcn.10411f75
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 0x1041253e
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + str.PQXPFFARBLFNCLEWFQFRIPGHXDDLGD]
cbw
movzx eax, ax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.1041cd39
mov edx, dword [ebp - 0x1c]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x10412510
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.1041cd39
lea ecx, [ebp - 0x34]
call fcn.1041b8f2
lea ecx, [ebp - 0x1c]
call fcn.1041b8f2
lea ecx, [ebp + 0xc]
call fcn.1041b8f2
mov eax, ebx
call fcn.1041e3e4
ret
Function at 0x104128da
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x1044c390
call fcn.1041e43a
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 0x10412944
push dword [ebp - 0x14]
call fcn.1041de44
push dword [ebp - 0x14]
mov ebx, eax
push 0
push ebx
call fcn.10420d30
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 0x10412955
push ebx
call fcn.1041de4d
pop ecx
mov ecx, edi
call fcn.10412625
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10412976
mov ecx, dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
push ebx
call fcn.10412a19
mov esi, eax
test esi, esi
je 0x1041296f
mov ecx, edi
call fcn.10412625
push ebx
call fcn.1041de4d
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10416360
mov eax, esi
call fcn.1041e3e4
ret 8

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

Disassembly:
push 0xc
mov eax, 0x1044c390
call fcn.1041e43a
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 0x10412a06
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 0x104129c8
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x104129fe
push dword [ebp - 0x14]
mov ecx, esi
call fcn.1041cd90
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.1041baac
push eax
push 1
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x10412a06
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.10416360
mov eax, ebx
call fcn.1041e3e4
ret
Function at 0x10412a19
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x114
mov eax, 0x1044c3c0
call fcn.1041e43a
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.1041de44
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 0
push eax
call fcn.10420d30
push edi
push esi
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.1041d40c
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 0x10412a93
push esi
call fcn.1041de4d
pop ecx
mov ecx, dword [ebp - 0x18]
call fcn.10412625
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10412af9
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.104146e7
push dword [ebp - 0x120]
and dword [ebp - 4], 0
call fcn.1041840a
pop ecx
mov ecx, dword [ebp - 0x18]
push eax
push dword [ebp - 0x120]
call fcn.10418341
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x120], eax
je 0x10412af0
push dword [ebp - 0x120]
call fcn.10427a45
pop ecx
push esi
call fcn.1041de4d
pop ecx
xor eax, eax
call fcn.1041e3e4
ret 0xc
Function at 0x104148af
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10c2572c]
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 0x104148e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x104149e8
push edi
mov edi, 0x94
push edi
call fcn.1041de44
push edi
push ebx
push eax
mov dword [esi + 0x10], eax
call fcn.10420d30
mov eax, dword [esi + 0x10]
push 0x80
push 0x10802470
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.1041d40c
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 0x104149cb
lea edi, [esi + 8]
push edi
push 0x800001
push 0x6602
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x104149cb
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 0x104149cb
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 0x104149cb
push dword [ebp - 8]
call fcn.1041de44
push dword [ebp - 8]
mov dword [esi + 0x14], eax
push 0
push eax
call fcn.10420d30
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 0x104149d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x104149e7
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.1041dd06
mov esp, ebp
pop ebp
ret
Function at 0x10416682
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x64
mov eax, 0x1044c7e4
call fcn.1041e43a
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x60], ebx
call fcn.10412cb0
push eax
lea ecx, [ebp - 0x60]
call fcn.1040fcbc
mov eax, dword [esi]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x5c], 0x39785750
mov dword [ebp - 0x58], 0x55637949
mov dword [ebp - 0x54], 0x67596a48
mov dword [ebp - 0x50], 0x326c4264
mov dword [ebp - 0x4c], 0x3973784c
mov dword [ebp - 0x48], 0x4f51685a
mov dword [ebp - 0x44], 0x35567750
mov dword [ebp - 0x40], 0x4d306947
mov dword [ebp - 0x3c], 0x79685141
mov dword [ebp - 0x38], 0x7430684c
mov dword [ebp - 0x34], 0x5373434e
mov dword [ebp - 0x30], 0x78344147
mov dword [ebp - 0x2c], 0x45554745
mov dword [ebp - 0x28], 0x39737748
mov dword [ebp - 0x24], 0x6f4e7747
mov dword [ebp - 0x20], 0x5a38424d
mov dword [ebp - 0x1c], 0x41417745
mov word [ebp - 0x18], 0x4341
mov byte [ebp - 0x16], 0x30
call dword [eax + 4]
push dword [eax]
mov byte [ebp - 0x14], bl
lea eax, [ebp - 0x15]
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 - 0x5c]
mov dword [ecx + 4], ebx
push eax
mov dword [ecx + 8], ebx
call fcn.1040f456
lea eax, [ebp - 0x70]
push eax
call fcn.1041242f
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1041baf5
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.104127b3
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.1041b975
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.10416360
mov dword [ebp - 0x14], ebx
call fcn.10412cb0
push eax
lea ecx, [ebp - 0x14]
call fcn.1040fcbc
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x64], esi
mov edi, dword [ebp - 0x60]
add edi, 0xfffffff0
push edi
call fcn.104120bd
pop ecx
add eax, 0x10
push ebx
mov dword [esi], eax
call fcn.10416872
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.10416360
mov ecx, edi
call fcn.10416360
mov eax, esi
call fcn.1041e3e4
ret
Function at 0x104192fa
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x9c
mov eax, 0x1044ca46
call fcn.1041e43a
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.104147ac
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.1040fda7
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa8], eax
je 0x1041936e
push dword [ebp - 0xa8]
call fcn.10427a45
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 0x104193f5
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add eax, dword [ebx + 0x1c]
push eax
mov dword [ecx], eax
call fcn.1041de44
mov ecx, dword [ebp - 0x20]
mov dword [esi], eax
push dword [ecx]
push edi
push eax
call fcn.10420d30
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x1c]
push dword [esi]
call fcn.1041d40c
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.1041d40c
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 0x104193fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10416360
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10416360
mov eax, edi
call fcn.1041e3e4
ret 0xc