joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c11c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447fe3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
push edi
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x1b8], 0
mov byte [ebp - 0x1a4], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1a3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0xa0], 0
mov ecx, 0x24
xor eax, eax
lea edi, [ebp - 0x9c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x1a8]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 1
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x43c23c
lea ecx, [ebp - 0x1b0]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43c23a
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
je 0x43c23a
push str.SHGetFolderPathA
mov edx, dword [ebp - 0x1ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x43c22d
lea eax, [ebp - 0x1a4]
push eax
push 0
mov ecx, dword [ebp - 0x1b0]
push ecx
push 5
call fcn.00407db0
mov ecx, eax
call fcn.00403470
push eax
call dword [ebp - 0x1b4]
mov edx, dword [ebp - 0x1ac]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x43c25a
push 0
push 5
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407db0
mov ecx, eax
call fcn.00403470
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [ebp - 0x1a4]
push ecx
lea ecx, [ebp - 0x1a8]
call fcn.00443772
lea edx, [ebp - 0x1a8]
push edx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp - 0x1b8]
or al, 1
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a8]
call fcn.00443754
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x43def9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448373
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push edi
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x120]
call sym.RemoteCtrl.exe_public:_void___thiscall_CMfsInfo::constructor_void_
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
push str.PcMfsCfgInit.ini
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x120]
call sym.RemoteCtrl.exe_public:_class_CString___thiscall_CMfsInfo::GetInstPath_void_
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x240], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x240]
push edx
lea eax, [ebp - 0x230]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x248], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x248]
push edx
lea ecx, [ebp - 0x118]
call fcn.004437c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.00443754
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call fcn.00443754
mov byte [ebp - 0x224], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x223]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10], 0x104
mov byte [ebp - 0x114], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x118]
call sym.RemoteCtrl.exe_public:_char_const____thiscall_CMyString::operator_char_const__void_const
push eax
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.DefaultData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x228]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x228]
call sub.MFC42.DLL_CString::Empty
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00443772
lea edx, [ebp - 0x228]
push edx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp - 0x234]
or al, 1
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.00443754
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.00443754
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call sym.RemoteCtrl.exe_public_virtual:_void___thiscall_CMfsInfo::destructor_void_
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x43e17c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
push 0
push 0
push 5
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43e1ad
xor eax, eax
jmp 0x43e241
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43e231
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
push 5
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x43e231
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
je 0x43e224
cmp dword [ebp - 8], 2
je 0x43e224
cmp dword [ebp - 8], 0x32
jl 0x43e209
cmp dword [ebp - 8], 0x3c
jl 0x43e224
cmp dword [ebp - 8], 0x1f4
jl 0x43e21b
cmp dword [ebp - 8], 0x258
jl 0x43e224
mov dword [ebp - 0x18], 1
jmp 0x43e22b
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x43e552
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], 0
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], 0x20
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp dword [ebp + 8], 0
je 0x43e595
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
cmp dword [ebp + 0xc], 0
je 0x43e5a3
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x43e5ad
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x43e5e8
cmp dword [ebp + 0x10], 0
je 0x43e5e8
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x43e5e8
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x441981
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
je 0x441a19
cmp dword [ebp + 8], 0
je 0x4419d1
mov ecx, dword [ebp - 0xc]
call sym.RemoteCtrl.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x441a0b
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x441a0b
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x441a0b
mov dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
je 0x441a19
mov ecx, dword [ebp - 0xc]
call sym.RemoteCtrl.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x441a22
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
je 0x441ac8
cmp dword [ebp + 0x18], 0
je 0x441ac8
cmp dword [ebp + 8], 0
je 0x441a7c
mov ecx, dword [ebp - 0xc]
call sym.RemoteCtrl.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x441aba
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x441aba
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x441aba
mov dword [ebp - 8], 1
cmp dword [ebp + 0x1c], 0
je 0x441ac8
mov ecx, dword [ebp - 0xc]
call sym.RemoteCtrl.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x441ad1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x441b8f
cmp dword [ebp + 0xc], 0
je 0x441b8f
cmp dword [ebp + 0x14], 0
je 0x441b8f
cmp dword [ebp + 8], 0
je 0x441b43
mov ecx, dword [ebp - 0x10]
call sym.RemoteCtrl.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x441b81
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x441b81
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x441b81
mov dword [ebp - 8], 1
cmp dword [ebp + 0x1c], 0
je 0x441b8f
mov ecx, dword [ebp - 0x10]
call sym.RemoteCtrl.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x441b98
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
je 0x441c24
cmp dword [ebp + 8], 0
je 0x441c24
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x441c1c
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x441c1c
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_SHQueryInfoKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x441c1c
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0xc]
call sym.RemoteCtrl.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x441c2d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
je 0x441cc1
cmp dword [ebp + 8], 0
je 0x441cc1
cmp dword [ebp + 0x10], 0
je 0x441cc1
cmp dword [ebp + 0x14], 0
je 0x441cc1
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x441cb9
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x441cb9
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_SHEnumKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x441cb9
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0xc]
call sym.RemoteCtrl.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x441cca
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
je 0x441d50
cmp dword [ebp + 8], 0
je 0x441d50
cmp dword [ebp + 0xc], 0
je 0x441d50
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
push 0xf003f
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x441d48
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x441d48
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x441d48
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0xc]
call sym.RemoteCtrl.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x441d59
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
je 0x441ddf
cmp dword [ebp + 8], 0
je 0x441ddf
cmp dword [ebp + 0xc], 0
je 0x441ddf
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
push 0xf003f
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x441dd7
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x441dd7
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x441dd7
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0xc]
call sym.RemoteCtrl.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b4030]
jne 0x401116
repz ret
jmp fcn.00401d41

Function at 0x40a6cc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406ace
and dword [ebp - 4], 0
cmp dword [0x4b6894], 0
mov ebx, eax
jne 0x40a77d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a82e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a82e
push eax
call fcn.00406a5c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b6894], eax
call esi
push eax
call fcn.00406a5c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b6898], eax
call esi
push eax
call fcn.00406a5c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b689c], eax
call esi
push eax
call fcn.00406a5c
pop ecx
mov dword [0x4b68a4], eax
test eax, eax
je 0x40a77d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406a5c
pop ecx
mov dword [0x4b68a0], eax
mov eax, dword [0x4b68a0]
cmp eax, ebx
je 0x40a7d5
cmp dword [0x4b68a4], ebx
je 0x40a7d5
push eax
call fcn.00406ad7
push dword [0x4b68a4]
mov esi, eax
call fcn.00406ad7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a7d5
test edi, edi
je 0x40a7d5
call esi
test eax, eax
je 0x40a7cc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a7cc
test byte [ebp - 0xc], 1
jne 0x40a7d5
or dword [ebp + 0x10], 0x200000
jmp 0x40a80e
mov eax, dword [0x4b6898]
cmp eax, ebx
je 0x40a80e
push eax
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a80e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a80e
mov eax, dword [0x4b689c]
cmp eax, ebx
je 0x40a80e
push eax
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a80e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b6894]
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a82e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a830
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40cb60
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x4b4030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2b6f1a4]
push ebx
mov ebx, dword [0x2b6eff0]
push esi
mov esi, dword [0x4b5060]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40cba1
push str.lefovuweceh
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2b6f1a4]
mov dword [0x4b69fc], esi
cmp eax, 0x114e
jne 0x40cbcb
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
lea eax, [esp + 0x14]
push eax
push str.durinarusunavabaxomoyowev
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x2b6f1a4]
cmp eax, 0x2f
jne 0x40cbed
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
call fcn.0040cad0
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x4022c2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402301
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402301
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402301
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402301
cmp dword [ecx + 0x74], 0xe
jbe 0x402301
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x25803297
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x258032a6
pop dword [ebp - 0x20]
mov eax, 0xe7863947
sub eax, 0xc20606a1
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x81d7d599
add dword [ebp - 0x30], 0xcc7a6fb2
mov dword [ebp - 0x2c], 0x5db913db
add dword [ebp - 0x2c], 0xd47a386a
mov dword [ebp - 0x28], 0xbc0cb8e2
add dword [ebp - 0x28], 0x903f8b4c
mov dword [ebp - 0x24], 0x394dae6
sub dword [ebp - 0x24], 0x394dae6
lea eax, [ebp - 0x30]
push eax
mov eax, 0x4d8b9b1d
sub eax, 0x2809cad9
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x8db0db12
sub dword [ebp - 0x30], 0x193e71bc
mov dword [ebp - 0x2c], 0x8c8c4584
sub dword [ebp - 0x2c], 0x4b1fe40f
mov dword [ebp - 0x28], 0xa8cf000
sub dword [ebp - 0x28], 0xa71d8394
mov dword [ebp - 0x24], 0x2cbf2d88
sub dword [ebp - 0x24], 0x2cbf2d88
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x2ec227fe
add eax, 0xf6bfa882
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3e505
push 0
call eax
mov ecx, 0x4f0b
xor esi, esi
add esi, eax
mov edi, 0x6a2c60e8
add edi, 0xbb563518
add edi, dword [ebp - 0x20]
mov ebx, 0xe0c71da4
xor dword [ebp - 8], ecx
mov edx, dword [edi]
sub dword [ebp - 0x1c], ecx
xor edx, ebx
mov dword [ebp - 0x14], 0x6efe69cd
mov dword [esi], edx
mov dword [ebp - 0x1c], 0x84845cf9
add esi, 0xb3eea2ae
sub esi, 0xb3eea2aa
add edi, 0x15b31756
add edi, 0xea4ce8ae
loop 0x258033be
add eax, 0x12eff
xor ebx, ebx
add ebx, eax
add eax, 0x44e74b9b
add eax, 0xbb18b46a
mov ecx, 0x82b19b
sub ecx, 0xdb02b19b
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x25807297
Capabilities:
Print debug messages

Disassembly:
push 0x1c
mov eax, 0x2581bb95
call fcn.2581acc1
mov eax, dword fs:[0x2c]
xor ebx, ebx
mov ecx, dword [0x25824498]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x25823cc0]
cmp eax, dword [ecx + 4]
jg 0x25807364
cmp byte [0x25823cbc], 0
je 0x2580735e
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
call fcn.25803297
push 1
lea esi, [eax + 6]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x2580735e
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
push esi
push edi
call fcn.25803297
add esp, 0x14
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
push str._nEFS:TMS:
call fcn.2580cd40
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.2580cca0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x14]
pop ecx
cmp eax, 0x10
jb 0x2580735e
inc eax
push eax
push dword [ebp - 0x28]
call fcn.25803297
pop ecx
pop ecx
call fcn.2581acb0
ret
mov edi, 0x25823cc0
push edi
call fcn.25803297
cmp dword [0x25823cc0], 0xffffffff
pop ecx
jne 0x258072c5
mov eax, dword [0x25823df0]
mov dword [ebp - 4], ebx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x2581d220]
call esi
test al, al
je 0x258073c2
mov eax, dword [0x258240cc]
push ebx
push str.enableTMSLogging
push 0x2581db80
mov esi, dword [eax + 0x5a8]
mov ecx, esi
call dword [0x2581d220]
call esi
add esp, 0xc
test ax, ax
mov al, 1
jne 0x258073c6
jmp 0x258073c2
mov al, bl
jmp 0x258073c6
or dword [ebp - 4], 0xffffffff
push edi
mov byte [0x25823cbc], al
call fcn.25803297
pop ecx
jmp 0x258072c5
Function at 0x1000d66c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1000d67b
pop dword [ebp - 0x48]
mov eax, 0x1000d67b
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x40da0
push 0
mov eax, 0xe9b2a92
add eax, 0x16636ae
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0xdb158caa
sub ecx, 0xdb152a22
xor edi, edi
add edi, eax
mov edx, 0x10024400
add edx, dword [ebp - 0x48]
mov esi, 0xe6af5f7a
mov ebx, dword [edx]
add dword [ebp - 0x34], ecx
xor ebx, esi
mov dword [ebp - 0x18], 0xf4a3c89b
mov dword [edi], ebx
add dword [ebp - 0x24], edx
add edi, 0xb63c86ca
add edi, 0x49c3793a
add edx, 0x7e5f0459
sub edx, 0x7e5f0455
loop 0x1000d6cb
add eax, 0xf84f17e6
add eax, 0x7b2650d
xor ebx, ebx
add ebx, eax
add eax, 0x297e6074
add eax, 0xd6819f91
mov ecx, 0x8409761c
sub ecx, 0x7409761c
add ecx, dword [ebp - 0x48]
call ebx
leave
ret