joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bb9e0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x26
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esp, ebp
pop ebp
ret 4

Function at 0x4bc150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610b6f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x6c6f60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0x40
call fcn.005c97b8
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 1
mov eax, dword [ebp - 0x10]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x4b8]
mov eax, dword [ebp - 0x10]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4b8]
mov eax, dword [edx + 0x30]
call eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004e0e00
mov dword [ebp - 0x14], eax
jmp 0x4bc1e1
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x364], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x364]
call fcn.004e0ed0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4cc], 1
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c0
call fcn.004c4980
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
push 1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x13c]
call edx
push 0x6912cc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x4b8]
call fcn.00470840
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x55c], 1
jle 0x4bc279
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x564]
push eax
push 0x7d0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4bc8d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610c53
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], ecx
mov eax, dword [ebp - 0x270]
mov ecx, dword [eax + 0x560]
add ecx, 0x84
push ecx
lea ecx, [ebp - 0x28]
call fcn.0047cc80
mov dword [ebp - 4], 0
mov dword [ebp - 0x280], 0
push 0
push 2
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x254], 0x22c
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
jne 0x4bc980
mov byte [ebp - 0x255], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov al, byte [ebp - 0x255]
jmp 0x4bcb5c
mov ecx, 1
test ecx, ecx
je 0x4bcb33
mov dword [ebp - 0x254], 0x22c
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x4bc9b4
jmp 0x4bcb33
lea ecx, [ebp - 0x28]
call fcn.0047ca20
mov dword [ebp - 0x260], eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x25c]
mov ax, word [edx]
mov word [ebp - 0x262], ax
mov ecx, dword [ebp - 0x260]
cmp ax, word [ecx]
jne 0x4bca34
cmp word [ebp - 0x262], 0
je 0x4bca28
mov edx, dword [ebp - 0x25c]
mov ax, word [edx + 2]
mov word [ebp - 0x264], ax
mov ecx, dword [ebp - 0x260]
cmp ax, word [ecx + 2]
jne 0x4bca34
add dword [ebp - 0x25c], 4
add dword [ebp - 0x260], 4
cmp word [ebp - 0x264], 0
jne 0x4bc9ce
mov dword [ebp - 0x26c], 0
jmp 0x4bca3f
sbb edx, edx
or edx, 1
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
jne 0x4bcb2e
push 0
push 2
push str.bool___thiscall_InstallUIMainWnd::AppIsRunning_void_
push 0x9a8
push 0x691450
push 0x80
lea ecx, [ebp - 0x2b8]
call fcn.00485d60
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x27c], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x24c]
push edx
push 0x691484
lea eax, [ebp - 0x28]
push eax
push 0x69144c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [0x6c7b98]
push edx
push 1
mov eax, dword [ebp - 0x27c]
push eax
call fcn.00485e40
add esp, 0xc
mov ecx, eax
call fcn.004ca640
mov ecx, eax
call fcn.0049bb80
mov ecx, eax
call fcn.004ca4c0
mov ecx, eax
call fcn.0049bb80
mov ecx, eax
call fcn.0049bc10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b8]
call fcn.00485de0
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x280], ecx
push 3
mov ecx, dword [ebp - 0x270]
call fcn.004bc050
mov byte [ebp - 0x256], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov al, byte [ebp - 0x256]
jmp 0x4bcb5c
jmp 0x4bc980
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [ebp - 0x257], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov al, byte [ebp - 0x257]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4bcb80
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610c90
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x40]
call fcn.0047cc30
mov dword [ebp - 4], 0
push 0x691480
lea ecx, [ebp - 0x28]
call fcn.0048b540
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.004b4ff0
push 2
push 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0047c9a0
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x28]
call fcn.0047cb40
lea ecx, [ebp - 0x58]
call fcn.0047caf0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x28]
call fcn.0047ca20
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x4bcc54
cmp dword [ebp - 0x70], 0
ja 0x4bcc2d
cmp dword [ebp - 0x74], 0x12c00000
jbe 0x4bcc54
mov dword [ebp - 0x68], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0047caf0
mov eax, dword [ebp - 0x68]
jmp 0x4bcc83
push 0xb
mov ecx, dword [ebp - 0x5c]
call fcn.004bc050
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0047caf0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4bcec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610d03
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0], ecx
mov ecx, dword [ebp - 0xc0]
call fcn.004bc8d0
movzx eax, al
test eax, eax
jne 0x4bcf0b
or eax, 0xffffffff
jmp 0x4bd117
mov ecx, dword [ebp - 0xc0]
call fcn.004bc4e0
movzx ecx, al
test ecx, ecx
jne 0x4bcf25
or eax, 0xffffffff
jmp 0x4bd117
mov ecx, dword [ebp - 0xc0]
call fcn.004bcca0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push 0x168
push 0x28a
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0xc0]
call fcn.004ffa19
lea ecx, [ebp - 0xbc]
call fcn.004f02ba
mov dword [ebp - 4], 0
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0xc0]
add ecx, 0x448
call fcn.0047ca20
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.004f0864
add esp, 0x10
lea ecx, [ebp - 0xbc]
call fcn.004f08e4
push eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x374]
mov eax, dword [ebp - 0xc0]
mov edx, dword [edx]
mov ecx, dword [eax + 0x374]
mov eax, dword [edx + 0x2c]
call eax
push 0
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x494]
mov eax, dword [ebp - 0xc0]
mov edx, dword [edx]
mov ecx, dword [eax + 0x494]
mov eax, dword [edx + 0xcc]
call eax
push 0
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x498]
mov eax, dword [ebp - 0xc0]
mov edx, dword [edx]
mov ecx, dword [eax + 0x498]
mov eax, dword [edx + 0xcc]
call eax
push 0
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x4a0]
mov eax, dword [ebp - 0xc0]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4a0]
mov eax, dword [edx + 0xcc]
call eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x4d0]
push edx
push str.start_app
push 0x691518
lea eax, [ebp - 0x38]
push eax
call fcn.004d9740
add esp, 0x10
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc8]
call fcn.0047ca20
push eax
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x4a4]
mov ecx, dword [ebp - 0xc0]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4a4]
mov eax, dword [edx + 0x2c]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0047caf0
push 0
push 0
mov ecx, dword [ebp - 0xc0]
push ecx
push 0x4b5940
push 0
push 0
call fcn.005e73dd
add esp, 0x18
push 0x6915b4
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx + 0x4bc]
call fcn.00470840
mov ecx, dword [ebp - 0xc0]
call fcn.004bc150
mov dword [ebp - 0xcc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.004f03ac
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4bd150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x23c], 0x104
mov dword [ebp - 0x240], 1
push 0x691548
lea ecx, [ebp - 0x230]
call fcn.0048b540
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 0x560]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x230]
call fcn.004c4ea0
lea edx, [ebp - 0x234]
push edx
push 0xf003f
push 0
lea ecx, [ebp - 0x230]
call fcn.0047ca20
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bd26d
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x240]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bd22d
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0047ca60
jmp 0x4bd25e
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x244], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0047caf0
mov eax, dword [ebp - 0x244]
jmp 0x4bd2b3
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4bd291
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0047caf0
mov eax, dword [ebp - 0x248]
jmp 0x4bd2b3
mov dword [ebp - 0x24c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0047caf0
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret 8
Function at 0x4bd2d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610d80
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x104
mov dword [ebp - 0x44], 1
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x28]
call fcn.0048b540
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x560]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x28]
call fcn.004c4ea0
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
call fcn.0047ca20
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4bd3e4
lea ecx, [ebp + 0xc]
call fcn.0048b7c0
shl eax, 1
push eax
lea ecx, [ebp + 0xc]
call fcn.0047ca20
push eax
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4bd3b3
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x34], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0047caf0
mov eax, dword [ebp - 0x34]
jmp 0x4bd409
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0047caf0
mov eax, dword [ebp - 0x38]
jmp 0x4bd409
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0047caf0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4c1c30
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61119c
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4a4], ecx
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.005e2ec0
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.005e2ec0
add esp, 0xc
lea ecx, [ebp - 0x468]
call fcn.0047cc30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.0047cc30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.0047cc30
mov byte [ebp - 4], 2
lea edx, [ebp - 0x480]
push edx
mov ecx, dword [ebp - 0x4a4]
call fcn.004c1e60
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x438]
call fcn.0047cb40
lea ecx, [ebp - 0x480]
call fcn.0047caf0
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x4c1dff
push 0x104
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameW]
lea ecx, [ebp - 0x420]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0047ca60
lea edx, [ebp - 0x498]
push edx
mov ecx, dword [ebp - 0x4a4]
call fcn.004c1f40
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp - 0x4ac]
mov dword [ebp - 0x4b0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4b0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004c4f10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x498]
call fcn.0047caf0
push 0x692aec
mov ecx, dword [ebp + 8]
call fcn.004c4ef0
push 0
mov ecx, dword [ebp + 8]
call fcn.0047ca20
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x4a0], eax
cmp dword [ebp - 0x4a0], 0
je 0x4c1dc0
cmp dword [ebp - 0x4a0], 0x50
je 0x4c1dc0
cmp dword [ebp - 0x4a0], 0xb7
je 0x4c1dc0
jmp 0x4c1dff
mov byte [ebp - 0x499], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.0047caf0
mov al, byte [ebp - 0x499]
jmp 0x4c1e3c
mov byte [ebp - 0x49a], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.0047caf0
mov al, byte [ebp - 0x49a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret 4
Function at 0x4c33b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611388
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x28]
call fcn.0047cc30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0047cc30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0047cc30
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.004c1c30
push 1
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x8c]
call fcn.004c2160
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
push edx
lea ecx, [ebp - 0x58]
call fcn.0047cb40
lea ecx, [ebp - 0x70]
call fcn.0047caf0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004c4f10
push 0x6936a0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.004ca250
add esp, 0xc
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x40]
call fcn.0047cb40
lea ecx, [ebp - 0x88]
call fcn.0047caf0
lea ecx, [ebp - 0x28]
call fcn.0047ca20
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 0x40]
call fcn.0047ca20
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4c8450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611758
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x4c8490
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3e]
test edx, edx
jne 0x4c849c
mov al, 1
jmp 0x4c8644
mov dword [ebp - 0x44], 8
call fcn.004b1650
movzx eax, ax
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov word [ebp - 0x36], ax
call fcn.004b1650
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x36]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.004b15c0
add esp, 8
movzx eax, al
test eax, eax
je 0x4c84e4
xor al, al
jmp 0x4c8644
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0048be90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x28]
call fcn.0048ba70
mov ecx, eax
call fcn.0047de40
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.0048b7c0
add esi, eax
push esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0048ba70
mov ecx, eax
call fcn.0047de40
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.00493720
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4c855f
cmp dword [ebp - 0x3c], 1
je 0x4c8566
cmp dword [ebp - 0x3c], 3
je 0x4c8600
jmp 0x4c8618
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3e], 0
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0048ba70
mov ecx, eax
call fcn.0047de40
mov edx, dword [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x4c85c9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x28]
call fcn.0048ba70
mov ecx, eax
call fcn.0047de40
push eax
call fcn.005eb3a8
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x4c85c9
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0048bcd0
mov al, byte [ebp - 0x2d]
jmp 0x4c8644
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3e]
test edx, edx
jne 0x4c85ec
mov byte [ebp - 0x2e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0048bcd0
mov al, byte [ebp - 0x2e]
jmp 0x4c8644
cmp dword [ebp - 0x34], 0
jne 0x4c85fe
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00491180
jmp 0x4c8630
mov byte [ebp - 0x2f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0048bcd0
mov al, byte [ebp - 0x2f]
jmp 0x4c8644
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0048bcd0
mov al, byte [ebp - 0x30]
jmp 0x4c8644
jmp 0x4c84f7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4d5900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x4d5909
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d594c
mov eax, dword [ebp - 8]
jmp 0x4d59b2
cmp dword [ebp - 0xc], 1
je 0x4d595f
cmp dword [ebp - 0xc], 2
je 0x4d595f
mov eax, 0xd
jmp 0x4d59b2
cmp dword [ebp + 0xc], 0
je 0x4d59a6
cmp dword [ebp - 4], 0
je 0x4d5995
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x4d598c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x4d5993
mov eax, 0xd
jmp 0x4d59b2
jmp 0x4d59a6
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4d59c0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
lea ecx, [ebp - 0xc]
push ecx
push 0x6a63f4
push 1
push 0
push 0x6a6448
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4d5a1a
mov edx, dword [ebp - 4]
push edx
push 0x69a33c
call fcn.004cbc00
add esp, 8
jmp 0x4d5a76
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4d5a4a
mov edx, dword [ebp - 4]
push edx
push str.get_LocalPolicy_failed:_0x_08lx_n
call fcn.004cbc00
add esp, 8
jmp 0x4d5a76
mov eax, dword [ebp + 8]
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 - 4], eax
cmp dword [ebp - 4], 0
jge 0x4d5a76
mov edx, dword [ebp - 4]
push edx
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.004cbc00
add esp, 8
cmp dword [ebp - 8], 0
je 0x4d5a8a
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0xc], 0
je 0x4d5a9e
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret