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

Disassembly:
sub esp, 0x418
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x414], eax
push ebp
push edi
mov edi, ecx
xor ebp, ebp
cmp dword [edi], ebp
je 0x439828
pop edi
lea eax, [ebp + 1]
pop ebp
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0048b133
add esp, 0x418
ret
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.0048dc10
mov edx, dword [ebx + 0x63c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.360ExamineEx.dll
push edx
lea eax, [esp + 0x18]
push eax
call esi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x222]
push edx
mov word [esp + 0x224], cx
call fcn.0048dc10
mov eax, dword [ebx + 0x63c]
add esp, 0xc
push str.configExaminePlugin_leakEx.xml
push eax
lea ecx, [esp + 0x220]
push ecx
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 0x10]
push edx
call esi
test eax, eax
je 0x43994a
lea eax, [esp + 0x218]
push eax
call esi
test eax, eax
je 0x43994a
lea esi, [esp + 0x10]
call fcn.00457fe0
test eax, eax
je 0x43994a
push str.CreateExaminMgr
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43994a
call eax
mov dword [edi], eax
test eax, eax
je 0x43995a
mov ecx, dword [eax]
lea edx, [esp + 0x218]
push edx
push eax
mov eax, dword [ecx + 8]
call eax
mov esi, eax
push esi
lea ecx, [esp + 0x10]
push str.CreateExaminPluginMgr_0x_08X
push ecx
call fcn.00468430
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.004710f0
test esi, esi
jl 0x43994a
mov eax, dword [edi]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [edi]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x10]
lea eax, [ebx + 4]
push eax
push edi
call edx
pop esi
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0048b133
add esp, 0x418
ret
mov eax, dword [edi]
test eax, eax
je 0x43995a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov dword [edi], ebp
mov ecx, dword [esp + 0x420]
pop esi
pop edi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.0048b133
add esp, 0x418
ret
Function at 0x43cc20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x43cc30
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x43cc40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x43d150
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
mov ebp, dword [esp + 0x234]
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea edx, [esp + 0x20]
push edx
xor edi, edi
or eax, 0x2001f
push eax
push edi
push ebp
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, edi
jne 0x43d1c5
xor eax, eax
cmp ecx, edi
je 0x43d1b3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov esi, eax
mov dword [esp + 0x14], ecx
cmp eax, edi
je 0x43d1d3
cmp ecx, edi
je 0x43d270
push ecx
jmp 0x43d26a
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x28]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push edi
push ecx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
jne 0x43d23e
jmp 0x43d200
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.0043d150
mov ebp, eax
cmp ebp, edi
jne 0x43d28d
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
push edx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
je 0x43d200
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x43d251
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
push ebp
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x43d270
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048b133
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x43d29c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0x43d272
Function at 0x43dd30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4a4810
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4c97a0]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x43ddaf
call fcn.004471e0
mov esi, eax
jmp 0x43de90
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x43ddcb
call fcn.004471e0
jmp 0x43de87
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x43dde4
call fcn.004471e0
jmp 0x43de87
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x43de18
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x43de06
lea eax, [ebp]
call fcn.0043c510
lea esi, [ebp - 0x1c]
call fcn.0043cc70
mov eax, 0x8007000e
jmp 0x43dea2
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.0043c530
mov dword [ebp - 4], 1
jmp 0x43de41
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x43de4f
mov esi, 0x8007000e
jmp 0x43de89
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x43de6c
call fcn.004471e0
jmp 0x43de87
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.0043dbe0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x43dea0
lea eax, [ebp]
call fcn.0043c510
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0048b133
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4405b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push ebx
mov eax, 0xb
push esi
mov ecx, 0xd
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov edx, 0xa
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov ebx, 0xe
mov edi, 9
mov esi, 0xc
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov dx, word [esp + 0x10]
mov di, word [esp + 0x16]
mov bx, word [esp + 0x12]
mov ecx, 0x7dc
cmp dx, cx
jne 0x4406a1
movzx ecx, bx
mov esi, dword [esp + ecx*4 + 0x20]
movzx eax, di
cmp eax, esi
je 0x440693
inc esi
cmp eax, esi
jne 0x440706
push eax
push ecx
push 0x7dc
push 0x4b788c
jmp 0x4406ca
mov ecx, 0x7dd
cmp dx, cx
jne 0x440706
movzx ecx, bx
mov esi, dword [esp + ecx*4 + 0x54]
movzx eax, di
cmp eax, esi
je 0x4406be
inc esi
cmp eax, esi
jne 0x440706
push eax
push ecx
push 0x7dd
push 0x4b78c0
lea edx, [esp + 0x1c]
push edx
call fcn.00468430
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4406f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x80
ret
movzx ecx, di
push ecx
movzx eax, bx
movzx ecx, dx
push eax
push ecx
lea edx, [esp + 0x18]
push 0x4b78f4
push edx
call fcn.00468430
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440744
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x80
ret
Function at 0x4412d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a3d65
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esp + 0x10], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x10], 1
mov eax, dword [edi + 0x18]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x10], 2
mov eax, dword [edi + 0x1c]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x10], 3
mov eax, dword [edi + 0x20]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x10], 4
mov eax, dword [edi + 0x24]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x10], 5
mov eax, dword [edi + 0x28]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x10], 6
mov eax, dword [edi + 0x2c]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [esp + 0x10], 7
mov eax, dword [edi + 0x30]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [esp + 0x10], 8
mov eax, dword [edi + 0x34]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x34], eax
mov byte [esp + 0x10], 9
mov eax, dword [edi + 0x38]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x38], eax
mov byte [esp + 0x10], 0xa
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov eax, dword [edi + 0x40]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x40], eax
mov byte [esp + 0x10], 0xb
mov edx, dword [edi + 0x44]
mov dword [esi + 0x44], edx
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x4c], eax
mov byte [esp + 0x10], 0xc
mov ecx, dword [edi + 0x50]
mov dword [esi + 0x50], ecx
mov edx, dword [edi + 0x54]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x58]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x58], eax
mov byte [esp + 0x10], 0xd
mov eax, dword [edi + 0x5c]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x5c], eax
mov byte [esp + 0x10], 0xe
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov ecx, dword [edi + 0x64]
mov dword [esi + 0x64], ecx
mov edx, dword [edi + 0x68]
mov dword [esi + 0x68], edx
mov eax, dword [edi + 0x6c]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x70]
mov dword [esi + 0x70], eax
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x445880
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a4c38
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push 0x4b50a8
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 4
mov dword [esp + 0xc], 4
call fcn.00468430
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4458ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push str.lastreboottime
push str.SOFTWARE360SafeLeak
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4459ae
cmp dword [esp + 4], 4
jne 0x4459ae
mov ecx, dword [esp + 8]
push ecx
call fcn.004457a0
add esp, 4
test eax, eax
jne 0x4459ae
push str.lastreboottime
push str.SOFTWARE360SafeLeak
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea edx, [esp + 0xc]
push edx
call fcn.004457e0
add esp, 4
mov dword [esp + 0x1c], 0
call fcn.004516b0
test eax, eax
je 0x44598a
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.aiRestore0
push str.SOFTWARE360SafeLeak
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [esp + 0x24]
call fcn.0045c760
lea ecx, [esp + 0xc]
call fcn.004710f0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret 4
lea edx, [esp + 0x24]
push 0x4b5110
push edx
call fcn.00468430
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4459e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret 4

Function at 0x445a00
Capabilities:
Get file version info

Disassembly:
mov eax, 0x2010
call fcn.0048ed30
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x200c], eax
lea eax, [esp + 4]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x445a85
cmp eax, 0x1fff
ja 0x445a85
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x445a85
lea edx, [esp + 8]
push edx
lea eax, [esp + 4]
push eax
push 0x4b42e8
lea ecx, [esp + 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x445a85
mov eax, dword [esp]
mov edx, dword [eax + 0xc]
mov dword [edi], edx
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, 1
mov ecx, dword [esp + 0x200c]
xor ecx, esp
call fcn.0048b133
add esp, 0x2010
ret
mov ecx, dword [esp + 0x200c]
xor ecx, esp
xor eax, eax
call fcn.0048b133
add esp, 0x2010
ret
Function at 0x445aa0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x340
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x338], eax
push ebx
push esi
push edi
push 0x118
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0048dc10
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x20]
xor ecx, ecx
push 0x206
lea ebx, [eax + edx*2]
push ecx
lea edx, [esp + 0x142]
push edx
mov word [esp + 0x144], cx
call fcn.0048dc10
add esp, 0xc
lea eax, [esp + 0x138]
push eax
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x445b84
push str._ntoskrnl.exe
lea ecx, [esp + 0x13c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x445b84
lea edi, [esp + 0x10]
lea esi, [esp + 0x138]
call fcn.00445a00
test eax, eax
je 0x445b84
mov ecx, dword [esp + 0x14]
mov eax, ecx
shr eax, 0x10
lea edx, [eax + eax*4]
movzx eax, cx
lea ecx, [eax + edx*2]
cmp ebx, ecx
jge 0x445b84
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.0048b133
add esp, 0x340
ret
mov ecx, dword [esp + 0x344]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0048b133
add esp, 0x340
ret
Function at 0x445ef0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a39ae
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4c97a0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, ecx
mov dword [ebp - 4], esi
mov ebx, edx
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x268], esi
cmp dword [edi + 0x21c], esi
jne 0x445f79
push 0x88
call fcn.0048b686
mov esi, eax
add esp, 4
mov dword [ebp - 0x260], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x445f6b
lea eax, [edi + 0x640]
call fcn.00445d00
jmp 0x445f6d
xor eax, eax
mov byte [ebp - 4], 0
mov dword [edi + 0x21c], eax
xor esi, esi
mov eax, dword [edi + 0x21c]
cmp eax, esi
je 0x446040
mov eax, dword [eax + 0x38]
cmp eax, esi
jne 0x445f96
mov dword [ebp - 0x260], esi
jmp 0x445fae
mov ecx, dword [ebp - 0x264]
push esi
push esi
push esi
push esi
push esi
push ecx
push ebx
call eax
add esp, 0x1c
mov dword [ebp - 0x260], eax
mov ebx, 0x12c
cmp esi, ebx
jae 0x44600c
push 0x240
lea edx, [ebp - 0x25c]
push 0
push edx
call fcn.0048dc10
mov eax, dword [edi + 0x21c]
mov eax, dword [eax + 0x30]
add esp, 0xc
test eax, eax
je 0x445fed
mov edx, dword [ebp - 0x260]
lea ecx, [ebp - 0x25c]
push ecx
push edx
call eax
add esp, 8
mov eax, dword [ebp - 0x230]
cmp eax, 5
je 0x445ffd
cmp eax, 6
jne 0x44600c
mov eax, 0x64
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
jmp 0x445fb3
mov eax, dword [edi + 0x21c]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x446025
mov ecx, dword [ebp - 0x260]
push ecx
call eax
add esp, 4
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446040
mov dword [ebp - 0x268], 1
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0048b133
mov esp, ebp
pop ebp
ret 4
Function at 0x44ae20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x4a4209
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x44]
xor esi, esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], esi
mov eax, dword [0x4ce67c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ce67c
call edx
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x3c], esi
push edi
mov dword [esp + 0x20], 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, esi
jle 0x44af48
cmp eax, 0x100000
jge 0x44af48
push 0x100000
call fcn.004848ce
add esp, 4
push 0x100000
mov esi, eax
call fcn.004848ce
add esp, 4
push 0x100000
push 0
push esi
mov ebx, eax
call fcn.0048dc10
add esp, 0xc
push 0x100000
push 0
push ebx
call fcn.0048dc10
add esp, 0xc
push 0
push 0
push 0x100000
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [esp + 0x18]
push ecx
push ebx
push esi
mov edi, eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0x60304a6f
mov dword [esp + 0x30], 0x39234f28
mov dword [esp + 0x34], 0x44614c7e
mov dword [esp + 0x38], 0x24254765
mov dword [esp + 0x24], 0x100000
call fcn.0044ad70
add esp, 0xc
test eax, eax
je 0x44af36
cmp dword [esp + 0x18], 0
jbe 0x44af36
mov eax, ebp
call fcn.0045f360
push esi
call fcn.0048c465
add esp, 4
push ebx
call fcn.0048c465
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x4513e0
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
xor esi, esi
mov word [esp + 0x10], ax
call fcn.0048dc10
add esp, 0xc
push 0x104
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4b42e8
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.360SysRtRESULT
lea edx, [esp + 8]
xor ecx, ecx
push edx
mov word [eax + 2], cx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x451468
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
lea eax, [esi + 1]
je 0x45146a
mov eax, esi
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.0048b133
add esp, 0x20c
ret

Function at 0x4515f0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.aiAddMenu
push str.SOFTWARE360SafeLeak
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4516a6
push str.aiAddMenu
push str.SOFTWARE360SafeLeak
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [esp + 4]
push eax
push 0x4b5e14
push str.action_saddbootmenuret_dt_d
push str.http:__update.360safe.com_safe_leakpop.html_
push 1
push 0x4cd998
call fcn.0047e9e0
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push 0x4b5e80
push edx
call fcn.00468430
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x28
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4516a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esp, 0x10
ret

Function at 0x4516b0
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
xor esi, esi
mov word [esp + 0x10], ax
call fcn.0048dc10
add esp, 0xc
push 0x104
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4b42e8
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.360SysRtLeakingINDEX
lea edx, [esp + 8]
xor ecx, ecx
push edx
mov word [eax + 2], cx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x451738
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
lea eax, [esi + 1]
je 0x45173a
mov eax, esi
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.0048b133
add esp, 0x20c
ret