joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0050c770
add esp, 0xc
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x224], 0x208
mov dword [ebp - 0x214], 0
lea edx, [ebp - 0x214]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x483137
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0
push 0x54c0b0
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x210]
push edx
call fcn.0050c71f
add esp, 4
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 3
jbe 0x483137
mov eax, dword [ebp - 0x224]
movzx ecx, word [ebp + eax*2 - 0x212]
cmp ecx, 0x5c
je 0x483137
mov edx, 0x5c
mov eax, dword [ebp - 0x224]
mov word [ebp + eax*2 - 0x210], dx
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00405520
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405e60
lea ecx, [ebp - 0x218]
call fcn.00406190
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret

Function at 0x483be0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0x483ef0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
add eax, 0x28
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00484560
add esp, 8
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], eax
push 0x3e8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x486720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x454], ecx
call fcn.00403eb0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
call fcn.004891e0
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.00486a10
lea ecx, [ebp - 0x438]
call fcn.00489600
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.004864f0
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 0x48679e
call fcn.00486120
mov dword [ebp - 0x444], eax
jmp 0x4868f3
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 0x4867cf
call fcn.00486120
mov dword [ebp - 0x444], eax
jmp 0x4868f3
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 0x4867ff
call fcn.00486120
mov dword [ebp - 0x444], eax
jmp 0x4868f3
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 0x48684f
mov dword [ebp - 0x44c], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.00489620
lea ecx, [ebp - 0x2c]
call fcn.00489200
mov eax, dword [ebp - 0x44c]
jmp 0x486928
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x438]
call fcn.00489650
lea ecx, [ebp - 0x438]
call fcn.00489640
test eax, eax
jne 0x48687c
mov dword [ebp - 0x444], 0x8007000e
jmp 0x4868f3
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00489640
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.00403eb0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x4868be
call fcn.00486120
mov dword [ebp - 0x444], eax
jmp 0x4868f3
lea ecx, [ebp - 0x438]
call fcn.00489640
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.00489640
push eax
lea ecx, [ebp - 0x18]
call fcn.00486a40
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x10], 0
je 0x486903
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.00489620
lea ecx, [ebp - 0x2c]
call fcn.00489200
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x488250
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.00488010
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.004881f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4882bb
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.00488040
mov eax, dword [ebp - 0x224]
jmp 0x48834c
mov dword [ebp - 4], 0x100
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 0x488321
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00488250
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x488318
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.00488040
mov eax, dword [ebp - 0x228]
jmp 0x48834c
mov dword [ebp - 4], 0x100
jmp 0x4882c2
lea ecx, [ebp - 0x14]
call fcn.00488130
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.004880d0
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.00488040
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret 4
Function at 0x4888b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x4888b9
xor ecx, ecx
jne 0x4888b9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4888da
mov eax, 0xd
jmp 0x488935
xor eax, eax
jne 0x4888c1
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 0x4888eb
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 0x48af00
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 0x48af35
xor eax, eax
jmp 0x48b0c0
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 0x48af68
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x48b0c0
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 0x48afa1
movzx ecx, word [ebp - 0x1e]
cmp ecx, 0x18
je 0x48afa1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x48b0c0
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 0x48afee
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 0x48b00c
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 4]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0050c4ec
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.0050acfa
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 0x48b078
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 0x48b0b1
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 0x48b06f
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 0x48bae0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov dword [ebp - 0x7c], ecx
push 0x54c664
lea ecx, [ebp - 4]
call fcn.00405520
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.0048b6a0
test eax, eax
je 0x48bc5e
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.0048b9d0
test eax, eax
je 0x48bc5e
push 0x54c668
lea ecx, [ebp - 8]
call fcn.00405520
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
push eax
push 0x54c66c
lea ecx, [ebp - 8]
push ecx
call fcn.00403850
add esp, 0xc
call fcn.0048bfe0
test eax, eax
je 0x48bb7a
lea ecx, [ebp - 0xc]
call fcn.0048c2a0
lea ecx, [ebp - 8]
call fcn.00406010
push eax
lea ecx, [ebp - 4]
call fcn.00406010
push eax
lea ecx, [ebp - 0xc]
call fcn.0048c4e0
lea ecx, [ebp - 0xc]
call fcn.0048c2b0
jmp 0x48bc56
push 0x54c69c
lea ecx, [ebp - 0x6c]
call fcn.00405520
lea edx, [ebp - 8]
push edx
push 0x54c6a0
lea eax, [ebp - 4]
push eax
push 0x54c6a8
lea ecx, [ebp - 0x70]
push ecx
call fcn.0048c240
add esp, 0xc
push eax
lea edx, [ebp - 0x74]
push edx
call fcn.00404ee0
add esp, 0xc
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0048c1e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x6c]
call fcn.00404a40
lea ecx, [ebp - 0x78]
call fcn.00406190
lea ecx, [ebp - 0x74]
call fcn.00406190
lea ecx, [ebp - 0x70]
call fcn.00406190
mov dword [ebp - 0x68], 0
push 0x40
push 0
lea ecx, [ebp - 0x64]
push ecx
call fcn.0050c770
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.00406180
push eax
lea ecx, [ebp - 0x6c]
call fcn.004058f0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x6c]
call fcn.00406190
lea ecx, [ebp - 8]
call fcn.00406190
lea ecx, [ebp - 4]
call fcn.00406190
mov esp, ebp
pop ebp
ret
Function at 0x48bec0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.0050c860
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 8], eax
mov ax, word [0x55cd84]
mov word [ebp - 0x4008], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4006]
push ecx
call fcn.0050c770
add esp, 0xc
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x400c], eax
cmp dword [ebp - 0x400c], 0
je 0x48bf22
cmp dword [ebp - 0x400c], 0x3fff
jbe 0x48bf29
xor eax, eax
jmp 0x48bfd0
lea ecx, [ebp - 0x4008]
push ecx
mov edx, dword [ebp - 0x400c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x48bfce
lea ecx, [ebp - 0x4014]
push ecx
lea edx, [ebp - 0x4010]
push edx
push 0x55c9e4
lea eax, [ebp - 0x4008]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x48bfce
mov ecx, dword [ebp - 0x4010]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 0x4010]
mov edx, dword [ecx + 8]
and edx, 0xffff
mov eax, dword [ebp + 0x10]
mov word [eax], dx
mov ecx, dword [ebp - 0x4010]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
mov eax, dword [ebp + 0x14]
mov word [eax], dx
mov ecx, dword [ebp - 0x4010]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
mov eax, dword [ebp + 0x18]
mov word [eax], dx
mov eax, 1
jmp 0x48bfd0
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret
Function at 0x48c040
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov eax, dword [0x579aa4]
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 0x48c138
mov byte [ebp - 0x50], 0
push 0x3f
push 0
lea edx, [ebp - 0x4f]
push edx
call fcn.0050c770
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 0x48c0e0
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.0050e434
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
jmp 0x48c138
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 0x48c153
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 6
jne 0x48c1c3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 2
jb 0x48c1c3
mov dword [ebp - 0x170], 0
push pe_nt_image_headers32
push 0
lea edx, [ebp - 0x16c]
push edx
call fcn.0050c770
add esp, 0xc
mov dword [ebp - 0x170], 0x114
push str.RtlGetVersion
push str.ntdll.dll
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 0x48c1c3
lea eax, [ebp - 0x170]
push eax
call dword [ebp - 0x58]
test eax, eax
jne 0x48c1c3
push 0x114
lea ecx, [ebp - 0x170]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0050dd70
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret
Function at 0x48c2c0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x579aa4]
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 0x54c750
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48c3a4
xor ecx, ecx
mov word [ebp - 0x220], cx
push 0x206
push 0
lea edx, [ebp - 0x21e]
push edx
call fcn.0050c770
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 0x54c7d0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48c39a
movzx ecx, word [ebp - 0x220]
test ecx, ecx
jne 0x48c373
jmp 0x48c39a
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48c39a
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp + 8]
call fcn.004057e0
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 0x48c48a
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 0x48c48a
xor eax, eax
mov word [ebp - 0x438], ax
push 0x206
push 0
lea ecx, [ebp - 0x436]
push ecx
call fcn.0050c770
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 0x54c858
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48c47d
movzx eax, word [ebp - 0x438]
test eax, eax
jne 0x48c456
jmp 0x48c47d
lea ecx, [ebp - 0x438]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48c47d
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.004057e0
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.0050c75f
mov esp, ebp
pop ebp
ret 4
Function at 0x48c8b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00406250
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x48c912
mov eax, dword [ebp - 4]
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x240]
call fcn.00406190
mov eax, dword [ebp - 0x244]
jmp 0x48c9c6
push 0x22c
push 0
lea ecx, [ebp - 0x238]
push ecx
call fcn.0050c770
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 0x48c99f
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x240]
call fcn.004057e0
lea ecx, [ebp - 0x240]
call fcn.0048ce70
push 0
push 0x54c868
lea ecx, [ebp - 0x240]
call fcn.00402830
cmp eax, 0xffffffff
je 0x48c988
mov edx, dword [ebp - 0x230]
mov dword [ebp - 4], edx
jmp 0x48c99f
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48c949
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.00406190
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret
Function at 0x48ca00
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x290], ecx
push 0x54c884
lea ecx, [ebp - 4]
call fcn.00405520
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x290]
call fcn.0048c2c0
test eax, eax
je 0x48cc7a
lea ecx, [ebp - 0x214]
call fcn.00406250
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 4]
call fcn.00406010
push eax
call fcn.0048be50
add esp, 8
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0050c770
add esp, 0xc
lea ecx, [ebp - 0x280]
push ecx
call fcn.0048ce30
add esp, 4
mov ecx, eax
call fcn.00406010
push eax
push 0x104
lea edx, [ebp - 0x210]
push edx
push str.6.2.1.188
push str.360se_minver
push 0x54c8b8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x280]
call fcn.00406190
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x214]
call fcn.00406010
push eax
call fcn.0048bc90
add esp, 8
test eax, eax
jl 0x48cc6f
push 0x54c8cc
lea ecx, [ebp - 0x218]
call fcn.00405520
mov ecx, dword [ebp - 0x290]
mov edx, dword [ecx]
push edx
push str.__set_adfilter_mode_d
lea eax, [ebp - 0x218]
push eax
call fcn.00403850
add esp, 0xc
call fcn.0048bfe0
test eax, eax
je 0x48cb40
lea ecx, [ebp - 0x218]
call fcn.00406010
push eax
lea ecx, [ebp - 4]
call fcn.00406010
push eax
mov ecx, dword [ebp - 0x290]
call fcn.0048c4e0
jmp 0x48cc64
push 0x54c900
lea ecx, [ebp - 0x27c]
call fcn.00405520
lea ecx, [ebp - 0x218]
push ecx
push 0x54c904
lea edx, [ebp - 4]
push edx
push 0x54c90c
lea eax, [ebp - 0x284]
push eax
call fcn.0048c240
add esp, 0xc
push eax
lea ecx, [ebp - 0x288]
push ecx
call fcn.00404ee0
add esp, 0xc
push eax
lea edx, [ebp - 0x28c]
push edx
call fcn.0048c1e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x27c]
call fcn.00404a40
lea ecx, [ebp - 0x28c]
call fcn.00406190
lea ecx, [ebp - 0x288]
call fcn.00406190
lea ecx, [ebp - 0x284]
call fcn.00406190
mov dword [ebp - 0x278], 0
push 0x40
push 0
lea eax, [ebp - 0x274]
push eax
call fcn.0050c770
add esp, 0xc
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x278], 0x44
xor ecx, ecx
mov word [ebp - 0x248], cx
mov dword [ebp - 0x228], 0
xor edx, edx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x21c], edx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x278]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x27c]
call fcn.00406180
push eax
lea ecx, [ebp - 0x27c]
call fcn.004058f0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x27c]
call fcn.00406190
lea ecx, [ebp - 0x218]
call fcn.00406190
lea ecx, [ebp - 0x214]
call fcn.00406190
lea ecx, [ebp - 4]
call fcn.00406190
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret