joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4015eb
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x408431
call fcn.00407f2b
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], vtable.IDocConvertVBSIPCHandler.0
xor ebx, ebx
mov dword [edi], vtable.CDocConvert.0
mov dword [edi + 4], vtable.CDocConvert.1.0
mov dword [edi + 8], ebx
mov dword [ebp - 4], ebx
lea ecx, [edi + 0x1c]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CEvent::constructor_void_]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x24]
mov dword [edi + 0x20], ebx
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CEvent::constructor_void_]
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 2
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CCritical::constructor_void_]
mov byte [ebp - 4], 3
lea esi, [edi + 0x40]
push 8
pop ecx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.00403faf
mov dword [eax + 4], ebx
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 4
lea ecx, [edi + 0x58]
mov dword [edi + 0x54], ebx
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CCritical::constructor_void_]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_void_]
lea ecx, [edi + 0x8c]
mov byte [ebp - 4], 6
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_void_]
mov byte [ebp - 4], 7
lea ecx, [edi + 0xb4]
mov dword [edi + 0xa8], ebx
mov dword [edi + 0xb0], ebx
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CCritical::constructor_void_]
lea esi, [edi + 0xcc]
mov byte [ebp - 4], 8
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00406b46
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0xd4]
mov byte [ebp - 4], 9
push 0x30
mov dword [ebp - 0x14], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00406b46
pop ecx
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0xe4]
mov dword [edi + 0xdc], ebx
mov dword [edi + 0xe0], ebx
call fcn.00401588
lea eax, [ebp - 0x18]
mov dword [edi + 0x18c], ebx
push eax
push ebx
push edi
push 0x401ef0
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push edi
push 0x402060
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov dword [edi + 0x10], eax
add esp, 0x30
mov eax, edi
call fcn.00407f05
ret
Function at 0x401f8d
Capabilities:
Terminate process

Disassembly:
push 0x4c
mov eax, 0x4085de
call fcn.00407f5f
mov dword [ebp - 0x38], ecx
mov ebx, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebx]
mov ecx, edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov esi, dword [edi]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
cmp esi, edi
je 0x40204c
cmp ecx, dword [esi + 0x3c]
jb 0x40201e
ja 0x401fcb
cmp eax, dword [esi + 0x38]
jbe 0x40201e
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Cmmlib.dll_public:_void___thiscall_Cmm::CStringT_wchar_t_::constructor_class_Cmm::CStringT_wchar_t__const__]
and dword [ebp - 4], 0
lea edi, [ebp - 0x58]
add esi, 0x30
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x58], 0
jne 0x40203d
mov eax, dword [ebp - 0x38]
mov ecx, ebx
push dword [ebp - 0x34]
mov dword [eax + 0xdc], 1
lea eax, [ebp - 0x44]
push eax
call fcn.00403d87
lea ecx, [ebp - 0x2c]
mov esi, dword [eax]
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
call dword [sym.imp.Cmmlib.dll_public_virtual:_void___thiscall_Cmm::CStringT_wchar_t_::destructor_void_]
jmp 0x40202c
lea ecx, [ebp - 0x30]
call fcn.00403c7f
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x34], esi
mov eax, dword [ebx]
mov dword [ebp - 0x48], eax
cmp esi, eax
je 0x40204c
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
jmp 0x401fbf
push ecx
call fcn.0040632c
pop ecx
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00407f1a
ret 4

Function at 0x40221b
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
xor edi, edi
inc ebx
cmp dword [esi + 0x10], edi
je 0x402255
push 0xbb8
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], ebx
call dword [sym.imp.Cmmlib.dll_public:_enum_ESyncRet___thiscall_Cmm::CEvent::Lock_unsigned_long_int_]
test eax, eax
je 0x402249
push edi
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], edi
je 0x402285
push 0xbb8
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], ebx
call dword [sym.imp.Cmmlib.dll_public:_enum_ESyncRet___thiscall_Cmm::CEvent::Lock_unsigned_long_int_]
test eax, eax
je 0x402279
push edi
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14], edi
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x40627f
Capabilities:
Terminate process

Disassembly:
push 0x10
mov eax, 0x40926d
call fcn.00407f2b
mov dword [ebp - 0x10], ecx
cmp ecx, 4
ja 0x40629a
xor eax, eax
jmp 0x406326
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040689b
mov esi, dword [ebp - 0x18]
mov edi, ebx
mov eax, dword [ebp - 0x1c]
sub esi, eax
sar esi, 2
test esi, esi
je 0x406315
xor ecx, ecx
inc ecx
push dword [eax + ebx*4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4062f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x4062ed
xor ecx, ecx
inc ecx
mov edi, ecx
jmp 0x40630d
mov eax, dword [ebp - 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 1
test eax, eax
pop eax
push dword [ebp - 0x10]
cmove edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x1c]
inc ebx
cmp ebx, esi
jb 0x4062c8
xor ebx, ebx
lea ecx, [ebp - 0x1c]
test edi, edi
sete bl
call fcn.004068c5
mov eax, ebx
call fcn.00407f05
ret

Function at 0x4063a6
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x41100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x40643b
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x40643b
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x40642b
push ebx
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call dword [0x40a3e8]
call edi
pop ecx
pop ecx
test eax, eax
je 0x40642f
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x406405
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x40643d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406b30
leave
ret
Function at 0x4064b3
Capabilities:
Reference wmi statements

Disassembly:
push 0x7f8
mov eax, 0x4092ab
call fcn.00407f5f
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x7f0]
xor esi, esi
mov dword [ebp - 0x7f0], esi
mov eax, dword [ebx]
mov dword [ebx + 4], eax
call fcn.0040676d
test eax, eax
js 0x4066a6
mov edi, dword [ebp - 0x7f0]
test edi, edi
je 0x4066a6
push 0x7d0
lea eax, [ebp - 0x7e0]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
push str.POWERPNT.exe
lea eax, [ebp - 0x7e0]
push 0x40c708
push eax
call fcn.00406135
add esp, 0x18
mov dword [ebp - 0x7ec], esi
lea eax, [ebp - 0x7e0]
lea ecx, [ebp - 0x7f4]
push eax
call fcn.004061c1
mov esi, eax
and dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x7f0]
call fcn.00406164
mov byte [ebp - 4], 1
mov ecx, dword [esi]
test ecx, ecx
je 0x406556
mov ecx, dword [ecx]
jmp 0x406558
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x406562
mov eax, dword [eax]
jmp 0x406564
xor eax, eax
mov esi, dword [edi]
lea edx, [ebp - 0x7ec]
push edx
push 0
push 0x30
push ecx
mov ecx, dword [esi + 0x50]
push eax
push edi
call dword [0x40a3e8]
call dword [esi + 0x50]
lea ecx, [ebp - 0x7f0]
mov esi, eax
call fcn.00406226
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7f4]
call fcn.00406226
test esi, esi
js 0x40669f
mov eax, dword [ebp - 0x7ec]
test eax, eax
je 0x40669f
jmp 0x40661c
mov eax, dword [ebp - 0x7e4]
test eax, eax
je 0x406689
cmp dword [ebp - 0x7e8], 0
je 0x406689
mov esi, dword [eax]
lea ecx, [ebp - 0x804]
xor edx, edx
push edx
push edx
push ecx
mov ecx, dword [esi + 0x10]
push edx
push 0x40c764
push eax
call dword [0x40a3e8]
call dword [esi + 0x10]
test eax, eax
jns 0x406658
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x7e4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x40a3e8]
call esi
mov eax, dword [ebp - 0x7ec]
and dword [ebp - 0x7e4], 0
lea ecx, [ebp - 0x7e8]
and dword [ebp - 0x7e8], 0
mov esi, dword [eax]
push ecx
lea ecx, [ebp - 0x7e4]
push ecx
mov ecx, dword [esi + 0x10]
push 1
push 0x3e8
push eax
call dword [0x40a3e8]
call dword [esi + 0x10]
test eax, eax
jns 0x4065b4
jmp 0x406689
lea eax, [ebp - 0x7fc]
mov ecx, ebx
push eax
call fcn.0040689b
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x7e4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x40a3e8]
call esi
mov eax, dword [ebp - 0x7ec]
push eax
mov edx, dword [eax]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x40a3e8]
call esi
mov ecx, edi
call fcn.0040687e
call fcn.00407f1a
ret
Function at 0x40676d
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x10
mov eax, 0x4092ed
call fcn.00407f2b
mov eax, ecx
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x40678c
mov eax, 0x80070057
jmp 0x406878
xor edi, edi
push edi
push edi
mov dword [eax], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test ebx, ebx
js 0x40685f
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push 0x40a778
push 1
push edi
push 0x40a768
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x40685f
cmp dword [ebp - 0x14], edi
je 0x40685f
push str.ROOTCIMV2
lea ecx, [ebp - 0x18]
call fcn.004061c1
mov dword [ebp - 4], edi
mov eax, dword [eax]
test eax, eax
je 0x4067ec
mov ecx, dword [eax]
jmp 0x4067ee
mov ecx, edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push edi
push edi
mov esi, dword [eax]
push edi
push edi
push edi
push edi
push ecx
mov ecx, dword [esi + 0xc]
push eax
call dword [0x40a3e8]
call dword [esi + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
mov ebx, eax
call fcn.00406226
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x40a3e8]
call esi
mov dword [ebp - 0x14], edi
test ebx, ebx
js 0x40685f
cmp dword [ebp - 0x10], 0
je 0x406876
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test ebx, ebx
js 0x40685f
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], edi
mov dword [ecx], eax
jmp 0x406862
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x406876
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x40a3e8]
call esi
mov eax, ebx
call fcn.00407f05
ret
Function at 0x40ff20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x41d1f0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov dword [ebp - 4], 0
jmp 0x40ff46
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jge 0x40ffa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movsx ebx, byte [edx]
call fcn.0040fee0
xor ebx, eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
mov byte [eax], bl
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push 0
call dword [sym.imp.USER32.dll_SwitchDesktop]
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetMenuDefaultItem]
lea ecx, [ebp - 0x808]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
jmp 0x40ff3d
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00405488
mov esp, ebp
pop ebp
ret 8
Function at 0x401def
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x24], 1
mov byte [ebp - 0x23], 2
mov byte [ebp - 0x22], 4
mov byte [ebp - 0x21], 8
mov byte [ebp - 0x20], 0x10
mov byte [ebp - 0x1f], 0x20
mov byte [ebp - 0x1e], 0x40
mov byte [ebp - 0x1d], 0x80
mov byte [ebp - 0x1c], 0x1b
mov byte [ebp - 0x1b], 0x36
xor esi, esi
mov edi, ebx
mov eax, dword [ebp + 8]
xor ecx, ecx
add eax, esi
mov dl, byte [eax]
add eax, 4
mov byte [edi + ecx], dl
inc ecx
cmp ecx, 4
jl 0x401e31
inc esi
add edi, 4
cmp esi, 4
jl 0x401e2a
push 1
lea eax, [ebp - 0x24]
pop ecx
dec eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 0xc], esi
xor eax, eax
test esi, esi
lea edx, [eax + ecx*4]
je 0x401e73
lea edx, [esi + edx*4]
mov dl, byte [edx + ebx - 1]
jmp 0x401e77
mov dl, byte [ebx + edx*4 - 0xd]
mov byte [ebp + eax - 4], dl
inc eax
cmp eax, 4
jl 0x401e63
test esi, esi
jne 0x401ed3
mov al, byte [ebp - 4]
push 1
mov byte [ebp + 0xb], al
pop ebx
lea eax, [ebp - 4]
xor edi, edi
sub ebx, eax
lea esi, [ebp + edi - 4]
push 4
pop ecx
lea eax, [ebx + esi]
cdq
idiv ecx
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, 3
movzx ecx, byte [ebp + edx - 4]
mov cl, byte [ecx + eax + 4]
mov byte [esi], cl
jl 0x401e95
movzx ecx, byte [ebp + 0xb]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp - 0xc]
mov al, byte [ecx + eax + 4]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x18]
mov al, byte [eax + ecx]
xor byte [ebp - 4], al
mov eax, dword [ebp - 8]
xor edi, edi
add eax, esi
add eax, ebx
mov dl, byte [ebp + edi - 4]
xor dl, byte [eax - 0x10]
inc edi
mov byte [eax], dl
add eax, 4
cmp edi, 4
jl 0x401edc
inc esi
cmp esi, 4
mov dword [ebp - 0xc], esi
jl 0x401e61
add dword [ebp - 8], 0x10
inc ecx
cmp ecx, 0xa
mov dword [ebp - 0x10], ecx
jle 0x401e5c
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x401f13
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
push ebp
mov ebp, esp
mov cl, byte [ebp + 0xc]
push ebx
push esi
push 1
xor al, al
mov byte [ebp + 0xc], cl
pop esi
mov dl, byte [ebp + esi + 0xb]
lea ecx, [ebp + esi + 0xc]
shl dl, 1
mov byte [ecx], dl
test byte [ecx - 1], 0x80
je 0x401f3a
xor dl, 0x1b
mov byte [ecx], dl
inc esi
cmp esi, 4
jl 0x401f23
xor edx, edx
mov bl, byte [ebp + 8]
mov cl, dl
shr bl, cl
test bl, 1
je 0x401f52
xor al, byte [ebp + edx + 0xc]
inc edx
cmp edx, 4
jl 0x401f42
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4020a3
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
mov ecx, dword [esp + 0x14]
push 4
lea eax, [edi + esi]
sub ecx, esi
pop edx
mov bl, byte [ecx + eax]
xor byte [eax], bl
add eax, 4
dec edx
jne 0x4020b8
inc edi
cmp edi, 4
jl 0x4020ac
pop edi
pop esi
pop ebx
ret 8
Function at 0x402fd5
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp + 0xc]
push 4
push eax
push 8
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x40309f
push ebx
push esi
push edi
push 9
push 6
mov edi, str._ni_d__j_d_n
pop ebx
push ebx
push edi
call fcn.00408453
push 0x12
mov esi, str._nx_d__y_d_n
push ebx
push esi
call fcn.00408453
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
push 9
push ebx
push edi
mov dword [ebp - 0xc], 1
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x48
mov dword [ebp - 8], 0x2bf20
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
push 9
push ebx
push edi
mov dword [ebp - 4], 0x2710
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x30
xor eax, eax
lea ecx, [ebp + 0xc]
push eax
push eax
push ecx
push eax
push eax
lea eax, [ebp - 0xc]
push 0xc
push eax
push 0x98000004
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4037ab
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 9
push 6
pop ebx
mov edi, str._ni_d__j_d_n
push ebx
push edi
call fcn.00408453
push 0x12
mov esi, str._nx_d__y_d_n
push ebx
push esi
call fcn.00408453
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
push 4
pop ebp
push 9
push ebx
push edi
mov dword [esp + 0x50], ebp
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x48
mov dword [esp + 0x18], ebp
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x18
lea eax, [esp + 0x10]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x18
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push str.MHz
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x18
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4046a2
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
sub esp, 0x30c
push ebx
push ebp
push esi
push edi
push 9
push 6
pop ebx
mov edi, str._ni_d__j_d_n
push ebx
push edi
call fcn.00408453
push 0x12
mov esi, str._nx_d__y_d_n
push ebx
push esi
call fcn.00408453
mov ebp, 0x104
lea eax, [esp + 0x28]
push ebp
push 0
push eax
call fcn.00408310
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x3c
lea eax, [esp + 0x10]
push ebp
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x30
lea eax, [esp + 0x218]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [eax + eax*2]
shl eax, 2
push eax
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x11c]
push str._s_x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x28
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x4047cb
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x18
lea eax, [esp + 0x114]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 1
pop eax
jmp 0x4047dc
push 4
lea eax, [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30c
ret
Function at 0x404945
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
mov eax, 0x411e4f
call fcn.00408998
sub esp, 0x2ec
push ebx
push esi
lea eax, [ebp - 0x1c]
push edi
push eax
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 0x1c], 0x2b
mov byte [ebp - 0x1b], 0x7e
mov byte [ebp - 0x1a], 0x15
mov byte [ebp - 0x19], 0x15
mov byte [ebp - 0x18], 0x28
mov byte [ebp - 0x17], 0xae
mov byte [ebp - 0x16], 0xd2
mov byte [ebp - 0x15], 0xa6
mov byte [ebp - 0x14], 0xab
mov byte [ebp - 0x13], 0xf8
mov byte [ebp - 0x12], 0x17
mov byte [ebp - 0x11], 0x88
mov byte [ebp - 0x10], 7
mov byte [ebp - 0xf], 0xcf
mov byte [ebp - 0xe], 0x4f
mov byte [ebp - 0xd], 0x3c
call fcn.00401000
and dword [ebp - 4], 0
lea eax, [ebp - 0x44]
push eax
push str.BD5743824CBE9340FECFEA0BD7276285DCF418
lea ecx, [ebp - 0x2f8]
call fcn.00401ce0
push 9
push 6
pop ebx
mov edi, str._ni_d__j_d_n
push ebx
push edi
mov word [ebp - 0x30], 2
call fcn.00408453
push 0x12
mov esi, str._nx_d__y_d_n
push ebx
push esi
call fcn.00408453
mov ax, word [0x41425c]
add esp, 0x18
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 9
push ebx
push edi
mov word [ebp - 0x2e], ax
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
lea eax, [ebp - 0x44]
push eax
call fcn.004024ff
push 9
push ebx
push edi
mov dword [ebp - 0x2c], eax
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x34
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 9
push ebx
push edi
mov dword [ebp - 0x20], eax
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
add esp, 0x18
lea eax, [ebp - 0x30]
push 0x10
push eax
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x404a71
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_closesocket]
or esi, 0xffffffff
jmp 0x404a89
push 9
push ebx
push edi
call fcn.00408453
push 0x12
push ebx
push esi
call fcn.00408453
mov esi, dword [ebp - 0x20]
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f8]
call fcn.00401cd9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret