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

Disassembly:
sub esp, 8
push esi
mov esi, eax
mov dword [esp + 4], 0
test esi, esi
je 0x94c03e
cmp dword [esi], 0
jbe 0x94c03e
test edi, edi
je 0x94c03e
mov byte [edi], 0
lea eax, [esp + 4]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x94c063
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop esi
add esp, 8
ret 4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 4]
test esi, esi
je 0x94c0a9
test eax, eax
je 0x94c099
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop esi
add esp, 8
ret 4
test eax, eax
je 0x94c0bc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 4], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, 1
pop esi
add esp, 8
ret 4

Function at 0x94c0d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 1
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x94c106
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
add esp, 0xc
ret 8
mov ecx, dword [esp + 0x14]
push esi
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 4]
test esi, esi
je 0x94c155
test eax, eax
je 0x94c145
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop esi
add esp, 0xc
ret 8
test eax, eax
je 0x94c168
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 4], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, 1
pop esi
add esp, 0xc
ret 8

Function at 0x94c180
Capabilities:
Delete registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 2
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x94c1aa
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop ecx
ret 4
mov eax, dword [esp + 8]
mov ecx, dword [esp]
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov eax, dword [esp + 4]
test esi, esi
je 0x94c1e5
test eax, eax
je 0x94c1d7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop esi
pop ecx
ret 4
test eax, eax
je 0x94c1f8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 4], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x94c210
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
test eax, eax
je 0x94c23f
mov dword [eax], 0
lea eax, [esp + 8]
push eax
push 1
push 0
push 0xaa21e4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x94c26d
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push ebp
push eax
call ebx
test eax, eax
jne 0x94c317
mov eax, dword [esp + 0x10]
test eax, eax
je 0x94c317
add eax, 0x50
push 1
push eax
call fcn.00a7b9f8
mov ecx, dword [esp + 0x14]
mov esi, eax
add esp, 8
test esi, esi
jne 0x94c2c2
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
lea edx, [esp + 0x10]
push edx
push esi
lea eax, [esp + 0x1c]
push eax
push 0
push ebp
push ecx
call ebx
test eax, eax
je 0x94c2f4
push esi
call fcn.00a78fec
mov edx, dword [esp + 0x10]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
mov eax, dword [esp + 0x20]
test eax, eax
je 0x94c303
mov ecx, dword [esp + 0x10]
dec ecx
mov dword [eax], ecx
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
Function at 0x94c620
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xfffffffffffffffe
push 0xb0e5e0
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x11c], bl
push 0x103
push ebx
lea eax, [ebp - 0x11b]
push eax
call fcn.00a7ffb0
mov byte [ebp], bl
push 0x103
push ebx
lea ecx, [ebp + 1]
push ecx
call fcn.00a7ffb0
add esp, 0x18
cmp edi, ebx
je 0x94c7d3
cmp byte [edi], bl
je 0x94c7d3
push 0x5c
push edi
call fcn.00a7a2c0
add esp, 8
test eax, eax
jne 0x94c7ab
call fcn.00968110
test eax, eax
je 0x94c731
lea esi, [ebp - 0x11c]
call fcn.00977720
cmp byte [ebp - 0x11c], bl
je 0x94c731
mov ecx, esi
lea edx, [ebp]
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x94c6e0
lea ecx, [ebp]
call fcn.00960910
mov eax, edi
mov edx, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x94c6f6
sub eax, edx
lea edi, [ebp]
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x94c703
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edx, [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], 0xfffffffe
jmp 0x94c7dc
push 0x104
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp byte [ebp - 0x11c], bl
je 0x94c7ab
lea ecx, [ebp - 0x11c]
lea edx, [ebp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x94c754
lea ecx, [ebp]
call fcn.00960910
mov eax, edi
mov edx, edi
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x94c770
sub eax, edx
lea edi, [ebp]
dec edi
lea ecx, [ecx]
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x94c780
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], 0xfffffffe
jmp 0x94c7dc
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], 0xfffffffe
jmp 0x94c7dc
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.00a78f21
add ebp, 0x108
mov esp, ebp
pop ebp
ret
Function at 0x94cce0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x120
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
push edi
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
push str.NoModify2500
mov ecx, str.SoftwareMicroWorld
mov edx, 0x80000002
xor edi, edi
mov dword [esp + 0x1c], ebx
call fcn.0094c0d0
cmp dword [esp + 0x14], ebx
jne 0x94cece
call fcn.0094cef0
mov esi, eax
cmp esi, 7
jb 0x94cece
push 0x103
lea ecx, [esp + 0x21]
push ebx
push ecx
mov byte [esp + 0x28], bl
call fcn.00a7ffb0
add esp, 0xc
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x1c]
mov edx, 0x80000002
cmp esi, 0xb
jb 0x94cdfa
mov esi, str.2500
call fcn.0095f910
cmp eax, 1
jne 0x94cd7c
mov edi, eax
call fcn.00968110
test eax, eax
je 0x94cece
call fcn.00968110
test eax, eax
jne 0x94cdaf
lea eax, [esp + 0xc]
push eax
push 0xf003f
push ebx
lea ecx, [esp + 0x28]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x94cdc8
lea edx, [esp + 0xc]
push edx
push 0xf013f
lea eax, [esp + 0x24]
push eax
push 0x80000002
call fcn.0097eda0
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
jne 0x94cece
mov ecx, dword [esp + 0xc]
push str.2500
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x94cdf0
lea edi, [eax + 1]
mov edx, dword [esp + 0xc]
push edx
jmp 0x94cec8
lea eax, [esp + 0x10]
push eax
push str.2500
call fcn.0094c0d0
test al, al
jne 0x94ce24
xor eax, eax
mov esi, str.2500
lea ebx, [esp + 0x1c]
mov ecx, 0x80000002
call fcn.0094be90
xor ebx, ebx
call fcn.00968110
test eax, eax
je 0x94cece
call fcn.00968110
test eax, eax
jne 0x94ce57
lea ecx, [esp + 0xc]
push ecx
push 0xf003f
push ebx
lea edx, [esp + 0x28]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x94ce70
lea eax, [esp + 0xc]
push eax
push 0xf013f
lea ecx, [esp + 0x24]
push ecx
push 0x80000002
call fcn.0097eda0
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
jne 0x94cece
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push str.2500
push ecx
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x94cec3
mov eax, dword [esp + 0xc]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push ebx
push str.2500
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x128]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00a78f21
add esp, 0x120
ret
Function at 0x94cfd0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x320
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x31c], eax
mov eax, dword [0xbfb434]
push ebx
xor ebx, ebx
cmp eax, ebx
ja 0x94d136
push 0x103
lea eax, [esp + 9]
push ebx
push eax
mov byte [esp + 0x10], bl
call fcn.00a7ffb0
push 0x103
lea ecx, [esp + 0x225]
push ebx
push ecx
mov byte [esp + 0x22c], bl
call fcn.00a7ffb0
push 0x103
lea edx, [esp + 0x129]
push ebx
push edx
mov byte [esp + 0x130], bl
call fcn.00a7ffb0
push 0x104
lea eax, [esp + 0x2c]
push eax
push 0xaa1543
mov edx, str.Version
mov ecx, 0xaa154c
call fcn.00958d30
add esp, 0x30
cmp byte [esp + 4], bl
je 0x94d08a
lea ecx, [esp + 4]
push 0x2e
push ecx
call fcn.00a7a2c0
add esp, 8
cmp eax, ebx
je 0x94d078
mov byte [eax], bl
lea edx, [esp + 4]
push edx
call fcn.00a79090
add esp, 4
mov dword [0xbfb434], eax
cmp dword [0xbfb434], ebx
jne 0x94d131
lea ebx, [esp + 0x214]
call fcn.009541a0
cmp eax, 1
jne 0x94d131
mov eax, ebx
push eax
lea ecx, [esp + 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x10c]
call fcn.00960910
push str.verinfo.ini
lea edx, [esp + 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x10c]
push eax
push 0x104
lea ecx, [esp + 0xc]
push ecx
push 0xaa1543
push str.Version
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 4], 0
je 0x94d131
lea edx, [esp + 4]
push 0x2e
push edx
call fcn.00a7a2c0
add esp, 8
test eax, eax
je 0x94d11f
mov byte [eax], 0
lea eax, [esp + 4]
push eax
call fcn.00a79090
add esp, 4
mov dword [0xbfb434], eax
mov eax, dword [0xbfb434]
mov ecx, dword [esp + 0x320]
pop ebx
xor ecx, esp
call fcn.00a78f21
add esp, 0x320
ret
Function at 0x94d300
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb10758
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
mov edi, edx
mov dword [ebp - 0x230], edi
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x22c], 0xffffffff
mov dword [ebp - 0x234], eax
cmp edi, eax
je 0x94d390
cmp edi, 0xffffffff
je 0x94d390
mov esi, edi
mov dword [ebp - 0x22c], esi
push 1
push eax
push eax
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
call ebx
mov dword [ebp - 0x234], eax
push 0
push 0
push 0
push edi
call ebx
jmp 0x94d41d
cmp ebx, eax
je 0x94d52f
cmp byte [ebx], 0
je 0x94d52f
push ebx
push str._s:Zone.Identifier
lea eax, [ebp - 0x228]
push eax
call fcn.00a78f30
add esp, 0xc
push 0x80
push 3
push 3
push 0x80000000
lea edi, [ebp - 0x228]
call fcn.0094db00
add esp, 0x10
mov esi, eax
mov dword [ebp - 0x22c], esi
cmp esi, 0xffffffff
jne 0x94d417
push ebx
push str._s:ESZone.Identifier
mov ecx, edi
push ecx
call fcn.00a78f30
add esp, 0xc
push 0x80
push 3
push 3
push 0x80000000
call fcn.0094db00
add esp, 0x10
mov esi, eax
mov dword [ebp - 0x22c], esi
cmp esi, 0xffffffff
je 0x94d52f
mov edi, dword [ebp - 0x230]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test ebx, ebx
je 0x94d4d2
mov dword [ebp - 0x23c], 0
lea eax, [ebx + ebx + 1]
push eax
call fcn.00a7a155
add esp, 4
mov edi, eax
test edi, edi
je 0x94d4cc
lea eax, [ebx + ebx + 1]
push eax
push 0
push edi
call fcn.00a7ffb0
add esp, 0xc
push 0
lea edx, [ebp - 0x23c]
push edx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x94d4c3
push 0
push str.ZoneId
push edi
call fcn.0095c8c0
add esp, 0xc
cmp eax, 0xffffffff
je 0x94d4c3
lea eax, [eax + edi + 6]
push 0x3d
push eax
call fcn.00a7a2c0
add esp, 8
mov esi, eax
test esi, esi
je 0x94d4c3
inc esi
push esi
call fcn.0095ad70
add esp, 4
push esi
call fcn.00a79090
add esp, 4
mov dword [ebp - 0x238], eax
push edi
call fcn.00a78fec
add esp, 4
mov edi, dword [ebp - 0x230]
test edi, edi
je 0x94d4fc
cmp edi, 0xffffffff
je 0x94d4fc
push 0
push 0
mov eax, dword [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x238]
jmp 0x94d538
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00985290
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x238]
jmp 0x94d538
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
Function at 0x94d970
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x118], eax
cmp dword [0xbfc9d0], 0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], 0
jne 0x94d9b8
mov esi, 1
mov dword [0xbfc9d0], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x94d9b8
cmp al, 6
jb 0x94d9b8
mov dword [0xbfc9d4], esi
mov ebp, dword [0xbfc9d4]
lea eax, [esp + 0x14]
push eax
push str.Debug
mov ecx, 0xaa21e4
mov edx, 0x80000002
call fcn.0094c0d0
cmp dword [esp + 0x14], 0
je 0x94d9ef
push 0
push str.EnableDisableWindowsFirewall____u
push 0
call fcn.0096a780
add esp, 0xc
call fcn.009686d0
test eax, eax
je 0x94dae6
call fcn.00963620
cmp eax, 2
jle 0x94da0e
test ebp, ebp
je 0x94dae6
push 0x103
lea ecx, [esp + 0x21]
push 0
push ecx
call fcn.00a7ffb0
mov ecx, 8
mov esi, str.netsh_firewall_set_opmode_disable
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
add esp, 0xc
xor eax, eax
mov esi, str.WinFW
mov ebx, str.SOFTWAREMicroWorld
mov ecx, 0x80000002
call fcn.0094be90
test al, al
jne 0x94da66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push str.Error_setting_WinFW_value_to__u__LastError:__u
push 0
call fcn.0096a780
add esp, 0x10
cmp dword [esp + 0x14], 0
je 0x94daa2
lea edx, [esp + 0x18]
push edx
push str.WinFW
mov ecx, str.SoftwareMicroWorld
mov edx, 0x80000002
mov dword [esp + 0x20], 0xffffffff
call fcn.0094c0d0
mov eax, dword [esp + 0x18]
push eax
push str.WinFW:__d
push 0
call fcn.0096a780
add esp, 0xc
push 2
lea ecx, [esp + 0x20]
push 1
push ecx
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
call fcn.0095dfe0
add esp, 0xc
test ebp, ebp
je 0x94dae6
push 2
lea edx, [esp + 0x20]
mov ecx, 0xb
mov esi, str.netsh_advfirewall_set_allprofiles_state_off
lea edi, [esp + 0x20]
push 1
rep movsd dword es:[edi], dword [esi]
push edx
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
call fcn.0095dfe0
add esp, 0xc
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00a78f21
add esp, 0x11c
ret
Function at 0x94dd20
Capabilities:
Delete file
Set file attributes

Disassembly:
push edi
mov edi, eax
test edi, edi
je 0x94de0b
cmp byte [edi], 0
je 0x94de0b
inc eax
cmp byte [eax], 0
jne 0x94dd34
sub eax, edi
push ebx
push esi
cmp eax, 0x104
jbe 0x94dd67
mov eax, edi
inc eax
cmp byte [eax], 0
jne 0x94dd47
sub eax, edi
lea esi, [eax + eax + 0x20]
lea eax, [esi + 0x10]
push 1
push eax
call fcn.00a7b9f8
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x94dd98
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x94dd92
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x94dd92
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call ebx
mov esi, eax
mov eax, esi
pop esi
pop ebx
pop edi
ret
cmp byte [edi], 0x5c
jne 0x94ddbe
cmp byte [edi + 1], 0x5c
jne 0x94ddbe
shr esi, 1
lea eax, [edi + 2]
dec esi
cmp byte [eax], 0x3f
jne 0x94ddb6
push edi
push 0xad5e04
jmp 0x94ddc7
push eax
push 0xae8f78
jmp 0x94ddc7
push edi
shr esi, 1
push str.__S
dec esi
push esi
push ebx
call fcn.00a7be23
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x10
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x94ddfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x94ddfc
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call edi
mov esi, eax
push ebx
call fcn.00a78fec
add esp, 4
mov eax, esi
pop esi
pop ebx
pop edi
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
ret

Function at 0x94de20
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
je 0x94df2e
cmp word [ebx], 0
je 0x94df2e
lea edx, [eax + 2]
jmp 0x94de40
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x94de40
sub eax, edx
sar eax, 1
push esi
push edi
cmp eax, 0x104
jbe 0x94de87
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x94de60
sub eax, edx
sar eax, 1
lea esi, [eax + eax + 0x20]
lea eax, [esi + 0x10]
push 1
push eax
call fcn.00a7b9f8
mov edi, eax
add esp, 8
test edi, edi
jne 0x94deb8
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x94deb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x94deb2
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call edi
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
ret
cmp word [ebx], 0x5c
jne 0x94dee1
cmp word [ebx + 2], 0x5c
jne 0x94dee1
shr esi, 1
lea eax, [ebx + 4]
dec esi
cmp word [eax], 0x3f
jne 0x94ded9
push ebx
push 0xae8fa0
jmp 0x94deea
push eax
push str._UNC_s
jmp 0x94deea
push ebx
shr esi, 1
push str.__s
dec esi
push esi
push edi
call fcn.00a7be23
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x10
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x94df1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x94df1f
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call ebx
mov esi, eax
push edi
call fcn.00a78fec
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebx
ret
Function at 0x9512a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push str.EnableDHCP
mov ecx, str.SYSTEMCurrentControlSetServicesTcpipParameters
mov edx, 0x80000002
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
call fcn.0094c0d0
test al, al
je 0x951306
cmp dword [esp + 0xc], ebx
je 0x951306
lea eax, [ebx + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
push ecx
push 9
push ebx
push str.SYSTEMCurrentControlSetServicesTcpipParametersInterfaces
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
jne 0x951411
push 0x207
lea edx, [esp + 0x2d]
push ebx
push edx
call fcn.00a7ffb0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x3c]
push edx
push ebx
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
xor edi, edi
mov byte [esp + 0x48], bl
mov dword [esp + 0x38], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x951411
mov edi, edi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 9
push ebx
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
jne 0x9513de
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
push str.EnableDHCP
push eax
mov dword [esp + 0x3c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xc], ebx
jne 0x951411
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
inc edi
push edi
push edx
mov byte [esp + 0x48], bl
mov dword [esp + 0x38], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x951380
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x951420
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x234]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret