joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459ba0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523702
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x536f1c
lea ecx, [ebp - 0xf8]
call fcn.004457f0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00445910
lea ecx, [ebp - 0x84]
push ecx
push 0x20006
push 0
lea ecx, [ebp - 0xf8]
call fcn.0046ade0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x459c41
mov dword [ebp - 0x170], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.004458f0
mov eax, dword [ebp - 0x170]
jmp 0x459d89
push 0x64
push 0
lea edx, [ebp - 0x7c]
push edx
call fcn.00500270
add esp, 0xc
push 0x64
push 0
lea eax, [ebp - 0x164]
push eax
call fcn.00500270
add esp, 0xc
push 0x64
push 0
lea ecx, [ebp - 0xf4]
push ecx
call fcn.00500270
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
call fcn.004fffd0
add esp, 4
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.004fffd0
add esp, 4
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.004fffd0
add esp, 4
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x88]
add edx, 2
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x16c]
add eax, 2
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x80]
add ecx, 2
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x168], 0
push 4
lea edx, [ebp - 0x168]
push edx
push 4
push 0
push str.EnableDHCP
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 7
push 0
push 0x536f68
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 7
push 0
push str.SubnetMask
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 7
push 0
push str.DefaultGateway
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x174], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.004458f0
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret
Function at 0x45c8c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x45c8c9
xor ecx, ecx
jne 0x45c8c9
cmp dword [ebp + 0xc], 0
je 0x45c8e9
mov edx, dword [ebp + 0x10]
cmp dword [edx], 2
jae 0x45c8e9
mov eax, 0x7a
jmp 0x45c994
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
shl ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x45c928
mov eax, dword [ebp - 0xc]
jmp 0x45c994
cmp dword [ebp - 4], 7
je 0x45c935
mov eax, 0xd
jmp 0x45c994
cmp dword [ebp + 0xc], 0
je 0x45c988
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x45c981
mov edx, dword [ebp - 8]
shr edx, 1
cmp edx, 1
jb 0x45c981
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 - 2]
test edx, edx
jne 0x45c981
mov eax, dword [ebp - 8]
shr eax, 1
cmp eax, 1
jbe 0x45c988
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + ecx*2 - 4]
test eax, eax
je 0x45c988
mov eax, 0xd
jmp 0x45c994
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45c9a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x45c9a9
xor ecx, ecx
jne 0x45c9a9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x45c9ca
mov eax, 0xd
jmp 0x45ca25
xor eax, eax
jne 0x45c9b1
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 0x45c9db
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 0x45e9f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop ebp
ret 4
Function at 0x45ee00
Capabilities:
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xffffffff
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00500270
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45ef43
cmp dword [ebp - 0x110], 2
jne 0x45ef43
cmp dword [ebp - 0x11c], 6
jb 0x45ef43
movzx edx, byte [ebp + 0x18]
test edx, edx
je 0x45ef28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], 0xffffffff
push 0
push 0
lea ecx, [ebp - 0x134]
push ecx
push 0x45ef60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x45ef26
cmp dword [ebp - 0x138], 0xffffffff
je 0x45ef26
push 0x7530
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
jne 0x45ef01
mov eax, dword [ebp - 0x124]
mov dword [ebp - 4], eax
jmp 0x45ef14
cmp dword [ebp - 0x13c], 0x102
jne 0x45ef14
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x45ef46
jmp 0x45ef43
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045ea40
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret

Function at 0x45f510
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x45f53a
xor eax, eax
jmp 0x45f5a8
mov edx, dword [ebp - 0x10]
push edx
call fcn.005031fa
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45f553
xor eax, eax
jmp 0x45f5a8
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x45f599
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x537e18
mov edx, dword [ebp - 0xc]
push edx
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.005019e9
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45fa00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523dac
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x848], ecx
mov dword [ebp - 0x844], 0
push 0x410
push 0
lea eax, [ebp - 0x424]
push eax
call fcn.00500270
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.drivers
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x838]
call fcn.004457d0
mov dword [ebp - 4], 0
push 0x410
push 0
lea eax, [ebp - 0x834]
push eax
call fcn.00500270
add esp, 0xc
mov dword [ebp - 0x83c], 0
jmp 0x45fab8
mov ecx, dword [ebp - 0x83c]
add ecx, 1
mov dword [ebp - 0x83c], ecx
cmp dword [ebp - 0x83c], 3
jae 0x45fb59
mov edx, dword [ebp - 0x83c]
mov eax, dword [edx*4 + 0x5387c4]
push eax
lea ecx, [ebp - 0x424]
push ecx
lea edx, [ebp - 0x834]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x840]
push ecx
mov ecx, dword [ebp - 0x848]
call fcn.0045f3e0
mov dword [ebp - 0x84c], eax
mov edx, dword [ebp - 0x84c]
mov dword [ebp - 0x850], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x850]
push eax
lea ecx, [ebp - 0x838]
call fcn.00418990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.004458f0
push str.0.0.0.0
lea ecx, [ebp - 0x838]
push ecx
call fcn.00461830
add esp, 8
movzx edx, al
test edx, edx
je 0x45fb54
jmp 0x45fb59
jmp 0x45faa9
lea eax, [ebp - 0x838]
push eax
mov ecx, dword [ebp + 8]
call fcn.00418970
mov ecx, dword [ebp - 0x844]
or ecx, 1
mov dword [ebp - 0x844], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x838]
call fcn.004458f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret 4
Function at 0x4612b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x46136f
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044e6d0
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4612e5
xor eax, eax
jmp 0x46139d
push str.HttpInit
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push str.HttpUninit
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
push str.zlib_uncompress
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
push str.zlib_compress
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
push str.zlib_compressBound
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x46136f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
call ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x461393
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x461393
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x461393
mov dword [ebp - 8], 1
jmp 0x46139a
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x463840
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x105
push 0x105
mov ecx, dword [ebp + 8]
call fcn.00464840
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.00464870
cmp dword [ebp - 4], 0
jbe 0x463882
cmp dword [ebp - 4], 0x104
ja 0x463882
mov dword [ebp - 8], 1
jmp 0x463889
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x463950
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x463969
mov al, 1
jmp 0x46396b
xor al, al
pop ebp
ret

Function at 0x463d40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00463950
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x463d5c
xor al, al
jmp 0x463d70
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x463d6e
mov al, 1
jmp 0x463d70
xor al, al
pop ebp
ret

Function at 0x464310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x105
mov ecx, dword [ebp + 8]
call fcn.00464840
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.00464870
cmp dword [ebp - 4], 0
jbe 0x464352
cmp dword [ebp - 4], 0x104
ja 0x464352
mov dword [ebp - 8], 1
jmp 0x464359
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4654c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4654f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4654f1
xor al, al
jmp 0x465510
mov eax, dword [ebp - 8]
xor edx, edx
mov cl, 0x20
call fcn.00504b60
mov ecx, dword [ebp - 4]
xor esi, esi
add eax, ecx
adc edx, esi
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x465740
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
call fcn.0042e040
add esp, 4
mov byte [ebp - 1], al
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x465940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x5686d8]
jbe 0x46595d
mov ecx, dword [0x5686d8]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
call fcn.0042e040
add esp, 4
mov byte [ebp - 1], al
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x465a10
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push eax
call fcn.0042e040
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x4690b0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
lea ecx, [ebp - 8]
push ecx
push 0x539754
push 1
push 0
push 0x539744
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x46910a
mov edx, dword [ebp - 0xc]
push edx
push str.CoCreateInstance_failed:_0x_08lx_n
call fcn.00504bf5
add esp, 8
jmp 0x469166
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x46913a
mov edx, dword [ebp - 0xc]
push edx
push str.get_localPolicy_failed:_0x_08lx_n
call fcn.00504bf5
add esp, 8
jmp 0x469166
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x469166
mov edx, dword [ebp - 0xc]
push edx
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.00504bf5
add esp, 8
cmp dword [ebp - 4], 0
je 0x46917a
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 8], 0
je 0x46918e
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x469e80
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524946
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x10]
call fcn.004703f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00439b90
push eax
push 0x5397e4
push 1
push 0
push 0x5397d4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x469f69
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 8]
call fcn.004389b0
jmp 0x469efc
lea ecx, [ebp - 0x20]
call fcn.0046b100
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp + 8]
call fcn.0046b0d0
push eax
lea ecx, [ebp - 0x20]
call fcn.00416b70
movzx edx, al
test edx, edx
je 0x469f5d
lea ecx, [ebp - 0x20]
call fcn.004f1cd0
add eax, 0x1c
mov ecx, eax
call fcn.0046adc0
push eax
lea ecx, [ebp - 0x20]
call fcn.004f1cd0
mov ecx, eax
call fcn.0046adc0
push eax
lea ecx, [ebp - 0x10]
call fcn.0046ade0
push eax
call fcn.00469960
add esp, 0xc
mov dword [ebp - 0x14], eax
xor eax, eax
cmp dword [ebp - 0x14], 0
setge al
mov byte [ebp - 0x15], al
jmp 0x469ef4
lea ecx, [ebp + 8]
push ecx
call fcn.0046aa40
add esp, 4
mov dl, byte [ebp - 0x15]
mov byte [ebp - 0x29], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004bfa60
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0046ab10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.0046aaf0
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x46aa40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524a78
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20
call fcn.004fff64
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x46aa8c
mov ecx, dword [ebp - 0x1c]
call fcn.0046adf0
mov dword [ebp - 0x20], eax
jmp 0x46aa93
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0046abc0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x46a8b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4735f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5250e3
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x7c], 0x80004005
mov dword [ebp - 0x18], 0x80004005
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x74], 0
push 0x40
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.00500270
add esp, 0xc
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x78]
call fcn.004457d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004457d0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x84]
call fcn.00473780
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x47369b
cmp dword [0x5725dc], 0
je 0x473696
int3
jmp 0x47371b
xor eax, eax
jne 0x473686
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x10]
push eax
push str.__s___s
lea ecx, [ebp - 0x78]
push ecx
call fcn.00428670
add esp, 0x10
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x48], 1
mov edx, dword [ebp + 0xc]
neg edx
sbb edx, edx
and edx, 5
mov word [ebp - 0x44], dx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x78]
call fcn.0046ade0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x473710
cmp dword [0x5725dc], 0
je 0x47370e
int3
jmp 0x47371b
xor edx, edx
jne 0x4736fe
mov dword [ebp - 0x7c], 0
cmp dword [ebp - 0x24], 0
je 0x473732
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x28], 0
je 0x473749
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004458f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.004458f0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8