joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41822c
Capabilities:
Create directory

Disassembly:
push ebp
sub esp, 0x148
lea ebp, [esp - 4]
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp + 0x148], eax
push 0x1c
mov eax, 0x4a88f6
call fcn.004726b8
push 0xfffffffffffffff0
mov esi, ecx
call fcn.0042b057
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
mov ecx, esi
call fcn.0042b057
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x65
mov ecx, esi
call fcn.0042b299
push dword [esi + 4]
lea edi, [esi + 0x354]
mov ecx, edi
call fcn.0042c183
lea ecx, [ebp]
call fcn.004434ec
xor ebx, ebx
push ebx
push edi
lea eax, [ebp - 0x28]
push eax
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x28], vtable.CControlBuilderEx.0
lea ecx, [ebp]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], esp
mov dword [eax], str.MainWnd.xml
call fcn.00443d8e
push eax
mov ecx, edi
call fcn.0042fe10
lea eax, [esi + 0x10]
push eax
mov ecx, edi
call fcn.0042c9ab
call fcn.0040e409
push eax
lea ecx, [ebp - 0x14]
call fcn.00414fa4
push ebx
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d4e4
push 0x4ac18c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040dc4c
lea ecx, [ebp - 0x1c]
call fcn.00420933
push str.IDR_360BASE_DLL
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0042096e
mov edi, str.BINARY
push edi
lea ecx, [ebp - 0x1c]
call fcn.00420969
mov ebx, dword [ebp - 0x10]
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004208a4
push ebx
mov ecx, 0x4d7410
call fcn.00411fce
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00420950
lea ecx, [ebx - 0x10]
mov byte [ebp - 4], 1
call fcn.0040c248
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d4e4
push str.360netbase.dll
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040dc4c
lea ecx, [ebp - 0x1c]
call fcn.00420933
push str.IDR_360NETBASE_DLL
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0042096e
push edi
lea ecx, [ebp - 0x1c]
call fcn.00420969
mov edi, dword [ebp - 0x10]
push edi
lea ecx, [ebp - 0x1c]
call fcn.004208a4
call fcn.0041574d
mov ecx, eax
call fcn.004157a5
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00420950
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 1
call fcn.0040c248
push 1
push 0
push str.inst_start
call fcn.0040e642
add esp, 0xc
mov ecx, esi
call fcn.00416fb9
call fcn.0040dbed
test eax, eax
jne 0x41843f
lea edi, [esi + 0x14]
push 0x4ab7d4
mov ecx, edi
call fcn.0041be4c
push 5
call fcn.004300f6
push 3
mov dword [ebp - 0x24], eax
call fcn.004300f6
push 5
mov dword [ebp - 0x20], eax
call fcn.004300f6
push 7
mov dword [ebp - 0x1c], eax
call fcn.004300f6
mov dword [ebp - 0x18], eax
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0041be54
push dword [esi + 4]
mov ecx, edi
call fcn.0041dd1e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040c248
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0043081e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x148]
xor ecx, ebp
call fcn.00471f7b
add ebp, 0x14c
leave
ret 0x10
Function at 0x418d2c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x418d9e
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x418d8e
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x418d94
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x418d6f
jmp 0x418d97
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00471f7b
leave
ret

Function at 0x418daf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWARE360Safe_safemon
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x418de9
xor eax, eax
leave
ret
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.DisableAutorun
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x418de5
xor eax, eax
cmp dword [ebp - 8], 1
sete al
leave
ret

Function at 0x418e21
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWARE360Safe_stat
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x418e5b
xor eax, eax
leave
ret
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.ManExit
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x418e57
xor eax, eax
cmp dword [ebp - 8], 1
sete al
leave
ret
Function at 0x419091
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 8], ebx
je 0x41915c
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x41915c
cmp dword [0x4d6b30], ebx
jne 0x419147
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
xor edi, edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
inc edi
push SysStringLen
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41915c
cmp dword [ebp - 4], ebx
je 0x41915c
lea eax, [ebp - 8]
push eax
mov ebx, 0x4d6928
push ebx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x4ac154
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419135
mov ecx, dword [ebp + 8]
lea eax, [esi + esi]
mov dword [0x4d6b30], edi
test eax, eax
je 0x419128
mov byte [ecx], 0
inc ecx
dec eax
jne 0x419121
push ebx
dec esi
push esi
push dword [ebp + 8]
call fcn.004164e2
jmp 0x41913c
and dword [0x4d6b30], 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x419155
push 0x4d6928
push esi
push dword [ebp + 8]
call fcn.004164e2
mov eax, dword [0x4d6b30]
jmp 0x41915e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4191df
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00472b80
xor eax, eax
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00472b80
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00419091
add esp, 0x20
test eax, eax
je 0x41929d
push edi
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.004164e2
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.360leakfixer.exe
lea eax, [ebp - 0x414]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
je 0x41927f
xor eax, eax
jmp 0x41929c
push str.hipsver.dll
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call edi
neg eax
sbb eax, eax
neg eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00471f7b
leave
ret
Function at 0x4192aa
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00472b80
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00419091
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0x14
push str.QHVer.dll
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
je 0x419348
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x414]
push eax
call esi
test eax, eax
je 0x419325
xor eax, eax
inc eax
jmp 0x419347
push str.QHSafeMain.exe
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
je 0x419347
lea eax, [ebp - 0x414]
push eax
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00471f7b
leave
ret

Function at 0x4196a4
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
mov eax, 0x208
push eax
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push 0
push eax
mov dword [ebp - 0x7c], 1
call fcn.00472b80
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.last_install_path
push str.Software360360se6Chrome
push 0x80000001
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41973b
push str.360se6Application360se.exe
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x78]
push eax
call ebx
test eax, eax
je 0x41973b
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004128a8
pop ecx
pop ecx
test eax, eax
je 0x41973b
xor eax, eax
inc eax
jmp 0x419779
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4ca294
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se6.exe
push SysStringLen
call esi
test eax, eax
jne 0x419777
lea eax, [ebp - 0x78]
push eax
call ebx
test eax, eax
je 0x419777
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004128a8
pop ecx
pop ecx
test eax, eax
jne 0x419736
xor eax, eax
mov ecx, dword [ebp + 0x190]
pop esi
xor ecx, ebp
pop ebx
call fcn.00471f7b
add ebp, 0x194
leave
ret
Function at 0x419790
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, 0x208
push eax
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push 0
push eax
mov dword [ebp - 0x7c], 1
call fcn.00472b80
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.UninstallString
push str.Software360ChromeUpdateClientState27D39816_7A3D_406c_9ABC_97FB55674016
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x419821
push str.......360chrome.exe
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419821
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004128a8
pop ecx
pop ecx
test eax, eax
je 0x419821
xor eax, eax
inc eax
jmp 0x419823
xor eax, eax
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.00471f7b
add ebp, 0x194
leave
ret

Function at 0x419838
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x208
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00472b80
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00472b80
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00419091
add esp, 0x20
pop esi
test eax, eax
je 0x4198cf
push str.safemon360tray.exe
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4198cf
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4198cf
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004128a8
pop ecx
pop ecx
test eax, eax
je 0x4198cf
xor eax, eax
inc eax
jmp 0x4198d1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471f7b
leave
ret

Function at 0x41aee1
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
mov edx, dword [esi + 0x10]
test edx, edx
je 0x41af0e
and dword [ebp - 0x1c], 0
push edi
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x18]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
pop edi
mov esi, dword [esi + 0x14]
test esi, esi
je 0x41af1c
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
leave
ret
Function at 0x41bcb7
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x4a8a89
call fcn.004726b8
mov esi, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
cmp ecx, edi
je 0x41bd18
push esi
call fcn.0041ae7e
lea ebx, [esi + 0xc]
push ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x24]
mov dword [ebp - 4], edi
call fcn.0041bc52
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esi], edi
jne 0x41bd11
push edi
push edi
push esi
push 0x41bca5
push edi
push edi
call fcn.00477f33
add esp, 0x18
mov dword [esi], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00472790
ret 4

Function at 0x41be69
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x18
push esi
push edi
mov esi, ecx
jne 0x41beca
cmp dword [ebp + 0xc], 0
je 0x41beca
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41beaa
push edi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x41beaa
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x41beca
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push 0x18
call fcn.0042b536
push 0
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, edi
jmp 0x41beda
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042b536
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41ce68
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
and byte [esi + 0x14], 9
mov al, byte [esi + 0x14]
test al, 1
je 0x41ceac
test al, 8
jne 0x41ceac
push 0xfffffffffffffff0
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp dword [esp + 0xc], 0
mov ecx, 0x10000000
je 0x41ce94
or eax, ecx
test ecx, eax
je 0x41ceac
or byte [esi + 0x14], 4
mov cl, byte [esi + 0x14]
test eax, 0x21000000
jne 0x41ceac
or cl, 2
mov byte [esi + 0x14], cl
test byte [esi + 0x14], 2
je 0x41ceca
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 8]
mov ecx, esi
call fcn.0041cb36
jmp 0x41ced5
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 8

Function at 0x41df0e
Capabilities:
Set registry value

Disassembly:
push 8
lea eax, [esp + 0xc]
push eax
push 0xb
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc

Function at 0x41df28
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x41df39
push 0xd
pop eax
jmp 0x41df66
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x41df3c
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x41e158
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x3c8]
sub esp, 0x448
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp + 0x3c4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x41e172
push ebx
push ebx
push eax
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
cmp eax, ecx
jbe 0x41e187
sub eax, ecx
mov dword [ebp - 0x7c], eax
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x74], eax
cmp eax, 0xffffffff
je 0x41e2c5
push 0x228
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00472b80
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x70], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41e2bc
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x68], eax
je 0x41e2a7
push dword [ebp - 0x68]
push ebx
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x41e2a7
xor eax, eax
push 0x206
mov word [ebp + 0x1bc], ax
lea eax, [ebp + 0x1be]
push ebx
push eax
call fcn.00472b80
add esp, 0xc
push str.QueryFullProcessImageNameW
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x80], 0x104
cmp eax, ebx
je 0x41e244
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp + 0x1bc]
push ecx
push ebx
push edi
call eax
test eax, eax
jne 0x41e25b
push 0x104
lea eax, [ebp + 0x1bc]
push eax
push ebx
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x41e287
mov eax, dword [esi + 0x10]
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x1bc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x41e287
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x3e8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0xc]
add dword [ebp - 0x78], 2
cmp ecx, ebx
je 0x41e2a0
push dword [ebp - 0x7c]
push dword [esi + 4]
push dword [ebp - 0x78]
call fcn.00420b97
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41e1c9
pop edi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x3c4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00471f7b
add ebp, 0x3c8
leave
ret
Function at 0x4208a4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push esi
push edi
push eax
xor esi, esi
push ecx
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
je 0x42092a
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, esi
je 0x420929
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, esi
je 0x420929
push esi
push esi
push 0x80
push 2
push esi
push 0x40000000
push dword [ebp + 8]
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.0041df8a
cmp dword [ebp - 4], esi
je 0x420929
push esi
push ebx
push edi
lea ecx, [ebp - 4]
call fcn.00420818
test eax, eax
jne 0x420920
mov dword [ebp - 8], 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret 4
Function at 0x4209c0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x14
mov eax, 0x4a8fa8
call fcn.004726b8
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call fcn.0040bf81
pop ecx
push eax
push 0x4abbbc
push 1
push esi
push 0x4b18d4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
cmp ebx, esi
jl 0x420b1e
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
lea esi, [edi + 4]
mov eax, dword [esi]
push eax
push ecx
call dword [edx + 0x50]
mov ebx, eax
test ebx, ebx
jl 0x420b1e
push esi
lea ecx, [ebp - 0x18]
call fcn.0040d4e4
push 0x5c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0041e2f8
xor esi, esi
cmp eax, esi
jle 0x420a69
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.00416743
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004168fe
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040c248
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], esi
jle 0x420a7b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x4b1dc4
push eax
mov byte [ebp - 4], 3
call dword [ecx]
mov ebx, eax
cmp ebx, esi
jl 0x420b02
push edi
lea ecx, [ebp - 0x14]
call fcn.0040d4e4
push 0x5c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0041e2f8
cmp eax, esi
jle 0x420ae7
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.00416743
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004168fe
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.0040c248
push dword [ebp - 0x14]
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edi, dword [edi]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 1
push edi
push eax
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov ebx, eax
call fcn.0040c248
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x420b13
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040c248
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x420b2f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
call fcn.00472790
ret

Function at 0x42195b
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
mov esi, ecx
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x20], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x18], eax
lea eax, [esi + 0x1c]
push eax
push ebx
push esi
push 0x421949
push ebx
push ebx
call fcn.00477f33
mov dword [esi + 0x14], eax
mov esi, dword [esi + 0x18]
add esp, 0x18
cmp esi, ebx
je 0x4219ae
push 1
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebx
ret