joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444810
Capabilities:
Delete registry value
Get disk size
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.00445400
test eax, eax
jne 0x444843
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x234]
push edx
push str.diskcheckflag
push str.software360360se6DiskCacheCheck
mov esi, 4
push SysReAllocStringLen
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x23c], esi
call ebx
test eax, eax
jne 0x44482e
push str.diskcheckflag
push str.software360360se6DiskCacheCheck
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov eax, dword [ebp - 0x244]
push esi
lea ecx, [ebp - 0x24c]
push ecx
push esi
push str.showcheckflag
push str.software360360se6DiskCacheCheck
push SysReAllocStringLen
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x24c], eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea edx, [ebp - 0x23c]
push edx
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x23c], esi
lea esi, [edi + 0x5c]
push esi
lea eax, [ebp - 0x234]
push eax
push str.diskchecksize
push str.software360360se6DiskCacheCheck
push SysReAllocStringLen
mov dword [esi], 0x12c
call ebx
cmp dword [esi], 0x64
jae 0x444919
mov dword [esi], 0x64
xor esi, esi
push 0x206
lea edx, [ebp - 0x20e]
xor ecx, ecx
push esi
push edx
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], esi
mov word [ebp - 0x210], cx
call fcn.004c5470
add esp, 0xc
push 0x103
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x218], esi
xor ecx, ecx
push 2
lea eax, [ebp - 0x210]
lea esi, [ebp - 0x22c]
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], cx
call fcn.004017f0
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
jae 0x4449b1
lea eax, [ebp - 0x228]
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x240]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
sub esp, 0x1c
mov ebx, esp
call fcn.00444b20
call fcn.00445240
sub esp, 0x1c
mov ebx, esp
mov esi, eax
call fcn.00444d10
call fcn.00445240
sub esp, 0x1c
mov ebx, esp
add esi, eax
call fcn.00444f00
call fcn.00445240
add esi, eax
cmp dword [ebp - 0x214], 8
mov dword [edi + 0x58], esi
jb 0x444a1b
mov eax, dword [ebp - 0x228]
push eax
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x445240
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, 8
cmp dword [ebp + 0x20], edi
jae 0x445265
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x445295
cmp dword [ebp + 0x20], edi
jb 0x445281
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c097a
add esp, 4
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret 0x1c
xor ecx, ecx
push 0xffffffffffffffff
push ecx
lea edx, [ebp + 8]
xor ebx, ebx
push edx
lea eax, [ebp - 0x24]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], cx
call fcn.004018f0
push 1
push 0x5220fc
lea eax, [ebp - 0x24]
call fcn.0040ba90
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xc], edi
jae 0x4452d0
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x274]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4453a3
lea esp, [esp]
mov ecx, 0x51bd0c
lea eax, [ebp - 0x248]
jmp 0x445300
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x445326
test dx, dx
je 0x445322
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x445326
add eax, 4
add ecx, 4
test dx, dx
jne 0x445300
xor eax, eax
jmp 0x44532b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x445386
mov ecx, 0x51bd10
lea eax, [ebp - 0x248]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x445366
test dx, dx
je 0x445362
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x445366
add eax, 4
add ecx, 4
test dx, dx
jne 0x445340
xor eax, eax
jmp 0x44536b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x445386
test byte [ebp - 0x274], 0x10
jne 0x44537e
add ebx, dword [ebp - 0x254]
cmp ebx, 0x80000000
ja 0x44539c
lea edx, [ebp - 0x274]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4452f0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, 8
cmp dword [ebp - 0xc], edi
jb 0x4453b9
mov eax, dword [ebp - 0x20]
push eax
call fcn.004c097a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], cx
cmp dword [ebp + 0x20], edi
jb 0x4453de
mov edx, dword [ebp + 0xc]
push edx
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x445d40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push esi
mov esi, ecx
jne 0x445de5
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x445d8b
mov edx, dword [ebp + 0x14]
mov eax, dword [esi]
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [eax + 0x10]
push ecx
push 1
mov ecx, esi
mov dword [ebp + 0x1c], 1
call edx
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x445de5
mov eax, 1
pop esi
pop ebp
ret 0x18
cmp eax, 0x10
jne 0x445dc6
mov edx, dword [esi + 4]
push 0
push edx
mov dword [ebp + 0x1c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 1
je 0x445de5
mov eax, 1
pop esi
pop ebp
ret 0x18
cmp eax, 0x113
jne 0x445de5
mov ecx, dword [ebp + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea eax, [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push eax
push 0x113
jmp 0x445d6b
xor eax, eax
pop esi
pop ebp
ret 0x18

Function at 0x446110
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea esi, [ebp - 4]
call fcn.004461c0
cmp dword [0x5527f0], 0
mov esi, dword [ebp - 4]
jne 0x446147
cmp dword [esi - 0xc], 0
je 0x446147
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446147
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5527f0], eax
xor eax, eax
cmp dword [0x5527f0], eax
setne al
or edx, 0xffffffff
mov edi, eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x446170
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4471f0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
push esi
mov esi, dword [ecx + 4]
mov ecx, eax
shr ecx, 4
xor ecx, esi
and ecx, 0xf0f0f0f
xor esi, ecx
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, esi
and ecx, 0xffff
xor esi, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, esi
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
add ecx, ecx
add ecx, ecx
xor esi, ecx
mov ecx, esi
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor ecx, esi
rol ecx, 1
mov esi, ecx
xor ecx, eax
and ecx, 0xaaaaaaaa
xor esi, ecx
xor ecx, eax
rol ecx, 1
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 8
mov edi, edi
mov eax, esi
ror eax, 4
xor eax, dword [edx]
add edx, 4
mov ecx, eax
shr ecx, 0x18
mov edi, eax
shr edi, 0x10
and edi, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x541fc8]
or ecx, dword [edi*4 + 0x5421c8]
mov edi, eax
shr edi, 8
and edi, 0x3f
or ecx, dword [edi*4 + 0x5423c8]
and eax, 0x3f
or ecx, dword [eax*4 + 0x5425c8]
mov eax, dword [edx]
xor eax, esi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x5420c8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
or edi, dword [ebx*4 + 0x5422c8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edi, dword [ebx*4 + 0x5424c8]
and eax, 0x3f
or edi, dword [eax*4 + 0x5426c8]
add edx, 4
or edi, ecx
mov ebx, edi
mov edi, dword [ebp - 4]
xor edi, ebx
mov eax, edi
ror eax, 4
xor eax, dword [edx]
mov dword [ebp - 4], edi
mov ecx, eax
shr ecx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x541fc8]
or ecx, dword [ebx*4 + 0x5421c8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x5423c8]
and eax, 0x3f
or ecx, dword [eax*4 + 0x5425c8]
mov eax, dword [edx + 4]
xor eax, edi
add edx, 4
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x5420c8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
or edi, dword [ebx*4 + 0x5422c8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edi, dword [ebx*4 + 0x5424c8]
and eax, 0x3f
or edi, dword [eax*4 + 0x5426c8]
add edx, 4
or edi, ecx
xor esi, edi
sub dword [ebp - 8], 1
jne 0x447270
mov ecx, dword [ebp - 4]
ror esi, 1
mov eax, esi
xor eax, ecx
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, ecx
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
lea edx, [ecx*4]
mov ecx, esi
shr ecx, 0x10
xor eax, edx
mov edx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
xor ecx, eax
pop esi
mov dword [edx + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x447560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x538ae0
push 0x4c52e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5402b0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov edx, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], dx
jne 0x447602
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x447602
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x447602
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x447602
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4476a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x54f074]
test esi, esi
je 0x4476cc
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call edi
mov esi, dword [esi + 4]
test esi, esi
jne 0x4476b6
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x447ab0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x550028], eax
je 0x447acb
mov eax, 0x10dd
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov esi, dword [0x550038]
push edi
test esi, esi
je 0x447b20
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, edi
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
lea eax, [ebp - 4]
push eax
movzx eax, byte [edx + 0x17]
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
call ebx
cmp dword [esi + 4], 0
jne 0x447b0f
mov eax, dword [esi + 0x10]
test eax, eax
je 0x447b0f
call fcn.00447930
mov dword [esi + 0x10], 0
mov edi, dword [esi]
push esi
call fcn.004c097a
add esp, 4
mov esi, edi
test edi, edi
jne 0x447ae0
mov dword [0x550038], 0
call fcn.004476e0
mov esi, dword [0x550034]
test esi, esi
je 0x447b57
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
nop
mov edx, dword [esi + 4]
push edx
call ebx
mov edi, dword [esi]
push esi
call fcn.004c097a
add esp, 4
mov esi, edi
test edi, edi
jne 0x447b40
pop edi
xor eax, eax
pop esi
mov dword [0x550034], eax
mov dword [0x550028], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447e20
Capabilities:
Suspend thread

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x55002c]
test eax, eax
jne 0x447e95
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp edi, eax
jne 0x447e3a
xor eax, eax
pop edi
ret
push esi
push 8
call fcn.004c0fe9
mov esi, eax
add esp, 4
test esi, esi
jne 0x447e50
lea edi, [eax + 8]
jmp 0x447e6d
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x447e82
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.004c097a
add esp, 4
pop esi
mov dword [0x55002c], edi
mov eax, edi
mov dword [0x550030], 0
pop edi
ret
mov eax, dword [0x550034]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x550034], esi
xor eax, eax
pop esi
pop edi
ret
Function at 0x448620
Capabilities:
Hide graphical window
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.DnsNoMore
mov esi, ecx
push 0x51c3d4
push SysReAllocStringLen
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x440], 0
call fcn.004086f0
add esp, 0xc
mov edi, 1
test eax, eax
je 0x448673
cmp dword [ebp - 0x440], edi
je 0x448867
call fcn.00449010
test al, al
je 0x448867
call fcn.00448e60
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x416]
push ecx
mov word [ebp - 0x418], ax
call fcn.004c5470
add esp, 0xc
lea edx, [ebp - 0x444]
push edx
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x448]
push ecx
push 0x51c620
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x448], edi
mov dword [ebp - 0x444], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x448867
lea ecx, [ebp - 0x418]
call fcn.00450b20
test al, al
je 0x448867
lea ecx, [ebp - 0x434]
call fcn.00406f50
cmp dword [ebp - 0x41c], 8
mov ecx, dword [ebp - 0x430]
jae 0x448718
lea ecx, [ebp - 0x430]
call fcn.00450b20
test al, al
je 0x44885c
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20e]
push eax
mov word [ebp - 0x210], dx
call fcn.004c5470
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x210]
push edx
call edi
test eax, eax
je 0x44885c
push str...deepscanCloudsec3.dll
lea eax, [ebp - 0x210]
push eax
call edi
test eax, eax
je 0x44885c
lea ecx, [ebp - 0x210]
call fcn.00450b20
test al, al
je 0x44885c
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x44885c
push str.Create360Object
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44885c
lea edx, [ebp - 0x438]
push edx
push 0x5227d8
push 0
mov dword [ebp - 0x438], 0
call eax
mov eax, dword [ebp - 0x438]
test eax, eax
je 0x44885c
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0x51c620
push 0x51c620
push eax
call edx
test eax, eax
je 0x44885c
mov eax, dword [ebp - 0x438]
push 0
lea edx, [ebp - 0x43c]
mov dword [ebp - 0x43c], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
je 0x44885c
cmp dword [ebp - 0x43c], 0
je 0x44885c
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
call fcn.00449130
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 4]
push 0
push 0x7530
push edx
push eax
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.004696f0
lea esi, [ebp - 0x434]
call fcn.0040f420
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x448e60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push eax
mov dword [ebp - 0xd0], 7
mov dword [ebp - 0xd4], 0
mov word [ebp - 0xe4], ax
call fcn.004c13cb
add esp, 4
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0xec]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push 0x51c3d4
push SysReAllocStringLen
mov esi, eax
mov dword [ebp - 0xf0], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x448fd6
mov eax, dword [ebp - 0xf0]
cmp eax, 1
je 0x448eed
cmp eax, 2
jne 0x448fd6
xor eax, eax
push 0xc6
push eax
lea ecx, [ebp - 0xca]
push ecx
mov word [ebp - 0xcc], ax
call fcn.004c5470
push esi
push 0x51be44
lea edx, [ebp - 0xcc]
call fcn.004491b0
add esp, 0x14
xor edx, edx
lea eax, [ebp - 0xcc]
mov word [ebp - 0x108], dx
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xf8], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x448f42
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xcc]
lea esi, [ebp - 0x10c]
call fcn.004017f0
push 0xffffffffffffffff
push 0
mov eax, esi
push eax
lea eax, [ebp - 0xe8]
call fcn.004018f0
mov esi, 8
cmp dword [ebp - 0xf4], esi
jb 0x448f91
mov ecx, dword [ebp - 0x108]
push ecx
call fcn.004c097a
add esp, 4
mov eax, dword [ebp - 0xe4]
cmp dword [ebp - 0xd0], esi
jae 0x448fa5
lea eax, [ebp - 0xe4]
mov edx, dword [ebp - 0xd4]
lea ecx, [edx + edx + 2]
mov edx, dword [ebp - 0xec]
push ecx
push eax
push 1
push 0
push str.LastDnsCheck
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x448fdb
mov esi, 8
cmp dword [ebp - 0xd0], esi
pop esi
jb 0x448ff3
mov ecx, dword [ebp - 0xe4]
push ecx
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 0x44aa20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov byte [ebp - 0x211], 0
mov ebx, 0x54e9dc
push str.shell32.dll
mov esi, 0x54e9d8
mov edi, dword [ebp + 8]
call fcn.0044a990
add esp, 4
test eax, eax
je 0x44aa62
mov byte [ebp - 0x211], 1
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004c5470
add esp, 0xc
movzx edx, byte [ebp - 0x211]
test edx, edx
je 0x44aac1
push 0
push 0x24
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x44aac1
lea ecx, [ebp - 0x210]
push ecx
push str._sexplorer.exe
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c31a2
add esp, 0x10
jmp 0x44aac4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x44b500
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
mov word [edi + 4], ax
push edi
mov dword [edi + 0x1c], eax
mov byte [edi + 0x20], al
call fcn.0044b9a0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.004c5470
mov ecx, dword [0x54ca5c]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.sqlite3.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44b5a7
push esi
lea esi, [ebp - 0x20c]
call fcn.00446180
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.004c0985
mov esp, ebp
pop ebp
ret

Function at 0x44b860
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp byte [ebx + 0x20], 0
je 0x44b88d
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x1c], 0
jne 0x44b8ad
push 0xc
call fcn.004c0fe9
add esp, 4
test eax, eax
je 0x44b8a8
call fcn.00446710
jmp 0x44b8aa
xor eax, eax
mov dword [ebx + 0x1c], eax
cmp dword [ebx + 0x18], 8
jb 0x44b8b8
mov eax, dword [ebx + 4]
jmp 0x44b8bb
lea eax, [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44b8d5
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
push esi
push edi
lea esi, [ebp - 0x3c]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00408c70
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x20]
call fcn.00410c40
mov esi, 0x10
cmp dword [ebp - 0x24], esi
jb 0x44b914
mov eax, dword [ebp - 0x38]
push eax
call fcn.004c097a
add esp, 4
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], esi
jae 0x44b91f
lea eax, [ebp - 0x1c]
mov edi, dword [ebx + 0x1c]
call fcn.00446770
test al, al
je 0x44b92f
mov byte [ebx + 0x20], 1
cmp byte [ebx + 0x20], 0
jne 0x44b942
mov esi, dword [ebx + 0x1c]
call fcn.004467a0
mov esi, 0x10
xor ecx, ecx
cmp byte [ebx + 0x20], 1
sete cl
mov edi, ecx
cmp dword [ebp - 8], esi
jb 0x44b95e
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x44e460
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004c5470
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x44e4e6
cmp eax, 0x104
ja 0x44e4e6
push str.360se6_apps
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
mov ecx, esi
call fcn.00401520
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push ecx
mov eax, 0x51c620
mov word [esi + 4], cx
call fcn.004017f0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004c0985
mov esp, ebp
pop ebp
ret