joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f7f1
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x4ea33c]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x4ea4c0]
je 0x40f826
inc eax
cmp eax, 0x13
jb 0x40f817
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x4ea4c0]
jne 0x40f94c
mov eax, dword [0x4eaf34]
cmp eax, 1
je 0x40f924
cmp eax, edx
jne 0x40f856
cmp dword [0x4ea364], 1
je 0x40f924
cmp ecx, 0xfc
je 0x40f94c
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40f88c
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.004105c0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.0040df20
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40f8c0
mov eax, edi
push eax
call fcn.0040df20
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x4e7434
push edi
call fcn.004106c0
add esp, 0x10
push edi
call fcn.0040df20
push dword [esi + 0x4ea4c4]
mov ebx, eax
call fcn.0040df20
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0040bb10
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.004105c0
push edi
push ebx
call fcn.004105d0
push 0x4e7430
push ebx
call fcn.004105d0
push dword [esi + 0x4ea4c4]
push ebx
call fcn.004105d0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.004104c5
add esp, 0x2c
jmp 0x40f94c
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x4ea4c4]
push dword [esi]
call fcn.0040df20
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.0040b1e3
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x4104c5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4eb0fc], ebx
push esi
push edi
jne 0x410545
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x410580
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4e8034
push edi
call esi
test eax, eax
mov dword [0x4eb0fc], eax
je 0x410580
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x4eb100], eax
call esi
cmp dword [0x4eaee8], 2
mov dword [0x4eb104], eax
jne 0x410545
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x4eb10c], eax
je 0x410545
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x4eb108], eax
mov eax, dword [0x4eb108]
test eax, eax
je 0x41058a
call eax
test eax, eax
je 0x410571
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4eb10c]
test eax, eax
je 0x410571
test byte [ebp - 8], 1
jne 0x41058a
cmp dword [0x4eaef4], 4
jb 0x410584
or byte [ebp + 0x12], 0x20
jmp 0x4105a9
xor eax, eax
jmp 0x4105b9
or byte [ebp + 0x12], 4
jmp 0x4105a9
mov eax, dword [0x4eb100]
test eax, eax
je 0x4105a9
call eax
mov ebx, eax
test ebx, ebx
je 0x4105a9
mov eax, dword [0x4eb104]
test eax, eax
je 0x4105a9
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x4eb0fc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411280
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov ecx, dword [ebp + 0x3a4]
cmp ecx, dword [0x4ec164]
mov eax, dword [0x4ea33c]
push ebx
push esi
mov dword [ebp + 0x398], eax
push edi
jae 0x411446
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x4ec180]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x80], ebx
je 0x411446
xor edi, edi
cmp dword [ebp + 0x3ac], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
jne 0x4112ea
xor eax, eax
jmp 0x41145a
test al, 0x20
je 0x4112fb
push 2
push edi
push edi
push ecx
call fcn.00412276
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x4113d0
cmp dword [ebp + 0x3ac], edi
mov eax, dword [ebp + 0x3a8]
mov dword [ebp - 0x70], eax
mov dword [ebp + 0x3a4], edi
jbe 0x411417
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp + 0x3a8]
lea eax, [ebp - 0x6c]
cmp ecx, dword [ebp + 0x3ac]
jae 0x41135d
mov edx, dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x41134e
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x80]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x411330
mov edi, eax
lea eax, [ebp - 0x6c]
sub edi, eax
push 0
lea eax, [ebp - 0x78]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41139d
mov eax, dword [ebp - 0x78]
add dword [ebp - 0x74], eax
cmp eax, edi
jl 0x4113a9
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp + 0x3a8]
xor edi, edi
cmp eax, dword [ebp + 0x3ac]
jb 0x411324
jmp 0x4113ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
xor edi, edi
mov eax, dword [ebp - 0x74]
cmp eax, edi
jne 0x411441
cmp dword [ebp + 0x3a4], edi
je 0x411417
push 5
pop eax
cmp dword [ebp + 0x3a4], eax
jne 0x411409
mov dword [0x4eaee0], eax
jmp 0x41144d
push edi
lea ecx, [ebp - 0x78]
push ecx
push dword [ebp + 0x3ac]
push dword [ebp + 0x3a8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4113fb
mov eax, dword [ebp - 0x78]
mov dword [ebp + 0x3a4], edi
mov dword [ebp - 0x74], eax
jmp 0x4113ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
jmp 0x4113ab
push dword [ebp + 0x3a4]
call fcn.00412161
pop ecx
jmp 0x411457
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x41142f
mov eax, dword [ebp + 0x3a8]
cmp byte [eax], 0x1a
je 0x4112e3
mov dword [0x4eaedc], 0x1c
mov dword [0x4eaee0], edi
jmp 0x411457
sub eax, dword [ebp - 0x7c]
jmp 0x41145a
and dword [0x4eaee0], 0
mov dword [0x4eaedc], 9
or eax, 0xffffffff
mov ecx, dword [ebp + 0x398]
pop edi
pop esi
pop ebx
call fcn.0040b1e3
add ebp, 0x39c
leave
ret
Function at 0x401fd0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x460]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push ecx
push 0
push eax
mov dword [ebp - 0x460], 0
call sub.msi.dll_MsiOpenProductW
test eax, eax
je 0x40200f
xor bl, bl
jmp 0x40217d
lea eax, [ebp - 0x458]
mov dword [ebp - 0x458], 0
push eax
push str.SELECT__Value__FROM__Property__WHERE__Property_ProductVersion
push dword [ebp - 0x460]
call sub.msi.dll_MsiEnumClientsA
test eax, eax
jne 0x40216b
push eax
push dword [ebp - 0x458]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x40216b
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x458]
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x402157
push 0x200
push eax
lea eax, [ebp - 0x254]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x464], 0x100
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x254]
push eax
push 1
push dword [ebp - 0x45c]
call sub.msi.dll_MsiRecordSetStreamA
test eax, eax
jne 0x402157
push 0x4e
push eax
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push esi
call sub.msi.dll_MsiSourceListClearAllW
test eax, eax
jne 0x402157
push 0x200
push eax
lea eax, [ebp - 0x454]
mov dword [ebp - 0x468], 0x100
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x454]
push eax
push str.VersionString
lea eax, [ebp - 0x54]
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x402157
lea ecx, [ebp - 0x254]
lea eax, [ebp - 0x454]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40214b
test dx, dx
je 0x402142
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40214b
add eax, 4
add ecx, 4
test dx, dx
jne 0x402120
xor eax, eax
test eax, eax
sete bl
jmp 0x402159
sbb eax, eax
or eax, 1
test eax, eax
sete bl
jmp 0x402159
xor bl, bl
mov eax, dword [ebp - 0x45c]
test eax, eax
je 0x40216d
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x40216d
xor bl, bl
mov eax, dword [ebp - 0x458]
test eax, eax
je 0x40217d
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x460]
test ecx, ecx
je 0x40218d
push ecx
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret
Function at 0x4033c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfeb0
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x403436
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
jmp 0x40343e
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret
Function at 0x424a10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4cdd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5cd9a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
add ecx, 0x30
mov dword [ebp - 0x28], esi
call fcn.004a2d80
mov edx, eax
mov dword [ebp - 0x24], 0
mov ecx, edx
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424a67
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.00425950
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
push esi
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromStdWString_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov edx, dword [ebp - 0x10]
add esp, 8
cmp edx, 8
jb 0x424ad1
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424ac7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x424ac7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004ce30f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x434f10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x3c], ebx
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.004a2710
test ebx, ebx
je 0x4350df
test edi, edi
je 0x434f68
push edi
lea ecx, [ebp - 0x1c]
call fcn.004a2c40
test eax, eax
jne 0x435037
jmp 0x4350df
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
call fcn.004a2710
push 0
push 0
lea eax, [ebp - 0x10]
push 0x1c
push eax
call fcn.004c9140
add esp, 0x10
test eax, eax
je 0x4350d7
push 0x50f3dc
lea ecx, [ebp - 0x10]
call fcn.004a29c0
test eax, eax
je 0x4350d7
push 0
lea ecx, [ebp - 0x10]
call fcn.004a2830
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x434fd8
call edi
cmp eax, 0xb7
jne 0x4350d7
push 0x50f3f0
lea ecx, [ebp - 0x10]
call fcn.004a29c0
test eax, eax
je 0x4350d7
push 0
lea ecx, [ebp - 0x10]
call fcn.004a2830
push eax
call ebx
test eax, eax
jne 0x43500b
call edi
cmp eax, 0xb7
jne 0x4350d7
push 0x50f408
lea ecx, [ebp - 0x10]
call fcn.004a29c0
test eax, eax
je 0x4350d7
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004a2ee0
lea ecx, [ebp - 0x10]
call fcn.004a2730
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.004a2710
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x36]
push eax
movzx eax, word [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x28]
push str.RadminVpn__hs__04u_02u_02u__02u_02u_02u_03d.log
push eax
call fcn.004344f0
add esp, 0x28
test eax, eax
je 0x4350c6
lea ecx, [ebp - 0x28]
call fcn.004a2830
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004c93d0
add esp, 8
test al, al
je 0x4350c6
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.004a26a0
lea ecx, [ebp - 0x28]
call fcn.004a2730
jmp 0x4350e6
mov ecx, esi
call fcn.004a2710
lea ecx, [ebp - 0x28]
call fcn.004a2730
jmp 0x4350e6
lea ecx, [ebp - 0x10]
call fcn.004a2730
mov ecx, esi
call fcn.004a2710
lea ecx, [ebp - 0x1c]
call fcn.004a2730
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret
Function at 0x43cfb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x28]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
call fcn.004a2710
test edi, edi
je 0x43d0cd
test esi, esi
je 0x43d0c0
push 0x20
push esi
call sub.VCRUNTIME140.dll_wcschr
add esp, 8
test eax, eax
je 0x43d07d
cmp word [esi], 0x22
je 0x43d07d
push 0x514aec
lea ecx, [ebp - 0x10]
call fcn.004a2c40
test eax, eax
je 0x43d143
push esi
lea ecx, [ebp - 0x10]
call fcn.004a29c0
test eax, eax
je 0x43d143
push 0x514aec
lea ecx, [ebp - 0x10]
call fcn.004a29c0
test eax, eax
jne 0x43d08e
lea ecx, [ebp - 0x10]
call fcn.004a2730
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 0x28
push esi
lea ecx, [ebp - 0x10]
call fcn.004a2c40
test eax, eax
je 0x43d143
push 0x514ae8
lea ecx, [ebp - 0x10]
call fcn.004a29c0
test eax, eax
je 0x43d143
push edi
lea ecx, [ebp - 0x10]
call fcn.004a29c0
test eax, eax
je 0x43d143
lea ecx, [ebp - 0x10]
call fcn.004a2da0
mov ecx, eax
jmp 0x43d0df
push edi
lea ecx, [ebp - 0x10]
call fcn.004a2c40
test eax, eax
je 0x43d143
lea ecx, [ebp - 0x10]
call fcn.004a2da0
mov ecx, eax
test esi, esi
jne 0x43d0df
test ecx, ecx
je 0x43d143
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
push eax
test edx, edx
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
cmovne eax, edx
movlpd qword [ebp - 0x50], xmm0
push eax
push dword [ebp - 0x6c]
movlpd qword [ebp - 0x48], xmm0
push dword [ebp - 0x70]
movlpd qword [ebp - 0x40], xmm0
push dword [ebp + 0x1c]
movlpd qword [ebp - 0x38], xmm0
push dword [ebp + 0x18]
movlpd qword [ebp - 0x30], xmm0
push dword [ebp - 0x74]
movlpd qword [ebp - 0x28], xmm0
push dword [ebp - 0x78]
movlpd qword [ebp - 0x20], xmm0
push ecx
push esi
movlpd qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x64], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x43d160
lea ecx, [ebp - 0x10]
call fcn.004a2730
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 0x28
test ebx, ebx
je 0x43d16d
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [ebx], xmm0
jmp 0x43d176
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x64]
mov esi, dword [ebp - 0x7c]
mov ecx, esi
call fcn.004c7eb0
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x10]
mov dword [esi + 0xc], eax
call fcn.004a2730
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret 0x28
Function at 0x43d230
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
push ebx
mov ebx, ecx
mov dword [ebp - 0x74], eax
push esi
push edi
lea ecx, [ebp - 0x70]
mov edx, dword [ebx + 0x48]
mov dword [ebx + 0x48], eax
mov dword [ebp - 0x70], edx
call fcn.004028c0
lea ecx, [ebp - 0x74]
call fcn.004028c0
push ebx
push 0x4412e0
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
push eax
call dword [sym.imp.USER32.dll_EnumDesktopsW]
lea ecx, [ebx + 0x48]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QListData::size_void_const]
test eax, eax
je 0x43d2e4
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
nop dword [eax]
push 0x68
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x6c]
push 0
push 0
call fcn.0043bfb0
push edi
push 0
push 0x441560
push ebx
lea ecx, [ebp - 0x6c]
call fcn.0043d480
test eax, eax
je 0x43d2f7
push 0
lea ecx, [ebp - 0x6c]
call fcn.004c9880
test al, al
je 0x43d2f7
lea ecx, [ebp - 0x6c]
call fcn.0043c470
lea ecx, [ebx + 0x48]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QListData::size_void_const]
test eax, eax
jne 0x43d290
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x6c]
call fcn.0043c470
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret
Function at 0x448f40
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da726
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5cd9a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
mov edi, dword [ebp + 8]
lea ebx, [esi + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.CNetModel.0
mov dword [ebp - 0x14], ebx
test edi, edi
je 0x448f9b
push edi
call dword [sym.imp.Qt5Core.dll_public:_static_struct_QtSharedPointer::ExternalRefCountData____cdecl_QtSharedPointer::ExternalRefCountData::getAndRef_class_QObject_const__]
add esp, 4
jmp 0x448f9d
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], edi
lea eax, [esi + 0x10]
mov dword [eax], 0
mov dword [ebp + 8], eax
mov dword [eax + 4], 0
lea eax, [esi + 0x18]
mov dword [eax], 0
mov dword [ebp + 8], eax
mov dword [eax + 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
lea eax, [esi + 0x28]
mov dword [eax], 0
mov dword [ebp + 8], eax
mov dword [eax + 4], 0
lea eax, [esi + 0x30]
mov dword [eax], 0
mov dword [ebp + 8], eax
mov dword [eax + 4], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 8
call fcn.0044ca30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46f590
Capabilities:
Create directory
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.004a2710
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.004a2710
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
call fcn.004a2710
push 0
push 0
lea eax, [ebp - 0x10]
push 0x23
push eax
call fcn.004c9140
add esp, 0x10
test eax, eax
je 0x46f6ad
push 0x50f3dc
lea ecx, [ebp - 0x10]
call fcn.004a29c0
test eax, eax
je 0x46f6ad
push 0
lea ecx, [ebp - 0x10]
call fcn.004a2830
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x46f636
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x46f6ad
push 0x50f3f0
lea ecx, [ebp - 0x10]
call fcn.004a29c0
test eax, eax
je 0x46f6ad
push 0
lea ecx, [ebp - 0x10]
call fcn.004a2830
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x46f669
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x46f6ad
push 0x50f408
lea ecx, [ebp - 0x10]
call fcn.004a29c0
test eax, eax
je 0x46f6ad
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004a2ee0
lea ecx, [ebp - 0x10]
call fcn.004a2730
push str.service.log
lea ecx, [ebp - 0x1c]
call fcn.004a29c0
test eax, eax
je 0x46f6b5
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004a2ee0
jmp 0x46f6b5
lea ecx, [ebp - 0x10]
call fcn.004a2730
lea ecx, [ebp - 0x1c]
call fcn.004a2730
push 1
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.004a2830
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x28]
call fcn.004a2730
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret
Function at 0x476d20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x5cd9a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x38], str._start
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
call fcn.004a2710
lea eax, [ebp - 0x10]
push eax
push str.RvControlSvc.exe
push 2
call fcn.004c7f20
add esp, 0xc
test eax, eax
jne 0x476d7a
xor bl, bl
jmp 0x476dee
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x40
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call fcn.004a2da0
test byte [0x5d1200], 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
je 0x476ddf
lea ecx, [ebp - 0x10]
call fcn.004a2d80
push eax
push 0x515100
push 0x516470
push 0x5bd1b0
call fcn.004779b0
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne bl
lea ecx, [ebp - 0x10]
call fcn.004a2730
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004ce1ec
mov esp, ebp
pop ebp
ret