joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e00
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0x100
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ebx, dword [sym.imp.KERNEL32.dll_SleepEx]
push 0
push 0x32
call ebx
push ebx
push ecx
push edx
xor eax, eax
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0
push 0x1f4
call ebx
test eax, eax
jne 0x401e78
xor eax, eax
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
pop ecx
pop ebx
pop edx
mov eax, dword [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [ebp - 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
fild dword [ebp - 4]
fmul qword [0x42d998]
call sub.MSVCRT.dll__ftol
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401eb0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
mov ebx, ecx
test ebp, ebp
je 0x401f9b
push esi
lea eax, [esp + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea edx, [ebx + 4]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [ecx + ebp + 1]
lea ebp, [ebx + 0x14]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebp, [ebx + 0x6c]
mov edi, ebp
lea edx, [edx + ecx + 1]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 1]
mov ecx, dword [ebx + 0x54]
mov dword [eax], ecx
mov edx, dword [ebx + 0x58]
add eax, 4
mov dword [eax], edx
mov ecx, dword [ebx + 0x5c]
add eax, 4
mov dword [eax], ecx
mov edx, dword [ebx + 0x60]
add eax, 4
mov dword [eax], edx
add eax, 4
mov ecx, dword [ebx + 0x64]
pop edi
mov dword [eax], ecx
mov edx, dword [ebx + 0x68]
add eax, 4
pop esi
mov dword [eax], edx
mov ecx, dword [esp + 0x10]
shr ecx, 0xa
mov dword [eax + 4], ecx
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x402710
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x108]
push edi
mov dword [esp + 0x14], ecx
xor edx, edx
xor eax, eax
mov al, byte [edx + str.80_]
mov ecx, eax
and eax, 7
sar ecx, 3
mov bl, byte [eax*2 + 0x4341ec]
mov cl, byte [ecx + esi]
test bl, cl
setne al
mov byte [esp + edx + 0x50], al
inc edx
cmp edx, 0x38
jl 0x402727
mov eax, 0x1e
xor ebx, ebx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x110], 1
je 0x402768
lea eax, [ebx + ebx]
lea edi, [esp + eax*4 + 0x8c]
lea ebp, [esp + eax*4 + 0x88]
xor eax, eax
xor ecx, ecx
mov cl, byte [ebx + 0x434294]
mov dword [edi], 0
mov esi, ecx
mov dword [ebp], 0
mov edx, esi
cmp edx, 0x1c
jge 0x40279c
mov cl, byte [esp + edx + 0x50]
jmp 0x4027a0
mov cl, byte [esp + edx + 0x34]
mov byte [esp + eax + 0x18], cl
inc eax
inc edx
cmp eax, 0x1c
jl 0x402791
mov eax, 0x1c
lea edx, [esi + 0x1c]
cmp edx, 0x38
jge 0x4027be
mov cl, byte [esp + edx + 0x50]
jmp 0x4027c2
mov cl, byte [esp + edx + 0x34]
mov byte [esp + eax + 0x18], cl
inc eax
inc edx
cmp eax, 0x38
jl 0x4027b3
xor edx, edx
mov eax, 0x4341fc
xor ecx, ecx
mov cl, byte [edx + 0x4342a4]
cmp byte [esp + ecx + 0x18], 0
je 0x4027ed
mov ecx, dword [eax]
mov esi, dword [ebp]
or esi, ecx
mov dword [ebp], esi
xor ecx, ecx
mov cl, byte [edx + 0x4342bc]
cmp byte [esp + ecx + 0x18], 0
je 0x402804
mov ecx, dword [eax]
mov esi, dword [edi]
or esi, ecx
mov dword [edi], esi
add eax, 4
inc edx
cmp eax, str.80_
jl 0x4027d4
mov eax, dword [esp + 0x10]
inc ebx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x40275b
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x88]
push edx
call fcn.00402850
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret 8
Function at 0x404280
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a9e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov eax, dword [eax + 4]
push edi
cmp eax, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
jne 0x4042b8
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0x8000
push eax
call dword [sym.imp.MSVCRT.dll__open]
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
mov dword [ebp - 0x14], edi
je 0x404375
push 2
push ebx
push ebx
push edi
call dword [sym.imp.MSVCRT.dll__lseeki64]
push ebx
mov esi, eax
push ebx
push edi
mov dword [ebp + 8], esi
call dword [sym.imp.MSVCRT.dll__lseek]
add esp, 0x1c
lea ecx, [ebp - 0x6c]
call fcn.00413a80
cmp esi, 0x100000
jbe 0x404308
mov dword [ebp + 8], 0x100000
cmp ebx, dword [ebp + 8]
jae 0x404339
lea ecx, [ebp - 0x16c]
push 0x100
push ecx
push edi
call dword [sym.imp.MSVCRT.dll__read]
add esp, 0xc
mov esi, eax
lea edx, [ebp - 0x16c]
lea ecx, [ebp - 0x6c]
push esi
push edx
call fcn.00413ab0
add ebx, esi
jmp 0x404308
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x6c]
push eax
call fcn.00413b60
push edi
call dword [sym.imp.MSVCRT.dll__close]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4071b0
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x2804
call fcn.0042a3e0
push ebx
push edi
mov edi, dword [esp + 0x2810]
test edi, edi
je 0x40724c
mov ebx, dword [esp + 0x2814]
test ebx, ebx
je 0x40724c
push ebp
lea eax, [esp + 0xc]
push esi
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x18], 0x2800
call sub.iphlpapi.dll_GetAdaptersInfo
lea ecx, [esp + 0x14]
xor eax, eax
test ecx, ecx
lea edx, [esp + 0x14]
mov esi, edi
je 0x40723f
xor ecx, ecx
cmp byte [edx + ecx + 0x194], 0
jne 0x407215
inc ecx
cmp ecx, 6
jl 0x407201
mov edx, dword [edx]
jmp 0x40723b
mov ecx, esi
sub ecx, edi
add ecx, 6
cmp ecx, ebx
jg 0x40723f
mov ebp, dword [edx + 0x194]
mov ecx, esi
add esi, 6
inc eax
mov dword [ecx], ebp
mov bp, word [edx + 0x198]
mov word [ecx + 4], bp
mov edx, dword [edx]
test edx, edx
jne 0x4071ff
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x2804
ret 8
pop edi
xor eax, eax
pop ebx
add esp, 0x2804
ret 8
Function at 0x40ae60
Capabilities:
Set current directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42b1bb
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x40ae8d
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x54
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x28], 0
je 0x40aeb0
mov ecx, eax
call fcn.0041ca30
jmp 0x40aeb2
xor eax, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
push ecx
mov ecx, eax
mov dword [esi + 0x1b0], eax
call fcn.0041d360
mov eax, dword [eax + 4]
test eax, eax
jne 0x40aed8
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 1
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [esp + 0x30]
mov ecx, esi
mov dword [esi + 0x1b4], edx
call fcn.0040b200
mov ecx, esi
call fcn.0040b360
mov ecx, dword [esi + 0x1e0]
call fcn.004045c0
mov edi, eax
mov eax, dword [esi + 0x1e4]
mov ebp, dword [eax + 0x14]
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [str.clientmain]
mov eax, dword [eax + 4]
push 0x6597
push str.clientport
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov word [esi + 0x190], ax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov edx, dword [str.clientmain]
push 0
push str.serverip
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x184], eax
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [str.clientmain]
mov eax, dword [eax + 4]
push 0x659a
push str.serverport
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov ecx, dword [esi + 0x1b0]
push ebp
push edi
mov word [esi + 0x188], ax
call fcn.0041ce70
mov ecx, dword [esi + 0x1b4]
mov dword [esi + 0x180], 1
call fcn.00411d20
mov ecx, esi
call fcn.0040b070
test al, al
jne 0x40afcb
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 4
mov al, byte [esi + 0x20c]
test al, al
jne 0x40afe3
lea edx, [esi + 0x1fc]
mov ecx, esi
push edx
call fcn.0040ed00
mov eax, dword [esi + 0x184]
test eax, eax
jne 0x40b047
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x434d44
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x1b4]
call fcn.00412470
mov eax, dword [esi + 0x1b4]
mov byte [esi + 0x1f4], 1
push 0
push 0x1770
mov ecx, dword [eax + 0x20]
push 0x5021
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, esi
call fcn.0040c500
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 4
mov ecx, esi
call fcn.0040c640
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x20
ret 4
Function at 0x40b070
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42b1e9
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebp
mov ebp, ecx
push esi
xor esi, esi
mov ecx, dword [ebp + 0x1ac]
cmp ecx, esi
je 0x40b0a1
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x178
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, esi
mov dword [esp + 0x158], esi
je 0x40b0c7
push esi
mov ecx, eax
call fcn.00418e70
jmp 0x40b0c9
xor eax, eax
mov cl, byte [esp + 0xb]
push ebx
push edi
mov dword [ebp + 0x1ac], eax
mov byte [esp + 0x18], cl
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
lea edx, [esp + 0x18]
mov dword [esp + 0x160], 1
push edx
call fcn.00418ab0
mov eax, dword [esp + 0x20]
add esp, 4
lea edx, [esp + 0x28]
mov ecx, dword [eax]
lea eax, [esp + 0x2c]
push edx
push eax
mov dword [ebp + 0x18c], ecx
mov dword [esp + 0x30], 0x12c
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [ebp + 0x194]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
mov ecx, ebx
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40b16d
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov byte [eax + ecx], 0
lea edx, [ebp + 0x1a4]
mov ecx, ebp
push edx
call fcn.0040f150
mov eax, dword [ebp + 0x1b4]
xor edx, edx
mov dx, word [ebp + 0x190]
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
push edx
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp + 0x1ac]
call fcn.004193f0
pop edi
pop ebx
test al, al
jne 0x40b1d4
mov edx, dword [esp + 0x14]
mov byte [ebp + 0x20c], 1
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor al, al
pop esi
pop ebp
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
add esp, 0x154
ret
mov eax, dword [esp + 0x14]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x154]
add esp, 4
mov al, 1
mov dword fs:[0], ecx
pop esi
pop ebp
add esp, 0x154
ret
Function at 0x40e9b0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0xb0
push ebx
push ebp
push esi
lea eax, [esp + 0x28]
push edi
push eax
mov byte [ecx + 0x20d], 1
mov dword [esp + 0x30], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebp, dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ebx, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, 2
jne 0x40ea43
call esi
lea ecx, [esp + 0x10]
push ecx
push 0x20
push eax
call edi
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], 1
push edx
push str.SeShutdownPrivilege
push 0
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push 0
lea edx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
push 0
push edx
push 0
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 2
call ebx
mov al, byte [esp + 0xc8]
test al, al
je 0x40ea65
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 8
cmp dword [esp + 0x3c], 2
jne 0x40ead1
call esi
lea ecx, [esp + 0x10]
push ecx
push 0x20
push eax
call edi
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], 1
push edx
push str.SeShutdownPrivilege
push 0
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push 0
lea edx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
push 0
push edx
push 0
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 2
call ebx
push 0
push 0xc
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 8
push 0
push 0xd
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 8

Function at 0x40fbb0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne al
ret 4

Function at 0x412040
Capabilities:
Get common file path

Disassembly:
sub esp, 0x2f4
lea eax, [esp + 0x100]
push ebx
lea ebx, [ecx + 0x940]
push eax
mov ecx, ebx
call fcn.004160a0
test eax, eax
jne 0x4120b0
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
push 0xff
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x435284
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.004161c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f4
ret
Function at 0x4120c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x194
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0xa4]
push 0xff
mov ebx, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xa4]
cmp eax, 2
mov edi, str.mswinsock.dll
je 0x41210c
mov edi, 0x435284
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0xa4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebx + 0x8c8], eax
je 0x412175
push str.IoControl
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebx + 0x8cc], eax
je 0x412175
mov ecx, dword [ebx + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x92f7b843
call dword [ebx + 0x8cc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x194
ret

Function at 0x412360
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x180
push esi
push edi
mov edi, dword [eax + 4]
test edi, edi
jne 0x412379
mov edi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x5c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x11
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
mov dword [esp + 8], 0x44
push ecx
push edx
push eax
push eax
push 0x20
push eax
push eax
push eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x54], 1
push eax
push 0
mov word [esp + 0x60], 6
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
pop esi
setne al
add esp, 0x180
ret
Function at 0x413a80
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x414da0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x10]
push ebx
push 1
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [esi + 4], edx
repne scasb al, byte es:[edi]
not ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 8], 1
test edx, edx
pop edi
pop esi
sete al
pop ebx
ret 8

Function at 0x414df0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x108
push esi
mov esi, ecx
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x114]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x10]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
jne 0x414f01
push ebx
push ebp
push edi
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x414e59
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ebp, dword [esp + 0x120]
xor edx, edx
mov ecx, dword [ebp + 4]
cmp ecx, edx
je 0x414e95
mov al, byte [ecx - 1]
test al, al
je 0x414e95
cmp al, 0xff
je 0x414e95
cmp ebx, edx
jne 0x414ec8
dec al
pop edi
mov byte [ecx - 1], al
mov dword [ebp + 4], edx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edx
pop ebp
pop ebx
mov al, 1
pop esi
add esp, 0x108
ret 8
cmp ebx, edx
jne 0x414eb2
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
pop ebp
pop ebx
mov al, 1
pop esi
add esp, 0x108
ret 8
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x414ebe
cmp eax, ebx
jae 0x414ed1
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
pop edi
pop ebp
mov byte [eax + ebx], 0
pop ebx
mov al, 1
pop esi
add esp, 0x108
ret 8
xor al, al
pop esi
add esp, 0x108
ret 8
Function at 0x415970
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
xor al, al
mov byte [esp + 5], 0x10
mov byte [esp + 4], al
mov byte [esp + 3], al
mov eax, dword [esp + 0x2c]
mov byte [esp + 6], 0x18
and eax, 0xffff
mov byte [esp + 7], 0x20
mov ecx, eax
mov byte [esp + 8], 0x28
and ecx, 0x1f
mov byte [esp + 9], 0x30
mov byte [esp + 0xa], 0x38
mov byte [esp + 0xb], 0x40
mov byte [esp + 0xc], 0x48
mov byte [esp + 0xd], 0x50
mov byte [esp + 0xe], 0x58
mov byte [esp + 0xf], 0x60
mov byte [esp + 0x10], 0x68
mov byte [esp + 0x11], 0x70
mov byte [esp + 0x12], 0x78
mov byte [esp + 0x13], 0x80
mov byte [esp + 0x14], 0x88
mov byte [esp + 0x15], 0x90
mov byte [esp + 0x16], 0x98
mov byte [esp + 0x17], 0xa0
mov byte [esp + 0x18], 0xa8
mov byte [esp + 0x19], 0xb0
mov byte [esp + 0x1a], 0xb8
mov byte [esp + 0x1b], 0xc0
mov byte [esp + 0x1c], 0xc8
mov byte [esp + 0x1d], 0xd0
mov byte [esp + 0x1e], 0xd8
mov byte [esp + 0x1f], pe_nt_image_headers32
mov byte [esp + 0x20], 0xe8
mov byte [esp + 0x21], 0xf0
mov byte [esp + 0x22], 0xf8
mov byte [esp + 0x23], 0xff
mov dl, byte [esp + ecx + 4]
mov ecx, eax
shr ecx, 5
shr eax, 0xa
and ecx, 0x1f
and eax, 0x1f
mov byte [esp], dl
mov al, byte [esp + eax + 4]
mov dl, byte [esp + ecx + 4]
mov byte [esp + 2], al
mov eax, dword [esp + 0x28]
mov byte [esp + 1], dl
mov ecx, dword [esp]
mov dword [eax], ecx
add esp, 0x24
ret 8