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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 0
mov eax, dword [0x554d34]
and eax, 1
jne 0x41b80d
mov ecx, dword [0x554d34]
or ecx, 1
mov dword [0x554d34], ecx
mov ecx, 0x554d30
call fcn.0041d080
push 0x52b500
call fcn.004f8227
add esp, 4
cmp dword [0x54e03c], 0xffffffff
je 0x41b82b
mov ecx, 0x554d30
call fcn.0041d300
movzx edx, al
test edx, edx
je 0x41ba48
mov dword [0x54e03c], 1
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004f7580
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x21c], eax
push 0x52d0c8
lea ecx, [ebp - 0x214]
call fcn.0041d0c0
lea eax, [ebp - 0x218]
push eax
call fcn.004164d0
add esp, 4
lea ecx, [ebp - 0x218]
call fcn.0041d2e0
test eax, eax
jle 0x41b8f0
lea ecx, [ebp - 0x218]
call fcn.0041d2e0
cmp eax, 0x104
jge 0x41b8f0
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x224]
push eax
call fcn.0041bbc0
add esp, 0xc
or dword [ebp - 0x234], 1
mov ecx, eax
call fcn.0041d2b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b8f0
mov dword [ebp - 0x238], 1
jmp 0x41b8fa
mov dword [ebp - 0x238], 0
mov cl, byte [ebp - 0x238]
mov byte [ebp - 0x21d], cl
mov edx, dword [ebp - 0x234]
and edx, 1
je 0x41b923
and dword [ebp - 0x234], 0xfffffffe
lea ecx, [ebp - 0x224]
call fcn.0041d100
movzx eax, byte [ebp - 0x21d]
test eax, eax
je 0x41b965
lea ecx, [ebp - 0x218]
call fcn.0041d2e0
push eax
lea ecx, [ebp - 0x218]
call fcn.0041d2b0
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.004f780c
add esp, 0xc
test eax, eax
jne 0x41b963
mov dword [0x54e03c], 0
jmp 0x41b978
call fcn.00415eb0
test eax, eax
je 0x41b978
mov dword [0x54e03c], 2
mov edx, dword [0x54e03c]
mov dword [ebp - 0x23c], edx
cmp dword [ebp - 0x23c], 0
je 0x41b9a1
cmp dword [ebp - 0x23c], 1
je 0x41b9c8
cmp dword [ebp - 0x23c], 2
je 0x41b9ef
jmp 0x41ba14
lea eax, [ebp - 0x228]
push eax
call fcn.004164d0
add esp, 4
push eax
mov ecx, 0x554d30
call fcn.0041d120
lea ecx, [ebp - 0x228]
call fcn.0041d100
jmp 0x41ba14
lea ecx, [ebp - 0x22c]
push ecx
call fcn.004163f0
add esp, 4
push eax
mov ecx, 0x554d30
call fcn.0041d120
lea ecx, [ebp - 0x22c]
call fcn.0041d100
jmp 0x41ba14
lea edx, [ebp - 0x230]
push edx
call fcn.004162d0
add esp, 4
push eax
mov ecx, 0x554d30
call fcn.0041d120
lea ecx, [ebp - 0x230]
call fcn.0041d100
push 0x54239c
mov ecx, 0x554d30
call fcn.0041bae0
push 0x54239c
mov ecx, 0x554d30
call fcn.0041de40
lea ecx, [ebp - 0x218]
call fcn.0041d100
lea ecx, [ebp - 0x214]
call fcn.0041d100
cmp dword [ebp + 0xc], 0
je 0x41ba59
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x54e03c]
mov dword [eax], ecx
push 0x554d30
mov ecx, dword [ebp + 8]
call fcn.0041d0a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret
Function at 0x41ffb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x454], ecx
call fcn.00404b80
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
call fcn.004228a0
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.004202a0
lea ecx, [ebp - 0x438]
call fcn.00422ce0
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041fd50
add esp, 8
mov dword [ebp - 8], eax
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42002e
call fcn.00409870
mov dword [ebp - 0x444], eax
jmp 0x420183
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x42005f
call fcn.00409870
mov dword [ebp - 0x444], eax
jmp 0x420183
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x42008f
call fcn.00409870
mov dword [ebp - 0x444], eax
jmp 0x420183
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
cmp edx, dword [ebp - 0x1c]
jae 0x4200df
mov dword [ebp - 0x44c], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.00422d00
lea ecx, [ebp - 0x2c]
call fcn.004228c0
mov eax, dword [ebp - 0x44c]
jmp 0x4201b8
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x438]
call fcn.00422d30
lea ecx, [ebp - 0x438]
call fcn.00422d20
test eax, eax
jne 0x42010c
mov dword [ebp - 0x444], 0x8007000e
jmp 0x420183
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00422d20
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.00404b80
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x42014e
call fcn.00409870
mov dword [ebp - 0x444], eax
jmp 0x420183
lea ecx, [ebp - 0x438]
call fcn.00422d20
xor ecx, ecx
mov edx, dword [ebp - 0x43c]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x438]
call fcn.00422d20
push eax
lea ecx, [ebp - 0x18]
call fcn.004202d0
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x10], 0
je 0x420193
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x450], edx
lea ecx, [ebp - 0x438]
call fcn.00422d00
lea ecx, [ebp - 0x2c]
call fcn.004228c0
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret 0x10
Function at 0x421970
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.00404e10
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00416610
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4219db
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.00404df0
mov eax, dword [ebp - 0x224]
jmp 0x421a6c
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x421a41
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00421970
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x421a38
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.00404df0
mov eax, dword [ebp - 0x228]
jmp 0x421a6c
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x4219e2
lea ecx, [ebp - 0x14]
call fcn.00404dc0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.004218a0
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.00404df0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret 4
Function at 0x421fd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x421fd9
xor ecx, ecx
jne 0x421fd9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x421ffa
mov eax, 0xd
jmp 0x422055
xor eax, eax
jne 0x421fe1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x42200b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x423260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x22c], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x208
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004f7580
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x42339d
cmp dword [ebp - 4], 0x104
jae 0x42339d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0041d0c0
push str.cryptbase.dll
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x220]
push edx
call fcn.0041bc20
add esp, 0xc
mov ecx, eax
call fcn.0041d2b0
push eax
call fcn.0042d610
mov ecx, dword [ebp - 0x22c]
mov dword [ecx], eax
lea ecx, [ebp - 0x220]
call fcn.0041d100
push str.propsys.dll
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x224]
push eax
call fcn.0041bc20
add esp, 0xc
mov ecx, eax
call fcn.0041d2b0
push eax
call fcn.0042d610
mov ecx, dword [ebp - 0x22c]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x224]
call fcn.0041d100
call fcn.004233c0
test eax, eax
je 0x423392
push str.dwmapi.dll
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x228]
push eax
call fcn.0041bc20
add esp, 0xc
mov ecx, eax
call fcn.0041d2b0
push eax
call fcn.0042d610
mov ecx, dword [ebp - 0x22c]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x228]
call fcn.0041d100
lea ecx, [ebp - 0x21c]
call fcn.0041d100
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret
Function at 0x423420
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x114
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x423518
mov byte [ebp - 0x50], 0
push 0x3f
push 0
lea edx, [ebp - 0x4f]
push edx
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x40
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 4]
push edx
push str.CurrentVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4234c0
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 2
movsx ecx, byte [ebp - 0x50]
sub ecx, 0x30
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
lea eax, [ebp - 0x4e]
push eax
call fcn.004f9804
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
jmp 0x423518
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
and edx, 0xffff
movzx eax, dx
and eax, 0xff
movzx ecx, al
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x54]
and eax, 0xffff
movzx ecx, ax
shr ecx, 8
and ecx, 0xff
movzx edx, cl
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 8]
mov edx, 4
cmp edx, dword [ecx + 4]
sbb eax, eax
neg eax
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 6
ja 0x423533
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 6
jne 0x4235a3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 2
jb 0x4235a3
mov dword [ebp - 0x170], 0
push 0x110
push 0
lea edx, [ebp - 0x16c]
push edx
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x170], 0x114
push str.RtlGetVersion
push 0x52ea58
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x4235a3
lea eax, [ebp - 0x170]
push eax
call dword [ebp - 0x58]
test eax, eax
jne 0x4235a3
push 0x114
lea ecx, [ebp - 0x170]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004f9470
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret
Function at 0x424ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x54], ecx
push 0
push 0x10000000
push 3
push 0
push 1
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x424bd5
xor eax, eax
jmp 0x424d60
push 0
lea ecx, [ebp - 0x44]
push ecx
push 0xe
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
movzx ecx, word [ebp - 0x3c]
cmp ecx, 0x4d42
je 0x424c08
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x424d60
push 0
lea eax, [ebp - 0x44]
push eax
push 0x28
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
movzx eax, word [ebp - 0x1e]
cmp eax, 8
je 0x424c41
movzx ecx, word [ebp - 0x1e]
cmp ecx, 0x18
je 0x424c41
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x424d60
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x24]
mov dword [edx + 0xc], eax
movzx eax, word [ebp - 0x1e]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x10], 1
jne 0x424c8e
push 0
lea eax, [ebp - 0x44]
push eax
push 0x400
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x14]
add edx, 0x28
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 4], 0
je 0x424cac
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 4]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004f755c
add esp, 4
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
mov ecx, dword [edx + 8]
imul ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x54]
imul ecx, dword [edx + 0x10]
add ecx, 8
push ecx
call fcn.004f5e5a
add esp, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 4], ecx
push 0
push 0
mov edx, dword [ebp - 0x32]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
movzx ecx, word [ebp - 0x1e]
mov eax, ecx
imul eax, dword [ebp - 0x28]
add eax, 0x1f
and eax, 0xffffffe0
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], 0
jmp 0x424d18
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax + 0xc]
jge 0x424d51
push 0
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x48]
imul edx, dword [ecx + 8]
mov eax, dword [ebp - 0x54]
imul edx, dword [eax + 0x10]
mov ecx, dword [ebp - 0x54]
add edx, dword [ecx + 4]
push edx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x424d0f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x425780
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov dword [ebp - 0x7c], ecx
push 0x52ed04
lea ecx, [ebp - 4]
call fcn.0041d0c0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.00425340
test eax, eax
je 0x4258fe
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.00425670
test eax, eax
je 0x4258fe
push 0x52ed08
lea ecx, [ebp - 8]
call fcn.0041d0c0
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
push eax
push 0x52ed0c
lea ecx, [ebp - 8]
push ecx
call fcn.0041e770
add esp, 0xc
call fcn.004233c0
test eax, eax
je 0x42581a
lea ecx, [ebp - 0xc]
call fcn.00425930
lea ecx, [ebp - 8]
call fcn.0041d2b0
push eax
lea ecx, [ebp - 4]
call fcn.0041d2b0
push eax
lea ecx, [ebp - 0xc]
call fcn.00425b70
lea ecx, [ebp - 0xc]
call fcn.00425940
jmp 0x4258f6
push 0x52ed3c
lea ecx, [ebp - 0x6c]
call fcn.0041d0c0
lea edx, [ebp - 8]
push edx
push 0x52ed40
lea eax, [ebp - 4]
push eax
push 0x52ed48
lea ecx, [ebp - 0x70]
push ecx
call fcn.0041d250
add esp, 0xc
push eax
lea edx, [ebp - 0x74]
push edx
call fcn.0041bc20
add esp, 0xc
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0041bbc0
add esp, 0xc
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041d120
lea ecx, [ebp - 0x78]
call fcn.0041d100
lea ecx, [ebp - 0x74]
call fcn.0041d100
lea ecx, [ebp - 0x70]
call fcn.0041d100
mov dword [ebp - 0x68], 0
push 0x40
push 0
lea ecx, [ebp - 0x64]
push ecx
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x68], 0x44
xor edx, edx
mov word [ebp - 0x38], dx
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x68]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x6c]
call fcn.0041d2e0
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041d2c0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x6c]
call fcn.0041d100
lea ecx, [ebp - 8]
call fcn.0041d100
lea ecx, [ebp - 4]
call fcn.0041d100
mov esp, ebp
pop ebp
ret
Function at 0x425950
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x440], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x52ed50
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x425a34
xor ecx, ecx
mov word [ebp - 0x220], cx
push 0x206
push 0
lea edx, [ebp - 0x21e]
push edx
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x224], 0x206
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push 0x52edd0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425a2a
movzx ecx, word [ebp - 0x220]
test ecx, ecx
jne 0x425a03
jmp 0x425a2a
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425a2a
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041d140
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0
jne 0x425b1a
mov dword [ebp - 0x228], 0
lea edx, [ebp - 0x228]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360se6.exe
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x425b1a
xor eax, eax
mov word [ebp - 0x438], ax
push 0x206
push 0
lea ecx, [ebp - 0x436]
push ecx
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x43c], 0x206
mov dword [ebp - 0x230], 1
lea edx, [ebp - 0x43c]
push edx
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x230]
push ecx
push 0
push 0x52ee58
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425b0d
movzx eax, word [ebp - 0x438]
test eax, eax
jne 0x425ae6
jmp 0x425b0d
lea ecx, [ebp - 0x438]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425b0d
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041d140
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret 4
Function at 0x425f40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.0041d080
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x425fa2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x240]
call fcn.0041d100
mov eax, dword [ebp - 0x244]
jmp 0x426056
push 0x22c
push 0
lea ecx, [ebp - 0x238]
push ecx
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x23c]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42602f
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x240]
call fcn.0041d140
lea ecx, [ebp - 0x240]
call fcn.00426540
push 0
push 0x52ee68
lea ecx, [ebp - 0x240]
call fcn.004264c0
cmp eax, 0xffffffff
je 0x426018
mov edx, dword [ebp - 0x230]
mov dword [ebp - 4], edx
jmp 0x42602f
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x425fd9
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x248], eax
lea ecx, [ebp - 0x240]
call fcn.0041d100
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret