joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4027a2
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push esi
push edi
push eax
call fcn.00401c8a
mov ebx, eax
mov dword [ebp - 8], ebx
pop ecx
test ebx, ebx
je 0x402807
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov dword [ebp - 0xc], eax
push esi
xor esi, esp
add esi, esi
mov esi, 0xdd256eb9
and esi, ebp
pop esi
call fcn.0040d702
test eax, eax
jns 0x4027f2
push 0
push 0
call dword [sym.imp.USER32.dll_SetCursorPos]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40280c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.004028b7
push 0
call dword [sym.imp.USER32.dll_GetParent]
push eax
sbb eax, esp
xor eax, eax
mov eax, 0xcd7825d3
nop
pop eax
mov ebx, 0x44c9e0
mov dword [ebp - 4], ebx
call fcn.0040d702
imul eax, eax, 0x2710
mov dword [ebx], eax
push eax
mov eax, 0x62d245b9
add eax, edx
add eax, esi
xor eax, edx
nop
pop eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 4], ebx
cmp ebx, 0x456620
jl 0x402834
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402976
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, 0x44c9e0
push edi
mov dword [ebp - 4], ebx
call fcn.0040d702
mov dword [ebx], eax
push edi
sbb edi, eax
xor edi, esp
xor edi, eax
sbb edi, esp
nop
pop edi
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 4], ebx
cmp ebx, 0x456620
jl 0x402985
xor edx, edx
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4029ac
xor edi, edi
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4029b8
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.004028b7
push ecx
mov ecx, 0xa142e489
add ecx, eax
nop
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x428973
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00428578

Function at 0x429581
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00429308

Function at 0x42b7ca
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042afa4

Function at 0x42b7d5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042b1df
Function at 0x401680
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x549f5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 8]
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_COleDispatchDriver::COleDispatchDriver
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_COleDispatchDriver::COleDispatchDriver
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_COleDispatchDriver::COleDispatchDriver
push 2
push 1
lea ecx, [esi + 0x4c]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_COleVariant::COleVariant_1
push 2
push ebx
lea ecx, [esi + 0x5c]
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_COleVariant::COleVariant_1
push 0xa
push 0x80020004
lea ecx, [esi + 0x6c]
mov byte [esp + 0x20], 5
call sub.MFC42.DLL_COleVariant::COleVariant_2
lea ecx, [esi + 0x80]
mov byte [esp + 0x18], 6
call fcn.004011c0
push str._.12g
mov ecx, edi
mov dword [esi], 0x558588
mov byte [esi + 0x48], bl
mov byte [esi + 0x90], bl
mov dword [esi + 0x7c], ebx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0xd], bl
mov byte [esi + 0xc], bl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x401e00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x54a0e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0xc]
push str._12g
push edx
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x14]
push eax
call fcn.00401f10
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x401e16
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x54a0e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0xc]
push str._12g
push edx
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x14]
push eax
call fcn.00401f10
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18

Function at 0x401e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54a108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0xc]
push str._12g
push edx
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
add esp, 0x10
push eax
push ecx
mov ecx, esi
call fcn.00401fa0
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc

Function at 0x405510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54a840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
lea ecx, [esp + 0x30]
lea eax, [esi + 0x38]
push eax
call fcn.00401490
push 1
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_COleDispatchDriver::COleDispatchDriver_1
mov ecx, dword [esp + 0x2c]
push 2
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_COleVariant::COleVariant_1
add esi, 0x4c
lea ecx, [esp + 4]
push esi
push 3
push 2
push eax
mov byte [esp + 0x34], 1
call fcn.00463190
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0x14
Function at 0x405ad0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
mov cx, word [0x57482c]
mov eax, dword [str.abcdef]
mov dl, byte [0x57482e]
push esi
mov esi, dword [esp + 0x10]
mov word [esp + 8], cx
xor ecx, ecx
mov dword [esp + 4], eax
mov cl, byte [esi]
mov eax, 0x66666667
mov byte [esp + 0xa], dl
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov eax, dword [esp + 0x2c]
lea edx, [edx + edx*4]
shl edx, 1
sub ecx, edx
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
xor ecx, ecx
mov cl, byte [esi + 1]
mov eax, 0xd1b71759
mov dword [edx], ecx
xor ecx, ecx
mov cx, word [esi + 2]
mul ecx
shr edx, 0xd
js 0x405b41
cmp edx, 5
jle 0x405b43
xor edx, edx
mov eax, edx
neg eax
shl eax, 2
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 4
add ecx, eax
cmp ecx, 0xa
jae 0x405b6d
movsx edx, byte [esp + edx + 4]
push edx
push ecx
push str.000_u_c
jmp 0x405b9b
cmp ecx, 0x64
jae 0x405b80
movsx edx, byte [esp + edx + 4]
push edx
push ecx
push str.00_u_c
jmp 0x405b9b
movsx edx, byte [esp + edx + 4]
cmp ecx, 0x3e8
push edx
push ecx
jae 0x405b96
push str.0_u_c
jmp 0x405b9b
push str._u_c
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov cl, byte [esi + 4]
xor eax, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
mov al, byte [esi + 5]
add esp, 0x10
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
xor edx, edx
mov dx, word [esi + 6]
pop esi
mov dword [eax], edx
add esp, 8
ret 0x20

Function at 0x405cc0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
mov cx, word [0x57482c]
mov eax, dword [str.abcdef]
mov dl, byte [0x57482e]
push esi
mov esi, dword [esp + 0x10]
mov word [esp + 8], cx
xor ecx, ecx
mov dword [esp + 4], eax
mov cl, byte [esi]
mov eax, 0x66666667
mov byte [esp + 0xa], dl
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov eax, dword [esp + 0x2c]
lea edx, [edx + edx*4]
shl edx, 1
sub ecx, edx
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
xor ecx, ecx
mov cl, byte [esi + 1]
mov eax, 0xd1b71759
mov dword [edx], ecx
xor ecx, ecx
mov cx, word [esi + 2]
mul ecx
shr edx, 0xd
js 0x405d31
cmp edx, 5
jle 0x405d33
xor edx, edx
mov eax, edx
neg eax
shl eax, 2
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 4
add ecx, eax
cmp ecx, 0xa
jae 0x405d5d
movsx edx, byte [esp + edx + 4]
push edx
push ecx
push str.000_u_c
jmp 0x405d8b
cmp ecx, 0x64
jae 0x405d70
movsx edx, byte [esp + edx + 4]
push edx
push ecx
push str.00_u_c
jmp 0x405d8b
movsx edx, byte [esp + edx + 4]
cmp ecx, 0x3e8
push edx
push ecx
jae 0x405d86
push str.0_u_c
jmp 0x405d8b
push str._u_c
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov cl, byte [esi + 4]
xor eax, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
mov al, byte [esi + 5]
add esp, 0x10
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
xor edx, edx
mov dx, word [esi + 6]
pop esi
mov dword [eax], edx
add esp, 8
ret 0x20
Function at 0x406920
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x54a966
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov dword [esp + 0x130], 1
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x13c]
lea eax, [esp + 0x10]
mov byte [esp + 0x130], 2
push eax
push esi
push edi
call fcn.00406430
add esp, 0xc
test al, al
je 0x406a5f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
push edx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x406a08
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push esi
push str.Install
push eax
mov dword [esp + 0x38], 0x104
mov dword [esp + 0x30], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4069f8
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406aac
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
push esi
lea eax, [esp + 0xc]
push str.Error_in_ReadInstallFolderFromRegistry:_n_nCan_not_query_data_from_registry__code_ld_._nMust_be_able_to_query_data_from:_n_n
push eax
mov byte [esp + 0x13c], 3
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 8]
push 0
push 0
push edx
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Empty
mov byte [esp + 0x130], 2
lea ecx, [esp + 8]
jmp 0x406aa7
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
push esi
push edi
lea eax, [esp + 0x10]
push str.Error_in_ReadInstallFolderFromRegistry:_n_nCan_not_get_registry_string._nprogram_d___version_d
push eax
mov byte [esp + 0x140], 4
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x18]
add esp, 0x10
push 0
push 0
push ecx
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Empty
mov byte [esp + 0x130], 2
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x138]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x406b10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x54a9c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov dword [esp + 0x130], 1
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x13c]
lea eax, [esp + 0x10]
mov byte [esp + 0x130], 2
push eax
push esi
push edi
call fcn.00406430
add esp, 0xc
test al, al
je 0x406ca1
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
push edx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x406c4a
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push esi
push str.License
push eax
mov dword [esp + 0x38], 0x104
mov dword [esp + 0x30], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406c3a
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
mov al, byte [esp + 0x144]
test al, al
je 0x406c3a
push 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x406c3a
inc eax
lea edx, [esp + 8]
push eax
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 8]
mov byte [esp + 0x130], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406cee
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
push esi
lea ecx, [esp + 0xc]
push str.Error_in_ReadLicenseFolderFromRegistry:_n_nCan_not_query_data_from_registry__code_ld_._nMust_be_able_to_query_data_from:_n_n
push ecx
mov byte [esp + 0x13c], 4
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 8]
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 8]
push 0
push 0
push eax
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Empty
mov byte [esp + 0x130], 2
lea ecx, [esp + 8]
jmp 0x406ce9
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
push esi
push edi
lea ecx, [esp + 0x10]
push str.Error_in_ReadLicenseFolderFromRegistry:_n_nCan_not_get_registry_string._nprogram_d___version_d
push ecx
mov byte [esp + 0x140], 5
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
add esp, 0x10
push 0
push 0
push edx
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Empty
mov byte [esp + 0x130], 2
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x138]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x406d50
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x54a9f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esp + 0x130]
mov edi, dword [esp + 0x12c]
lea eax, [esp + 0x10]
mov dword [esp + 0x124], ebx
push eax
push esi
push edi
call fcn.00406430
add esp, 0xc
test al, al
je 0x406e65
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0x20006
push ebx
push edx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x406e1a
mov eax, dword [esp + 0x134]
push 0x104
lea ecx, [esp + 0x1c]
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x18]
push 0x104
push edx
push 1
push ebx
push str.License
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
jne 0x406e0a
mov bl, 1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406ea6
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_4
push esi
lea edx, [esp + 0x10]
push str.Error_in_WriteLicenseFolderToRegistry:_n_nCan_not_write_data_to_registry__code_ld_._nMust_be_able_to_write_data_to:_n_n
push edx
mov byte [esp + 0x130], 1
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push ecx
call sub.MFC42.DLL_AfxMessageBox_1
mov byte [esp + 0x124], bl
lea ecx, [esp + 0xc]
jmp 0x406ea1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_4
push esi
push edi
lea edx, [esp + 0x14]
push str.Error_in_WriteLicenseFolderToRegistry:_n_nCan_not_get_registry_string._nprogram_d___version_d
push edx
mov byte [esp + 0x134], 2
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0x10
push ebx
push ebx
push eax
call sub.MFC42.DLL_AfxMessageBox_1
mov byte [esp + 0x124], bl
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x11c]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x406ee0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x54aa18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], ebx
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
lea eax, [esp + 0xc]
mov dword [esp + 0x1c], ebx
push eax
push esi
push edi
call fcn.00406430
add esp, 0xc
test al, al
je 0x406fb9
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x20006
push ebx
push edx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x406f74
mov eax, dword [esp + 0x10]
push str.License
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
jne 0x406f64
mov bl, 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406ff4
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_4
push esi
lea edx, [esp + 0x2c]
push str.Error_in_RemoveLicenseFolderFromRegistry:_n_nCan_not_delete_data_in_registry__code_ld_._nMust_be_able_to_delete_data_in:_n_n
push edx
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x28]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x28]
push ebx
push ebx
push ecx
call sub.MFC42.DLL_AfxMessageBox_1
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0x28]
jmp 0x406fef
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_4
push esi
push edi
lea edx, [esp + 0x30]
push str.Error_in_RemoveLicenseFolderFromRegistry:_n_nCan_not_get_registry_string._nprogram_d___version_d
push edx
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x38]
add esp, 0x10
push ebx
push ebx
push eax
call sub.MFC42.DLL_AfxMessageBox_1
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x407960
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov dword [esp + 0x10], ecx
movsx edi, word [esp + 0x1c]
xor edx, edx
mov ecx, 0x573368
mov dword [esp + 0x1c], 0x12
movsx esi, dx
xor ebx, ebx
add ecx, 4
lea eax, [esi + 1]
cdq
idiv edi
lea eax, [esi + 2]
mov bl, byte [edx + ebp]
cdq
idiv edi
mov bh, byte [esi + ebp]
xor eax, eax
shl ebx, 8
mov al, byte [edx + ebp]
or ebx, eax
lea eax, [esi + 3]
cdq
idiv edi
xor eax, eax
shl ebx, 8
mov al, byte [edx + ebp]
or ebx, eax
mov eax, dword [ecx - 4]
xor eax, ebx
mov dword [ecx - 4], eax
lea eax, [esi + 4]
cdq
idiv edi
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x407981
mov ebx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov esi, 0x57336c
mov edi, 9
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebx
call fcn.00407020
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esi - 4], eax
mov dword [esi], ecx
add esi, 8
dec edi
jne 0x4079e6
mov esi, 0x5733b4
mov ebp, 4
mov edi, 0x80
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebx
call fcn.00407020
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esi - 4], ecx
mov dword [esi], edx
add esi, 8
dec edi
jne 0x407a19
dec ebp
jne 0x407a14
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
pop ecx
ret 8

Function at 0x407f00
Capabilities:
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
xor esi, esi
test edi, edi
je 0x407f50
push ebp
push edi
or esi, 0xffffffff
call dword [sym.imp.MSVCRT.dll_rewind]
mov ebp, dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
push edi
call ebp
add esp, 4
cmp eax, 0xffffffff
je 0x407f45
xor eax, esi
and eax, 0xff
shr esi, 8
mov eax, dword [eax*4 + 0x5743b0]
xor esi, eax
mov al, byte [edi + 0xc]
test al, 0x10
je 0x407f20
push edi
call dword [sym.imp.MSVCRT.dll_rewind]
add esp, 4
pop ebp
mov eax, esi
pop edi
not eax
pop esi
ret

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

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
or eax, 0xffffffff
mov esi, dword [ecx]
xor ecx, ecx
mov edi, dword [esi - 8]
test edi, edi
jle 0x407f96
push ebx
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ecx]
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x5743b0]
xor eax, edx
inc ecx
cmp ecx, edi
jl 0x407f75
pop ebx
pop edi
pop esi
not eax
ret