joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006090
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
lea eax, [ebp - 4]
mov bl, cl
push eax
push str.SOFTWAREWebzenMuConfig
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push 4
lea eax, [ebp - 8]
movzx esi, bl
push eax
push 4
push 0
push str.Resolution
push dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [0x10074c54], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 9
ja case.default.0x100060e4
jmp dword [esi*4 + 0x10006178]
push str..Settings.ini
push 0x100339d8
jmp 0x10006161
push str..Settings.ini
push 0x100339dc
jmp 0x10006161
push str..Settings.ini
push 0x100339e0
jmp 0x10006161
push str..Settings.ini
push 0x100339e4
jmp 0x10006161
push str..Settings.ini
push 0x100339e8
jmp 0x10006161
push str..Settings.ini
push 0x100339ec
jmp 0x10006161
push str..Settings.ini
push 0x100339f0
jmp 0x10006161
push str..Settings.ini
push 0x100339f4
jmp 0x10006161
push str..Settings.ini
push 0x100339f8
jmp 0x10006161
push str..Settings.ini
push 0x100339fc
push str.ChangeResolution
push str.Interface
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000c660
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1000c683
call fcn.1000bbb0
push 0
push 0
push 0
push 0x1000c620
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x1000c810
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 6
call fcn.10019470
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, eax
add esp, 4
mov dword [ebp - 4], 0
mov eax, 0x90909090
mov dword [ebx], eax
mov word [ebx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x74a128
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1000c87e
mov eax, dword [ebx]
mov ecx, 0x74a128
mov dword [ecx], eax
mov ax, word [ebx + 4]
mov word [ecx + 4], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 6
push ecx
call esi
test eax, eax
jne 0x1000c880
call edi
mov eax, 0x1000c690
mov byte [ebp - 0x10], 0xe9
sub eax, 0x74a12d
mov dword [ebp - 4], 0
mov dword [ebp - 0xf], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x74a128
call esi
test eax, eax
je 0x1000c8d2
mov eax, dword [ebp - 0x10]
mov ecx, 0x74a128
mov dword [ecx], eax
mov al, byte [ebp - 0xc]
mov byte [ecx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 5
push ecx
call esi
test eax, eax
jne 0x1000c8d4
call edi
push 6
call fcn.10019470
mov ebx, eax
mov dword [ebp - 4], 0
add esp, 4
mov eax, 0x90909090
mov dword [ebx], eax
mov word [ebx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x749dcc
call esi
test eax, eax
je 0x1000c92d
mov eax, dword [ebx]
mov ecx, 0x749dcc
mov dword [ecx], eax
mov ax, word [ebx + 4]
mov word [ecx + 4], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 6
push ecx
call esi
test eax, eax
jne 0x1000c92f
call edi
mov eax, 0x1000c720
mov byte [ebp - 0x10], 0xe9
sub eax, 0x749dd1
mov dword [ebp - 4], 0
mov dword [ebp - 0xf], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x749dcc
call esi
test eax, eax
je 0x1000c981
mov eax, dword [ebp - 0x10]
mov ecx, 0x749dcc
mov dword [ecx], eax
mov al, byte [ebp - 0xc]
mov byte [ecx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 5
push ecx
call esi
test eax, eax
jne 0x1000c983
call edi
push 6
call fcn.10019470
mov ebx, eax
mov dword [ebp - 4], 0
add esp, 4
mov eax, 0x90909090
mov dword [ebx], eax
mov word [ebx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x56595e
call esi
test eax, eax
je 0x1000c9dc
mov eax, dword [ebx]
mov ecx, 0x56595e
mov dword [ecx], eax
mov ax, word [ebx + 4]
mov word [ecx + 4], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 6
push ecx
call esi
test eax, eax
jne 0x1000c9de
call edi
mov eax, 0x1000c7a0
mov byte [ebp - 0x10], 0xe9
sub eax, 0x565963
mov dword [ebp - 4], 0
mov dword [ebp - 0xf], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x56595e
call esi
test eax, eax
je 0x1000ca30
mov eax, dword [ebp - 0x10]
mov ecx, 0x56595e
mov dword [ecx], eax
mov al, byte [ebp - 0xc]
mov byte [ecx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 5
push ecx
call esi
test eax, eax
jne 0x1000ca32
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000d310
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 4
call fcn.10019470
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
mov ebx, eax
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x7e7827
mov dword [ebx], 0x90909090
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1000d371
mov eax, dword [ebx]
mov ecx, 0x7e7827
mov dword [ecx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 4
push ecx
call esi
test eax, eax
jne 0x1000d373
call edi
mov eax, 0x1000d150
mov byte [ebp - 0x10], 0xe9
sub eax, 0x7e782c
mov dword [ebp - 4], 0
mov dword [ebp - 0xf], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x7e7827
call esi
test eax, eax
je 0x1000d3c5
mov eax, dword [ebp - 0x10]
mov ecx, 0x7e7827
mov dword [ecx], eax
mov al, byte [ebp - 0xc]
mov byte [ecx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 5
push ecx
call esi
test eax, eax
jne 0x1000d3c7
call edi
push 0xa
call fcn.10019470
mov ebx, eax
mov dword [ebp - 4], 0
mov eax, 0x90909090
add esp, 4
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov word [ebx + 8], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push 0x5f479e
call esi
test eax, eax
je 0x1000d429
mov eax, dword [ebx]
mov ecx, 0x5f479e
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov ax, word [ebx + 8]
mov word [ecx + 8], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 0xa
push ecx
call esi
test eax, eax
jne 0x1000d42b
call edi
mov eax, 0x1000d260
mov byte [ebp - 0x10], 0xe9
sub eax, 0x5f47a3
mov dword [ebp - 4], 0
mov dword [ebp - 0xf], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x5f479e
call esi
test eax, eax
je 0x1000d47d
mov eax, dword [ebp - 0x10]
mov ecx, 0x5f479e
mov dword [ecx], eax
mov al, byte [ebp - 0xc]
mov byte [ecx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 5
push ecx
call esi
test eax, eax
jne 0x1000d47f
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10018b00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 0xc]
mov byte [edi], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10018b40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movsd qword [edi], xmm0
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10018b80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 8]
cmp al, 0xff
je 0x10018ba0
mov byte [esi], al
mov eax, dword [ebp + 0x10]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10018bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push dword [ebp + 0xc]
push edi
call fcn.1001c1e0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10018c00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x90
push ebx
call fcn.1001a590
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10021062
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10072e38]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100210a2
cmp byte [ebx], 0xa
jne 0x100210a2
or byte [eax + edi + 0x28], 4
jmp 0x100210a7
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100211a5
mov al, byte [edx]
cmp al, 0x1a
je 0x10021187
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x100210d6
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x100210fb
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x10021105
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x100210b8
jmp 0x100211a5
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10021182
cmp dword [ebp - 0xc], 0
je 0x10021182
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x10072e38]
test byte [eax + edi + 0x28], 0x48
je 0x1002115c
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10021147
mov byte [esi], dl
jmp 0x10021158
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10072e38]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100211a5
cmp byte [ebp - 1], 0xa
jne 0x1002116b
cmp esi, ebx
jne 0x1002116b
mov byte [esi], 0xa
jmp 0x100211a4
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10027185
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100211a5
mov byte [esi], 0xd
jmp 0x100211a4
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x10072e38]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100211a1
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100211a5
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100211ae
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x10072e38]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100211f1
cmp word [esi], dx
jne 0x100211f1
or byte [edi + eax + 0x28], 4
jmp 0x100211f6
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x10021349
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x10021329
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x10021238
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1002126e
cmp eax, edx
jae 0x1002127a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x10021210
jmp 0x10021349
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10021325
cmp dword [ebp - 0x14], 0
je 0x10021325
mov eax, dword [ebx*4 + 0x10072e38]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100212fd
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x100212c6
mov word [esi], cx
jmp 0x100212f9
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10072e38]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x10072e38]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10072e38]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x10021349
pop ebx
cmp word [ebp - 4], bx
jne 0x1002130e
cmp esi, dword [ebp + 0xc]
jne 0x1002130e
mov word [esi], bx
jmp 0x10021346
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10027185
add esp, 0x10
cmp word [ebp - 4], bx
je 0x10021349
push 0xd
jmp 0x10021342
mov ecx, dword [ebx*4 + 0x10072e38]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10021340
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10021349
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10021b6a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100219db
Function at 0x10024443
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100244e0
push ebx
push esi
call fcn.1002440c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10024355
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002448d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100244df
push edi
push eax
call fcn.10020abb
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100244ad
call fcn.10020b09
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100244de
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10024355
add esp, 0x20
test eax, eax
jne 0x100244cc
push edi
call fcn.10020b09
jmp 0x100244d4
push ebx
call fcn.10020b09
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002474b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002fb30
push 0x1002fb28
push str.FlsAlloc
push 0x1e
call fcn.10024669
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002477f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002e184]
call esi
jmp 0x10024785
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100247c9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002fb40
push 0x1002fb38
push str.FlsGetValue
push 0x20
call fcn.10024669
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10024800
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002e184]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10029ba1
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10029b1d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10029d19
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10029d19
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10029cc8
jg 0x10029bfa
test eax, eax
je 0x10029cbe
push 1
push 0x1000
call fcn.10022fc3
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10029c20
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x10029cb5
push 0x8000
push ebx
call fcn.10029a4e
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10029c4c
jg 0x10029c47
cmp ecx, 0x1000
jb 0x10029c4c
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10026eac
add esp, 0x10
cmp eax, 0xffffffff
je 0x10029c91
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10029c47
jl 0x10029c78
test ecx, ecx
jne 0x10029c39
push dword [ebp - 0xc]
push ebx
call fcn.10029a4e
push esi
call fcn.10020b09
add esp, 0xc
xor edi, edi
jmp 0x10029d2a
cmp byte [edi + 0x24], 0
je 0x10029ca8
cmp dword [edi + 0x20], 5
jne 0x10029ca8
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10029cb3
mov edi, dword [edi + 0x18]
jmp 0x10029cb5
xor edi, edi
push esi
call fcn.10020b09
pop ecx
jmp 0x10029d2a
test ecx, ecx
jg 0x10029c8a
jl 0x10029cc8
test eax, eax
jae 0x10029c8a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10027185
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10029ceb
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x10029c8a
jmp 0x10029d22
push ebx
call fcn.10026436
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10029c8a
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x10029d2a
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x10029d27
mov edi, dword [edi + 0x18]
jmp 0x10029d2a
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10027185
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412281
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x412290
pop dword [ebp - 0x20]
mov eax, 0xa3eb746c
sub eax, 0xa3aa51dc
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3a1a2
push 0
mov eax, 0x8b649403
add eax, 0x74ddfc29
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x57a5415a
add ecx, 0xa85b0adf
mov ebx, eax
mov edi, 0xce2eeabe
add edi, 0x32148342
add edi, dword [ebp - 0x20]
mov edx, 0x116849f4
add dword [ebp - 0x14], esi
mov esi, dword [edi]
add dword [ebp - 8], 0xa8b6b6eb
xor esi, edx
add dword [ebp - 0x1c], 0x69ad6b0a
mov dword [ebx], esi
add ebx, 0xe9d92b7d
add ebx, 0x1626d487
add edi, 0xa435f183
add edi, 0x5bca0e81
loop 0x4122e9
add eax, 0x123b7
xor ebx, ebx
add ebx, eax
add eax, 0x4ca89ef2
add eax, 0xb3576113
mov ecx, 0xfc16242c
sub ecx, 0xfbd6242c
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x401110
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push esi
push 2
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x401128
cmp eax, 0x80010106
jne 0x4011a6
push edi
push esi
push 0x6b5d40
push 1
push 0
push 0x6b5d30
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x401157
push edi
push str.CoCreateInstance_NetFwMgr_failed:_0x_08lx_n
call fcn.005b8d00
add esp, 8
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ebx
lea edi, [esi + 4]
push edi
push eax
call edx
mov ebx, eax
test ebx, ebx
jge 0x401180
push ebx
push str.get_LocalPolicy_failed:_0x_08lx_n
call fcn.005b8d00
add esp, 8
mov eax, ebx
pop ebx
pop edi
pop esi
ret
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
add esi, 8
push esi
push eax
call edx
mov esi, eax
test esi, esi
jge 0x4011a4
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.005b8d00
mov eax, esi
add esp, 8
pop ebx
pop edi
pop esi
ret

Function at 0x4014a0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push esi
push 2
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x4014b8
cmp eax, 0x80010106
jne 0x40150c
push edi
push esi
push 0x6b5d80
push 1
push 0
push 0x6b5d70
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x4014e7
push edi
push str.CoCreateInstance_NetFwPolicy2_failed:_0x_08lx_n
call fcn.005b8d00
add esp, 8
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
add esi, 4
push esi
push eax
call edx
mov esi, eax
test esi, esi
jge 0x40150b
push esi
push str.get_Rules_failed:_0x_08lx_n
call fcn.005b8d00
mov eax, esi
add esp, 8
pop edi
pop esi
ret
Function at 0x401590
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 4], 0
jne 0x4015a6
mov eax, 0x80004001
pop esi
pop ecx
ret 0xc
push ebx
push ebp
push edi
push str.TheHulkZ
call fcn.00401050
mov edi, eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00401050
mov ecx, dword [esp + 0x28]
push ecx
mov ebp, eax
call fcn.00401050
mov dword [esp + 0x28], eax
add esp, 0xc
lea ebx, [esp + 0x20]
mov eax, esi
mov dword [esp + 0x10], 0
call fcn.00401510
mov esi, eax
test esi, esi
jge 0x401603
push esi
push str.IsAppEnabled_failed:_0x_08lx_n
call fcn.005b8d00
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
pop ecx
ret 0xc
cmp dword [esp + 0x20], 0
je 0x401614
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
pop ecx
ret 0xc
lea edx, [esp + 0x10]
push edx
push 0x6b5da0
push 1
push 0
push 0x6b5d90
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x40163e
push esi
push str.CoCreateInstance_NetFwRule_failed:_0x_08lx_n
jmp 0x4016cd
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push edi
push eax
call edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push ebp
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push 0x100
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x98]
push 6
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 1
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov esi, eax
test esi, esi
jge 0x4016d5
push esi
push str.Firewall_Rule_Add_failed:_0x_08lx_n
call fcn.005b8d00
add esp, 8
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push ebp
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4016f8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
pop ecx
ret 0xc