joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018290
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004237b
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x1005a050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x1005f950]
lea eax, [ebp - 0x34]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x100184ca
cmp dword [0x1005fa1c], 1
jne 0x10018368
sub esp, 0xc
lea ecx, [ebp - 0x1a0]
push str.OpenGuard.txt
call fcn.10004170
mov edx, str._nFN_Scan:____File_not_found:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1a0]
call fcn.10005910
mov edx, edi
lea ecx, [ebp - 0x1a0]
call fcn.10005910
lea ecx, [ebp - 0x19c]
call fcn.10004900
test eax, eax
jne 0x10018356
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1a0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 4], 0xffffffff
call fcn.100030f0
cmp dword [0x1005fa2c], 1
jne 0x1001844b
lea eax, [ebp - 0x40]
push eax
call fcn.1002399f
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.10023c8c
sub esp, 8
lea ecx, [ebp - 0xf0]
mov esi, eax
push 0x1004f4f0
call fcn.10004170
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.10005910
push esi
call fcn.100246b8
add esp, 4
lea ecx, [ebp - 0xf0]
mov edx, eax
call fcn.10005910
mov edx, str.FN_Scan:____File_not_found:
lea ecx, [ebp - 0xf0]
call fcn.10005910
mov edx, edi
lea ecx, [ebp - 0xf0]
call fcn.10005910
mov edx, str._n__________________
lea ecx, [ebp - 0xf0]
call fcn.10005910
lea ecx, [ebp - 0xec]
call fcn.10004900
test eax, eax
jne 0x10018433
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xf0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
push 2
push 0x1004f4f0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xf0]
call fcn.100030f0
mov eax, dword [0x1005fa20]
push 0
cmp eax, 1
jne 0x1001847d
push 0
push 0
push 0x10018250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x1001848d
push 0
push 0
push 0x10018270
jmp 0x10018460
cmp eax, 3
jne 0x1001849d
push 0
push 0
push 0x10001f10
jmp 0x10018460
cmp eax, 4
jne 0x10018477
push 0
push 0
push 0x1001cc40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.FN_Scan
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10018475
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e256
mov esp, ebp
pop ebp
ret
Function at 0x100184f0
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004237b
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x1005a050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x1005f974]
lea eax, [ebp - 0x34]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x1001872a
cmp dword [0x1005fa1c], 1
jne 0x100185c8
sub esp, 0xc
lea ecx, [ebp - 0x1a0]
push str.OpenGuard.txt
call fcn.10004170
mov edx, str._nFN_Scan:____File_not_found:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1a0]
call fcn.10005910
mov edx, edi
lea ecx, [ebp - 0x1a0]
call fcn.10005910
lea ecx, [ebp - 0x19c]
call fcn.10004900
test eax, eax
jne 0x100185b6
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1a0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 4], 0xffffffff
call fcn.100030f0
cmp dword [0x1005fa2c], 1
jne 0x100186ab
lea eax, [ebp - 0x40]
push eax
call fcn.1002399f
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.10023c8c
sub esp, 8
lea ecx, [ebp - 0xf0]
mov esi, eax
push 0x1004f4f0
call fcn.10004170
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.10005910
push esi
call fcn.100246b8
add esp, 4
lea ecx, [ebp - 0xf0]
mov edx, eax
call fcn.10005910
mov edx, str.FN_Scan:____File_not_found:
lea ecx, [ebp - 0xf0]
call fcn.10005910
mov edx, edi
lea ecx, [ebp - 0xf0]
call fcn.10005910
mov edx, str._n__________________
lea ecx, [ebp - 0xf0]
call fcn.10005910
lea ecx, [ebp - 0xec]
call fcn.10004900
test eax, eax
jne 0x10018693
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xf0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
push 2
push 0x1004f4f0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xf0]
call fcn.100030f0
mov eax, dword [0x1005fa20]
push 0
cmp eax, 1
jne 0x100186dd
push 0
push 0
push 0x10018250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x100186ed
push 0
push 0
push 0x10018270
jmp 0x100186c0
cmp eax, 3
jne 0x100186fd
push 0
push 0
push 0x10001f10
jmp 0x100186c0
cmp eax, 4
jne 0x100186d7
push 0
push 0
push 0x1001cc40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.FN_Scan
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x100186d5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e256
mov esp, ebp
pop ebp
ret
Function at 0x10018750
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004142b
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
push esi
mov eax, dword [0x1005a050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1005fa1c], 1
jne 0x1001880d
sub esp, 0xc
lea ecx, [ebp - 0x178]
push str.OpenGuard.txt
call fcn.10004170
mov edx, str._nFN_Scan:____Thats_not_my_name__My_name_is:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x178]
call fcn.10005910
mov edx, dword [0x1005f950]
lea ecx, [ebp - 0x178]
call fcn.10005910
lea ecx, [ebp - 0x174]
call fcn.10004900
test eax, eax
jne 0x100187fb
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x178]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0xffffffff
call fcn.100030f0
cmp dword [0x1005fa2c], 1
jne 0x100188f4
lea eax, [ebp - 0x18]
push eax
call fcn.1002399f
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.10023c8c
sub esp, 8
lea ecx, [ebp - 0xc8]
mov esi, eax
push 0x1004f4f0
call fcn.10004170
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.10005910
push esi
call fcn.100246b8
add esp, 4
lea ecx, [ebp - 0xc8]
mov edx, eax
call fcn.10005910
mov edx, str.FN_Scan:____Thats_not_my_name__My_name_is:
lea ecx, [ebp - 0xc8]
call fcn.10005910
mov edx, dword [0x1005f950]
lea ecx, [ebp - 0xc8]
call fcn.10005910
mov edx, str._n__________________
lea ecx, [ebp - 0xc8]
call fcn.10005910
lea ecx, [ebp - 0xc4]
call fcn.10004900
test eax, eax
jne 0x100188dc
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
push 2
push 0x1004f4f0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc8]
call fcn.100030f0
mov eax, dword [0x1005fa20]
push 0
cmp eax, 1
jne 0x10018926
push 0
push 0
push 0x10018250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10018936
push 0
push 0
push 0x10018270
jmp 0x10018909
cmp eax, 3
jne 0x10018946
push 0
push 0
push 0x10001f10
jmp 0x10018909
cmp eax, 4
jne 0x10018920
push 0
push 0
push 0x1001cc40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.FN_Scan
push dword [0x1005f950]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1001891e
Function at 0x10018980
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004142b
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
push esi
mov eax, dword [0x1005a050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1005fa1c], 1
jne 0x10018a3d
sub esp, 0xc
lea ecx, [ebp - 0x178]
push str.OpenGuard.txt
call fcn.10004170
mov edx, str._nFN_Scan:____Thats_not_my_name__My_name_is:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x178]
call fcn.10005910
mov edx, dword [0x1005f984]
lea ecx, [ebp - 0x178]
call fcn.10005910
lea ecx, [ebp - 0x174]
call fcn.10004900
test eax, eax
jne 0x10018a2b
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x178]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0xffffffff
call fcn.100030f0
cmp dword [0x1005fa2c], 1
jne 0x10018b24
lea eax, [ebp - 0x18]
push eax
call fcn.1002399f
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.10023c8c
sub esp, 8
lea ecx, [ebp - 0xc8]
mov esi, eax
push 0x1004f4f0
call fcn.10004170
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.10005910
push esi
call fcn.100246b8
add esp, 4
lea ecx, [ebp - 0xc8]
mov edx, eax
call fcn.10005910
mov edx, str.FN_Scan:____Thats_not_my_name__My_name_is:
lea ecx, [ebp - 0xc8]
call fcn.10005910
mov edx, dword [0x1005f984]
lea ecx, [ebp - 0xc8]
call fcn.10005910
mov edx, str._n__________________
lea ecx, [ebp - 0xc8]
call fcn.10005910
lea ecx, [ebp - 0xc4]
call fcn.10004900
test eax, eax
jne 0x10018b0c
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
push 2
push 0x1004f4f0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc8]
call fcn.100030f0
mov eax, dword [0x1005fa20]
push 0
cmp eax, 1
jne 0x10018b56
push 0
push 0
push 0x10018250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10018b66
push 0
push 0
push 0x10018270
jmp 0x10018b39
cmp eax, 3
jne 0x10018b76
push 0
push 0
push 0x10001f10
jmp 0x10018b39
cmp eax, 4
jne 0x10018b50
push 0
push 0
push 0x1001cc40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.FN_Scan
push dword [0x1005f984]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10018b4e
Function at 0x10018bf0
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004142b
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
push esi
mov eax, dword [0x1005a050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1005fa1c], 1
jne 0x10018cad
sub esp, 0xc
lea ecx, [ebp - 0x178]
push str.OpenGuard.txt
call fcn.10004170
mov edx, str._nFN_Scan:____Thats_not_my_window_Name__My_window_name_is:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x178]
call fcn.10005910
mov edx, dword [0x1005f980]
lea ecx, [ebp - 0x178]
call fcn.10005910
lea ecx, [ebp - 0x174]
call fcn.10004900
test eax, eax
jne 0x10018c9b
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x178]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0xffffffff
call fcn.100030f0
cmp dword [0x1005fa2c], 1
jne 0x10018d94
lea eax, [ebp - 0x18]
push eax
call fcn.1002399f
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.10023c8c
sub esp, 8
lea ecx, [ebp - 0xc8]
mov esi, eax
push 0x1004f4f0
call fcn.10004170
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.10005910
push esi
call fcn.100246b8
add esp, 4
lea ecx, [ebp - 0xc8]
mov edx, eax
call fcn.10005910
mov edx, str.FN_Scan:____Thats_not_my_Window_name__My_Window_Name_is:
lea ecx, [ebp - 0xc8]
call fcn.10005910
mov edx, dword [0x1005f980]
lea ecx, [ebp - 0xc8]
call fcn.10005910
mov edx, str._n__________________
lea ecx, [ebp - 0xc8]
call fcn.10005910
lea ecx, [ebp - 0xc4]
call fcn.10004900
test eax, eax
jne 0x10018d7c
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
push 2
push 0x1004f4f0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc8]
call fcn.100030f0
mov eax, dword [0x1005fa20]
push 0
cmp eax, 1
jne 0x10018dc6
push 0
push 0
push 0x10018bb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10018dd6
push 0
push 0
push 0x10018bd0
jmp 0x10018da9
cmp eax, 3
jne 0x10018de6
push 0
push 0
push 0x10001f10
jmp 0x10018da9
cmp eax, 4
jne 0x10018dc0
push 0
push 0
push 0x1001cc40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.FN_Scan
push dword [0x1005f980]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10018dbe
Function at 0x10018e20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100423bd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1005a050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
mov dword [ebp - 0x28], 0
push 0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10015880
mov dword [ebp - 4], 0
lea eax, [esi + 1]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push eax
cmovae ecx, dword [ebp - 0x28]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [0x1005f980]
mov edi, edx
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x10018eb0
mov ebx, dword [ebp - 0x28]
sub edi, ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmovae ecx, ebx
cmp esi, edi
jne 0x10018f73
sub esi, 4
jb 0x10018ee7
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10018eec
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10018ed6
cmp esi, 0xfffffffc
je 0x10018f20
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10018f19
cmp esi, 0xfffffffd
je 0x10018f20
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10018f19
cmp esi, 0xfffffffe
je 0x10018f20
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10018f19
cmp esi, 0xffffffff
je 0x10018f20
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10018f20
sbb eax, eax
or eax, 1
jmp 0x10018f22
xor eax, eax
test eax, eax
jne 0x10018f73
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10018f55
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x10018f4b
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f78
push ecx
push ebx
call fcn.1001e5ae
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e256
mov esp, ebp
pop ebp
ret
call fcn.10018bf0
call fcn.10022c78
int3
Function at 0x10019260
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x400
push 0
push 0x1005fb28
call fcn.100200e0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop
xor eax, eax
test cl, 1
je 0x1001928b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10019296
bts eax, 6
shr ecx, 1
test cl, 1
je 0x100192a1
bts eax, 5
shr ecx, 1
test cl, 1
je 0x100192ac
bts eax, 4
shr ecx, 1
test cl, 1
je 0x100192b7
bts eax, 3
shr ecx, 1
test cl, 1
je 0x100192c2
bts eax, 2
shr ecx, 1
test cl, 1
je 0x100192cd
bts eax, 1
test cl, 2
je 0x100192d6
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
xor edx, edx
lea ecx, [edx + 1]
nop dword [eax]
test bl, 1
je 0x1001936f
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10019360
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x1005fb28], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10019280
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100193a0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x1005a050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x10054904
push eax
or ebx, 0xffffffff
call fcn.10026855
add esp, 8
mov dword [ebp - 0x408], eax
test eax, eax
jne 0x100193e6
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e256
mov esp, ebp
pop ebp
ret 4
push esi
push edi
nop dword [eax + eax]
push eax
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.1002405c
mov edi, eax
lea esi, [ebp - 0x404]
add esp, 0x10
mov edx, edi
test edi, edi
je 0x1001943d
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1005fb28]
sub edx, 1
jne 0x10019415
mov eax, dword [ebp - 0x408]
cmp edi, 0x400
je 0x100193f0
push dword [ebp - 0x408]
call fcn.100231bb
mov ecx, dword [ebp - 4]
add esp, 4
not ebx
xor ecx, ebp
mov eax, ebx
pop edi
pop esi
pop ebx
call fcn.1001e256
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b1a0
Capabilities:
Acquire debug privileges
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x1005a050]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1001b256
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1001b256
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
push 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1001b256
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001b256
push 0
push 0
push 0
push 0x1001b150
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1001e256
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
xor ecx, esp
call fcn.1001e256
mov esp, ebp
pop ebp
ret

Function at 0x1001b2d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
mov esi, ecx
push esi
push 0
call edi
test eax, eax
je 0x1001b39d
push ebx
push esi
push 0
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea ecx, [ebp - 4]
push ecx
push eax
call ebx
push dword [ebp - 4]
push 1
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x1005fa20]
cmp eax, 1
jne 0x1001b349
push 0
push 0
push 0
push 0x1001b2a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x1001b35b
push 0
push 0
push 0
push 0x1001b270
jmp 0x1001b32c
cmp eax, 3
jne 0x1001b36d
push 0
push 0
push 0
push 0x10001f10
jmp 0x1001b32c
push esi
push 0
call edi
lea ecx, [ebp - 4]
push ecx
push eax
call ebx
push dword [ebp - 4]
mov eax, dword [sym.imp.KERNEL32.dll_OpenProcess]
push 1
push 0x100001
call eax
push 0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_TerminateProcess]
call eax
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001c470
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004214b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
mov eax, dword [0x1005a050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1005fa1c], 1
jne 0x1001c52c
sub esp, 0xc
lea ecx, [ebp - 0x174]
push str.OpenGuard.txt
call fcn.10004170
mov edx, str._nHT_Scan:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.10005910
mov edx, str.Hide_windows_detected_
lea ecx, [ebp - 0x174]
call fcn.10005910
lea ecx, [ebp - 0x170]
call fcn.10004900
test eax, eax
jne 0x1001c51a
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0xffffffff
call fcn.100030f0
cmp dword [0x1005fa2c], 1
jne 0x1001c60d
lea eax, [ebp - 0x14]
push eax
call fcn.1002399f
lea eax, [ebp - 0x14]
push eax
call fcn.10023c8c
push ecx
push 0x1004f4f0
lea ecx, [ebp - 0xc4]
mov esi, eax
call fcn.10004170
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.10005910
push esi
call fcn.100246b8
add esp, 4
lea ecx, [ebp - 0xc4]
mov edx, eax
call fcn.10005910
mov edx, str.HT_Scan:
lea ecx, [ebp - 0xc4]
call fcn.10005910
mov edx, str.Hide_windows_detected_
lea ecx, [ebp - 0xc4]
call fcn.10005910
mov edx, str._n__________________
lea ecx, [ebp - 0xc4]
call fcn.10005910
lea ecx, [ebp - 0xc0]
call fcn.10004900
test eax, eax
jne 0x1001c5f5
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d70
push 2
push 0x1004f4f0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc4]
call fcn.100030f0
mov eax, dword [0x1005fa20]
push 0
cmp eax, 1
jne 0x1001c63f
push 0
push 0
push 0x1001c440
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x1001c64f
push 0
push 0
push 0x1001c410
jmp 0x1001c622
cmp eax, 3
jne 0x1001c65f
push 0
push 0
push 0x10001f10
jmp 0x1001c622
cmp eax, 4
jne 0x1001c639
push 0
push 0
push 0x1001cc40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.H_Scan
push str.Generic_Hide_Window
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1001c637