joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408d19
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a4b7c
call fcn.0044c320
sub esp, 0x68
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_5
mov esi, dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call esi
mov dword [esp], str.TIMProxy.dll
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, 0x20
jb 0x408da4
push 0x4b8d68
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x408d9d
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x20]
push eax
call esi
mov dword [esp], str.TIMPlatform.exe
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
push str._RegServer
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
push 0x44
lea eax, [ebp - 0x74]
pop esi
mov byte [ebp - 4], 6
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x30]
push ebx
push eax
mov dword [ebp - 0x74], esi
call sub.MSVCRT.dll_memset
add esp, 0x18
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
mov esi, dword [ebp - 0x18]
mov eax, dword [eax - 8]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x408e36
push 0x1388
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x409188
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call sub.WSOCK32.dll_ntohl
push dword [esi + 4]
mov edi, eax
call sub.WSOCK32.dll_ntohl
mov ebx, eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
lea esi, [ebp - 0x10]
sub eax, ecx
mov dword [ebp + 8], 4
mov dword [ebp + 0xc], eax
jmp 0x4091c1
mov eax, dword [ebp + 0xc]
push dword [eax + esi]
call sub.WSOCK32.dll_ntohl
mov dword [esi], eax
add esi, 4
dec dword [ebp + 8]
jne 0x4091be
push 0x10
xor eax, eax
pop ecx
mov edx, ebx
mov esi, ebx
shr edx, 5
add edx, dword [ebp - 0xc]
sub eax, 0x61c88647
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add edi, edx
mov edx, edi
mov esi, edi
shr edx, 5
add edx, dword [ebp - 4]
shl esi, 4
add esi, dword [ebp - 8]
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add ebx, edx
dec ecx
jne 0x4091d8
push edi
call sub.WSOCK32.dll_htonl
mov esi, dword [ebp + 0x10]
push ebx
mov dword [esi], eax
call sub.WSOCK32.dll_htonl
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40922b
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call sub.WSOCK32.dll_ntohl
push dword [esi + 4]
mov ebx, eax
call sub.WSOCK32.dll_ntohl
mov edi, eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
lea esi, [ebp - 0x10]
sub eax, ecx
mov dword [ebp + 8], 4
mov dword [ebp + 0xc], eax
jmp 0x409264
mov eax, dword [ebp + 0xc]
push dword [eax + esi]
call sub.WSOCK32.dll_ntohl
mov dword [esi], eax
add esi, 4
dec dword [ebp + 8]
jne 0x409261
push 0x10
mov eax, 0xe3779b90
pop ecx
mov edx, ebx
mov esi, ebx
shr edx, 5
add edx, dword [ebp - 4]
shl esi, 4
add esi, dword [ebp - 8]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
sub edi, edx
mov edx, edi
mov esi, edi
shr edx, 5
add edx, dword [ebp - 0xc]
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add eax, 0x61c88647
sub ebx, edx
dec ecx
jne 0x40927e
push ebx
call sub.WSOCK32.dll_htonl
mov esi, dword [ebp + 0x10]
push edi
mov dword [esi], eax
call sub.WSOCK32.dll_htonl
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4092d1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 8
add eax, 0xa
pop ebx
cdq
mov ecx, ebx
idiv ecx
test edx, edx
mov dword [ebp - 4], edx
je 0x4092f6
mov eax, ebx
sub eax, edx
mov dword [ebp - 4], eax
mov esi, dword [sym.imp.MSVCRT.dll_rand]
call esi
mov ecx, eax
mov eax, dword [ebp - 4]
and cl, 0xf8
push 1
or cl, al
pop edi
mov byte [ebp - 0xc], cl
mov ecx, eax
dec eax
test ecx, ecx
je 0x409325
inc eax
mov dword [ebp - 4], eax
call esi
mov byte [ebp + edi - 0xc], al
inc edi
dec dword [ebp - 4]
jne 0x409319
push ebx
lea eax, [ebp - 0x14]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], eax
and dword [esi], 0
mov dword [ebp + 0x18], 1
cmp edi, ebx
jge 0x40935b
call dword [sym.imp.MSVCRT.dll_rand]
mov byte [ebp + edi - 0xc], al
inc edi
inc dword [ebp + 0x18]
cmp edi, ebx
jne 0x409394
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
xor edi, edi
sub ecx, eax
lea eax, [ebp + edi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, ebx
jl 0x409367
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push eax
call fcn.00409188
mov eax, dword [ebp + 0x14]
add dword [esi], ebx
add esp, 0xc
xor edi, edi
add dword [ebp + 0x14], ebx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 2
jle 0x409347
cmp dword [ebp + 0xc], 0
je 0x4093f1
cmp edi, ebx
jge 0x4093b6
mov eax, dword [ebp + 8]
inc edi
inc dword [ebp + 8]
dec dword [ebp + 0xc]
mov al, byte [eax]
cmp edi, ebx
mov byte [ebp + edi - 0xd], al
jne 0x40939a
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
xor edi, edi
sub ecx, eax
lea eax, [ebp + edi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, ebx
jl 0x4093c2
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push eax
call fcn.00409188
mov eax, dword [ebp + 0x14]
add dword [esi], ebx
add esp, 0xc
xor edi, edi
add dword [ebp + 0x14], ebx
mov dword [ebp - 4], eax
jmp 0x40939a
mov dword [ebp + 0x18], 1
cmp edi, ebx
jge 0x409407
and byte [ebp + edi - 0xc], 0
inc edi
inc dword [ebp + 0x18]
cmp edi, ebx
jne 0x409440
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
xor edi, edi
sub ecx, eax
lea eax, [ebp + edi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, ebx
jl 0x409413
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push eax
call fcn.00409188
mov eax, dword [ebp + 0x14]
add dword [esi], ebx
add esp, 0xc
xor edi, edi
add dword [ebp + 0x14], ebx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 7
jle 0x4093f8
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409f43
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi]
push dword [edi + 0x5c]
push 0x4b9944
push esi
call dword [eax + 0x20]
push dword [edi + 0x64]
mov eax, dword [esi]
push 0x4b994c
push esi
call dword [eax + 0x1c]
mov eax, dword [esi]
and byte [ebp + 8], 0
lea ecx, [ebp + 8]
mov ebx, 0x4b9954
push ecx
push ebx
push esi
call dword [eax + 0x2c]
test byte [edi + 0x34], 8
je 0x409f8b
or byte [ebp + 8], 1
jmp 0x409f8f
and byte [ebp + 8], 0
push dword [ebp + 8]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x10]
push dword [edi + 0x1f0]
mov eax, dword [esi]
push 0x4b995c
push esi
call dword [eax + 0x18]
push dword [edi + 0x90]
mov eax, dword [esi]
push 0x4b996c
push esi
call dword [eax + 0x20]
push dword [edi + 0xbc]
mov eax, dword [esi]
push 0x4b9974
push esi
call dword [eax + 0x20]
push dword [edi + 0x78]
mov eax, dword [esi]
push 0x4b9980
push esi
call dword [eax + 0x20]
mov eax, dword [edi + 0x84]
mov ebx, dword [esi]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
push eax
push 0x4b9988
push esi
call dword [ebx + 0x1c]
push dword [edi + 0x88]
mov eax, dword [esi]
push 0x4b998c
push esi
call dword [eax + 0x20]
push dword [edi + 0x7c]
mov eax, dword [esi]
push 0x4b9994
push esi
call dword [eax + 0x20]
push dword [edi + 0x180]
mov eax, dword [esi]
push 0x4b99a0
push esi
call dword [eax + 0x20]
push dword [edi + 0x70]
mov eax, dword [esi]
push 0x4b99a8
push esi
call dword [eax + 0x20]
push dword [edi + 0x80]
mov eax, dword [esi]
push 0x4b99b0
push esi
call dword [eax + 0x20]
push dword [edi + 0x74]
mov eax, dword [esi]
push 0x4b99bc
push esi
call dword [eax + 0x20]
push dword [edi + 0x194]
mov eax, dword [esi]
push 0x4b99c4
push esi
call dword [eax + 0x20]
push dword [edi + 0xc4]
mov eax, dword [esi]
push 0x4b99cc
push esi
call dword [eax + 0x20]
push dword [edi + 0xb8]
mov eax, dword [esi]
push 0x4b99d8
push esi
call dword [eax + 0x20]
mov eax, dword [esi]
push dword [edi + 0x1ac]
push 0x4b99e4
push esi
call dword [eax + 0x1c]
push dword [edi + 0x1a8]
mov eax, dword [esi]
push 0x4b99f0
push esi
call dword [eax + 0x1c]
push dword [edi + 0x1a4]
mov eax, dword [esi]
push 0x4b99fc
push esi
call dword [eax + 0x1c]
push dword [edi + 0x1a0]
mov eax, dword [esi]
push 0x4b9a0c
push esi
call dword [eax + 0x20]
push dword [edi + 0x8c]
mov eax, dword [esi]
push 0x4b9a14
push esi
call dword [eax + 0x20]
push dword [edi + 0xc0]
mov eax, dword [esi]
push 0x4b9a20
push esi
call dword [eax + 0x20]
mov eax, dword [esi]
push 2
push 0x4b9a30
push esi
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x40c918
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4a5462
call fcn.0044c320
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x28]
call sub.MFC42.DLL_CString::CString_5
and dword [ebp - 4], 0
lea ecx, [esi + 0x2c]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString_5
mov byte [ebp - 4], 0x11
mov ecx, esi
mov dword [esi], 0x4b9d38
call fcn.0040cb3c
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x40ca3d
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4a5532
call fcn.0044c320
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4b9d38
lea ecx, [esi + 0x6c]
mov dword [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [esi + 0x2c]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x28]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40ce9b
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4a571a
call fcn.0044c320
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_5
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString_5
mov byte [ebp - 4], 0x15
mov ecx, esi
mov dword [esi], 0x4b9d50
call fcn.0040d11f
mov ecx, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40cff0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4a5816
call fcn.0044c320
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4b9d50
lea ecx, [esi + 0x78]
mov dword [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41aa64
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov eax, 0x4a64f8
call fcn.0044c320
sub esp, 0x64
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
mov edi, ecx
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
mov dword [esp], 0x4bc4e0
push eax
lea eax, [ebp - 0x1c]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0041a9c2
push dword [ebp - 0x10]
mov ebx, dword [sym.imp.USER32.dll_FindWindowA]
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
call ebx
cmp eax, esi
mov dword [ebp - 0x14], esi
je 0x41aad5
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41ab75
push 0x44
lea eax, [ebp - 0x70]
pop edi
mov dword [ebp - 0x18], esi
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x2c]
push esi
push eax
mov dword [ebp - 0x70], edi
call sub.MSVCRT.dll_memset
add esp, 0x18
push dword [ebp - 0x10]
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x41ab7c
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
jne 0x41ab3c
mov dword [ebp - 0x18], 1
jmp 0x41ab46
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x2c]
call edi
push dword [ebp - 0x28]
call edi
cmp dword [ebp - 0x18], esi
je 0x41ab7c
push dword [ebp - 0x10]
push dword [ebp - 0x10]
call ebx
cmp eax, esi
je 0x41ab7c
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ab7c
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41c6b3
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a6874
call fcn.0044c320
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_5
push dword [esi + 0x60]
and dword [ebp - 4], 0
call dword [sym.imp.BasicCtrlDll.dll_unsigned_long_int___cdecl_GetCurrentUin_struct_IQQCore__]
pop ecx
mov edi, 0x4eb10c
push eax
lea eax, [ebp - 0x20]
push edi
push eax
call sub.MFC42.DLL_CString::Format
push 0x10
lea eax, [ebp - 0x3c]
push 0x30
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_5
push dword [esi + 0x20]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push edi
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 8]
push eax
push ecx
lea ecx, [ebp - 0x2c]
sub ecx, eax
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0x18
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], eax
mov ecx, dword [eax - 8]
lea edi, [ecx + 0x20]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], edi
mov ebx, dword [eax - 8]
lea eax, [ebp - 0x14]
push eax
push edi
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp - 0x28]
call fcn.004092d1
add esp, 0x14
lea ecx, [ebp - 0x10]
push edi
call sub.MFC42.DLL_CString::ReleaseBuffer
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBufferSetLength
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push dword [ebp - 0x10]
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_Base64Encode_char_const___int_]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_5
mov byte [ebp - 4], 4
push dword [esi + 0x20]
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push dword [ebp - 0x24]
push str._s__d__d
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0041c646
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov byte [ebp - 4], 5
call fcn.0041c646
mov eax, dword [eax]
push 5
push 0
mov byte [ebp - 4], 6
push dword [ebp - 0x18]
push eax
push 0x4b8f10
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4