joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407060
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5717f1
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.00406740
add esp, 0xc
test al, al
je 0x407175
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0x20006
push ebx
push edx
push OleUIInsertObjectA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x40712a
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 0x40711a
mov bl, 1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4071b6
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 0x4071b1
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 0x4071f0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x571818
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.00406740
add esp, 0xc
test al, al
je 0x4072c9
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x20006
push ebx
push edx
push OleUIInsertObjectA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x407284
mov eax, dword [esp + 0x10]
push str.License
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
jne 0x407274
mov bl, 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x407304
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 0x4072ff
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 0x407c70
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, 0x5d09a4
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 0x407c91
mov ebx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov esi, 0x5d09a8
mov edi, 9
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebx
call fcn.00407330
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 0x407cf6
mov esi, 0x5d09f0
mov ebp, 4
mov edi, 0x80
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebx
call fcn.00407330
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 0x407d29
dec ebp
jne 0x407d24
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
pop ecx
ret 8

Function at 0x408100
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 0x408136
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 + 0x5d19ec]
xor eax, edx
inc ecx
cmp ecx, edi
jl 0x408115
pop ebx
pop edi
pop esi
not eax
ret

Function at 0x408e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5718f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CMenu.0
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.004eaa50
mov dword [ebx], 0x586014
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.004eaa50
or eax, 0xffffffff
push 0x69ab78
mov dword [ebx], 0x585fd8
push edi
mov dword [esi], 0x585fec
mov dword [esi + 0x4c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0xc0c0c0
mov dword [esi + 0x34], edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x50], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40b150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x571b2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x586038
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x40b1e0
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x40b1a7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x40b1d1
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x40b1e6
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x40b1e6
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], vtable.CGdiObject.0
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], vtable.CObject.0
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40d250
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x571e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x18], vtable.CPen.0
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], edi
push eax
push edi
push edi
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x40d2bd
mov dword [esp + 0x10], 1
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
lea edx, [esp + 0x20]
mov ecx, esi
lea eax, [ebp + 2]
push eax
push edi
push edx
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x10]
mov ebx, ebp
sub ebx, edx
mov ecx, esi
lea eax, [ebx + 5]
push eax
push edi
mov dword [esp + 0x40], eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [ebp + 3]
lea ecx, [edi + 1]
push eax
lea eax, [esp + 0x24]
push ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [ebx + 6]
mov ecx, esi
mov dword [esp + 0x44], eax
push eax
lea eax, [edi + 1]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea ecx, [ebp + 4]
lea eax, [edi + 2]
push ecx
lea edx, [esp + 0x24]
push eax
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [ebx + 7]
mov ecx, esi
push eax
lea eax, [edi + 2]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [ebp + 3]
lea ecx, [edi + 3]
push eax
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x44]
lea eax, [edi + 3]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
lea eax, [ebp + 2]
lea ecx, [edi + 4]
push eax
lea eax, [esp + 0x24]
push ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x38]
lea eax, [edi + 4]
push ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
lea edx, [ebp + 1]
lea eax, [edi + 5]
push edx
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea ecx, [ebx + 4]
lea eax, [edi + 5]
push ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
add edi, 6
push ebp
lea edx, [esp + 0x24]
push edi
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
add ebx, 3
mov ecx, esi
push ebx
push edi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x14
Function at 0x40e8c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x572000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov eax, esi
mov ebp, ecx
push edi
xor edi, edi
mov ecx, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], vtable.CBrush.0
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edi
call fcn.00408f80
test eax, eax
je 0x40e91e
push 0xf
jmp 0x40e920
push 4
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
call ebx
cmp dword [esp + 0x40], edi
jne 0x40e941
push 0x3fe33333
push 0x33333333
push eax
call fcn.00409ee0
add esp, 0xc
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
call fcn.00408f70
test eax, eax
je 0x40e999
mov eax, dword [edi + 4]
push 0xf
lea edx, [esp + 0x1c]
push 2
push edx
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x40e9bf
push 0
push 7
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 4
push eax
add edx, 4
push ecx
push edx
push edi
mov ecx, ebp
call fcn.0040d250
jmp 0x40e9d9
push 7
call ebx
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
add ecx, 5
add eax, 4
push eax
push ecx
push edi
mov ecx, ebp
call fcn.0040d100
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10

Function at 0x40f090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
and esi, 0xffff
push 2
push esi
call sub.MFC42.DLL_AfxFindResourceHandle
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
push 2
push esi
push ebx
call ebp
mov edi, eax
test edi, edi
jne 0x40f0cd
xor ebx, ebx
push 2
push esi
push ebx
call ebp
mov edi, eax
test edi, edi
jne 0x40f0cd
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40f0de
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x40f0ee
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call fcn.0040f020
add esp, 4
cmp ax, 0x10
je 0x40f104
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push edi
push ebx
call sub.MFC42.DLL_AfxLoadSysColorBitmap
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40f3d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x69ab9c]
sub esp, 0x134
test eax, eax
jne 0x40f4a5
lea eax, [esp]
mov dword [0x69ab9c], 1
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push OleUIInsertObjectA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f4a5
push esi
lea ecx, [esp + 0xc]
push edi
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40f498
mov ecx, 5
mov esi, str.Windows_Classic.theme
lea edi, [esp + 0x14]
lea edx, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
call edi
mov esi, eax
lea eax, [esp + 0x14]
push eax
call edi
cmp esi, eax
jl 0x40f498
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
call edi
sub esi, eax
lea eax, [esp + esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40f498
mov dword [0x69ab98], 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [0x69ab98]
add esp, 0x134
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5723a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push esi
lea eax, [esp + 0x18]
push 0x104
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
add esi, 0x9c
lea ecx, [esp + 0x10]
push esi
call sub.MFC42.DLL_CString::CString_2
mov esi, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x124], 0
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0x5d4a88
lea edx, [esp + 0xc]
push eax
push edx
mov byte [esp + 0x130], 1
call sub.MFC42.DLL_operator_4
push esi
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x12c], 2
push eax
call sub.MFC42.DLL_operator
push str.101162.ini
lea ecx, [esp + 8]
push eax
push ecx
mov byte [esp + 0x130], 3
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x124], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x124], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], 5
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
mov dword [esp + 0x124], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x11c]
pop esi
mov dword fs:[0], ecx
add esp, 0x124
ret
Function at 0x414c40
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x5725bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x294
push ebx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x108]
xor ebx, ebx
push eax
push 2
mov dword [esp + 0x2a8], ebx
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x414cd6
lea ecx, [esp + 8]
push 0xff
push ecx
call dword [sym.imp.WSOCK32.dll_gethostname]
test eax, eax
jne 0x414cd0
lea edx, [esp + 8]
push edx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
cmp eax, ebx
je 0x414cd0
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea ecx, [esp + 8]
call fcn.004ea8a0
mov ecx, dword [esp + 0x2a8]
lea eax, [esp + 4]
push eax
call sub.MFC42.DLL_CString::operator_1
mov bl, 1
call dword [sym.imp.WSOCK32.dll_WSACleanup]
lea ecx, [esp + 4]
mov dword [esp + 0x2a0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x298]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a0
ret

Function at 0x414d10
Capabilities:
Get hostname

Disassembly:
push ecx
push ebx
push esi
push 0x10
mov dword [esp + 0xc], 0x10
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
lea eax, [esp + 8]
xor bl, bl
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x414d4c
mov ecx, dword [esp + 8]
push esi
mov byte [esi + ecx], bl
mov ecx, dword [esp + 0x14]
call fcn.004ea8a0
mov bl, 1
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, bl
pop esi
pop ebx
pop ecx
ret
Function at 0x414e30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [esp + 0x120]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 4], ebx
jne 0x414e5d
lea eax, [esp + 4]
push eax
push 0x20019
push ebx
push str.SoftwareRocscienceDips
jmp 0x414f48
cmp eax, 1
jne 0x414e77
lea ecx, [esp + 4]
push ecx
push 0x20019
push ebx
push str.SoftwareRocscienceExamine3D
jmp 0x414f48
cmp eax, 2
jne 0x414e91
lea edx, [esp + 4]
push edx
push 0x20019
push ebx
push str.SoftwareRocsciencePhase2_5.0
jmp 0x414f48
cmp eax, 3
jne 0x414eab
lea eax, [esp + 4]
push eax
push 0x20019
push ebx
push str.SoftwareRocscienceRocFall
jmp 0x414f48
cmp eax, 4
jne 0x414ec5
lea ecx, [esp + 4]
push ecx
push 0x20019
push ebx
push str.SoftwareRocscienceRocPlane_2.0
jmp 0x414f48
cmp eax, 5
jne 0x414edc
lea edx, [esp + 4]
push edx
push 0x20019
push ebx
push str.SoftwareRocscienceRocSupport
jmp 0x414f48
cmp eax, 6
jne 0x414ef3
lea eax, [esp + 4]
push eax
push 0x20019
push ebx
push str.SoftwareRocscienceSlide_5.0
jmp 0x414f48
cmp eax, 7
jne 0x414f0a
lea ecx, [esp + 4]
push ecx
push 0x20019
push ebx
push str.SoftwareRocscienceSwedge
jmp 0x414f48
cmp eax, 8
jne 0x414f21
lea edx, [esp + 4]
push edx
push 0x20019
push ebx
push str.SoftwareRocscienceUnwedge_3.0
jmp 0x414f48
cmp eax, 9
jne 0x414f38
lea eax, [esp + 4]
push eax
push 0x20019
push ebx
push str.SoftwareRocscienceRocData_3.0
jmp 0x414f48
lea ecx, [esp + 4]
push ecx
push 0x20019
push ebx
push str.SoftwareRocscience
push OleUIInsertObjectA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x414fb1
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
push str.License
push edx
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414fa6
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x12c]
mov byte [esp + eax + 0x14], bl
call fcn.004ea8a0
mov bl, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
add esp, 0x11c
ret
Function at 0x4182d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x572960
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov dword [esp + 4], vtable.CBrush.0
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x38], eax
cmp ecx, eax
mov eax, dword [0x69abc4]
jne 0x41830e
mov eax, dword [0x69abd0]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 8]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CWindowDC::CWindowDC
mov edx, dword [esp + 8]
lea eax, [esp + 4]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
call dword [sym.imp.USER32.dll_FrameRect]
lea ecx, [esp + 0x1c]
call fcn.004eace4
mov dword [esp + 4], vtable.CGdiObject.0
lea ecx, [esp + 4]
mov dword [esp + 0x38], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x41eb70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5730d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0x30]
mov ecx, esi
push edx
call fcn.0041ec40
push eax
lea ecx, [esp + 8]
call sub.MFC42.DLL_CBrush::CBrush
mov esi, dword [esi + 0x11c]
lea eax, [esp + 0xc]
push esi
push esi
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CDC::Draw3dRect
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 8]
lea eax, [esp + 4]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0xc]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 4]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 4], vtable.CGdiObject.0
lea ecx, [esp + 4]
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc

Function at 0x41fff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57335e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], vtable.CObject.0
lea ecx, [esi + 4]
push 0
mov dword [esp + 0x14], 0
call fcn.004ef1f1
lea ecx, [esi + 0xc]
call fcn.004f7110
lea ecx, [esi + 0x2c]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString_4
mov ecx, esi
mov byte [esp + 0x10], 2
mov dword [esi], vtable.CGXStyle.0
call fcn.004ef5b5
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret