joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422640
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x250]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareATIACESettingsGraphicsPowerXpress
push SysReAllocStringLen
mov byte [ebp - 0x249], 1
mov dword [ebp - 0x250], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422876
mov ecx, dword [ebp - 0x250]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x105
lea edx, [ebp - 0x210]
push edx
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, ebx
je 0x422876
cmp eax, 0x105
ja 0x422876
push esi
push edi
xor ecx, ecx
mov word [ebp + eax*2 - 0x210], cx
xor edx, edx
mov edi, 7
push ebx
mov eax, 0x51c620
lea esi, [ebp - 0x248]
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x234], ebx
mov word [ebp - 0x244], dx
call fcn.004017f0
xor eax, eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x422714
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
lea esi, [ebp - 0x22c]
call fcn.004017f0
push 0x51bcf8
mov ecx, esi
push ecx
mov edi, 1
call fcn.0040bd50
cmp eax, 0xffffffff
jne 0x422799
mov esi, 8
cmp dword [ebp - 0x214], esi
jb 0x422768
mov edx, dword [ebp - 0x228]
push edx
call fcn.004c097a
add esp, 4
xor eax, eax
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], ebx
mov word [ebp - 0x228], ax
cmp dword [ebp - 0x230], esi
jb 0x422874
mov ecx, dword [ebp - 0x244]
push ecx
jmp 0x42286c
inc eax
push eax
push ebx
lea eax, [ebp - 0x22c]
xor edx, edx
push eax
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], ebx
mov word [ebp - 0x268], dx
call fcn.004018f0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x26c]
push ecx
lea eax, [ebp - 0x248]
call fcn.004018f0
mov esi, 8
cmp dword [ebp - 0x254], esi
jb 0x4227f8
mov edx, dword [ebp - 0x268]
push edx
call fcn.004c097a
add esp, 4
push 0x1a
push str.LocalATIACEAPLuser.blb
lea eax, [ebp - 0x248]
call fcn.0040ba90
push 0x51b308
mov edi, 0x1d8
lea eax, [ebp - 0x248]
call fcn.0044e8f0
add esp, 4
cmp eax, 0xffffffff
jne 0x42282d
mov byte [ebp - 0x249], bl
cmp dword [ebp - 0x214], esi
jb 0x422844
mov eax, dword [ebp - 0x228]
push eax
call fcn.004c097a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], ebx
mov word [ebp - 0x228], cx
cmp dword [ebp - 0x230], esi
jb 0x422874
mov edx, dword [ebp - 0x244]
push edx
call fcn.004c097a
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x249]
xor ecx, ebp
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x4251c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push esi
push edi
call fcn.0044f810
test eax, eax
jne 0x42522a
push 0x51e54c
lea esi, [esp + 0x10]
call fcn.00420fe0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
mov edi, esi
call fcn.00425400
cmp eax, 1
jne 0x425212
push 0xa
push 0
push 0
push str.http:__se.360.cn_v6_index.html
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.004250d0
lea eax, [esp + 0xc]
call fcn.00421370
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
mov dword [ebx + 0x28], eax
cmp dword [ebx + 0x24], esi
jne 0x4252ab
push 0x180
call fcn.004c0fe9
add esp, 4
cmp eax, esi
je 0x425254
mov edi, eax
call fcn.00424480
jmp 0x425256
xor eax, eax
test byte [0x551f30], 1
mov dword [ebx + 0x24], eax
jne 0x42527b
or dword [0x551f30], 1
mov dword [0x54ee34], esi
mov dword [0x551f34], esi
mov dword [0x551f38], esi
mov esi, 0x551f34
call fcn.0041bd70
mov ecx, eax
mov eax, dword [ebx + 0x24]
call fcn.00429640
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
mov esi, dword [ebx + 0x24]
call fcn.00425b80
xor esi, esi
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebp + 8]
mov dword [ebx + 0x2c], eax
cmp ecx, esi
je 0x425335
cmp eax, esi
je 0x4252e4
cmp eax, 3
jne 0x4252c8
mov edx, str.AccView
jmp 0x4252de
cmp eax, 2
jne 0x4252d4
mov edx, str.FixView
jmp 0x4252de
cmp eax, 1
jne 0x4252e4
mov edx, str.MainView
push esi
call fcn.00427ae0
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 4]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call esi
mov edx, dword [ebx + 0x24]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 4]
add eax, 4
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x425335
mov eax, dword [ebx + 0x24]
mov edx, dword [eax + 4]
add eax, 4
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x425335
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 4]
push 9
push ecx
call esi
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x427870
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
lea ecx, [ebx + 0x50]
call fcn.0042e9b0
test eax, eax
je 0x4278b9
push esi
push edi
push 0x51effc
lea esi, [ebp - 0x34]
call fcn.00420fe0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
mov edi, esi
call fcn.00425400
pop edi
cmp eax, 2
pop esi
lea eax, [ebp - 0x34]
jne 0x4278b4
call fcn.00421370
xor eax, eax
mov esp, ebp
pop ebp
ret
call fcn.00421370
mov eax, dword [ebx + 4]
push 0x10003
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebx + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004250d0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x428c00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa54
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x636]
push ecx
mov word [ebp - 0x638], ax
call fcn.004c5470
add esp, 0xc
push 0x51f418
lea edx, [ebp - 0x638]
push 0x51c250
push edx
mov edx, 0x104
call fcn.0042bcf0
add esp, 0xc
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x426]
push ecx
mov word [ebp - 0x428], ax
call fcn.004c5470
add esp, 0xc
lea edx, [ebp - 0x428]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.004c5470
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x218]
push str._s_d.ini
push eax
mov edx, 0x104
call fcn.0042bcf0
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x10
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x638]
push edx
push str.Text_Line1
push str.Share
call edi
lea eax, [ebp - 0x218]
push eax
push 0x51f4e8
push str.Header_Line1
push str.Share
call edi
xor ecx, ecx
push 0x410
push ecx
lea edx, [ebp - 0xa4e]
push edx
mov word [ebp - 0xa50], cx
call fcn.004c5470
add esp, 0xc
push str.weibo_sina
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x428d4b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xa50]
push str.__Share:Ini:_s____Share:To:1_
push ecx
mov edx, 0x208
call fcn.0042bd10
add esp, 0xc
lea edx, [ebp - 0xa50]
push edx
call fcn.00428d70
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x428d70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ecx, ecx
push 0x208
push ecx
lea edx, [ebp - 0x426]
push edx
mov dword [ebp - 0x464], eax
mov word [ebp - 0x428], cx
call fcn.004c5470
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x428]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor ecx, ecx
push 0x208
push ecx
lea edx, [ebp - 0x216]
push edx
xor esi, esi
mov word [ebp - 0x218], cx
call fcn.004c5470
add esp, 0xc
lea ecx, [ebp - 0x444]
call fcn.0044d670
lea ecx, [ebp - 0x460]
call fcn.0044d850
mov ecx, dword [ebp - 0x440]
mov ebx, 8
cmp dword [ebp - 0x42c], ebx
jae 0x428e0e
lea ecx, [ebp - 0x440]
mov eax, str.9.0.0.100
call fcn.00408470
test eax, eax
jl 0x428e3f
mov eax, dword [ebp - 0x45c]
cmp dword [ebp - 0x448], ebx
jae 0x428e30
lea eax, [ebp - 0x45c]
push eax
push str._sNotifyDown.dll
lea eax, [ebp - 0x218]
push eax
jmp 0x428e52
lea ecx, [ebp - 0x428]
push ecx
push str._s360se6Apps_binNotifyDown.dll
lea edx, [ebp - 0x218]
push edx
mov edx, 0x104
call fcn.0042bcf0
add esp, 0xc
lea ecx, [ebp - 0x218]
call fcn.00450b20
test al, al
je 0x428e8d
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x428e8d
push str.Load360NotifyExe
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp dword [ebp - 0x448], ebx
jb 0x428ea4
mov ecx, dword [ebp - 0x45c]
push ecx
call fcn.004c097a
add esp, 4
xor edx, edx
mov dword [ebp - 0x448], 7
mov dword [ebp - 0x44c], 0
mov word [ebp - 0x45c], dx
cmp dword [ebp - 0x42c], ebx
jb 0x428ed8
mov eax, dword [ebp - 0x440]
push eax
call fcn.004c097a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], cx
test esi, esi
je 0x428f09
mov edx, dword [ebp - 0x464]
Function at 0x428f20
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.004c5470
add esp, 0xc
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x230]
push ecx
push 0x51c620
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x234], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x210]
call fcn.00450b20
test al, al
jne 0x428fe3
push 0x51f618
lea esi, [ebp - 0x284]
call fcn.00420fe0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
mov edi, esi
call fcn.00425400
cmp eax, 2
je 0x428fc8
call fcn.004099c0
lea eax, [ebp - 0x284]
call fcn.00421370
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
call fcn.0041b1c0
test eax, eax
je 0x42900e
call fcn.0041afb0
test eax, eax
jne 0x42912f
call fcn.00409b10
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
xor edx, edx
lea eax, [ebp - 0x210]
mov word [ebp - 0x24c], dx
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429034
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
lea esi, [ebp - 0x250]
call fcn.004017f0
mov edx, esi
lea ecx, [ebp - 0x26c]
call fcn.004071d0
mov edi, str.360DiagnoseScan.exe
mov ecx, eax
lea esi, [ebp - 0x22c]
call fcn.0040e390
mov esi, 8
cmp dword [ebp - 0x254], esi
jb 0x429090
mov eax, dword [ebp - 0x268]
push eax
call fcn.004c097a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], cx
cmp dword [ebp - 0x238], esi
jb 0x4290c4
mov edx, dword [ebp - 0x24c]
push edx
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 0x228]
cmp dword [ebp - 0x214], esi
jae 0x4290d8
lea ecx, [ebp - 0x228]
call fcn.00450b20
test al, al
jne 0x4290e8
call fcn.00409b10
jmp 0x429118
mov eax, dword [ebp - 0x228]
cmp dword [ebp - 0x214], esi
jae 0x4290fc
lea eax, [ebp - 0x228]
push 0xa
push 0
push str._tab2
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x214], esi
jb 0x42912f
mov eax, dword [ebp - 0x228]
push eax
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x42af70
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push edi
mov word [ebp - 0x1c], ax
push eax
mov eax, 0x51c620
lea esi, [ebp - 0x20]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
call fcn.004017f0
mov ecx, esi
push ecx
mov ecx, str.UninstallString
mov ebx, str.Software360360se6UpdateClientState02E720BD_2B50_4404_947C_65DBE64F6970
mov edi, SysReAllocStringLen
call fcn.00408730
add esp, 4
mov edi, 8
test eax, eax
je 0x42b077
cmp dword [ebp - 0xc], 0
je 0x42b077
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], edi
jae 0x42afe1
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b077
mov eax, str.__sis_com
lea ecx, [ebp - 0x58]
call fcn.00401520
push 0
push 0x543fa4
or eax, 0xffffffff
lea esi, [ebp - 0x58]
call fcn.0040ca60
lea ebx, [ebp - 0x5c]
mov eax, esi
lea ecx, [ebp - 0x20]
call fcn.004655d0
test al, al
je 0x42b066
lea ecx, [ebp - 0x3c]
call fcn.00406e70
cmp dword [ebp - 0x28], 0
je 0x42b05e
call fcn.00406bb0
test al, al
jne 0x42b05e
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x24], edi
jae 0x42b042
lea eax, [ebp - 0x38]
push 0xa
push 0
push str._funname360XiTongJiJiuXiang
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea esi, [ebp - 0x3c]
call fcn.0040f420
cmp dword [ebp - 0x40], edi
jb 0x42b077
mov edx, dword [ebp - 0x54]
push edx
call fcn.004c097a
add esp, 4
cmp dword [ebp - 8], edi
jb 0x42b088
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret

Function at 0x42c400
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x2c
call fcn.004c0fe9
add esp, 4
test eax, eax
je 0x42c48e
call fcn.0042c210
mov esi, eax
test esi, esi
je 0x42c48e
mov eax, dword [ebp + 8]
push 0
push 0
push 1
push 0
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [ebp - 4]
push ecx
push 0
push esi
push 0x42c3d0
push 0
mov dword [esi + 0x24], eax
push 0
mov dword [ebp - 4], 0
call fcn.004c3cd3
add esp, 0x18
test eax, eax
je 0x42c483
cmp dword [ebp - 4], 0
jbe 0x42c483
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov edx, dword [esi + 0x24]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x24]
push eax
call edi
mov eax, dword [esi + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42f680
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.0042f040
call fcn.0042f350
mov eax, str.SoftwareMicrosoftSystemCertificatesRoot
lea esi, [ebp - 0x24]
call fcn.00410420
mov edi, dword [ebp - 0x24]
push edi
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov esi, eax
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x42f6ee
push 4
mov eax, 0x51fb40
lea esi, [ebp - 0x20]
call fcn.004017f0
call fcn.004098e0
jmp 0x42f6f3
call fcn.004098e0
cmp dword [ebp - 8], 8
jb 0x42f705
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004c097a
add esp, 4
xor edx, edx
lea eax, [edi - 0x10]
mov word [ebp - 0x1c], dx
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f735
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.004c0985
mov esp, ebp
pop ebp
ret

Function at 0x42f770
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 8]
test eax, eax
je 0x42f7a4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42f793
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
cmp dword [esi + 0x24], 0x10
jb 0x42f7b6
mov edx, dword [esi + 0x10]
push edx
call fcn.004c097a
add esp, 4
mov dword [esi + 0x24], 0xf
mov dword [esi + 0x20], 0
mov byte [esi + 0x10], 0
ret
Function at 0x430b10
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
call fcn.00430d30
test al, al
je 0x430ce9
lea ecx, [ebp - 0x268]
call fcn.0044d5b0
lea eax, [ebp - 0x268]
push eax
mov eax, str.360doctor_mutex_resident
lea edi, [ebp - 0x230]
call fcn.00412920
add esp, 4
push str.360doctor_mutex_resident
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
push 0x1f0001
call esi
mov edi, eax
test edi, edi
je 0x430bc4
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x430b8a
lea eax, [ebp - 0x22c]
push eax
push 0
push 0x1f0001
call esi
cmp byte [ebp + 8], 0
je 0x430cfc
test eax, eax
jne 0x430cfc
push 0x7530
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x212]
push edx
mov word [ebp - 0x214], cx
call fcn.004c5470
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
push 7
mov eax, str._repair
lea esi, [ebp - 0x24c]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], edi
mov word [ebp - 0x248], cx
call fcn.004017f0
push 1
push 0x51cbfc
mov eax, esi
call fcn.0040ba90
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x430c35
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [ebp - 0x24c]
call fcn.0040ba90
mov edx, dword [ebp - 0x248]
mov esi, 8
cmp dword [ebp - 0x234], esi
jae 0x430c6a
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x214]
call fcn.00409670
cmp dword [ebp - 0x234], esi
jb 0x430c8c
mov edx, dword [ebp - 0x248]
push edx
call fcn.004c097a
add esp, 4
xor eax, eax
mov ebx, 7
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x238], edi
mov word [ebp - 0x248], ax
cmp dword [ebp - 0x218], esi
jb 0x430cbd
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.004c097a
add esp, 4
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], edi
xor edx, edx
mov word [ebp - 0x22c], dx
cmp dword [ebp - 0x250], esi
jb 0x430ce9
mov eax, dword [ebp - 0x264]
push eax
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret 4
mov esi, 8
cmp dword [ebp - 0x218], esi
jb 0x430d18
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.004c097a
add esp, 4
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
jmp 0x430cc9

Function at 0x430dc0
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.360doctor_mutex_resident
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
je 0x430dec
push 0x7530
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x433370
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, str..old
lea esi, [ebp - 0x20]
mov ebx, ecx
call fcn.0040e390
mov eax, dword [ebp - 0x1c]
mov esi, 8
cmp dword [ebp - 8], esi
jae 0x4333a2
lea eax, [ebp - 0x1c]
cmp dword [ebx + 0x18], esi
jb 0x4333ac
mov ebx, dword [ebx + 4]
jmp 0x4333af
add ebx, 4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4333c8
push 1
lea ecx, [ebp - 0x20]
call fcn.0044e5e0
add esp, 4
cmp dword [ebp - 8], esi
pop edi
pop esi
pop ebx
jb 0x4333dc
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x437bb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push str.doctor_FixXP_never
push str.Software360360se6Chrome
push SysReAllocStringLen
lea ecx, [ebp - 4]
mov esi, eax
mov dword [ebp - 4], 0
call fcn.004086f0
add esp, 0xc
call fcn.00438620
test al, al
je 0x437c94
call fcn.00438530
test al, al
jne 0x437c94
cmp dword [ebp - 4], 1
je 0x437c94
call fcn.004384c0
test eax, eax
je 0x437c94
call fcn.00438ef0
test al, al
je 0x437c94
push 0
push str.360se6_Frame
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
push ecx
test eax, eax
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
je 0x437c44
push edi
jmp 0x437c46
push 0
call fcn.00439490
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov ecx, str.http:__dd.browser.360.cn_static_a_815.8729.gif
call fcn.00409fe0
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
add esp, 4
push 0
push 0x4c4b40
push ecx
push edx
call edi
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 4]
push 0
push 0x3e8
inc eax
push eax
push ecx
call edi
call fcn.004696f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x438620
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004c5470
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x438674
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x114], 5
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x43f640
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
push ebx
push esi
push edi
mov dword [ebp - 0x220], ecx
jb 0x43f66a
mov eax, dword [eax + 4]
jmp 0x43f66d
add eax, 4
lea edx, [ebp - 0x218]
push edx
push 0x20019
xor edi, edi
push edi
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43f78a
mov ecx, dword [ebp - 0x218]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push edi
push ecx
mov dword [ebp - 0x21c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x43f6c4
mov edx, dword [ebp - 0x218]
push edx
jmp 0x43f784
cmp dword [ebp - 0x21c], edi
jbe 0x43f77d
mov edx, dword [ebp - 0x218]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
push ecx
push edi
push edx
mov dword [ebp - 0x224], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43f770
mov dword [ebp - 0x22c], eax
mov word [ebp - 0x23c], ax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x228], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f722
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x214]
lea esi, [ebp - 0x240]
call fcn.004017f0
mov edx, dword [ebp - 0x220]
mov ecx, esi
push ecx
push edx
lea ebx, [ebp - 0x24c]
call fcn.00440c30
cmp dword [ebp - 0x228], 8
jb 0x43f770
mov eax, dword [ebp - 0x23c]
push eax
call fcn.004c097a
add esp, 4
inc edi
cmp edi, dword [ebp - 0x21c]
jb 0x43f6d0
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret