joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]

Function at 0x40124c
Capabilities:
Terminate process

Disassembly:
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push edi
xor edi, edi
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x10], 0
cmp dword [0x4267a4], edi
je 0x4013c4
invalid
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x1c], 0x12
cmp dword [ebp - 0x18], 0
je 0x401544
nop
nop
nop
sub dword [esp + 4], 0x10
jmp 0x400401
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004016e1
add esp, 8
mov edi, eax
cmp edi, dword [ebp - 0x18]
jle 0x40157e
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [0x406190]
add eax, dword [ebp - 0x18]
push eax
push 0x406194
call fcn.0040221c
add esp, 0xc
xor eax, eax
pop edi
leave
ret
Function at 0x403b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x471571
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov esi, ecx
mov edi, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 1
cmp esi, 0xfffffff3
je 0x403c26
cmp esi, 0xfffffff7
jne 0x403c9d
lea eax, [esp + 0x18]
push eax
mov ecx, 0x9cd7
call fcn.00454940
mov dword [esp + 0x24], 1
mov eax, dword [eax]
push ebp
push eax
call fcn.004543e0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
jmp 0x403c81
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x30], esi
push 0x9cd6
mov dword [esp + 0x28], 2
call fcn.00454520
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x403c6b
lea edx, [esp + 0x30]
push edx
mov eax, 0x9cd6
call fcn.00454600
mov esi, dword [esp + 0x30]
push ebp
push esi
mov dword [esp + 0x2c], 3
call fcn.004543e0
mov byte [esp + 0x2c], bl
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
add esp, 8
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x405820
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x470188
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x490ba8]
test eax, eax
je 0x405925
test ecx, ecx
je 0x405925
cmp ecx, 0xfffffff0
jae 0x405925
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov esi, eax
test esi, esi
je 0x405925
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4058b1
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4058b1
mov ecx, dword [esi + 0x34]
push 5
push 0
push 0
push ecx
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
cmp dword [esi], 0
je 0x405925
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
mov ecx, dword [esi]
push ecx
push str.http:__support.microsoft.com_kb__d
lea edi, [esp + 0x14]
call fcn.004543e0
mov esi, dword [esp + 0x14]
add esp, 8
push 5
push 0
push 0
push esi
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405925
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x405d00
Capabilities:
Check os version
Get number of processors
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x47014b
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x148], eax
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
xor eax, eax
push str.GetNativeSystemInfo
push str.kernel32.dll
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405d87
lea ecx, [esp + 0x14]
push ecx
call eax
jmp 0x405d92
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x48], 2
jne 0x405ee8
mov eax, dword [esp + 0x3c]
cmp eax, 5
jne 0x405df9
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x405dc8
push str.Windows_2000
jmp 0x405e17
cmp eax, 1
jne 0x405dd4
push str.Windows_XP
jmp 0x405e17
cmp eax, 2
jne 0x405e2b
cmp byte [esp + 0x152], 1
jne 0x405df2
cmp word [esp + 0x14], 9
jne 0x405df2
push str.Windows_XP
jmp 0x405e17
push str.Windows_2003
jmp 0x405e17
cmp eax, 6
jne 0x405e2b
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x405e0d
push str.Windows_Vista
jmp 0x405e17
cmp eax, 1
jne 0x405e2b
push str.Windows_7
mov eax, 0x7ffffffe
mov ecx, 0x64
mov edx, 0x48fef8
call fcn.00452ab0
push 0x48fef8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x405ee8
cmp word [esp + 0x14c], 0
jbe 0x405ee8
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x160], 0
movzx ecx, word [esp + 0x14c]
push ecx
push str._SP_d
lea edi, [esp + 0x14]
call fcn.004543e0
add esp, 8
lea edi, [esp + 0x10]
mov ecx, 0x64
mov edx, 0x48fef8
call fcn.00452a70
mov esi, dword [esp + 0xc]
test eax, eax
jl 0x405ec1
mov eax, dword [esp + 0x10]
mov ecx, 0x64
sub ecx, eax
lea edx, [eax*2 + 0x48fef8]
push esi
mov eax, 0x7fffffff
call fcn.00452ab0
lea eax, [esi - 0x10]
mov dword [esp + 0x160], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405ee8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp word [0x48fef8], 0
mov eax, 0x48fef8
jne 0x405f03
mov ecx, 0x20
mov word [0x48fef8], cx
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.00460259
add esp, 0x158
ret
Function at 0x405f30
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x471489
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov edi, ecx
mov ecx, 0x48e57c
mov dword [esp + 0x24], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x38]
add eax, 0xc
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], 1
cmp eax, 5
ja case.0x405f96.10
jmp dword [eax*4 + 0x4060b0]
lea eax, [esp + 0x18]
push eax
mov ecx, 0x9cd2
call fcn.00454940
mov ebp, eax
push 0x48fef8
mov dword [esp + 0x34], 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x405fcc
call fcn.00405d00
jmp 0x405fd1
mov eax, 0x48fef8
mov ecx, dword [ebp]
push eax
push esi
push ecx
call fcn.004543e0
mov byte [esp + 0x3c], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40608b
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x9cd5
call fcn.00454940
mov dword [esp + 0x30], 2
mov eax, dword [eax]
push esi
push eax
call fcn.004543e0
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x18]
jmp 0x406078
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x9cd3
call fcn.00454940
mov dword [esp + 0x30], 3
mov eax, dword [eax]
push esi
push eax
call fcn.004543e0
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x1c]
jmp 0x406078
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x9cd1
call fcn.00454940
mov dword [esp + 0x30], 4
mov eax, dword [eax]
push esi
push eax
call fcn.004543e0
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg case.0x405f96.10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x4060d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x471429
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc], ebx
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x30]
add eax, 0xc
mov dword [esp + 0xc], 1
cmp eax, 5
ja case.0x406133.10
jmp dword [eax*4 + 0x406228]
lea eax, [esp + 0x30]
push eax
mov ecx, 0x9cfa
call fcn.00454940
mov dword [esp + 0x24], 1
mov eax, dword [eax]
push eax
call fcn.004543e0
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x406205
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x9d36
call fcn.00454940
mov dword [esp + 0x24], 2
mov eax, dword [eax]
push eax
call fcn.004543e0
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x14]
jmp 0x4061f2
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x9cfc
call fcn.00454940
mov dword [esp + 0x24], 3
mov eax, dword [eax]
push eax
call fcn.004543e0
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x18]
jmp 0x4061f2
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x9cfb
call fcn.00454940
mov dword [esp + 0x24], 4
mov eax, dword [eax]
push eax
call fcn.004543e0
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg case.0x406133.10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x1c
ret 8
Function at 0x407280
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x407358
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push ebx
push edi
lea eax, [esi + 0x24]
push eax
mov eax, dword [ebp + 8]
call fcn.00455730
test eax, eax
jne 0x4072da
mov eax, dword [ebp + 0xc]
cmp eax, 0x201
jne 0x4072e8
mov ecx, dword [esi + 4]
push 0
push 0xf012
push 0x112
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x407329
mov edx, 0x8006
cmp dx, di
jne 0x4073f7
mov eax, edi
shr eax, 0x10
xor ecx, ecx
cmp cx, ax
jne 0x4073f7
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x48ffc4]
push 0
push 0
push 0x4f2
push eax
jmp 0x4072ce
cmp eax, 5
jne 0x407363
mov eax, 1
mov dword [esp + 0xc], eax
cmp edi, eax
je 0x407350
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00408810
mov ecx, dword [esp + 0xc]
jmp 0x407352
xor ecx, ecx
mov dword [ebx], eax
test ecx, ecx
jne 0x4072da
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 1
jne 0x40737e
push esi
call fcn.004074b0
mov dword [ebx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 2
jne 0x4073ae
lea edx, [esp + 0xc]
push edx
mov eax, esi
mov dword [esp + 0x10], 1
call fcn.0040cfa0
cmp dword [esp + 0xc], 0
mov dword [ebx], eax
je 0x407358
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x4ef
jne 0x4073cd
push edi
mov edi, esi
call fcn.004081c0
mov dword [ebx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x113
jne 0x40741f
mov eax, dword [esi + 4]
push 0x3e8
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
shr edi, 0x10
mov ecx, 0x300
cmp cx, di
jne 0x407358
mov ecx, esi
call fcn.00407e70
mov dword [ebx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x8001
jne 0x407441
mov edx, dword [ebp + 0x14]
push edx
push edi
push eax
call fcn.00408260
mov dword [ebx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x8002
jne 0x407465
mov ebx, dword [ebp + 0x14]
push edi
push eax
call fcn.00408520
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x4e
jne 0x407358
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0x800d
jne 0x407358
cmp dword [eax + 8], 0xfffffdd9
jne 0x407358
mov edi, esi
call fcn.00407fb0
pop edi
mov dword [ebx], eax
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x408c10
Capabilities:
Check os version
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x158
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0x30
call edi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov dword [esp + 0x18], eax
call esi
push 0x118
lea ecx, [esp + 0x40]
push 0
push ecx
mov esi, eax
mov dword [esp + 0x1c], 1
call fcn.00462160
add esp, 0xc
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x3c], 6
jae 0x408c91
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x408d1f
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0x30
call edi
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, edx
sub ecx, eax
cmp ecx, esi
je 0x408ce9
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
sub eax, edx
add eax, esi
cmp eax, ecx
jne 0x408d1f
test ecx, ecx
jg 0x408d3f
jmp 0x408d1f
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x14]
jne 0x408d3f
test eax, eax
jne 0x408d3f
lea eax, [esi - 2]
cmp dword [esp + 0x2c], eax
je 0x408d3f
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x14]
jne 0x408d1f
cmp dword [esp + 0x34], edx
jne 0x408d1f
cmp dword [esp + 0x10], 0
je 0x408d3f
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 0x1f4
mov dword [esp + 0xc], eax
jl 0x408c99
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x10
push 0x62
push 0x10b
add edx, 0xffffff99
push edx
mov edx, dword [esp + 0x30]
add edx, 0xfffffef0
push edx
push 0xffffffffffffffff
push eax
call esi
mov ecx, dword [ebx + 4]
push 0x43
push 0x62
push 0x10b
push 0
push 0
push 0xffffffffffffffff
push ecx
call esi
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
xor ecx, esp
call fcn.00460259
mov esp, ebp
pop ebp
ret
Function at 0x4096e0
Capabilities:
Create process on windows

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
mov edi, ecx
jne 0x40983a
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ebp
push ebx
lea eax, [edi + 0x2c]
push eax
mov eax, dword [esp + 0x20]
mov ecx, esi
call fcn.00455730
test eax, eax
jne 0x409742
cmp dword [esp + 0x18], 0x111
jne 0x4097b7
mov ecx, 0x8006
cmp cx, bx
jne 0x40974e
mov edx, ebx
shr edx, 0x10
cmp ax, dx
jne 0x4097b7
mov esi, edi
call fcn.0040a1f0
mov dword [ebp], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
mov ecx, 0x8007
cmp cx, bx
jne 0x409779
mov edx, ebx
shr edx, 0x10
xor eax, eax
cmp ax, dx
jne 0x4097b7
push edi
call fcn.0040a250
pop edi
pop esi
mov dword [ebp], eax
pop ebp
mov eax, 1
pop ebx
ret 0x18
mov ecx, 0x803b
cmp cx, bx
jne 0x4097b7
mov edx, ebx
shr edx, 0x10
xor eax, eax
cmp ax, dx
jne 0x4097b7
push 1
push eax
push eax
push str.http:__bbs.360.cn_3451604_38985513.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
mov dword [ebp], 0
pop ebp
mov eax, 1
pop ebx
ret 0x18
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0x2c], 1
call fcn.00454e20
cmp dword [esp + 0x28], 0
mov dword [ebp], eax
jne 0x409742
mov eax, dword [esp + 0x18]
cmp eax, 0x110
jne 0x4097fd
push edi
call fcn.00409a20
pop edi
pop esi
mov dword [ebp], eax
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp eax, 2
je 0x409833
cmp eax, 5
jne 0x409843
cmp ebx, 1
je 0x409833
mov eax, dword [esp + 0x20]
mov edx, eax
shr edx, 0x10
movzx eax, ax
push edx
mov esi, edi
call fcn.0040a0a0
mov eax, dword [edi + 4]
push 0x105
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov dword [ebp], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
cmp eax, 0x113
jne 0x40986c
test ebx, ebx
jne 0x409859
mov ecx, dword [edi + 4]
push ebx
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop esi
mov dword [ebp], 1
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp eax, 0x10
jne 0x409890
mov edx, dword [edi + 4]
push 2
push edx
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
mov dword [ebp], 1
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp eax, 0x201
jne 0x40983a
mov eax, dword [edi + 4]
push 0
push 0xf012
push 0x112
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov dword [ebp], 0
pop ebp
mov eax, 1
pop ebx
ret 0x18
Function at 0x409970
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x48ffc8]
sub esp, 0xc
push esi
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call esi
test eax, eax
je 0x409997
mov ecx, dword [0x48ffc8]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x409a15
mov edx, dword [0x48ffd8]
push edx
call esi
test eax, eax
jne 0x409a15
call fcn.0044e820
test eax, eax
je 0x409a15
push 0x49139c
call fcn.0044e770
test eax, eax
jne 0x409a15
cmp dword [0x49067c], eax
jbe 0x409a15
push 0x49139c
call fcn.0044e6f0
test eax, eax
je 0x409a15
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
push str.airestorenotip
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
mov dword [esp + 0x1c], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, 1
cmp dword [esp + 4], eax
jne 0x409a17
xor eax, eax
pop esi
add esp, 0xc
ret
Function at 0x40a250
Capabilities:
Set registry value

Disassembly:
push ecx
push str.aiRestore_start2
push str.action_s
push str.http:__update.360safe.com_safe_leakpop.html_
push 1
mov ecx, 0x490040
call fcn.0045dc00
add esp, 0x10
push 4
lea eax, [esp + 4]
push eax
push 4
push str.UseAIRestore
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
mov dword [esp + 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, 0x49139c
call fcn.0044e470
mov ecx, dword [esp + 8]
mov edx, dword [ecx + 4]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop ecx
ret 4
Function at 0x40d020
Capabilities:
Check if file exists
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
push edi
xor eax, eax
push 0x40e
mov esi, ecx
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.00462160
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
push str.SavePath
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], 0x410
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x40d0ac
push str.hotfix
add esi, 0xa0
push esi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edi, [esp + 0xc]
mov ecx, 0x208
lea edx, [esp + 0x14]
call fcn.00452a70
pop edi
pop esi
test eax, eax
jl 0x40d0e2
mov eax, dword [esp + 4]
mov ecx, 0x208
sub ecx, eax
lea edx, [esp + eax*2 + 0xc]
push 0x47abe4
mov eax, 0x7fffffff
call fcn.00452ab0
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d0fd
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 5
push 0
push 0
lea eax, [esp + 0x18]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x41c]
xor ecx, esp
xor eax, eax
call fcn.00460259
add esp, 0x420
ret

Function at 0x40d520
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esi + 0x7b4], 0
mov eax, dword [esi + 0x91c]
je 0x40d555
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x85c]
lea edx, [esi + 0x858]
mov ecx, eax
shr ecx, 2
not ecx
test cl, 1
jne 0x40d591
and eax, 0xfffffffb
jmp 0x40d579
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x85c]
lea edx, [esi + 0x858]
mov ecx, eax
shr ecx, 2
not ecx
test cl, 1
je 0x40d591
or eax, 4
mov ecx, dword [edx + 0x1c]
mov dword [edx + 4], eax
test ecx, ecx
je 0x40d591
mov eax, dword [ecx]
push 0
push 0
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
xor eax, eax
ret