joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dc00
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push 0
mov esi, eax
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
lea ecx, [esp + 8]
push ecx
push 0
or edx, 0x20006
push edx
push 0
push 0
push 0
push eax
mov eax, dword [esi]
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44dc66
mov ecx, dword [esp + 0xc]
mov esi, dword [esi + 8]
mov edx, dword [esp + 4]
push 4
push ecx
push 4
push eax
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 4]
neg esi
sbb esi, esi
push eax
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret

Function at 0x44dc70
Capabilities:
Delete registry value

Disassembly:
push ecx
push esi
mov esi, eax
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
lea ecx, [esp + 4]
push ecx
or edx, 2
push edx
push 0
push eax
mov eax, dword [esi]
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44dcbc
mov esi, dword [esi + 8]
mov ecx, dword [esp + 4]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
Function at 0x44e0d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x470268
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, ebx
call fcn.0044de30
mov esi, dword [ebp + 8]
test esi, esi
je 0x44e215
cmp word [esi], 0
je 0x44e215
cmp dword [ebx], 0xffffffff
je 0x44e215
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0
movzx ecx, word [esp + 0x2a]
movzx edx, word [esp + 0x28]
movzx eax, word [esp + 0x26]
push esi
push ecx
movzx ecx, word [esp + 0x2c]
push edx
push eax
push ecx
push str._02d:_02d:_02d:_04d_t_s_r_n
lea edi, [esp + 0x2c]
call fcn.004543e0
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi - 0xc]
lea eax, [ecx - 3]
add esp, 0x18
test eax, eax
jl 0x44e22a
cmp eax, ecx
jg 0x44e22a
movzx eax, word [edi + eax*2]
cmp ax, 0xa
jne 0x44e1d9
cmp dword [edi - 4], 1
jle 0x44e1b2
mov edx, ecx
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00454730
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
mov ecx, 0xd
mov word [edi + eax*2 - 6], cx
mov eax, dword [edi - 0xc]
mov edx, 0xa
mov word [edi + eax*2 - 4], dx
mov eax, dword [edi - 0xc]
dec eax
lea esi, [esp + 0x14]
call fcn.00452b50
mov eax, dword [edi - 0xc]
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [eax + eax]
mov eax, dword [ebx]
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [edi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e215
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0045bda0
int3
Function at 0x44e380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4704d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0x2c]
push eax
lea edi, [esp + 0x18]
call fcn.00454360
cmp dword [0x491878], esi
mov esi, dword [esp + 0x14]
jne 0x44e41a
add esi, 0xfffffff0
mov eax, esi
call fcn.00452ce0
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e456
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x44e456
push esi
mov ecx, 0x48e1d8
call fcn.0044e0d0
add esi, 0xfffffff0
mov eax, esi
call fcn.00452ce0
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x20], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44e456
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x44e470
Capabilities:
Check if file exists
Set registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, eax
push esi
xor ebx, ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44e52b
push edi
push 0x47b408
call fcn.0044d980
mov edi, eax
push 0xea60
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0xc], ebx
cmp eax, ebx
jne 0x44e4c8
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x44e4c8
cmp dword [esp + 0xc], 0x3600
jne 0x44e4c8
mov ebx, 1
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push str.aiAddMenu
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [esp + 0xc]
push edx
push str._d__cu
push esi
lea eax, [esp + 0x1c]
push 0x47b420
push eax
call fcn.0044e380
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e523
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 8
ret
Function at 0x44e570
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x46fffb
mov eax, dword fs:[0]
push eax
mov eax, 0x2014
call fcn.00462790
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x2010], eax
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x2020]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x48e57c
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x2030], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x44e687
cmp eax, 0x1fff
ja 0x44e687
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44e652
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0x47abe4
lea ecx, [esp + 0x28]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44e652
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push str._d._d._d._d
lea edi, [esp + 0x20]
call fcn.004543e0
mov edi, dword [esp + 0x20]
add esp, 0x14
lea esi, [edi - 0x10]
mov eax, esi
call fcn.00452ce0
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x2028], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e6ba
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x44e6ba
lea esi, [edi - 0x10]
mov eax, esi
call fcn.00452ce0
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x2028], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44e6ba
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, ebx
mov ecx, dword [esp + 0x2020]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2010]
xor ecx, esp
call fcn.00460259
add esp, 0x2020
ret

Function at 0x44e6f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebp
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44e749
push ebx
push esi
mov ecx, ebp
lea ebx, [esp + 0x14]
call fcn.0044e570
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], edi
jle 0x44e750
push str.1.0.0.1004
push esi
call fcn.00460e36
add esp, 8
test eax, eax
jge 0x44e750
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e747
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
pop ebx
mov eax, edi
pop edi
pop ebp
ret 4
push ebp
call fcn.0045eb50
add esp, 4
or edx, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
je 0x44e734
lea edi, [edx + 2]
jmp 0x44e734
Function at 0x44e770
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push str.allowairestore
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 4
mov dword [esp + 0x1c], 4
call esi
cmp dword [esp + 8], 0
je 0x44e80b
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push str.UseAIRestore
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 4
call esi
cmp dword [esp + 0x10], 1
jne 0x44e80b
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44e80b
mov eax, 1
pop esi
add esp, 0x10
ret 4
xor eax, eax
pop esi
add esp, 0x10
ret 4

Function at 0x44e820
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.allowairestore
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
mov dword [esp + 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [esp], eax
setne al
add esp, 0xc
ret

Function at 0x44f3c0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
mov eax, dword [esi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, edi
or ecx, edx
jge 0x44f3ec
mov ecx, edi
mov eax, esi
call fcn.004547f0
mov eax, dword [esi]
push edi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44f413
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x44f417
push ecx
push eax
call fcn.0046113d
add esp, 8
test eax, eax
jl 0x44f42d
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x44f42d
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, edi
pop edi
ret
push 0x80070057
call fcn.0045bda0
int3
Function at 0x44f4f0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
mov ecx, dword [edi + 0x38]
sub ecx, dword [edi + 0x34]
sar ecx, 5
cmp eax, ecx
jge 0x44f5d0
push esi
mov esi, dword [edi + 0x44]
cmp esi, eax
je 0x44f5cf
mov dword [edi + 0x44], eax
call fcn.0044f4b0
mov eax, esi
call fcn.0044f4b0
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x44f54c
mov edx, dword [edi + 8]
mov dword [esp + 0xc], edx
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], 0xfffffdd9
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push 0
push 0x4e
call eax
cmp esi, 0xffffffff
je 0x44f579
mov ecx, dword [edi + 0x38]
sub ecx, dword [edi + 0x34]
sar ecx, 5
cmp esi, ecx
jb 0x44f563
call fcn.004605e2
mov edx, dword [edi + 0x34]
shl esi, 5
mov esi, dword [esi + edx]
test esi, esi
je 0x44f579
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [edi + 0x44]
cmp esi, 0xffffffff
je 0x44f5cf
mov eax, dword [edi + 0x38]
sub eax, dword [edi + 0x34]
sar eax, 5
cmp esi, eax
jb 0x44f593
call fcn.004605e2
mov ecx, dword [edi + 0x34]
shl esi, 5
mov esi, dword [esi + ecx]
test esi, esi
je 0x44f5cf
mov eax, dword [edi + 0x54]
mov edx, dword [edi + 0x5c]
mov ecx, dword [edi + 0x50]
push 0x44
sub edx, eax
push edx
mov edx, dword [edi + 0x58]
sub edx, ecx
push edx
push eax
push ecx
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x105
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_RedrawWindow]
pop esi
pop edi
add esp, 0xc
ret

Function at 0x450180
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x472ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, edx
lea eax, [esp + 0x10]
push eax
call fcn.00454940
xor eax, eax
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x10]
lea edi, [esp + 0x20]
mov dword [esp + 0x14], eax
mov ecx, dword [edx - 0xc]
mov eax, dword [esi + 0x64]
push edi
push edx
call fcn.00456210
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
mov eax, dword [esi + 0x68]
lea edi, [esp + 0x18]
push edi
push edx
call fcn.00456210
mov ecx, dword [esp + 0x18]
mov eax, ecx
sub eax, dword [esp + 0x20]
add ecx, 0x14
cdq
push ecx
sub eax, edx
lea ecx, [esp + 0x14]
sar eax, 1
push ecx
mov dword [esp + 0x1c], eax
call fcn.00450070
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45022e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x4545a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4545b7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4545e8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4545e4
cmp esi, eax
jae 0x4545e8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x4545d4
cmp esi, eax
jb 0x4545ee
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x455b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
push ebp
push esi
push edi
mov edi, edx
test eax, eax
jl 0x455c2e
cmp eax, dword [ecx + 0x30]
jge 0x455c2e
mov esi, dword [ecx + 0x2c]
lea edx, [eax + eax*8]
lea esi, [esi + edx*4]
xor edx, edx
cmp dword [ecx + 0x44], eax
jne 0x455b44
movzx edx, byte [esi + 0x20]
mov ebp, 0x339966
jmp 0x455b69
mov eax, dword [esi + 0x1c]
mov ebp, dword [esi + 0x18]
cmp dword [eax - 0xc], edx
je 0x455b5a
test ebp, ebp
jge 0x455b63
mov ebp, 0x8000
jmp 0x455b69
test ebp, ebp
jge 0x455b63
mov ebp, dword [ecx + 0x3c]
jmp 0x455b69
and ebp, 0xffffff
cmp dword [esp + 0x80], 0xffffffff
jne 0x455b7d
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 4]
shr eax, 2
not eax
test al, 1
jne 0x455b8e
mov ebp, 0x888888
lea eax, [esi + 0x14]
test edx, edx
je 0x455bf3
cmp dword [eax], 0
jne 0x455b9d
lea eax, [ecx + 0x38]
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x2d], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebx, eax
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push ebp
push ebx
push ecx
push eax
mov eax, dword [esp + 0x90]
add esi, 4
call fcn.00455a50
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00460259
add esp, 0x6c
ret 8
cmp dword [eax], 0
je 0x455bfc
mov ecx, eax
jmp 0x455bff
add ecx, 0x38
mov eax, dword [esi]
mov edx, dword [ecx]
mov ecx, dword [eax - 0xc]
push ebp
push edx
push ecx
push eax
mov eax, dword [esp + 0x90]
add esi, 4
call fcn.00455a50
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00460259
add esp, 0x6c
ret 8
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x455d10
Capabilities:
Create process on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
cmp eax, 0xffffffff
je 0x455dd0
mov dword [esi + 0x48], 0xffffffff
test eax, eax
jl 0x455dfc
cmp eax, dword [esi + 0x30]
jge 0x455dfc
mov ecx, dword [esi + 0x1c]
push edi
test ecx, ecx
je 0x455d59
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea edi, [eax + 1]
push edi
mov edi, dword [esi + 0x2c]
lea eax, [eax + eax*8]
push 0
lea eax, [edi + eax*4 + 4]
push eax
push esi
call edx
mov eax, dword [esi + 0x44]
cmp eax, 0xffffffff
je 0x455dcf
test eax, eax
jl 0x455deb
cmp eax, dword [esi + 0x30]
jge 0x455deb
mov ecx, dword [esi + 0x2c]
lea eax, [eax + eax*8]
mov edi, dword [ecx + eax*4 + 0x1c]
push 7
push str.button:
push edi
call fcn.00460c7f
add esp, 0xc
test eax, eax
jne 0x455dd3
add edi, 0xe
cmp word [edi], 0x30
jne 0x455db1
movzx eax, word [edi + 2]
cmp ax, 0x78
je 0x455da5
cmp ax, 0x58
jne 0x455db1
push 0x10
lea edx, [esp + 0xc]
push edx
add edi, 4
jmp 0x455db8
push 0xa
lea eax, [esp + 0xc]
push eax
push edi
call fcn.00460b6a
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
add esp, 0xc
push eax
mov eax, dword [edx + 0x14]
push 0
push esi
call eax
pop edi
pop esi
pop ecx
ret
push 1
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ecx
ret
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]

Function at 0x4563e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46ffab
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
xor esi, esi
xor eax, eax
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
mov dword [edi], vtable.CSomTextWnd.0
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
add eax, 0x10
mov dword [edi + 0x28], eax
mov dword [esp + 0x14], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], esi
mov dword [edi + 0x38], esi
mov byte [esp + 0x14], 2
or eax, 0xffffffff
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov eax, dword [0x491850]
mov ecx, dword [eax]
mov dword [edi + 0x38], ecx
call fcn.00456290
cmp dword [edi + 0x3c], esi
je 0x45648a
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x3c], esi
cmp ecx, esi
je 0x45648a
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push esi
push esi
push esi
push edi
call eax
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x45c6a0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x45c6bf
test byte [esp], 7
je 0x45c6bf
mov eax, 1
pop ecx
ret
call fcn.0045c600
pop ecx
ret

Function at 0x45c730
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x624
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x620], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
push esi
push edi
push 0
push str.Q360SafeMainClass
mov esi, ecx
call ebx
mov edi, eax
test edi, edi
je 0x45c79d
test esi, esi
je 0x45c772
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x168
push 0xa
push 0x52c
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.00460259
add esp, 0x624
ret
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.00462160
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push SysReAllocStringLen
mov dword [esp + 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45c8a3
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x104
lea eax, [esp + 0x18]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
xor edx, edx
push 0x40e
push edx
lea eax, [esp + 0x226]
push eax
mov word [esp + 0x228], dx
call fcn.00462160
add esp, 0xc
push str.360Safe.exe
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x224]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45c8a3
neg esi
sbb esi, esi
and esi, 5
push esi
lea ecx, [esp + 0x220]
push 0
push ecx
call fcn.0045c6d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x45c8a3
push 0x1388
push esi
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0
push str.Q360SafeMainClass
call ebx
test eax, eax
je 0x45c89c
push 0x168
push 0xa
push 0x52c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x62c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00460259
add esp, 0x624
ret