joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4382b0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x438336
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
test ecx, 0xfffffffc
je 0x438336
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4382e7
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
xor edi, edi
sar eax, 2
test eax, eax
jbe 0x43832f
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx]
test eax, eax
ja 0x438304
call fcn.0048d2af
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
xor ecx, ecx
test edi, edi
setne cl
push ecx
push ebx
push eax
call fcn.00435e50
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x43832f
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc edi
sar eax, 2
cmp edi, eax
jb 0x4382f6
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x43a660
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x52b8f0
push 0x18
call fcn.0048e75b
add esp, 8
test eax, eax
je 0x43a6f4
mov ecx, eax
call fcn.00438ac0
mov esi, eax
test esi, esi
je 0x43a6f4
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.0040c3d0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [esi + 4]
call fcn.0040c3d0
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [esi + 8]
call fcn.0040c3d0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x10], ecx
push edx
lea ecx, [esi + 0x14]
mov dword [esi + 0xc], eax
call fcn.0040c3d0
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x439e30
push 0
push 0
mov dword [ebp - 4], 0
call fcn.0048e6ab
add esp, 0x18
test eax, eax
je 0x43a6f4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43a900
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f27e1
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov dword [ebp - 0x21c], 0xffffff9c
mov word [ebp - 0x218], ax
call fcn.0048d9d0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x43a9e7
call fcn.00428bb0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0040b880
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x224], esi
mov eax, esi
mov dword [ebp - 4], 0
lea edx, [eax + 2]
jmp 0x43a9a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a9a0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0048dca6
add esp, 0xc
test eax, eax
je 0x43a9f1
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a9e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xffffff9c
jmp 0x43aadc
push str.360Util.dll
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x220]
push edx
call fcn.0040e000
add esp, 0xc
mov eax, dword [ebp - 0x220]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43aa8b
mov ecx, dword [ebp - 0x220]
push ecx
mov ecx, 0x528478
call fcn.00438160
test eax, eax
je 0x43aa8b
push edi
lea ecx, [ebp - 0x21c]
call fcn.0040e6b0
push str.__elevated
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.004115c0
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x228]
push edx
push 7
push 0xbb8
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, 0x528478
call fcn.00486350
lea ecx, [ebp - 0x21c]
mov edi, eax
call fcn.0040be30
jmp 0x43aa91
mov edi, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43aab7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43aada
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret
Function at 0x43b4c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f289b
mov eax, dword fs:[0]
push eax
sub esp, 0x514
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str._SendClickActionRecord_
call fcn.00482580
push 0x103
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 0x114], 0
call fcn.0048d9d0
add esp, 0x10
push 0x104
lea ecx, [ebp - 0x114]
push ecx
call fcn.0048bfd0
push 0x3ff
lea edx, [ebp - 0x513]
push 0
push edx
mov byte [ebp - 0x514], 0
call fcn.0048d9d0
mov ecx, dword [ebp + 8]
push 9
lea eax, [ebp - 0x114]
push eax
push ecx
push 7
push str.http:__res.qhsetup.com_drv_inst.htm_type_de_dmid_sdm_d
lea edx, [ebp - 0x514]
push 0x400
push edx
call fcn.00438100
lea eax, [ebp - 0x514]
add esp, 0x28
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43b570
sub eax, edx
je 0x43b60b
lea edi, [eax + 1]
push 0x52b8f0
push edi
call fcn.0049004c
mov esi, eax
add esp, 8
test esi, esi
je 0x43b60b
push edi
push 0
push esi
call fcn.0048d9d0
add esp, 0xc
lea eax, [ebp - 0x514]
push eax
push edi
push esi
call fcn.0041a470
push 0x52af10
mov dword [ebp - 0x520], 0x52af10
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x51c], 1
push 0
push 0
push esi
push 0x41a4f0
push 0
push 0
mov dword [ebp - 4], 0
call fcn.0048e6ab
add esp, 0x18
lea ecx, [ebp - 0x518]
push ecx
mov ecx, 0x52aef8
mov dword [ebp - 0x518], eax
call fcn.00416490
push 0x52af10
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret
Function at 0x43d360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
je 0x43d4a5
mov ebx, dword [ebp + 0xc]
cmp ebx, edi
je 0x43d4a5
cmp byte [esi + 6], 0
je 0x43d3ac
mov esi, dword [esi + 0x24]
cmp esi, 0xffffffff
je 0x43d4a5
push edi
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push esi
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
cmp dword [esi + 0xe8], edi
jne 0x43d3f3
push 0x52b8f0
push 0x2800
mov dword [esi + 0xec], 0x2800
mov dword [esi + 0xf0], edi
call fcn.0049004c
add esp, 8
mov dword [esi + 0xe8], eax
cmp eax, edi
je 0x43d4a5
push 0x2800
push edi
push eax
call fcn.0048d9d0
add esp, 0xc
mov ecx, dword [esi + 0xf0]
lea eax, [ecx + ebx]
cmp eax, dword [esi + 0xec]
jbe 0x43d480
cmp eax, 0xa00000
ja 0x43d4a5
add eax, 0x2800
push 0x52b8f0
push eax
call fcn.0049004c
mov edi, eax
add esp, 8
test edi, edi
je 0x43d4a5
mov edx, dword [esi + 0xf0]
lea eax, [ebx + edx + 0x2800]
push eax
push 0
push edi
call fcn.0048d9d0
mov ecx, dword [esi + 0xec]
mov edx, dword [esi + 0xe8]
push ecx
push edx
push edi
call fcn.0048fa10
mov eax, dword [esi + 0xe8]
push eax
call fcn.0048ee52
mov ecx, dword [esi + 0xf0]
lea eax, [ecx + ebx]
lea edx, [eax + 0x2800]
add esp, 0x1c
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edx
cmp eax, edx
ja 0x43d4a5
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0xe8]
push ebx
push eax
add edx, ecx
push edx
call fcn.0048fa10
add esp, 0xc
add dword [esi + 0xf0], ebx
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8

Function at 0x462ba0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x4616c0
push 0
push 0
mov dword [esi + 0x130], eax
call fcn.0048e6ab
add esp, 0x18
test eax, eax
jne 0x462bd3
mov eax, 0x1b
pop esi
pop ebp
ret 4
mov ecx, dword [esi + 0x120]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
mov eax, 0x5a
je 0x462bf3
mov eax, dword [esi + 0x12c]
pop esi
pop ebp
ret 4
Function at 0x46da00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
imul ecx, eax
push edi
mov dword [esi + 8], ecx
test ebx, ebx
jne 0x46da20
mov ebx, edx
mov ecx, dword [esi + 4]
xor edi, edi
test cl, cl
jns 0x46da96
test edx, edx
jne 0x46da59
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00487baa
mov edi, eax
mov eax, dword [esi + 0x1c]
add eax, eax
push eax
push ebx
push edi
call fcn.0048fa10
add esp, 0x10
mov edx, edi
mov ebx, edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x46da72
movzx ecx, word [edx + eax*2 - 2]
dec eax
rol cx, 8
mov word [edx + eax*2], cx
test eax, eax
jne 0x46da60
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esi + 0x20]
push ecx
mov dword [eax], 0x505a74
call fcn.004724b0
add esp, 0x18
mov edx, dword [esi]
mov eax, dword [esi + 8]
push edx
push 1
push eax
push ebx
call fcn.0048fed7
add esp, 0x10
cmp eax, 1
sete bl
test edi, edi
je 0x46dabb
push edi
call fcn.0048ee52
add esp, 4
test bl, bl
je 0x46dafe
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push edx
push 0x18
push ecx
mov ecx, esp
jb 0x46dadb
mov eax, dword [esi + 0x40]
jmp 0x46dade
lea eax, [esi + 0x40]
push ecx
mov dword [ecx], eax
mov eax, esp
add esi, 0x20
push esi
mov dword [eax], str.write
call fcn.004724b0
add esp, 0x18
mov al, bl
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, esi
call fcn.0046d790
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 8
Function at 0x4729f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
push edi
call fcn.00493b29
mov ecx, dword [esi + 8]
add esp, 0x10
cmp eax, 1
mov eax, ecx
sete bl
cdq
idiv dword [esi + 0x18]
mov byte [ebp - 1], bl
mov dword [esi + 0x1c], eax
test bl, bl
je 0x472b53
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push eax
push 0x18
push ecx
mov ecx, esp
jb 0x472a43
mov eax, dword [esi + 0x40]
jmp 0x472a46
lea eax, [esi + 0x40]
mov dword [ecx], eax
push ecx
mov eax, esp
mov dword [eax], str.read
lea eax, [esi + 0x20]
push eax
mov dword [ebp - 0xc], eax
call fcn.004724b0
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
add esp, 0x18
xor ebx, ebx
xor eax, eax
cmp ecx, 1
sete byte [ebp - 2]
mov dword [ebp - 8], edx
test edx, edx
je 0x472b07
dec dword [ebp - 8]
xor edx, edx
cmp byte [ebp - 2], dl
je 0x472a8a
cmp byte [edi], dl
jmp 0x472a8e
cmp word [edi], 0
sete dl
test edx, edx
je 0x472ab8
test eax, eax
je 0x472ab1
cmp edi, eax
je 0x472ab1
imul ecx, ebx
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call fcn.00493d70
add esp, 0xc
mov ecx, dword [esi + 0x18]
lea eax, [ecx + edi]
inc ebx
add edi, ecx
cmp dword [ebp - 8], 0
jne 0x472a7c
test eax, eax
je 0x472add
cmp edi, eax
je 0x472add
mov ecx, dword [esi + 0x18]
imul ecx, ebx
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call fcn.00493d70
add esp, 0xc
test ebx, ebx
je 0x472b07
mov edx, dword [ebp - 0xc]
push 0xffffffffffffffff
push ebx
push 1
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], str.nulls_removed
call fcn.004724b0
add esp, 0x18
sub dword [esi + 0x1c], ebx
cmp dword [esi + 0x18], 1
jle 0x472b47
test byte [esi + 4], 0x80
je 0x472b47
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.00469d40
mov edx, dword [ebp - 0xc]
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], 0x505a74
call fcn.004724b0
add esp, 0x18
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.0046d790
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x475a30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x475b4d
cmp dword [ebp + 0xc], 0
je 0x475b4d
cmp dword [ebp + 0x10], 0
je 0x475b4d
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp + 8]
push eax
push 0x20206
push 0
push str.SOFTWARE360SafeLiveUpupdatecfg
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 8], 0
mov dword [ebp - 4], 0
call esi
test eax, eax
je 0x475ac5
lea ecx, [ebp - 8]
push ecx
push 0x20206
push 0
push str.SOFTWARE360SafeLiveUp
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0
call esi
test eax, eax
jne 0x475ac5
mov eax, dword [ebp - 8]
lea edx, [ebp + 8]
push edx
push 0x506378
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x475ad2
pop esi
pop edi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 4]
push edx
push 0x20206
push 0
push edi
push eax
call esi
mov esi, eax
test esi, esi
je 0x475af8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
mov edi, dword [ebp - 4]
test edi, edi
je 0x475b36
mov esi, dword [ebp + 0x10]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x475b07
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
mov eax, dword [ebp + 0xc]
push edx
push esi
push 1
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop esi
sete al
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x476550
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, dword [eax]
mov dword [esi + 0x24], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x28], edx
mov ecx, dword [eax + 8]
push 0xffffffffffffffff
push 0
add eax, 0xc
mov dword [esi + 0x2c], ecx
push eax
lea ecx, [esi + 0x30]
call fcn.0041b190
cmp byte [esi + 0x2c], 0
je 0x4765ad
mov ecx, 0x52ac20
call fcn.0040ff90
cmp eax, 1
jne 0x4765ad
call fcn.00428bb0
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4765ad
call fcn.00429220
test al, al
jne 0x4765ad
mov byte [esi + 0x2c], al
pop esi
pop ebp
ret 4
Function at 0x4779b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7958
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x477b12
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x52ac20
call fcn.0040fe50
mov edx, dword [eax]
xor ecx, ecx
mov eax, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], cx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x477a17
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.0041b370
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x477a53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x11
push str.360LibDrvmgr.dat
lea ecx, [ebp - 0x48]
call fcn.00425ac0
mov ecx, edi
call fcn.00476160
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x477a75
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x477afb
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.004777a0
mov esi, eax
test esi, esi
je 0x477ade
cmp dword [ebp - 0x18], 0
je 0x477ade
mov eax, dword [ebp - 0x28]
mov esi, 8
cmp dword [ebp - 0x14], esi
jae 0x477ac3
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00477140
cmp dword [ebp - 0x14], esi
jb 0x477af4
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0048d108
add esp, 4
jmp 0x477af4
cmp dword [ebp - 0x14], 8
jb 0x477af0
mov edx, dword [ebp - 0x28]
push edx
call fcn.0048d108
add esp, 4
test esi, esi
je 0x477afb
mov dword [edi + 0x20], 3
cmp dword [ebp - 0x30], 8
mov edi, dword [edi + 0x20]
jb 0x477b10
mov eax, dword [ebp - 0x44]
push eax
call fcn.0048d108
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret

Function at 0x4782e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0048d9d0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x478336
mov eax, 1
cmp dword [ebp - 0x118], eax
je 0x478338
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret
Function at 0x47b1b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x44d
mov esi, ecx
call fcn.0043b4c0
add esp, 4
call fcn.00478980
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 9
push eax
call edi
mov ecx, dword [esi + 4]
push 5
push ecx
call edi
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
je 0x47b20e
mov ecx, dword [ebp - 4]
mov dword [esi + 0x64], ecx
mov edx, dword [esi + 4]
push 0
push 0x7d0
push 0x66
push edx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47ba10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
push eax
call fcn.0040bd40
add esp, 4
test eax, eax
jne 0x47ba2a
pop esi
pop ebp
ret
or dword [esi + 4], 0x1000
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
pop ebp
ret
Function at 0x47c1d0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x51ede8
push 0x4909b0
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x528c24]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
xor edi, edi
push edi
lea ecx, [ebp - 0x222]
push ecx
call fcn.0048d9d0
mov esi, 0x208
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x440], edi
xor edx, edx
mov word [ebp - 0x42c], dx
push 0x206
push edi
lea eax, [ebp - 0x42a]
push eax
call fcn.0048d9d0
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x438], edi
push 0x3c
push edi
lea ecx, [ebp - 0x47c]
push ecx
call fcn.0048d9d0
add esp, 0x24
mov dword [ebp - 0x47c], 0x3c
mov dword [ebp - 0x460], 5
mov dword [ebp - 0x478], 0x440
lea edx, [ebp - 0x43c]
push edx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x440]
push ecx
push 0x5124f8
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360DrvMgr.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call esi
test eax, eax
jne 0x47c2e3
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47c2e3
lea eax, [ebp - 0x224]
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x468], edi
jmp 0x47c338
lea ecx, [ebp - 0x434]
push ecx
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x438]
push eax
push 0x5124f8
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360Safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x47c398
lea ecx, [ebp - 0x42c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47c398
lea edx, [ebp - 0x42c]
mov dword [ebp - 0x46c], edx
mov dword [ebp - 0x468], str._funname360DrvMgr
mov dword [ebp - 0x430], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x47c]
push eax
call fcn.0047ba10
add esp, 4
test eax, eax
je 0x47c389
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x430], 1
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x430]
jmp 0x47c39a
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x430]
jmp 0x47c39a
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret