joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417430
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x44f0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebp + 0x40]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x417470
lea esi, [eax + 3]
jmp 0x417486
xor eax, eax
cmp dword [ebp + 0x64], eax
je 0x41747c
lea esi, [eax + 2]
jmp 0x417486
xor ecx, ecx
cmp dword [ebp + 0x68], eax
setne cl
mov esi, ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp + 0xa8]
push esi
push ecx
lea edi, [ebp + 0x70]
lea esi, [esp + 0x20]
call fcn.00417570
mov edx, dword [0x4674cc]
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x3c]
push eax
mov eax, 0x80
mov dword [esp + 0x38], 0
call fcn.004098d0
mov ecx, dword [ebp + 0x40]
push 0x80
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esp + 0x3c]
call fcn.00409960
mov esi, dword [esp + 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor edx, edx
mov dword [esi - 8], eax
mov word [esi + eax*2], dx
cmp dword [esi - 8], edx
je 0x41752e
mov eax, dword [ebp + 0x24]
push 1
push edx
push edx
push 1
push eax
mov eax, dword [ebp + 0x28]
lea ecx, [ebp + 0x20]
push ecx
mov edx, edi
push edx
lea ecx, [esp + 0x34]
mov edx, ebx
call fcn.00424cf0
add esp, 0x1c
lea eax, [esi - 0xc]
cmp eax, 0x4674bc
je 0x41754f
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41754f
push esi
call fcn.0043406a
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x4177b0
Capabilities:
Get graphical window text
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x44f098
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x4674cc]
mov dword [esp + 0x14], eax
xor ebx, ebx
lea ecx, [esp + 0x14]
push ecx
lea eax, [ebx + 0x64]
mov dword [esp + 0x3c], ebx
call fcn.004098d0
mov edx, dword [esi + 0x40]
push 0x64
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esp + 0x14]
call fcn.00409960
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [edi - 8], eax
xor ecx, ecx
mov word [edi + eax*2], cx
mov edx, dword [esi + 0x40]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x40]
mov ebp, eax
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x18]
push edx
push eax
add esi, 0x20
lea ecx, [esp + 0x1c]
push esi
push ecx
mov edx, ebp
mov dword [esp + 0x28], ebx
call fcn.00424e80
lea edx, [edi - 0xc]
add esp, 0x10
cmp edx, 0x4674bc
je 0x41788c
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41788c
push esi
call fcn.0043406a
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x4196a0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x451b40
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, str.IDS_LICENSE_LINK
lea edi, [esp + 0xc]
call fcn.00403080
mov dword [esp + 0x38], 0
mov edi, dword [esp + 0xc]
xor eax, eax
mov word [esp + 0x14], ax
mov eax, edi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419706
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x14]
call fcn.004053c0
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x419739
lea eax, [esp + 0x14]
push eax
call fcn.004304c0
add esp, 4
cmp dword [esp + 0x28], esi
jb 0x419755
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00433aee
add esp, 4
xor edx, edx
lea eax, [edi - 0xc]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], dx
cmp eax, 0x4674bc
je 0x41978d
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41978d
push esi
call fcn.0043406a
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00433af9
add esp, 0x30
ret

Function at 0x4197b0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x451b40
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, str.IDS_POLICY_LINK
lea edi, [esp + 0xc]
call fcn.00403080
mov dword [esp + 0x38], 0
mov edi, dword [esp + 0xc]
xor eax, eax
mov word [esp + 0x14], ax
mov eax, edi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419816
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x14]
call fcn.004053c0
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x419849
lea eax, [esp + 0x14]
push eax
call fcn.004304c0
add esp, 4
cmp dword [esp + 0x28], esi
jb 0x419865
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00433aee
add esp, 4
xor edx, edx
lea eax, [edi - 0xc]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], dx
cmp eax, 0x4674bc
je 0x41989d
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41989d
push esi
call fcn.0043406a
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00433af9
add esp, 0x30
ret
Function at 0x41a190
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x451b08
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ecx, [esp + 0x20]
mov edi, 0x46b448
call fcn.00424c40
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
xor esi, esi
mov ecx, 0x457774
mov dword [esp + 0x38], esi
call fcn.0040eb40
push eax
lea edx, [esp + 0x18]
push edx
mov edx, 0x46b498
mov byte [esp + 0x38], 1
call fcn.0041c2d0
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, 0x4674bc
je 0x41a228
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41a228
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0043406a
add esp, 4
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a276
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
lea edi, [esp + 0x20]
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
call fcn.00409120
add esp, 4
cmp dword [esp + 0x1c], esi
jne 0x41a268
mov edi, dword [esp + 0x14]
mov esi, 0x466848
call fcn.004128d0
mov ecx, dword [esp + 0x14]
mov edx, 0x45830c
call fcn.0041c1c0
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, 0x4674bc
je 0x41a29f
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41a29f
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0043406a
add esp, 4
mov eax, dword [esp + 0x20]
lea ecx, [eax - 0xc]
cmp ecx, 0x4674bc
je 0x41a2c1
lea esi, [eax - 0xc]
push esi
call ebp
test eax, eax
jg 0x41a2c1
push esi
call fcn.0043406a
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x41aae0
Capabilities:
Hide graphical window

Disassembly:
lea edx, [esi + 0x120]
mov ecx, 0x91
call fcn.004099d0
mov eax, dword [esi + 0xec]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x4ac]
push 1
push 0x2a
push 0x86
push 0xe4
push 0xec
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
ret
Function at 0x41c170
Capabilities:
Create process on windows

Disassembly:
push ecx
push esi
mov esi, eax
push edi
test esi, esi
jne 0x41c17f
xor eax, eax
pop edi
pop esi
pop ecx
ret
mov edi, dword [esi + 0x10]
lea eax, [esp + 8]
push eax
push 1
push 1
mov ecx, edi
mov dword [esp + 0x14], 0
call fcn.004091d0
test eax, eax
jne 0x41c1ae
cmp dword [esp + 8], eax
jne 0x41c179
mov esi, 0x466848
call fcn.004128d0
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
pop ecx
ret

Function at 0x41d780
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4519a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea esi, [ebx - 0x5c]
call fcn.0041cf80
push 0xb6
lea eax, [esp + 0x14]
call fcn.0041bfd0
add esp, 4
mov edi, eax
xor esi, esi
lea eax, [ebx + 0x3b4]
mov dword [esp + 0x30], esi
call fcn.00408d10
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, 0x4674bc
je 0x41d810
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41d810
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0043406a
add esp, 4
mov edx, dword [ebx - 0x58]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push esi
push 0x64
push 0x2711
push edx
call edi
mov eax, dword [ebx - 0x58]
push esi
push 0x32
push 0x2712
push eax
call edi
mov ecx, dword [ebx + 0x3f8]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41d8fe
mov eax, dword [ebx - 0x58]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [ecx + edx - 0x78]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
push ecx
add eax, 0x78
mov dword [esp + 0x20], eax
mov eax, esp
mov dword [esp + 0x14], esp
push ecx
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x28], 0x87
mov dword [eax], esi
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [eax], ecx
mov edx, dword [ebx - 0x58]
mov dword [esp + 0x18], esp
lea esi, [ebx + 0x3f4]
push edx
call fcn.0041e090
mov ecx, dword [ebx + 0x20]
lea eax, [ebx + 0x418]
call fcn.004123b0
mov eax, dword [ebx + 0x3f8]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x48]
push 1
push esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 0x30]
push 0x23
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push 1
push 0x23
push 0x45787c
push 0x130
push esi
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41d920
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x418]
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41da8f
push ecx
mov eax, esp
mov dword [esp + 0x10], esp
push ecx
mov dword [eax], 0
mov eax, esp
lea esi, [ebx + 0x414]
mov dword [esp + 0x14], esp
mov dword [eax], 0x4676b4
mov dword [esp + 0x18], esi
call fcn.0041e030
mov eax, dword [ebx + 0x7c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, eax
lea eax, [esp + 0x40]
push eax
xor esi, esi
push edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
call dword [sym.imp.USER32.dll_BeginPaint]
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], eax
xor eax, eax
push ecx
push edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x18]
xor eax, eax
push edx
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push esi
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
mov eax, dword [ebx + 0x418]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x10]
mov esi, dword [ebx + 4]
push ecx
call fcn.004189c0
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x28]
call fcn.00420d90
mov esi, eax
test esi, esi
je 0x41da60
mov ecx, 0x10
call fcn.0041ff70
xor ecx, ecx
mov dword [esp + 0xc], eax
cmp eax, ecx
je 0x41da57
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
mov edx, esi
mov dword [eax], vtable.Gdiplus::Bitmap.0
call fcn.00420320
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [ecx + 8], eax
mov dword [ecx + 4], edx
mov eax, dword [esp + 0x10]
call fcn.004185a0
mov eax, dword [ebx + 0x418]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call esi
mov eax, dword [esp + 0x10]
call fcn.00418620
push 0
push edi
call esi
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
xor ecx, esp
call fcn.00433af9
mov esp, ebp
pop ebp
ret
Function at 0x41f1a0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4517c6
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
push 0x100
lea eax, [esp + 0x30]
push 0
push eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], 0x80
call fcn.00437380
mov ebx, dword [0x4674cc]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0x458660
shr ecx, 0x10
add esp, 0xc
mov dword [esp + 0x18], ebx
test ecx, ecx
jne 0x41f312
mov edx, 0x458660
movzx ecx, dx
lea edx, [esp + 0x18]
call fcn.004099d0
mov ebx, dword [esp + 0x18]
mov edx, 0x457418
mov dword [esp + 0x138], 0
mov esi, dword [0x4674cc]
shr edx, 0x10
mov dword [esp + 0x14], esi
test edx, edx
jne 0x41f35c
mov eax, 0x457418
movzx ecx, ax
lea edx, [esp + 0x14]
call fcn.004099d0
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x150], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x24], 1
jne 0x41f3ba
cmp word [esp + 0x2c], 0
je 0x41f3ba
cmp dword [esp + 0x1c], 0
jbe 0x41f3ba
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41f3a6
lea eax, [esp + 0x28]
push eax
lea edi, [esp + 0x24]
lea ebx, [esp + 0x30]
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
call fcn.00409120
add esp, 4
cmp dword [esp + 0x20], 0
je 0x41f3a6
lea esi, [esp + 0x14]
call fcn.004062b0
lea esi, [esp + 0x18]
call fcn.004062b0
mov eax, 1
jmp 0x41f3fe
push 0x458660
call edi
mov esi, eax
test esi, esi
je 0x41f233
mov ecx, esi
lea edx, [esp + 0x18]
call fcn.00409bd0
test eax, eax
je 0x41f22f
lea eax, [esi + esi]
lea ecx, [eax + 2]
cmp ecx, eax
jb 0x41f22f
mov ebx, dword [esp + 0x18]
push eax
push 0x458660
push ebx
call fcn.00439ad0
add esp, 0xc
jmp 0x41f233
push 0x457418
call edi
mov edi, eax
test edi, edi
je 0x41f26d
mov ecx, edi
lea edx, [esp + 0x14]
call fcn.00409bd0
test eax, eax
je 0x41f269
lea eax, [edi + edi]
lea ecx, [eax + 2]
cmp ecx, eax
jb 0x41f269
mov esi, dword [esp + 0x14]
push eax
push 0x457418
push esi
call fcn.00439ad0
add esp, 0xc
jmp 0x41f26d
lea esi, [esp + 0x14]
call fcn.004062b0
lea esi, [esp + 0x18]
call fcn.004062b0
jmp 0x41f3fc
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
cmp ecx, 0x4674bc
je 0x41f3de
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x41f3de
push esi
call fcn.0043406a
add esp, 4
lea edx, [ebx - 0xc]
cmp edx, 0x4674bc
je 0x41f3fc
lea esi, [ebx - 0xc]
push esi
call edi
test eax, eax
jg 0x41f3fc
push esi
call fcn.0043406a
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00433af9
add esp, 0x12c
ret
Function at 0x41f5b0
Capabilities:
Check if file exists
Get installed programs
Query or enumerate registry value

Disassembly:
sub esp, 0x82c
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
push ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
push edi
xor edi, edi
mov dword [esp + 0x20], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se.exe
mov dword [esp + 0x24], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
mov dword [esp + 0x28], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_5.exe
mov dword [esp + 0x2c], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se6.exe
xor esi, esi
push 0x800
lea eax, [esp + 0x34]
push edi
mov ebx, 1
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0x400
call fcn.00437380
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + esi*4 + 0x24]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x24]
push eax
push 0x457418
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x41f682
cmp dword [esp + 0x1c], ebx
jne 0x41f682
cmp word [esp + 0x30], di
je 0x41f682
cmp dword [esp + 0x18], edi
jbe 0x41f682
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41f682
lea eax, [esp + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
push eax
lea edi, [esp + 0x18]
lea ebx, [esp + 0x34]
call fcn.00409120
add esp, 4
cmp dword [esp + 0x14], 0
jne 0x41f6bd
xor edi, edi
inc esi
cmp esi, 4
jb 0x41f5f2
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall360se6
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41f6c4
mov edx, dword [esp + 0x10]
push edx
lea esi, [eax + 1]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x41f6c6
mov eax, 1
jmp 0x41f6c6
xor eax, eax
mov ecx, dword [esp + 0x834]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00433af9
add esp, 0x82c
ret

Function at 0x420340
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x450871
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
mov dword [edi], vtable.CCommandParser.0
mov eax, dword [0x4674cc]
mov dword [edi + 4], eax
mov dword [esp + 0x1c], 0
mov ecx, dword [0x4674cc]
mov dword [edi + 8], ecx
mov edx, dword [0x4674cc]
lea esi, [edi + 0xc]
mov dword [esi], edx
mov byte [esp + 0x1c], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebp, eax
test ebp, ebp
je 0x4203aa
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
mov ebx, eax
call fcn.00409c70
push edi
call fcn.00420480
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x4206c0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x238
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
xor ebx, ebx
xor eax, eax
cmp esi, ebx
je 0x420765
push 0x208
lea ecx, [esp + 0x26]
push ebx
push ecx
mov word [esp + 0x2c], ax
call fcn.00437380
push ebx
push ebx
push ebx
lea edx, [esp + 0x38]
push edx
push esi
call fcn.00436c48
add esp, 0x20
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x420763
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [edi], ecx
mov dword [edi + 4], edx
lea eax, [ebx + 1]
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00433af9
add esp, 0x238
ret
xor eax, eax
mov ecx, dword [esp + 0x234]
pop ebx
xor ecx, esp
call fcn.00433af9
add esp, 0x238
ret
Function at 0x420e60
Capabilities:
Get file version info

Disassembly:
mov eax, 0x2010
call fcn.004425c0
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x200c], eax
test esi, esi
je 0x420f43
test edi, edi
je 0x420f43
push 0x2000
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.00437380
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x420f43
cmp eax, 0x1fff
ja 0x420f43
lea edx, [esp + 0xc]
push edx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x420f43
lea eax, [esp + 8]
push eax
lea ecx, [esp + 4]
push ecx
push 0x457774
lea edx, [esp + 0x18]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x420f43
push 0x104
push 0
push edi
call fcn.00437380
mov eax, dword [esp + 0xc]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
push 0x104
push edi
call fcn.00421740
add esp, 0x28
mov eax, 1
mov ecx, dword [esp + 0x200c]
xor ecx, esp
call fcn.00433af9
add esp, 0x2010
ret
mov ecx, dword [esp + 0x200c]
xor ecx, esp
xor eax, eax
call fcn.00433af9
add esp, 0x2010
ret

Function at 0x421120
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x104
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
push 0xff
lea eax, [esp + 0x11]
push 0
push eax
mov edi, ecx
mov byte [esp + 0x18], 0
call fcn.00437380
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
xor esi, esi
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov ebx, dword [sym.imp.USER32.dll_keybd_event]
test eax, eax
je 0x42117d
test byte [esp + 0x1e], 0x80
jne 0x42117d
push esi
push 1
push esi
push 0x12
call ebx
mov esi, 1
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, eax
test esi, esi
je 0x421194
push 0
push 3
push 0
push 0x12
call ebx
mov ecx, dword [esp + 0x10c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00433af9
add esp, 0x104
ret
push esi
mov esi, eax
call fcn.004211b0
test eax, eax
jne 0x4212f4
mov ecx, esi
pop esi
jmp 0x421120
pop esi
ret