joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001ae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fb98
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
mov eax, dword [0x10075604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov cl, 0x27
mov dword [ebp - 0x2c], 0x53426027
mov dword [ebp - 0x28], 0x4c444e73
xor eax, eax
mov dword [ebp - 0x24], 0x49524864
mov word [ebp - 0x20], 0x53
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 0xc
jae 0x10001b34
mov cl, byte [ebp - 0x2c]
jmp 0x10001b25
mov byte [ebp - 0x1f], 0
mov cl, 0x62
mov dword [ebp - 0x3c], 0x10070962
xor eax, eax
mov dword [ebp - 0x38], 0x510e070c
mov dword [ebp - 0x34], 0xe064c50
mov word [ebp - 0x30], 0xe
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x10001b66
mov cl, byte [ebp - 0x3c]
jmp 0x10001b57
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x2f], 0
push eax
lea eax, [ebp - 0x3b]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.100138a0
add esp, 4
cmp al, 0xe9
jne 0x10001c50
mov bh, 0x16
mov byte [ebp - 0xd], 0x36
mov byte [ebp - 0xe], bh
mov al, 0xb
mov bh, byte [ebp - 0xd]
mov cl, 1
mov byte [ebp - 0x1c], 0x62
mov dl, 9
xor bh, byte [ebp - 0x1c]
mov bl, 0x21
xor al, byte [ebp - 0x1c]
mov ah, 0xd
mov byte [ebp - 0xd], bh
mov ch, 0x17
mov byte [ebp - 0x1b], bh
mov dh, 0xc
mov bh, byte [ebp - 0xe]
mov byte [ebp - 0x1a], al
mov al, byte [ebp - 0x1c]
xor cl, al
mov byte [ebp - 0x12], 0
xor dl, al
mov byte [ebp - 0x19], cl
xor bl, al
mov byte [ebp - 0x18], dl
xor ah, al
mov byte [ebp - 0x17], bl
xor ch, al
mov byte [ebp - 0x16], ah
xor dh, al
mov byte [ebp - 0x15], ch
xor bh, al
mov byte [ebp - 0x14], dh
cmp byte [ebp - 0xd], 0
mov byte [ebp - 0x13], bh
mov byte [ebp - 0x12], 0
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
jne 0x10001c0a
xor ecx, ecx
jmp 0x10001c19
lea ecx, [ebp - 0x1b]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001c10
sub ecx, edx
push ecx
lea eax, [ebp - 0x1b]
push eax
lea ecx, [ebp - 0x54]
call fcn.10002800
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
call fcn.10018c20
mov eax, dword [ebp - 0x40]
add esp, 4
cmp eax, 0x10
jb 0x10001c50
push 1
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001d00
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10075604]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str.D_a6__0_]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xe
jb 0x10001d20
mov byte [ebp - 0x19], 0
mov cl, 0x14
mov dword [ebp - 0x18], 0x46515f14
xor eax, eax
mov dword [ebp - 0x14], 0x2758515a
mov dword [ebp - 0x10], 0x78703a26
mov word [ebp - 0xc], 0x78
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x10001d5f
mov cl, byte [ebp - 0x18]
jmp 0x10001d50
lea eax, [ebp - 0x27]
mov byte [ebp - 0xb], 0
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 1
lea ecx, [ebp - 5]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [ebp - 5], 0xe9
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret

Function at 0x10001db0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1006d558
push 0x1005e78f
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x10075604]
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 dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001e49
xor al, al
jmp 0x10001ed2
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x20]
push edx
push 0x140
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001e74
xor al, al
jmp 0x10001ed2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001ebf
jmp 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.1005e77e
mov esp, ebp
pop ebp
ret
Function at 0x10001ef0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10075604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x10065490]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x3e24082e
mov dword [ebp - 0x50], 0x392e3f25
mov byte [ebp - 0x4c], 0
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0x17
jb 0x10001f34
mov byte [ebp - 0x4c], 0
mov cl, 0x48
mov dword [ebp - 0x1c], 0x3a2d2348
xor eax, eax
mov dword [ebp - 0x18], 0x7b242d26
mov dword [ebp - 0x14], 0x242c667a
mov word [ebp - 0x10], 0x24
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xc
jae 0x10001f73
mov cl, byte [ebp - 0x1c]
jmp 0x10001f64
lea eax, [ebp - 0x63]
mov byte [ebp - 0xf], 0
push eax
lea eax, [ebp - 0x1b]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.100138a0
add esp, 4
cmp al, 0xe9
jne 0x10002023
movaps xmm0, xmmword [0x100654a0]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
mov word [ebp - 0x20], 0x2d
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x10
jb 0x10001fb0
cmp byte [ebp - 0x2f], 0
mov byte [ebp - 0x1f], 0
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jne 0x10001fdd
xor ecx, ecx
jmp 0x10001fec
lea ecx, [ebp - 0x2f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001fe3
sub ecx, edx
push ecx
lea eax, [ebp - 0x2f]
push eax
lea ecx, [ebp - 0x48]
call fcn.10002800
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
call fcn.10018c20
mov eax, dword [ebp - 0x34]
add esp, 4
cmp eax, 0x10
jb 0x10002023
push 1
inc eax
push eax
push dword [ebp - 0x48]
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100029a0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fc68
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10075604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov cl, 0x2a
mov dword [ebp - 0x1c], 0x47435e2a
mov dword [ebp - 0x18], 0x5e4f6d4f
xor eax, eax
mov dword [ebp - 0x14], 0x4f47437e
mov byte [ebp - 0x10], 0
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xb
jae 0x100029f1
mov cl, byte [ebp - 0x1c]
jmp 0x100029e2
mov byte [ebp - 0x10], 0
mov cl, 0x2a
mov dword [ebp - 0x2c], 0x584f412a
xor eax, eax
mov dword [ebp - 0x28], 0x19464f44
mov dword [ebp - 0x24], 0x464e0418
mov word [ebp - 0x20], 0x46
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 0xc
jae 0x10002a23
mov cl, byte [ebp - 0x2c]
jmp 0x10002a14
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x1f], 0
push eax
lea eax, [ebp - 0x2b]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.100138a0
add esp, 4
cmp al, 0xe9
jne 0x10002ad3
movaps xmm0, xmmword [str._4____a_4]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x2b
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x10
jb 0x10002a60
cmp byte [ebp - 0x3f], 0
mov byte [ebp - 0x2f], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jne 0x10002a8d
xor ecx, ecx
jmp 0x10002a9c
lea ecx, [ebp - 0x3f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002a93
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f]
push eax
lea ecx, [ebp - 0x58]
call fcn.10002800
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
call fcn.10018c20
mov eax, dword [ebp - 0x44]
add esp, 4
cmp eax, 0x10
jb 0x10002ad3
push 1
inc eax
push eax
push dword [ebp - 0x58]
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10009bc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10075604]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
dec eax
push edi
mov edi, dword [ebp + 8]
cmp eax, 8
ja case.default.0x10009be5
jmp dword [eax*4 + 0x10009d50]
push 0
lea eax, [ebp - 8]
push eax
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [ebp - 8]
push eax
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [ebp - 8]
push eax
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x10065610
mov ecx, esi
call fcn.10007df0
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x10009ccc
push 0x20
push eax
mov ecx, esi
call fcn.1000a770
cmp dword [esi + 0x14], 0x10
jb 0x10009c97
mov esi, dword [esi]
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [ebp - 8]
push eax
push 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret 0xc
push 0x91
push str.c:usersmonsterdesktopdreamsoft_v1.924dreamsoftN3Base_N3TableBase.hpp
push 0x10065610
sub esp, 0x18
mov ecx, esp
push str.ERROR____s_n_s:__d_n_n
call fcn.100017e0
lea eax, [ebp - 0x24]
push eax
call fcn.10031980
add esp, 0x28
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 0x10
cmovae eax, dword [ebp - 0x24]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x10009d3c
push 1
inc eax
push eax
push dword [ebp - 0x24]
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1005e77e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10009ea0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10008020
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x1000d990
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
dec eax
mov ecx, dword [ebp + 8]
xor esi, esi
xor ebx, ebx
test eax, eax
je 0x1000da3c
nop dword [eax]
mov ecx, dword [edi + 4]
dec ecx
shl esi, cl
add esi, esi
mov dword [ebp - 4], esi
nop dword [eax + eax]
mov esi, dword [edi]
mov eax, dword [esi]
cmp eax, 0x270
jne 0x1000d9d4
mov ecx, esi
call fcn.1000dc40
jmp 0x1000d9e2
cmp eax, 0x4e0
jb 0x1000d9e2
mov ecx, esi
call fcn.1000db70
mov eax, dword [esi]
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [edi + 8]
ja 0x1000d9c0
mov ecx, dword [edi + 4]
mov esi, dword [ebp - 4]
dec ecx
shl ebx, cl
or esi, eax
mov ecx, dword [ebp + 8]
add ebx, ebx
or ebx, dword [edi + 8]
lea eax, [ecx - 1]
cmp ebx, eax
jb 0x1000d9b0
xor edx, edx
mov eax, ebx
div ecx
mov ecx, eax
mov ebx, edx
xor edx, edx
mov eax, esi
div dword [ebp + 8]
cmp eax, ecx
mov ecx, dword [ebp + 8]
jb 0x1000da5f
lea eax, [ecx - 1]
cmp ebx, eax
jne 0x1000d9a0
mov eax, esi
xor edx, edx
div ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000da70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp byte [0x10076078], 0
jne 0x1000dac0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1007405c], eax
mov ecx, 1
nop dword [eax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [ecx*4 + 0x1007405c], eax
inc ecx
cmp ecx, 0x270
jl 0x1000da90
mov dword [0x10074058], 0x270
mov byte [0x10076078], 1
ret

Function at 0x1000dad0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
nop
mov ecx, dword [edi + 4]
dec ecx
shl ebx, cl
add ebx, ebx
nop dword [eax + eax]
mov esi, dword [edi]
mov eax, dword [esi]
cmp eax, 0x270
jne 0x1000db04
mov ecx, esi
call fcn.1000dc40
jmp 0x1000db12
cmp eax, 0x4e0
jb 0x1000db12
mov ecx, esi
call fcn.1000db70
mov eax, dword [esi]
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
cmp ecx, dword [edi + 8]
ja 0x1000daf0
mov eax, dword [ebp - 4]
or ebx, ecx
add eax, dword [edi + 4]
mov dword [ebp - 4], eax
cmp eax, 0x20
jb 0x1000dae0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000db70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x1000db80
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x1000dbc2
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret

Function at 0x1000dc40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x1000dc50
pop esi
ret
Function at 0x1000eab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060908
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10075604]
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
cmp dword [0x10075f30], 0
mov edi, dword [ebp + 0xc]
je 0x1000ec2e
cmp byte [0x100761f2], 0
je 0x1000ec2e
mov eax, dword [edi]
cmp dword [eax + 0x14], 0x10
lea esi, [eax + 4]
jb 0x1000eb06
mov esi, dword [eax + 4]
movaps xmm0, xmmword [str.3cFAP_R_Z_T]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x56
nop dword [eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x1000eb20
sub esp, 0x18
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x23]
mov dword [ebp - 0x34], esp
mov ecx, esp
push eax
call fcn.100017e0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push esi
call fcn.100017e0
mov dword [ebp - 4], 0xffffffff
call fcn.1000dff0
add esp, 0x30
test al, al
je 0x1000ec2e
mov eax, dword [0x10075f30]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
test edx, edx
je 0x1000ec1e
push edi
push ecx
mov ecx, edx
call fcn.10030810
mov eax, dword [0x10075f30]
cmp dword [eax + 0x60], 0
je 0x1000ebd2
xor bl, bl
mov byte [ebp - 0x34], bl
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x20]
push esi
push ecx
mov ecx, dword [eax + 0x5c]
call fcn.100302c0
cmp byte [ebp - 0x18], 0
je 0x1000ebc3
push dword [ebp - 0x1c]
mov ecx, dword [0x10075f30]
push esi
push edi
push dword [ebp + 8]
mov ecx, dword [ecx + 0x60]
call fcn.10030fb0
mov eax, dword [0x10075f30]
inc bl
mov byte [ebp - 0x34], bl
cmp bl, 4
jb 0x1000eb97
cmp dword [eax + 0x64], 0
je 0x1000ec1b
xor bl, bl
mov byte [ebp - 0x34], bl
nop dword [eax]
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
push esi
push ecx
mov ecx, dword [eax + 0x5c]
call fcn.10030300
cmp byte [ebp - 0x28], 0
je 0x1000ec0c
push dword [ebp - 0x2c]
mov ecx, dword [0x10075f30]
push esi
push edi
push dword [ebp + 8]
mov ecx, dword [ecx + 0x64]
call fcn.100315b0
mov eax, dword [0x10075f30]
inc bl
mov byte [ebp - 0x34], bl
cmp bl, 8
jb 0x1000ebe0
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x1000ec2e
push edi
push ecx
mov ecx, eax
call fcn.1002f4c0
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.1005e77e
mov esp, ebp
pop ebp
ret
Function at 0x10011140
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x1007617c], 0
jne 0x10011188
push 0x10076180
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp eax, 1
jne 0x10011178
push 0x10076188
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov al, 1
mov byte [0x1007617d], al
mov byte [0x1007617c], al
jmp 0x1001118d
xor al, al
mov byte [0x1007617c], 1
mov byte [0x1007617d], al
jmp 0x1001118d
mov al, byte [0x1007617d]
test al, al
je 0x100111dc
push 0x10076180
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [0x10076184]
mov ecx, dword [0x10076180]
call fcn.1005eb10
mov edx, dword [0x1007618c]
mov ecx, dword [0x10076188]
movsd qword [ebp - 8], xmm0
call fcn.1005eb10
movsd xmm1, qword [ebp - 8]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [ebp - 4], xmm0
fld dword [ebp - 4]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WINMM.dll_timeGetTime]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100659d0]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 4], xmm0
fld dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10017600
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060e78
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10075604]
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
mov esi, dword [ebp + 8]
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10017669
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
jmp 0x100177d1
xorps xmm0, xmm0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], fcn.10013a50
mov dword [ebp - 0x30], edi
push 0
lea eax, [ebp - 0x14]
movq qword [ebp - 0x20], xmm0
push eax
push 8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push eax
push 0x2d1400
push edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100176ef
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 0x10
jb 0x100176de
mov eax, dword [esi]
jmp 0x100176e0
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 4], 1
jmp 0x100177c4
mov eax, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x2c], eax
call fcn.1005eb5a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10017714
push dword [ebp - 0x2c]
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x10017716
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
push 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push ebx
push 0xc
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10017772
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], eax
jb 0x10017757
mov eax, dword [esi]
jmp 0x10017759
mov eax, esi
mov byte [eax], 0
test ebx, ebx
je 0x10017769
push ebx
call fcn.1005eb63
add esp, 4
mov dword [ebp - 4], 3
jmp 0x100177c4
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100177aa
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], eax
jb 0x10017793
mov eax, dword [esi]
jmp 0x10017795
mov eax, esi
push ebx
mov byte [eax], 0
call fcn.1005eb63
add esp, 4
mov dword [ebp - 4], 4
jmp 0x100177c4
add eax, ebx
mov ecx, esi
push eax
call fcn.100017e0
push ebx
call fcn.1005eb63
add esp, 4
mov dword [ebp - 4], 5
test edi, edi
je 0x100177d1
push edi
call fcn.10013a50
add esp, 4
mov eax, esi
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.1005e77e
mov esp, ebp
pop ebp
ret