joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ec0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407a30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, 0x45
push ebx
mov byte [ebp - 0x37], al
mov byte [ebp - 0x34], al
mov al, 0x4c
push esi
mov byte [ebp - 0x33], al
mov byte [ebp - 0x28], al
mov byte [ebp - 0x24], al
mov al, 0x72
mov cl, 0x6c
push edi
mov byte [ebp - 0x21], al
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x2e], cl
mov byte [ebp - 0x2d], cl
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x38]
mov dl, 0x64
mov ebx, 0x61
push eax
push ecx
mov byte [ebp - 0x38], 0x4b
mov byte [ebp - 0x36], 0x52
mov byte [ebp - 0x35], 0x4e
mov byte [ebp - 0x32], 0x33
mov byte [ebp - 0x31], 0x32
mov byte [ebp - 0x30], 0x2e
mov byte [ebp - 0x2f], dl
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], bl
mov byte [ebp - 0x25], dl
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x62
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1e], 0x79
mov byte [ebp - 0x1d], 0x41
mov byte [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [ebp - 0x14]
push 0x40a530
push edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], ebx
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp + 8]
test eax, eax
je 0x402faa
mov ecx, dword [ebp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + 0x10], eax
mov eax, 0x402f96
ret
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x402fc0
push esi
call dword [ebp - 0x18]
test eax, eax
je 0x402fe8
mov edx, dword [ebp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + 0x10], eax
mov eax, 0x402fd4
ret
mov eax, 0x402fee
ret
Function at 0x4065b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x408367
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], esi
call sub.MFC42.DLL_CString::CString_1
push str.USERLIST
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 1
call sub.MFC42.DLL_CString::operator
mov eax, dword [edi + 0x338]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0x18b
push eax
call ebp
cmp eax, esi
jle 0x4066b0
push ebx
lea ebx, [edi + 0x318]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
push ecx
push esi
mov ecx, ebx
call sub.MFC42.DLL_CListBox::GetText
lea edx, [esp + 0x10]
push 0x40c0f0
lea eax, [esp + 0x20]
push edx
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call fcn.00406eb2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.00406eb2
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.00406eb2
mov eax, dword [edi + 0x338]
push 0
push 0
push 0x18b
push eax
inc esi
call ebp
cmp esi, eax
jl 0x406617
pop ebx
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.00406eb2
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x406a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x408410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push str.user.dat
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0x21c]
add esi, 0x21c
push 0
push 0x4001
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0
call dword [eax + 0x28]
test eax, eax
je 0x406b55
mov edx, dword [esi]
push edi
push 2
push 0
mov ecx, esi
call dword [edx + 0x30]
mov edi, dword [esp + 0x2c]
push 0x40c0f0
lea eax, [esp + 0x1c]
push edi
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [edi + 4]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_operator
push 0x40c0f0
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x2c], 2
push eax
call sub.MFC42.DLL_operator_1
add edi, 8
lea ecx, [esp + 0x2c]
push edi
push eax
push ecx
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_operator
push 0x418688
lea edx, [esp + 0x10]
push eax
push edx
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 9
call fcn.00406eb2
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 8
call fcn.00406eb2
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 7
call fcn.00406eb2
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 6
call fcn.00406eb2
mov ecx, dword [esp + 0xc]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x5c]
push 0
push 0
push 0x418680
call sub.MFC42.DLL_AfxMessageBox_1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x54]
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.00406eb2
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.00406eb2
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.00406eb2
mov ecx, dword [esp + 0x18]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x10088454
Capabilities:
Terminate process

Disassembly:
jmp 0x10120fd0
jmp fcn.1013af80
cmp ecx, dword [0x101cf8e0]
jne 0x10120fda
repz ret
jmp 0x10088d7d

Function at 0x100c1ed0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
cmp dword [0x101d1a1c], 0
je 0x100c1f76
mov esi, esp
push str.loading_system.._r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.10089c9b
mov esi, esp
mov eax, dword [0x101d1a1c]
push eax
call dword [sym.imp.Common.dll_struct_Universe::ISystem_const____cdecl_Universe::get_system_unsigned_int_]
add esp, 4
cmp esi, esp
call fcn.10089c9b
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.1008a592
add esp, 4
mov dword [ebp - 0x14], eax
push 0x64
call fcn.10088eb3
add esp, 4
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x20], eax
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.Common.dll_void___cdecl_Universe::get_filename_char___char_const__]
add esp, 8
cmp esi, esp
call fcn.10089c9b
mov eax, 0x553740
mov edx, dword [ebp - 0x20]
push edx
call eax
add esp, 4
mov dword [0x101d1a1c], 0
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.10089c9b
mov esp, ebp
pop ebp
ret 4

Function at 0x100cd0f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1100
call fcn.10086677
push ebx
push esi
push edi
lea edi, [ebp - 0x1100]
mov ecx, 0x440
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, esp
call fcn.10089c9b
mov dword [ebp - 0x101c], eax
lea eax, [ebp - 0x1010]
push eax
push 0x1000
lea ecx, [ebp - 0x1004]
push ecx
mov edx, dword [ebp - 0x101c]
push edx
call fcn.10087a68
test eax, eax
je 0x100cd1f0
cmp dword [ebp - 0x1010], 0x1000
jbe 0x100cd164
mov dword [ebp - 0x1010], 0x1000
mov eax, dword [ebp - 0x1010]
shr eax, 2
mov dword [ebp - 0x1010], eax
mov dword [ebp - 0x1028], 0
jmp 0x100cd18e
mov eax, dword [ebp - 0x1028]
add eax, 1
mov dword [ebp - 0x1028], eax
mov eax, dword [ebp - 0x1028]
cmp eax, dword [ebp - 0x1010]
jae 0x100cd1f0
push 0xc
lea eax, [ebp - 0x103c]
push eax
mov ecx, dword [ebp - 0x1028]
mov edx, dword [ebp + ecx*4 - 0x1004]
push edx
mov eax, dword [ebp - 0x101c]
push eax
call fcn.1008a47a
test eax, eax
je 0x100cd1ee
mov eax, dword [ebp - 0x103c]
cmp eax, dword [ebp + 8]
jae 0x100cd1ee
mov eax, dword [ebp - 0x103c]
add eax, dword [ebp - 0x1038]
cmp eax, dword [ebp + 8]
jbe 0x100cd1ee
mov eax, dword [ebp - 0x1028]
mov eax, dword [ebp + eax*4 - 0x1004]
jmp 0x100cd1f2
jmp 0x100cd17f
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x100cd218]
call fcn.100868f2
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x1100
cmp ebp, esp
call fcn.10089c9b
mov esp, ebp
pop ebp
ret
Function at 0x41212a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x424470]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a645
mov dword [ebp - 0x14], eax
cmp dword [0x426a98], esi
jne 0x41221d
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4121aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4122fd
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4122fd
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4122fd
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x426a98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x426a9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x426aa0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x426aa8], eax
test eax, eax
je 0x41221a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x426aa4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x412242
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x412235
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x412257
push 4
pop eax
jmp 0x4122ff
cmp dword [ebp - 0x14], esi
je 0x412257
push dword [0x426a98]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41223c
mov eax, dword [0x426aa4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4122b5
cmp dword [0x426aa8], edi
je 0x4122b5
push eax
call ebx
push dword [0x426aa8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4122b5
test eax, eax
je 0x4122b5
call ecx
test eax, eax
je 0x4122aa
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4122aa
test byte [ebp - 8], 1
jne 0x4122b5
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4122e5
mov eax, dword [0x426a9c]
cmp eax, edi
je 0x4122e2
push eax
call ebx
test eax, eax
je 0x4122e2
call eax
mov esi, eax
test esi, esi
je 0x4122e2
mov eax, dword [0x426aa0]
cmp eax, edi
je 0x4122e2
push eax
call ebx
test eax, eax
je 0x4122e2
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x426a98]
call ebx
test eax, eax
je 0x4122fd
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4122ff
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004066a2
mov esp, ebp
pop ebp
ret
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x406330
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push 5
push 0
push str.start
push 0x540930
push 0x540940
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jge 0x406379
cmp dword [ebp - 4], 5
je 0x406379
push 0
push 0
push 0x540948
mov ecx, dword [ebp - 0x14]
call sub.mfc90.dll_Ordinal_4502
jmp 0x40640e
cmp dword [ebp - 4], 5
je 0x40640e
call dword [sym.imp.MC.dll_public:_static_class_MachineClient____cdecl_MachineClient::getInstance_void_]
mov dword [ebp - 8], eax
push 0x1388
mov ecx, dword [ebp - 8]
call dword [sym.imp.MC.dll_public:_void___thiscall_MachineClient::setTimeout_long_int_]
mov dword [ebp - 0xc], 0
jmp 0x4063ac
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xa
jge 0x406406
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x14]
add ecx, 0x228
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x224
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov ecx, dword [ebp - 8]
call dword [sym.imp.MC.dll_public:_int___thiscall_MachineClient::Connect_char_const___int_]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x406402
cmp dword [ebp - 0x10], 0x80001002
jne 0x406404
jmp 0x406406
jmp 0x4063a3
mov ecx, dword [ebp - 0x14]
call fcn.00402f60
mov esp, ebp
pop ebp
ret

Function at 0x406420
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 5
push 0
push str.stop
push str.DSControl.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jge 0x406466
cmp dword [ebp - 4], 5
je 0x406466
push 0
push 0
push str.Cannot_open_DSControl.exe
mov ecx, dword [ebp - 0x10]
call sub.mfc90.dll_Ordinal_4502
jmp 0x4064b1
cmp dword [ebp - 4], 5
je 0x4064b1
call dword [sym.imp.MC.dll_public:_static_class_MachineClient____cdecl_MachineClient::getInstance_void_]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
jmp 0x406487
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xa
jge 0x4064a9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 8]
call dword [sym.imp.MC.dll_public:_int___thiscall_MachineClient::noOp_void_]
test eax, eax
je 0x4064a7
jmp 0x4064a9
jmp 0x40647e
mov ecx, dword [ebp - 0x10]
call fcn.00402f60
mov esp, ebp
pop ebp
ret
Function at 0x40efc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xffff
movzx eax, ax
and eax, 0xff
movzx ecx, al
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 5
jb 0x40eff4
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], 0x64
jmp 0x40effe
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 0x58
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x68], 0
je 0x40f019
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
mov dword [ebp - 4], eax
jmp 0x40f029
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
neg eax
sbb eax, eax
add eax, 2
mov esp, ebp
pop ebp
ret
Function at 0x415080
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53cb39
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x549018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_2691]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_5835]
push 0x5401d8
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_945]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x415116
push 0x6a
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x64], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x516474
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x549018]
jne 0x51647e
repz ret
jmp fcn.005169da

Function at 0x51a090
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ebx
push ebp
mov eax, dword [ecx]
push esi
mov dword [edx], eax
mov esi, dword [ecx + 4]
mov dword [esp + 0xc], eax
push edi
mov dword [edx + 4], esi
mov edi, dword [ecx + 8]
lea eax, [edx + 8]
mov dword [eax], edi
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0x1c], ebp
mov dword [edx + 0xc], ebp
mov ecx, 0x549804
mov edx, dword [esp + 0x1d]
mov bl, byte [esp + 0x10]
and edx, 0xff
add eax, 0x10
add ecx, 4
mov dl, byte [edx + str.cw]
xor dl, bl
mov bl, byte [ecx - 4]
xor dl, bl
mov bl, byte [esp + 0x11]
mov byte [esp + 0x10], dl
mov edx, dword [esp + 0x1e]
and edx, 0xff
mov dl, byte [edx + str.cw]
xor bl, dl
mov edx, dword [esp + 0x1f]
and edx, 0xff
mov byte [esp + 0x11], bl
mov bl, byte [esp + 0x12]
mov dl, byte [edx + str.cw]
xor bl, dl
mov edx, ebp
and edx, 0xff
mov byte [esp + 0x12], bl
mov bl, byte [esp + 0x13]
mov dl, byte [edx + str.cw]
xor bl, dl
mov byte [esp + 0x13], bl
mov edx, dword [esp + 0x10]
xor esi, edx
mov dword [eax - 8], edx
xor edi, esi
mov dword [eax - 4], esi
xor ebp, edi
cmp ecx, 0x54982c
mov dword [esp + 0x1c], ebp
mov dword [eax], edi
mov dword [eax + 4], ebp
jl 0x51a0c4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x51a2d0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 8]
xor ecx, ecx
mov cl, byte [eax]
mov dl, byte [ecx + str.cw]
mov ecx, dword [esp + 4]
mov byte [ecx], dl
xor edx, edx
mov dl, byte [eax + 4]
mov dl, byte [edx + str.cw]
mov byte [ecx + 4], dl
xor edx, edx
mov dl, byte [eax + 8]
mov dl, byte [edx + str.cw]
mov byte [ecx + 8], dl
xor edx, edx
mov dl, byte [eax + 0xc]
mov dl, byte [edx + str.cw]
mov byte [ecx + 0xc], dl
xor edx, edx
mov dl, byte [eax + 1]
mov dl, byte [edx + str.cw]
mov byte [ecx + 0xd], dl
xor edx, edx
mov dl, byte [eax + 5]
mov dl, byte [edx + str.cw]
mov byte [ecx + 1], dl
xor edx, edx
mov dl, byte [eax + 9]
mov dl, byte [edx + str.cw]
mov byte [ecx + 5], dl
xor edx, edx
mov dl, byte [eax + 0xd]
mov dl, byte [edx + str.cw]
mov byte [ecx + 9], dl
xor edx, edx
mov dl, byte [eax + 2]
mov dl, byte [edx + str.cw]
mov byte [ecx + 0xa], dl
xor edx, edx
mov dl, byte [eax + 0xa]
mov dl, byte [edx + str.cw]
mov byte [ecx + 2], dl
xor edx, edx
mov dl, byte [eax + 6]
mov dl, byte [edx + str.cw]
mov byte [ecx + 0xe], dl
xor edx, edx
mov dl, byte [eax + 0xe]
mov dl, byte [edx + str.cw]
mov byte [ecx + 6], dl
xor edx, edx
mov dl, byte [eax + 3]
mov dl, byte [edx + str.cw]
mov byte [ecx + 7], dl
xor edx, edx
mov dl, byte [eax + 0xf]
mov dl, byte [edx + str.cw]
mov byte [ecx + 3], dl
xor edx, edx
mov dl, byte [eax + 0xb]
mov dl, byte [edx + str.cw]
mov byte [ecx + 0xf], dl
xor edx, edx
mov dl, byte [eax + 7]
mov al, byte [edx + str.cw]
mov byte [ecx + 0xb], al
ret