joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c2058
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00407010
mov dword [esi], vtable.boost::gregorian::bad_year.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x4669ca
add edi, 0x28
jmp 0x4669cc
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x4669e4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x466a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c2058
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00407010
mov dword [esi], vtable.boost::gregorian::bad_month.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x466aba
add edi, 0x28
jmp 0x466abc
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x466ad4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4685d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6428
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, esi
or eax, ebx
jne 0x468620
mov ebx, edi
call fcn.004686d0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], edx
mov byte [esp + 0x44], 1
lea eax, [esp + 0x14]
push 0x464f90
push eax
mov dword [esp + 0x40], 0
call fcn.00465b20
add esp, 8
push ebx
push esi
lea esi, [esp + 0x24]
call fcn.004657a0
mov edx, dword [eax]
sub esp, 8
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
lea eax, [esp + 0x1c]
lea esi, [esp + 0x2c]
call fcn.00465980
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
sub esp, 0x18
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi], eax
xor eax, eax
lea ecx, [esp + 0x60]
push ecx
mov edx, edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], al
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebx
call fcn.004691f0
xor edx, edx
test al, al
setne dl
dec edx
and edx, 0x274c
mov eax, edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8

Function at 0x468810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c5d3b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x34
mov dword [edi], vtable.apache::thrift::concurrency::Monitor.0
call fcn.00493c80
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
test esi, esi
je 0x468880
push esi
call fcn.00467fd0
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], eax
mov dword [edi + 4], esi
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
xor eax, eax
mov dword [edi + 4], eax
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x469f7e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 0x60
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
cmp dword [ebp + 0x10], ebx
je 0x469fd2
call fcn.00403db0
cmp byte [eax + 0xc], bl
je 0x469fd2
push ecx
movzx ecx, word [ebp + 0x10]
mov eax, esp
mov dword [eax], ecx
push ecx
mov eax, esp
lea ecx, [ebp - 0x10]
mov dword [eax], esi
call fcn.004697cd
cmp al, 1
jne 0x469fce
mov dword [ebp - 8], 0xf0
cmp al, bl
jne 0x469fe8
push ecx
movzx ecx, word [ebp + 0xc]
mov eax, esp
mov dword [eax], ecx
push ecx
mov eax, esp
lea ecx, [ebp - 0x10]
mov dword [eax], esi
call fcn.004697cd
cmp al, 1
jne 0x46a100
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [0x4fc090]
call esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp + 0x10], eax
cmp eax, ebx
je 0x46a100
push dword [ebp - 0xc]
push dword [0x4fc090]
call esi
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00497950
add esp, 0xc
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 8], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x46a0e1
push ebx
push dword [ebp + 8]
call fcn.00406640
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x46a0e1
mov ecx, esi
call fcn.00404e40
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.00404e70
mov dword [ebp - 0x14], eax
movzx eax, word [edi + 0x18]
push ebx
push ebx
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
call fcn.00403db0
mov ecx, eax
call fcn.00404fc0
test al, al
je 0x46a0bc
push 1
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call fcn.00403de0
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x46a0bc
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov esi, edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
mov dword [ebp + 0xc], ebx
call fcn.00469826
test eax, eax
je 0x46a0d5
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x46a0e1
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x46a100
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x10]
call fcn.0046980d
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x46d7a4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xc4]
sub esp, 0x144
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp + 0xc0], eax
mov eax, dword [0x4f31c8]
test eax, eax
jl 0x46d7d6
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
jmp 0x46d85f
and dword [0x4f31c8], 0
push esi
push 0x24
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00497680
mov esi, 0x11c
push esi
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00497680
add esp, 0x18
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x46d823
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x114
call esi
test eax, eax
je 0x46d85c
push str.GetNativeSystemInfo
push 0x4d6874
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46d85c
lea ecx, [ebp - 0x80]
push ecx
call eax
cmp word [ebp - 0x80], 9
je 0x46d852
cmp word [ebp - 0x80], 6
jne 0x46d85c
xor eax, eax
inc eax
mov dword [0x4f31c8], eax
jmp 0x46d85e
xor eax, eax
pop esi
mov ecx, dword [ebp + 0xc0]
xor ecx, ebp
call fcn.00497941
add ebp, 0xc4
leave
ret

Function at 0x46d92b
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.0046d889
mov esi, eax
mov dword [ebp - 0x50], esi
cmp dword [0x4f6930], esi
je 0x46d955
xor ebx, ebx
cmp esi, ebx
jne 0x46d96d
lea ecx, [ebp - 0x50]
call fcn.00419350
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00497941
leave
ret
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
push 0x1a
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
jne 0x46d995
lea ecx, [ebp - 0x50]
call fcn.00419350
mov al, bl
jmp 0x46d95f
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
push esi
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x4c], 1
sete bl
jmp 0x46d989
Function at 0x46dabc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call esi
push str._elevated
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x46db1e
push 0x40
push dword [0x4fa658]
push dword [0x4fa660]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
mov ecx, dword [ebp + 0x19c]
xor ecx, ebp
pop esi
call fcn.00497941
add ebp, 0x1a0
leave
ret
push ebx
call esi
push eax
lea ecx, [ebp - 0x70]
call fcn.00404050
push str.__elevated
lea ecx, [ebp - 0x70]
call fcn.00405c60
call fcn.0046d7a4
mov esi, dword [ebp - 0x70]
xor ebx, ebx
test eax, eax
je 0x46db85
mov ecx, dword [ebp + 0x1a8]
cmp ecx, 0xffffffff
je 0x46db85
push edi
xor eax, eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x3e8
lea eax, [ebp - 0x80]
push eax
push ebx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], esi
call fcn.0046d5cd
add esp, 0xc
pop edi
test eax, eax
je 0x46db85
mov bl, 1
lea ecx, [esi - 0x10]
call fcn.00404d30
mov al, bl
pop ebx
jmp 0x46db08
xor eax, eax
push 0x206
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x6a]
push ebx
push eax
call fcn.00497680
add esp, 0xc
push 0x104
lea eax, [ebp - 0x6c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x46db78
call fcn.0046d92b
test al, al
je 0x46dbd2
push 1
push ebx
push esi
lea eax, [ebp - 0x6c]
push eax
push str.runas
push ebx
call fcn.0046f524
add esp, 0x18
jmp 0x46db76
call fcn.0046da5e
test al, al
jne 0x46dbba
cmp byte [ebp + 0x1b0], 1
jne 0x46db78
push 0x40
push dword [0x4fa658]
push dword [0x4fa660]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x46db78

Function at 0x46dd4b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp + 0x84], eax
mov eax, dword [ebp + 0x90]
push ebx
push esi
push edi
xor ebx, ebx
push 0xff
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call fcn.00497680
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
xor edi, edi
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
test eax, eax
je 0x46ddad
test byte [ebp - 0x6a], 0x80
jne 0x46ddad
push ebx
inc edi
push edi
push ebx
push 0x12
call esi
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 0x80], eax
cmp edi, ebx
je 0x46ddc5
push ebx
push 3
push ebx
push 0x12
call esi
mov ecx, dword [ebp + 0x84]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00497941
add ebp, 0x88
leave
ret
push dword [esp + 4]
call fcn.0046dc7f
pop ecx
test eax, eax
jne 0x46ddf3
jmp 0x46dd4b
ret
Function at 0x46dde0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp + 0x84], eax
mov eax, dword [ebp + 0x90]
push ebx
push esi
push edi
xor ebx, ebx
push 0xff
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call fcn.00497680
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
xor edi, edi
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
test eax, eax
je 0x46ddad
test byte [ebp - 0x6a], 0x80
jne 0x46ddad
push ebx
inc edi
push edi
push ebx
push 0x12
call esi
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 0x80], eax
cmp edi, ebx
je 0x46ddc5
push ebx
push 3
push ebx
push 0x12
call esi
mov ecx, dword [ebp + 0x84]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00497941
add ebp, 0x88
leave
ret
push dword [esp + 4]
call fcn.0046dc7f
pop ecx
test eax, eax
jne 0x46ddf3
jmp 0x46dd4b
ret

Function at 0x46de3e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x114
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00497680
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 5
jne 0x46de8e
cmp dword [ebp - 0x78], 2
jne 0x46de8e
xor eax, eax
inc eax
jmp 0x46de90
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00497941
add ebp, 0x98
leave
ret

Function at 0x46dea5
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1f98]
mov eax, 0x2018
call fcn.004985e0
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp + 0x1f94], eax
mov eax, dword [ebp + 0x1fa4]
push ebx
push edi
mov edi, dword [ebp + 0x1fa0]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1fa8]
xor ebx, ebx
mov dword [ebp - 0x78], eax
cmp edi, ebx
jne 0x46dee8
xor al, al
jmp 0x46df60
push esi
mov esi, 0x1fff
push esi
lea eax, [ebp - 0x6b]
push ebx
push eax
mov byte [ebp - 0x6c], bl
call fcn.00497680
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push edi
mov dword [ebp - 0x80], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x46df5d
cmp eax, esi
ja 0x46df5d
lea ecx, [ebp - 0x6c]
push ecx
push eax
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x46df59
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push 0x4d689c
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46df59
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x7c]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov bl, 1
mov al, bl
jmp 0x46df5f
xor al, al
pop esi
mov ecx, dword [ebp + 0x1f94]
pop edi
xor ecx, ebp
pop ebx
call fcn.00497941
add ebp, 0x1f98
leave
ret
Function at 0x46df9a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.004985e0
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x200c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x46e01e
cmp eax, 0x1fff
ja 0x46e01e
lea ecx, [ebp - 0x2004]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x46e01e
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2008]
push eax
push 0x4d689c
lea eax, [ebp - 0x2004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46e01e
mov eax, dword [ebp - 0x2008]
mov ecx, dword [eax + 0xc]
mov dword [esi], ecx
mov eax, dword [eax + 8]
mov dword [esi + 4], eax
xor eax, eax
inc eax
jmp 0x46e020
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00497941
leave
ret

Function at 0x46e04d
Capabilities:
Check mutex on windows

Disassembly:
push esi
push dword [esp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x46e07a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x46e07a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
ret
mov eax, esi
pop esi
ret

Function at 0x46e46d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.0046e427
pop ecx
test eax, eax
jne 0x46e48c
cmp dword [ebp + 0x20], eax
je 0x46e488
push dword [ebp + 0x10]
call dword [ebp + 0x20]
xor eax, eax
pop ebp
ret
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret

Function at 0x46e4e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x46e4fd
push 0x32
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebp
ret
push dword [ebp + 8]
call fcn.0046e427
pop ecx
test eax, eax
je 0x46e4f9
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop ebp
ret
Function at 0x46ed9c
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4fb13c]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x46edb4
cmp word [eax], 0
jne 0x46edbb
mov dword [ebp - 0x10], str.http:__www.360totalsecurity.com_d_ts__s__s_
push ebx
push esi
push edi
mov edi, 0x4fc0d8
push edi
lea ecx, [ebp - 8]
call fcn.00418850
push 0x400
lea ecx, [ebp - 8]
call fcn.00404390
mov esi, eax
lea eax, [ebp - 0xc]
push eax
call fcn.004066d0
mov dword [esp], 0x4c8cc8
push dword [eax]
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.00404d30
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00404c40
push edi
lea ecx, [ebp - 0xc]
call fcn.00418850
mov esi, 0x80
push esi
lea ecx, [ebp - 0xc]
call fcn.00404390
push dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
push eax
push 0x4d67f4
push str.language
push 0x4d9e58
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0xc]
call fcn.00404c40
push edi
lea ecx, [ebp - 4]
call fcn.00418850
push esi
lea ecx, [ebp - 4]
call fcn.00404390
push dword [ebp - 8]
push esi
push eax
push 0x4d67f4
push str.channel
push 0x4d9e58
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00404c40
lea ecx, [ebp - 4]
call fcn.004050f0
mov esi, dword [ebp - 0xc]
xor ebx, ebx
cmp dword [esi - 0xc], ebx
je 0x46eeca
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], ebx
je 0x46eeca
push edi
lea ecx, [ebp - 0xc]
call fcn.00418850
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push esi
push dword [ebp - 0x10]
push eax
call fcn.004048a0
mov edi, dword [ebp - 0xc]
add esp, 0x10
push 5
push ebx
push ebx
push edi
push str.Open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [edi - 0x10]
call fcn.00404d30
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00404d30
lea ecx, [esi - 0x10]
call fcn.00404d30
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00404d30
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46fc3e
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.sdel
mov ebx, str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x80], 0x208
mov dword [ebp - 0x7c], 1
call esi
test eax, eax
jne 0x46fc9a
mov eax, 0x4f320c
jmp 0x46fcdd
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.360safeuninst
push ebx
push edi
call esi
test eax, eax
jne 0x46fcba
mov eax, 0x4f31dc
jmp 0x46fcdd
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.Delete360sd
push ebx
push edi
call esi
test eax, eax
mov eax, 0x4f31e8
je 0x46fcdd
mov eax, 0x4f31d0
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00497941
add ebp, 0x194
leave
ret
Function at 0x4704ff
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xc4]
mov edx, ecx
or edx, eax
je 0x470531
test eax, eax
jl 0x47052d
jg 0x470528
cmp ecx, 0x40000000
jbe 0x47052d
xor eax, eax
inc eax
jmp 0x47057c
xor eax, eax
jmp 0x47057c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00497680
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x47057a
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0xc0], ecx
mov dword [esi + 0xc4], eax
test eax, eax
ja 0x470576
jb 0x47057a
cmp ecx, 0x40000000
jbe 0x47057a
mov al, 1
jmp 0x47057c
xor al, al
pop esi
leave
ret

Function at 0x4708ab
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x47255f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
cmp eax, 0xffffffff
je 0x47260b
or dword [esi + 0x48], 0xffffffff
push edi
lea ecx, [eax + 1]
push ecx
lea edi, [esi + 0x2c]
push eax
mov ecx, edi
call fcn.004705aa
add eax, 4
push eax
mov ecx, esi
call fcn.0046985f
mov eax, dword [esi + 0x44]
cmp eax, 0xffffffff
je 0x47260a
push eax
mov ecx, edi
call fcn.004705aa
add eax, 0x1c
mov edi, dword [eax]
push 7
push 0x4cd4b8
push edi
call fcn.004998d2
add esp, 0xc
test eax, eax
jne 0x4725f7
add edi, 0xe
cmp word [edi], 0x30
jne 0x4725da
movzx eax, word [edi + 2]
cmp ax, 0x78
je 0x4725d3
cmp ax, 0x58
jne 0x4725da
push 0x10
add edi, 4
jmp 0x4725dc
push 0xa
lea eax, [ebp - 4]
push eax
push edi
call fcn.0049a0c6
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
add esp, 0xc
push eax
push 0
push esi
call dword [edx + 0x14]
jmp 0x47260a
push 5
xor eax, eax
push eax
push eax
push edi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
leave
ret

Function at 0x472cd1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x208
mov word [ebp - 0x210], ax
xor edi, edi
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.00497680
add esp, 0xc
push 0x1e
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
push edi
lea eax, [ebp - 0x210]
je 0x472d20
push 0x2a
jmp 0x472d22
push 0x26
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360Total_Security
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call fcn.00404050
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00497941
leave
ret