joyce8/EMBER2024-capa huggingface dataset:
Function at 0x270b70b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.270b4780
xor eax, eax
push ebp
push 0x270b7191
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x270b70ec
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x270b716e
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x7fffffff
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.270b47f0
mov eax, dword [ebp - 0xc]
call fcn.270b4790
mov ebx, eax
mov eax, esi
test eax, eax
je 0x270b711b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
test edi, edi
jl 0x270b715b
inc edi
xor esi, esi
movzx eax, byte [ebx + esi]
cmp al, 0x5c
je 0x270b7131
cmp al, 0x2f
jne 0x270b7157
mov byte [ebx + esi], 0
push 0
push ebx
call sub.kernel32.dll_CreateDirectoryA
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.270b451c
mov eax, dword [ebp - 0x10]
call fcn.270b7838
test al, al
je 0x270b716e
mov byte [ebx + esi], 0x5c
inc esi
dec edi
jne 0x270b7125
push 0
push ebx
call sub.kernel32.dll_CreateDirectoryA
mov eax, dword [ebp - 4]
call fcn.270b7838
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x270b7198
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.270b4348
lea eax, [ebp - 4]
call fcn.270b4324
ret

Function at 0x270b71b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x270b728b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, 0x104
call fcn.270b31b0
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov ecx, eax
lea edx, [ebp - 0x104]
mov eax, ebx
call fcn.270b4414
lea edx, [ebp - 0x10c]
mov eax, dword [ebx]
call dword [0x270e2c60]
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.270b6d10
mov eax, dword [ebp - 0x108]
push eax
lea edx, [ebp - 0x114]
mov eax, dword [ebx]
call dword [str.Pm_v]
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.270b6eec
mov edx, dword [ebp - 0x110]
mov eax, ebx
pop ecx
call fcn.270b4618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x270b7292
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.270b4348
ret
Function at 0x270b7468
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.270b4780
xor eax, eax
push ebp
push 0x270b74da
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.270b4790
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x270b74b8
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x270b74bc
xor ebx, ebx
jmp 0x270b74be
mov bl, 1
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x270b74e1
lea eax, [ebp - 4]
call fcn.270b4324
ret

Function at 0x270b74e8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov eax, dword [ebp + 8]
call fcn.270b4780
mov eax, dword [ebp + 0xc]
call fcn.270b4780
xor eax, eax
push ebp
push 0x270b7598
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x270e2c50], 0
je 0x270b757d
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
mov eax, dword [ebp + 0xc]
call fcn.270b4790
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x270b757d
push 2
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
lea eax, [ebp + 8]
mov edx, 0x270b75b0
call fcn.270b45cc
mov esi, dword [ebp + 8]
test esi, esi
je 0x270b7561
sub esi, 4
mov esi, dword [esi]
push 0
lea eax, [ebp - 4]
push eax
push esi
mov eax, dword [ebp + 8]
call fcn.270b4790
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x270b759f
lea eax, [ebp + 8]
mov edx, 2
call fcn.270b4348
ret

Function at 0x270b7838
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.270b4790
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x270b7851
test al, 0x10
jne 0x270b7855
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x270b785c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.270b4780
xor eax, eax
push ebp
push 0x270b78fb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test esi, esi
je 0x270b78e5
test edi, edi
je 0x270b78e5
mov eax, dword [ebp - 4]
call fcn.270b6800
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 4]
call fcn.270b4790
push eax
call sub.kernel32.dll_CreateFileA
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x270b78c6
cmp dword [ebp - 0x10], 0xffffffff
je 0x270b78e5
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push esi
mov ebx, dword [ebp - 0x10]
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
cmp edi, dword [ebp - 0x14]
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x270b7902
lea eax, [ebp - 4]
call fcn.270b4324
ret
Function at 0x270b790c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.270b4780
mov eax, dword [ebp - 8]
call fcn.270b4780
xor eax, eax
push ebp
push 0x270b797b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
call fcn.270b4790
push eax
mov eax, dword [ebp - 4]
call fcn.270b4790
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.270b6ad0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x270b7982
lea eax, [ebp - 8]
mov edx, 2
call fcn.270b4348
ret

Function at 0x270b7b08
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x270b7b11
mov eax, dword [ebp - 4]
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.270b4780
xor eax, eax
push ebp
push 0x270b7bee
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [edi], eax
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.270b4790
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x270b7bd8
push 0
push esi
call sub.kernel32.dll_GetFileSize
mov dword [edi], eax
cmp dword [edi], 0
jne 0x270b7b86
push esi
call sub.kernel32.dll_CloseHandle
jmp 0x270b7bd8
mov eax, dword [edi]
call fcn.270b2c94
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x270b7bd8
xor ebx, ebx
jmp 0x270b7bce
push 0
lea eax, [ebp - 0xc]
push eax
push 0x2000
lea eax, [ebp - 0x200c]
push eax
push esi
call sub.kernel32.dll_ReadFile
cmp dword [ebp - 0xc], 0
je 0x270b7bd2
lea edx, [ebp - 0x200c]
mov eax, dword [ebp - 8]
add eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.270b59a8
add ebx, dword [ebp - 0xc]
cmp ebx, dword [edi]
jb 0x270b7b9a
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x270b7bf5
lea eax, [ebp - 4]
call fcn.270b4324
ret

Function at 0x270b8608
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
xor ebx, ebx
mov eax, dword [ebp + 8]
call fcn.270b6f2c
test eax, eax
je 0x270b868a
xor esi, esi
lea ecx, [ebp - 0x400]
mov eax, esi
mov edx, 8
test eax, 1
jbe 0x270b8641
shr eax, 1
xor eax, 0xedb88320
jmp 0x270b8643
shr eax, 1
dec edx
jne 0x270b8630
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x270b8629
mov ebx, 8
mov eax, dword [ebp + 0xc]
dec eax
test eax, eax
jl 0x270b8688
inc eax
xor esi, esi
mov edx, dword [ebp + 8]
movzx edx, byte [edx + esi]
xor dl, bl
movzx edx, dl
mov edx, dword [ebp + edx*4 - 0x400]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov ebx, edx
inc esi
dec eax
jne 0x270b8664
not ebx
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x270b8694
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov dword [esp], eax
xor edi, edi
cmp dword [esp], 0
je 0x270b86e6
test ebx, ebx
je 0x270b86e6
mov eax, ebx
call fcn.270b2c94
mov edi, eax
test edi, edi
je 0x270b86e6
mov esi, ebx
dec esi
test esi, esi
jb 0x270b86e6
inc esi
xor eax, eax
mov edx, ebx
dec edx
sub dl, al
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
add dl, 0xda
mov ecx, ebx
dec ecx
sub ecx, eax
mov ebp, dword [esp]
xor dl, byte [ebp + ecx]
mov byte [edi + eax], dl
inc eax
dec esi
jne 0x270b86c1
mov eax, edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x270b87f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.270b4780
xor eax, eax
push ebp
push 0x270b88df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.270b4378
lea edx, [ebp - 8]
mov eax, 0x270b88f8
call fcn.270b62dc
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x270b8843
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 8]
call fcn.270b4790
push eax
call fcn.270b8608
mov ebx, eax
test ebx, ebx
jne 0x270b885d
mov ebx, 0x12345678
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.270b6d94
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x270b887a
sub eax, 4
mov eax, dword [eax]
mov esi, eax
lea ecx, [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.270b7fd4
test esi, esi
jle 0x270b88c4
mov ebx, 1
mov eax, edi
call fcn.270b47e8
lea eax, [eax + ebx - 1]
push eax
mov eax, dword [edi]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx - 1]
xor al, dl
movzx eax, al
mov ecx, 0x1a
xor edx, edx
div ecx
add dl, 0x61
pop eax
mov byte [eax], dl
inc ebx
dec esi
jne 0x270b8891
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x270b88e6
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.270b4348
ret
Function at 0x270b8b80
Capabilities:
Switch active desktop

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov ebx, eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x270b8d7c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.270b4324
mov eax, esi
call fcn.270b4324
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_GetThreadDesktop
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov byte [edi], 0
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov edx, dword [ebx]
mov eax, 0x270b8d94
call fcn.270b5e9c
test al, al
je 0x270b8bf3
mov eax, dword [ebp + 0x10]
mov word [eax], 5
mov edx, dword [ebx]
mov eax, 0x270b8da4
call fcn.270b4830
test eax, eax
je 0x270b8d15
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
mov edx, 0x270b8da4
xor ecx, ecx
call fcn.270b61cc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx]
mov ecx, 0x270b8da4
xor edx, edx
call fcn.270b61cc
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.270b4378
mov edx, dword [ebp - 4]
mov eax, 0x270b8db4
call fcn.270b5e9c
test al, al
je 0x270b8cb8
lea eax, [ebp - 0x10]
push eax
mov edx, 0x270b8db4
mov ecx, 0x270b8dc4
mov eax, dword [ebp - 4]
call fcn.270b61cc
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.270b4378
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x270b8c77
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x270b8cb8
push 0
push 0x10000000
push 0
push 0
push 0
mov eax, dword [esi]
call fcn.270b4790
push eax
call sub.user32.dll_CreateDesktopA
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x270b8cb8
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
push eax
call sub.user32.dll_SetThreadDesktop
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
push eax
call sub.user32.dll_SwitchDesktop
mov edx, dword [ebp - 4]
mov eax, 0x270b8dd0
call fcn.270b5e9c
test al, al
je 0x270b8d15
lea eax, [ebp - 0x18]
push eax
mov edx, 0x270b8dd0
mov ecx, 0x270b8dc4
mov eax, dword [ebp - 4]
call fcn.270b61cc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.270b4378
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x270b8cfe
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x270b8d15
lea eax, [ebp - 0x1c]
call fcn.270b71b4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.270b4378
call fcn.270b84b8
test al, al
je 0x270b8d2b
mov eax, esi
mov edx, dword [0x270e2c3c]
call fcn.270b451c
mov edx, dword [ebp - 4]
mov eax, 0x270b8de0
call fcn.270b5e9c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov edx, dword [ebp - 4]
mov eax, 0x270b8df0
call fcn.270b5e9c
mov byte [edi], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x270b8d83
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.270b4348
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.270b4348
lea eax, [ebp - 4]
call fcn.270b4324
ret
Function at 0x270b8f64
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.270b4780
xor eax, eax
push ebp
push 0x270b9085
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov eax, 0x270b90a0
call fcn.270b4830
test eax, eax
jg 0x270b906a
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.270b8efc
mov esi, eax
test esi, esi
jle 0x270b906a
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.270b47f0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.270b4790
push eax
push edi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x270b906a
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x270b9003
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.270b47f0
cmp dword [ebp - 8], 0
jne 0x270b903c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
jmp 0x270b9061
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.270b4790
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x270b908c
lea eax, [ebp - 8]
mov edx, 2
call fcn.270b4348
ret
Function at 0x270b90a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.270b4780
xor eax, eax
push ebp
push 0x270b91d9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.270b8efc
mov esi, eax
test esi, esi
jle 0x270b91be
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.270b47f0
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.270b4790
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x270b91be
mov edi, dword [ebp - 4]
test edi, edi
je 0x270b9128
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.270b47f0
cmp dword [ebp - 8], 0
jne 0x270b9145
xor edi, edi
jmp 0x270b914f
mov eax, dword [ebp - 8]
call fcn.270b4790
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x270b91b5
mov eax, dword [ebp - 0x18]
call fcn.270b2c94
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x270b91ae
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jne 0x270b91a5
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov bl, 1
jmp 0x270b91b5
mov eax, esi
call fcn.270b2cb0
jmp 0x270b91b5
mov eax, esi
call fcn.270b2cb0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x270b91e0
lea eax, [ebp - 8]
mov edx, 2
call fcn.270b4348
ret
Function at 0x270b96a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.270b4780
xor eax, eax
push ebp
push 0x270b9773
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.270b8efc
mov esi, eax
test esi, esi
jle 0x270b9758
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.270b47f0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.270b4790
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x270b9758
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x270b971d
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.270b47f0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.270b4790
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x270b977a
lea eax, [ebp - 8]
mov edx, 2
call fcn.270b4348
ret

Function at 0x270b9784
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.270b4780
xor eax, eax
push ebp
push 0x270b984b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.270b8efc
mov esi, eax
test esi, esi
jle 0x270b9830
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.270b47f0
lea eax, [ebp - 0xc]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 8]
call fcn.270b4790
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x270b9830
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x270b97fd
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.270b47f0
mov eax, dword [ebp - 8]
call fcn.270b4790
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x270b9852
lea eax, [ebp - 8]
mov edx, 2
call fcn.270b4348
ret
Function at 0x270b985c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.270b4780
xor eax, eax
push ebp
push 0x270b9996
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
call fcn.270b4324
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.270b4790
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x270b997b
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], 0x400
mov eax, dword [ebp - 0x18]
call fcn.270b2c94
mov esi, eax
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x18], 0x400
cmp byte [ebp + 8], 0
je 0x270b98f7
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov ebx, eax
jmp 0x270b9910
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumValueA
mov ebx, eax
test ebx, ebx
jne 0x270b9963
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.270b4974
lea eax, [ebp - 8]
call fcn.270b47e8
mov edx, eax
mov eax, esi
mov ecx, dword [ebp - 0x18]
call fcn.270b2e0c
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x270b9948
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.270b4378
jmp 0x270b9962
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x270b99b4
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.270b4694
inc edi
test ebx, ebx
je 0x270b98cf
mov eax, esi
call fcn.270b2cb0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x270b999d
lea eax, [ebp - 8]
mov edx, 2
call fcn.270b4348
ret
Function at 0x270bb1ac
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov ebx, 0x270e6808
xor esi, esi
mov dword [0x270e2cdc], 0xffffffff
cmp dword [ebx + 0x44], 0
jne 0x270bb1cc
mov dword [ebx + 0x44], 0x270bb0ec
cmp dword [ebx + 0x54], 0
jne 0x270bb1df
mov eax, dword [ebx + 0x44]
push eax
push ebx
call fcn.270ba198
mov dword [ebx + 0x54], eax
cmp dword [ebx + 0x54], 0
je 0x270bb2ab
lea eax, [ebx + 0x58]
xor ecx, ecx
mov edx, 0x1c
call fcn.270b31b0
mov dword [ebx + 0x58], 0x110
mov dword [ebx + 0x5c], 2
mov dword [ebx + 0x60], 7
mov dword [ebx + 0x70], 0x3e8
lea eax, [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x54]
push eax
call fcn.270ba1cc
test eax, eax
je 0x270bb2ab
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x5c], 4
lea eax, [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x54]
push eax
call fcn.270ba1cc
test eax, eax
je 0x270bb2ab
push 0x4b0
call sub.kernel32.dll_Sleep_1
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x270bb271
lea eax, [ebx + 0x50]
push eax
push 0
push 0
push esi
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebx + 0x4c], eax
cmp dword [ebx + 0x40], 0
jne 0x270bb289
push 0x7d0
call sub.kernel32.dll_Sleep_1
cmp dword [ebx + 0x74], 0
je 0x270bb277
jmp 0x270bb28c
call dword [ebx + 0x40]
mov dword [ebx + 0x5c], 1
lea eax, [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x54]
push eax
call fcn.270ba1cc
cmp dword [ebx + 0x54], 0
setne al
neg al
sbb esi, esi
mov eax, esi
pop esi
pop ebx
ret