joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a79d0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x100c9380]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x100a7b4c
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100a7b39
cmp dword [ebp - 0x28], 0x10
jb 0x100a7b1d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.100aa808
cmp dword [ebp - 0x1c], eax
jne 0x100a7b1d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.100aa808
cmp dword [ebp - 0x20], eax
je 0x100a7b1d
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100a7aa4
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x100da614]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.100aa808
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100a7aa2
jmp 0x100a7b39
jmp 0x100a7afd
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x100a7afd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x100da614]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.100aa808
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100a7ae7
jmp 0x100a7b39
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100a7a23
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100aa808
push edx
mov ecx, ebp
push eax
lea edx, [0x100a7b78]
call fcn.100aa7b4
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9d26
add esp, 0x30
cmp ebp, esp
call fcn.100aa808
mov esp, ebp
pop ebp
ret
Function at 0x100a7b90
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.100a79d0
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x100a7c5b
mov dword [ebp - 4], 0
jmp 0x100a7bec
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x100a7c5b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100aa808
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100a7c59
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.100aa808
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.100a77f0
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100aa808
jmp 0x100a7be3
pop esi
add esp, 8
cmp ebp, esp
call fcn.100aa808
mov esp, ebp
pop ebp
ret

Function at 0x100a7c70
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100a7d1b
mov dword [ebp - 4], 0
jmp 0x100a7ca3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x100a7cfe
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100aa808
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100a7cfc
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.100aa808
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100aa808
jmp 0x100a7c9a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x100da614]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.100aa808
pop esi
add esp, 8
cmp ebp, esp
call fcn.100aa808
mov esp, ebp
pop ebp
ret
Function at 0x100a7d30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x100faba0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100a7d93
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100aa808
test eax, eax
jne 0x100a7dbe
mov eax, 0xa
jmp 0x100a7ec0
cmp dword [ebp + 0xc], 0
je 0x100a7e0a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x100a7e08
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x100a7e46
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100a7e31
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x100a7e46
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100aa808
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.100aa808
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.100aa808
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x100a7ee4]
call fcn.100aa7b4
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.100aa808
mov esp, ebp
pop ebp
ret
Function at 0x100a85b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x100fab94]
mov dword [ebp - 4], eax
jmp 0x100a85d7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100a85f0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100a85ee
mov eax, dword [ebp - 4]
jmp 0x100a8674
jmp 0x100a85cf
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.100aa808
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100a8671
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x100a8633
mov edx, dword [ebp - 4]
mov eax, dword [0x100fab94]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100fab94], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.100aa808
mov esp, ebp
pop ebp
ret

Function at 0x100a8b60
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x100a8bb0
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x100a8bb0
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x100a8bb0
xor eax, eax
jmp 0x100a8bf1
mov dword [ebp - 4], 1
jmp 0x100a8bc2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100a8bec
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x100a8bea
xor eax, eax
jmp 0x100a8bf1
jmp 0x100a8bb9
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x421da0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x88
mov eax, dword [0x6c6f60]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, dword [esp + 0x94]
mov ebx, dword [ebp]
push esi
mov esi, dword [ebp + 0x420]
push edi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x80
mov edx, dword [esi + 0x154]
mov eax, dword [esi + 0x15c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
push 0
add edx, 4
lea edi, [esi + 0x15c]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x421e2f
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0xc8]
push ecx
call fcn.005e2940
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 0x148], edx
mov edx, dword [esi + 0x14c]
cmp edx, 4
jge 0x421e6a
push str.Received_too_short_packet
push ebx
call fcn.0040c610
add esp, 8
mov dword [esi + 0xc], 7
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c950e
add esp, 0x88
ret
mov eax, edi
call fcn.00420cb0
movzx eax, ax
mov dword [esi + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x421e83
jmp dword [eax*4 + 0x421f6c]
cmp edx, 4
jle case.0x421e83.4
mov eax, edi
call fcn.00420cc0
movzx ecx, word [esi + 0x40]
inc ecx
cmp cx, ax
jne case.0x421e83.4
add edx, 0xfffffffc
push edx
mov edx, dword [edi]
add edx, 4
push edx
push 1
push ebp
call fcn.0040cad0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x421ed6
mov ecx, 5
mov eax, esi
call fcn.00421d20
mov eax, edi
jmp 0x421e51
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [ebx + 0x70], eax
mov ecx, dword [ebx + 0x70]
adc dword [ebx + 0x74], edx
mov eax, dword [ebx + 0x74]
push eax
push ecx
push ebx
call fcn.00415660
jmp 0x421f42
mov eax, edi
call fcn.00420cc0
movzx edx, ax
mov eax, dword [edi]
add eax, 4
push eax
push 0x625380
push ebx
mov dword [esi + 8], edx
call fcn.0040c580
jmp 0x421f42
mov ecx, dword [edi]
add edx, 0xfffffffe
push edx
add ecx, 2
push ecx
push esi
call fcn.00420d50
add esp, 0xc
test eax, eax
je case.0x421e83.4
jmp 0x421e51
push str.Internal_error:_Unexpected_packet
push 0x6a669c
push ebx
call fcn.0040c610
add esp, 0xc
push ebp
call fcn.00415740
add esp, 4
test eax, eax
je 0x421e4f
mov ecx, 5
mov eax, esi
call fcn.00421d20
mov eax, 0x2a
jmp 0x421e51

Function at 0x4237f0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x6c6f60]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x423825
push eax
push str.WSAStartup_failed___d_
push esi
call fcn.0040c610
add esp, 0xc
jmp 0x42385e
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp]
cmp al, 2
jne 0x423850
shr eax, 8
test al, al
jne 0x423850
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.005c950e
add esp, 0x194
ret
push str.insufficient_winsock_version_to_support_telnet
push esi
call fcn.0040c610
add esp, 8
mov ecx, dword [esp + 0x190]
xor ecx, esp
mov eax, 2
call fcn.005c950e
add esp, 0x194
ret
Function at 0x4356a0
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x4356d2
push 0x2e
push esi
call fcn.005e48f0
add esp, 8
test eax, eax
je 0x4356d0
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret

Function at 0x4370a0
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, eax
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x4370c2
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x4370b6
xor eax, eax
pop edi
ret
mov eax, dword [eax + 8]
push eax
push edi
push 1
push ebx
call ecx
jmp 0x4370f2
cmp dword [esi + 8], 0
jne 0x4370e5
mov ecx, dword [eax + 8]
push 0x6a6700
push ecx
call fcn.005ec2cc
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x4370e5
or eax, 0xffffffff
pop edi
ret
mov edx, dword [esi + 8]
push edx
push edi
push 1
push ebx
call fcn.005f6105
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x437114
mov eax, dword [esi + 8]
test eax, eax
je 0x43710e
push eax
call fcn.005e7e28
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, edi
pop edi
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 0x6a63fc
push 1
push 0
push 0x6a6450
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 0x69a344
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
Function at 0x4d7a90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6123eb
mov eax, dword fs:[0]
push eax
sub esp, 0x234
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], 0
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005e2ec0
add esp, 0xc
mov dword [ebp - 0x23c], 0x104
mov dword [ebp - 0x240], 1
push 0x69b468
lea ecx, [ebp - 0x230]
call fcn.0048b540
mov byte [ebp - 4], 2
lea edx, [ebp - 0x234]
push edx
push 0xf003f
push 0
lea ecx, [ebp + 0x10]
call fcn.0047ca20
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d7b88
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x240]
push eax
push 0
lea ecx, [ebp + 0x28]
call fcn.0047ca20
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d7b7b
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x230]
call fcn.0047ca60
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0049cd00
mov edx, dword [ebp - 0x238]
or edx, 1
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.0047caf0
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.005c950e
mov esp, ebp
pop ebp
ret

Function at 0x4d7bf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.005e2ec0
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
mov dword [ebp - 0x218], 1
mov byte [ebp - 0x20d], 0
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp + 0xc]
call fcn.0047ca20
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4d7ca6
lea ecx, [ebp + 0x3c]
call fcn.0048b7c0
shl eax, 1
push eax
lea ecx, [ebp + 0x3c]
call fcn.0047ca20
push eax
mov ecx, dword [ebp - 0x218]
push ecx
push 0
lea ecx, [ebp + 0x24]
call fcn.0047ca20
push eax
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4d7c99
mov byte [ebp - 0x20d], 1
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov cl, byte [ebp - 0x20d]
mov byte [ebp - 0x20e], cl
lea ecx, [ebp + 0xc]
call fcn.0047caf0
lea ecx, [ebp + 0x24]
call fcn.0047caf0
lea ecx, [ebp + 0x3c]
call fcn.0047caf0
mov al, byte [ebp - 0x20e]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4d8b00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61251b
mov eax, dword fs:[0]
push eax
mov eax, 0x4044
call fcn.005ca540
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 - 0x4048], 0
push 0x6764f7
lea ecx, [ebp - 0x403c]
call fcn.0048bf00
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x4024], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4022]
push ecx
call fcn.005e2ec0
add esp, 0xc
mov dword [ebp - 0x4044], 0
mov dword [ebp - 0x404c], 0
lea edx, [ebp - 0x404c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x4044], eax
cmp dword [ebp - 0x4044], 0
je 0x4d8c8c
lea ecx, [ebp - 0x4024]
push ecx
mov edx, dword [ebp - 0x4044]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4d8c8c
mov dword [ebp - 0x4040], 0
mov dword [ebp - 0x4050], 0
lea ecx, [ebp - 0x4050]
push ecx
lea edx, [ebp - 0x4040]
push edx
push 0x69b5d8
lea eax, [ebp - 0x4024]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4d8c8c
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x23], ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov word [ebp - 0x13], cx
mov byte [ebp - 0x11], cl
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 0xc]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
push 0x69b5dc
lea edx, [ebp - 0x24]
push edx
call fcn.004da790
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x403c]
call fcn.004a8ec0
lea ecx, [ebp - 0x403c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0048be10
mov edx, dword [ebp - 0x4048]
or edx, 1
mov dword [ebp - 0x4048], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x403c]
call fcn.0048bcd0
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.005c950e
mov esp, ebp
pop ebp
ret