joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41937b
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.00472c30
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00419162
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 0x419419
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x414]
push eax
call esi
test eax, eax
je 0x4193f6
xor eax, eax
inc eax
jmp 0x419418
push str.QHSafeMain.exe
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
je 0x419418
lea eax, [ebp - 0x414]
push eax
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00472031
leave
ret

Function at 0x419775
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.00472c30
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 0x41980c
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 0x41980c
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004128a8
pop ecx
pop ecx
test eax, eax
je 0x41980c
xor eax, eax
inc eax
jmp 0x41984a
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4ca314
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se6.exe
push SysStringLen
call esi
test eax, eax
jne 0x419848
lea eax, [ebp - 0x78]
push eax
call ebx
test eax, eax
je 0x419848
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004128a8
pop ecx
pop ecx
test eax, eax
jne 0x419807
xor eax, eax
mov ecx, dword [ebp + 0x190]
pop esi
xor ecx, ebp
pop ebx
call fcn.00472031
add ebp, 0x194
leave
ret
Function at 0x419861
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.00472c30
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 0x4198f2
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 0x4198f2
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004128a8
pop ecx
pop ecx
test eax, eax
je 0x4198f2
xor eax, eax
inc eax
jmp 0x4198f4
xor eax, eax
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.00472031
add ebp, 0x194
leave
ret

Function at 0x419909
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.00472c30
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00472c30
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00419162
add esp, 0x20
pop esi
test eax, eax
je 0x4199a0
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 0x4199a0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4199a0
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004128a8
pop ecx
pop ecx
test eax, eax
je 0x4199a0
xor eax, eax
inc eax
jmp 0x4199a2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472031
leave
ret

Function at 0x41afaf
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 0x41afdc
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 0x41afea
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
leave
ret
Function at 0x41bd85
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x4a8bf9
call fcn.0047276e
mov esi, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
cmp ecx, edi
je 0x41bde6
push esi
call fcn.0041af4c
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.0041bd20
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esi], edi
jne 0x41bddf
push edi
push edi
push esi
push 0x41bd73
push edi
push edi
call fcn.00478033
add esp, 0x18
mov dword [esi], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00472846
ret 4

Function at 0x41bf37
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x18
push esi
push edi
mov esi, ecx
jne 0x41bf98
cmp dword [ebp + 0xc], 0
je 0x41bf98
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 0x41bf78
push edi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x41bf78
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x41bf98
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push 0x18
call fcn.0042b5ea
push 0
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, edi
jmp 0x41bfa8
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042b5ea
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41cf36
Capabilities:
Hide graphical window

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

Function at 0x41dfdc
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x41dfed
push 0xd
pop eax
jmp 0x41e01a
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 0x41dff0
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 0x41e1f0
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 0x41e226
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 0x41e23b
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 0x41e379
push 0x228
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00472c30
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 0x41e370
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x68], eax
je 0x41e35b
push dword [ebp - 0x68]
push ebx
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x41e35b
xor eax, eax
push 0x206
mov word [ebp + 0x1bc], ax
lea eax, [ebp + 0x1be]
push ebx
push eax
call fcn.00472c30
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 0x41e2f8
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp + 0x1bc]
push ecx
push ebx
push edi
call eax
test eax, eax
jne 0x41e30f
push 0x104
lea eax, [ebp + 0x1bc]
push eax
push ebx
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x41e33b
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 0x41e33b
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 0x41e354
push dword [ebp - 0x7c]
push dword [esi + 4]
push dword [ebp - 0x78]
call fcn.00420c4b
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 0x41e27d
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.00472031
add ebp, 0x3c8
leave
ret
Function at 0x41ee1d
Capabilities:
Check if file exists

Disassembly:
push 0x24
mov eax, 0x4a8de6
call fcn.0047276e
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp eax, ecx
jbe 0x41ee3f
sub eax, ecx
mov dword [ebp - 0x10], eax
push dword [esi + 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41eee9
mov eax, dword [esi + 0x14]
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push eax
push dword [esi + 0x10]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040c093
cmp eax, ebx
jne 0x41eee1
mov eax, dword [esi + 0x18]
xor edi, edi
inc edi
push edi
push eax
push str.DisplayIcon
lea ecx, [ebp - 0x18]
call fcn.0040c1ef
mov eax, dword [esi + 0x1c]
push edi
push eax
push str.DisplayName
lea ecx, [ebp - 0x18]
call fcn.0040c1ef
mov eax, dword [esi + 0x20]
push edi
push eax
push str.DisplayVersion
lea ecx, [ebp - 0x18]
call fcn.0040c1ef
mov eax, dword [esi + 0x24]
push edi
push eax
push str.InstallLocation
lea ecx, [ebp - 0x18]
call fcn.0040c1ef
mov eax, dword [esi + 0x28]
push edi
push eax
push 0x4ae00c
lea ecx, [ebp - 0x18]
call fcn.0040c1ef
mov eax, dword [esi + 0x2c]
push edi
push eax
push str.UninstallString
lea ecx, [ebp - 0x18]
call fcn.0040c1ef
lea ecx, [ebp - 0x18]
call fcn.0040c078
mov ecx, dword [esi + 0xc]
push 0x21
pop eax
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x41ef02
push dword [ebp - 0x10]
push dword [esi + 4]
push eax
call fcn.00420c4b
lea edi, [esi + 0x30]
mov eax, dword [edi + 0xc]
push edi
push eax
lea ecx, [ebp - 0x28]
call fcn.0041e9d8
mov eax, dword [edi + 0x10]
push edi
push eax
jmp 0x41eff1
lea ecx, [ebp - 0x28]
call fcn.0041e3e0
mov edi, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [edi + 4]
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push eax
push dword [edi]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.0040c093
cmp eax, ebx
jne 0x41efbb
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0
jle 0x41ef55
mov ebx, eax
mov eax, dword [edi + 0x10]
cmp eax, 1
jne 0x41ef60
push eax
jmp 0x41ef66
cmp eax, 2
jne 0x41ef75
push eax
mov edi, dword [edi + 0xc]
push edi
push ebx
lea ecx, [ebp - 0x20]
call fcn.0040c1ef
jmp 0x41efbb
cmp eax, 7
jne 0x41ef88
push dword [edi + 0xc]
lea ecx, [ebp - 0x20]
push ebx
call fcn.0041dfdc
jmp 0x41efbb
cmp eax, 4
jne 0x41efa2
push dword [edi + 0xc]
call fcn.004785f2
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.0040c1d5
jmp 0x41efbb
cmp eax, 0xb
jne 0x41efbb
push dword [edi + 0xc]
call fcn.00478608
pop ecx
push edx
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.0041622b
mov ecx, dword [esi + 0xc]
add dword [ebp - 0x14], 0x21
xor ebx, ebx
cmp ecx, ebx
je 0x41efd6
push dword [ebp - 0x10]
push dword [esi + 4]
push dword [ebp - 0x14]
call fcn.00420c4b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040c078
lea ecx, [ebp - 0x28]
call fcn.0041e492
lea eax, [esi + 0x30]
push eax
push dword [eax + 0x10]
lea ecx, [ebp - 0x30]
call fcn.0041e9d8
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041e40c
test al, al
je 0x41ef1c
call fcn.00472846
ret
Function at 0x41f013
Capabilities:
Check if file exists

Disassembly:
push 0x24
mov eax, 0x4a8e09
call fcn.0047276e
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
and dword [ebp - 0x10], 0
and dword [ebp - 0x14], 0
cmp eax, ecx
jbe 0x41f038
sub eax, ecx
mov dword [ebp - 0x14], eax
lea ebx, [esi + 0x10]
mov eax, dword [ebx + 0xc]
push ebx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041ea37
mov eax, dword [ebx + 0x10]
push ebx
push eax
jmp 0x41f0cb
lea ecx, [ebp - 0x1c]
call fcn.0041e433
mov edi, eax
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41f0a6
lea ecx, [ebp - 0x30]
call fcn.00420a2a
push dword [edi]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00420beb
push dword [edi + 4]
lea ecx, [ebp - 0x30]
call fcn.00420bf0
push dword [edi + 8]
lea ecx, [ebp - 0x30]
call fcn.00420bf8
lea ecx, [ebp - 0x30]
call fcn.00420a74
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00420a50
mov ecx, dword [esi + 0xc]
add dword [ebp - 0x10], 0x32
test ecx, ecx
je 0x41f0bf
push dword [ebp - 0x14]
push dword [esi + 4]
push dword [ebp - 0x10]
call fcn.00420c4b
lea ecx, [ebp - 0x1c]
call fcn.0041e4e9
push ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x24]
call fcn.0041ea37
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041e45f
test al, al
je 0x41f04f
call fcn.00472846
ret
Function at 0x41f321
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path
Move file

Disassembly:
push ebp
sub esp, 0xc8
lea ebp, [esp - 4]
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push 0x5c
mov eax, 0x4a8e6a
call fcn.0047276e
mov edi, ecx
push dword [edi + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41f49e
xor eax, eax
push 0xc6
mov word [ebp], ax
xor esi, esi
lea eax, [ebp + 2]
push esi
push eax
call fcn.00472c30
add esp, 0xc
push 0x64
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.0040bd9c
test eax, eax
mov eax, str.Sysnative
jne 0x41f391
mov eax, str.System32
push eax
push 0x64
lea eax, [ebp]
push eax
call fcn.0041e696
push 0x10
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.00472c30
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.00472c30
mov dword [ebp - 0x68], ebx
add esp, 0x18
xor eax, eax
mov ebx, 0x4d7a78
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], ax
call fcn.0040cb1b
push dword [edi + 0x10]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push str.__s_regsvr32.exe___s__u___s_
push eax
mov dword [ebp - 4], esi
call fcn.0040dc83
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp]
push eax
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x10]
call fcn.0040d502
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x24], esi
je 0x41f430
push 0x7530
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], esi
je 0x41f43e
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00411f96
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, esi
jne 0x41f493
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040cb1b
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [edi + 0x10]
lea eax, [ebp - 0x14]
push str._s.delete_d
push eax
call fcn.0040dc83
add esp, 0x10
push esi
mov esi, dword [ebp - 0x14]
push esi
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esi - 0x10]
call fcn.0040c248
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040c248
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
call fcn.00472031
add ebp, 0xcc
leave
ret
Function at 0x41f4c1
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x58
mov eax, 0x4a8e9a
call fcn.0047276e
mov esi, ecx
push dword [esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41f5ed
push dword [esi + 0x10]
call fcn.00415563
pop ecx
test eax, eax
je 0x41f5ed
push 0x10
xor edi, edi
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00472c30
push 0x44
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.00472c30
xor eax, eax
push 0x206
mov word [ebp - 0x34], ax
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
call fcn.00472c30
add esp, 0x24
push dword [esi + 0x10]
lea eax, [ebp]
push 0x104
push eax
call fcn.004164fc
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4d7a78
lea ecx, [ebp - 0x10]
call fcn.0040cb1b
push dword [esi + 0x14]
lea eax, [ebp - 0x10]
push dword [esi + 0x10]
mov dword [ebp - 4], edi
push str.__s___s
push eax
call fcn.0040dc83
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp]
push eax
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d502
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], edi
je 0x41f5ce
push 0x7530
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x20]
call esi
cmp dword [ebp - 0x1c], edi
je 0x41f5d8
push dword [ebp - 0x1c]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00411f96
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040c248
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00472031
add ebp, 0x20c
leave
ret
Function at 0x41f610
Capabilities:
Check if file exists
Create process on windows
Get common file path

Disassembly:
push ebp
sub esp, 0xc8
lea ebp, [esp - 4]
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push 0x58
mov eax, 0x4a8eca
call fcn.0047276e
mov edi, ecx
push dword [edi + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41f741
xor eax, eax
push 0xc6
mov word [ebp], ax
xor esi, esi
lea eax, [ebp + 2]
push esi
push eax
call fcn.00472c30
add esp, 0xc
push 0x64
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.0040bd9c
test eax, eax
mov eax, str.Sysnative
jne 0x41f680
mov eax, str.System32
push eax
push 0x64
lea eax, [ebp]
push eax
call fcn.0041e696
push 0x10
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00472c30
push 0x44
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00472c30
add esp, 0x18
xor eax, eax
push 0x4d7a78
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], ax
call fcn.0040cb1b
push dword [edi + 0x10]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push str.__s_regsvr32.exe___s___s_
push eax
mov dword [ebp - 4], esi
call fcn.0040dc83
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp]
push eax
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x10]
call fcn.0040d502
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], esi
je 0x41f722
push 0x7530
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x20]
call edi
cmp dword [ebp - 0x1c], esi
je 0x41f72c
push dword [ebp - 0x1c]
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00411f96
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040c248
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
call fcn.00472031
add ebp, 0xcc
leave
ret
Function at 0x41fae6
Capabilities:
Delete file
Move file

Disassembly:
push 0xc
mov eax, 0x4a8f58
call fcn.0047276e
lea eax, [ecx + 0x10]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call fcn.0040d4e4
and dword [ebp - 4], 0
push str.ShlTabExt64.dll
lea ecx, [ebp - 0x10]
call fcn.0040dc4c
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x41fb6a
push 0x4d7a78
lea ecx, [ebp - 0x14]
call fcn.0040cb1b
mov byte [ebp - 4], 1
call edi
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s.delete_d
push eax
call fcn.0040dc83
add esp, 0x10
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040c248
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040c248
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.0040d4e4
push str.ShlTabExt.dll
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.0040dc4c
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x41fbdc
push 0x4d7a78
lea ecx, [ebp - 0x14]
call fcn.0040cb1b
mov byte [ebp - 4], 3
call edi
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s.delete_d
push eax
call fcn.0040dc83
mov esi, dword [ebp - 0x14]
add esp, 0x10
push 0
push esi
push dword [ebp - 0x10]
call ebx
lea ecx, [esi - 0x10]
call fcn.0040c248
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040c248
call fcn.00472846
ret
Function at 0x420958
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 0x4209de
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, esi
je 0x4209dd
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 0x4209dd
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.0041e03e
cmp dword [ebp - 4], esi
je 0x4209dd
push esi
push ebx
push edi
lea ecx, [ebp - 4]
call fcn.004208cc
test eax, eax
jne 0x4209d4
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