joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10035c20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1008a930]
cmp eax, 0xffffffff
je 0x10035c76
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10035c67
mov ecx, dword [0x1008ba4c]
xor eax, eax
cmp esi, ecx
cmove ecx, eax
mov dword [0x1008ba4c], ecx
mov ecx, esi
call fcn.1001d7b0
mov ecx, esi
call fcn.1001d750
push 0x16c
push esi
call sym.ScCore.dll_public:_static_class_ScCore::String___cdecl_ScCore::Localizer::localize_class_ScCore::String_const___class_ScCore::Array_const__
add esp, 8
push 0
push dword [0x1008a930]
call dword [sym.imp.kernel32.dll_TlsSetValue]
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x41712b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425458]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408d85
mov dword [ebp - 0x14], eax
cmp dword [0x4beb18], esi
jne 0x41721e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4171ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4172fe
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4172fe
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4172fe
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4beb18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4beb1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4beb20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4beb28], eax
test eax, eax
je 0x41721b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4beb24], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x417243
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x417236
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x417258
push 4
pop eax
jmp 0x417300
cmp dword [ebp - 0x14], esi
je 0x417258
push dword [0x4beb18]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41723d
mov eax, dword [0x4beb24]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4172b6
cmp dword [0x4beb28], edi
je 0x4172b6
push eax
call ebx
push dword [0x4beb28]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4172b6
test eax, eax
je 0x4172b6
call ecx
test eax, eax
je 0x4172ab
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4172ab
test byte [ebp - 8], 1
jne 0x4172b6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4172e6
mov eax, dword [0x4beb1c]
cmp eax, edi
je 0x4172e3
push eax
call ebx
test eax, eax
je 0x4172e3
call eax
mov esi, eax
test esi, esi
je 0x4172e3
mov eax, dword [0x4beb20]
cmp eax, edi
je 0x4172e3
push eax
call ebx
test eax, eax
je 0x4172e3
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4beb18]
call ebx
test eax, eax
je 0x4172fe
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x417300
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406f4b
mov esp, ebp
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001df0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor ecx, ecx
mov dword [ebp - 0x10], 0
cmp byte [ebp + 0x14], cl
cmovne ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x10001e0f
mov byte [ebp - 4], cl
jmp 0x10001e2c
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push 0x40
push ecx
push eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10097cf0
add esp, 0xc
cmp byte [ebp - 4], 0
je 0x10001e5a
mov eax, dword [ebp - 8]
lea ecx, [ebp + 0x14]
push ecx
push eax
push dword [ebp - 0xc]
mov dword [ebp + 0x14], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x10001e60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor ecx, ecx
cmp byte [ebp + 0x14], cl
push ebx
cmovne ecx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 0x10], esi
test ecx, ecx
jne 0x10001e7e
xor bl, bl
jmp 0x10001e9d
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push 0x40
push ecx
push eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [ebp - 0x10]
test eax, eax
setne bl
push dword [ebp + 0x10]
mov byte [ebp - 4], bl
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.10097cf0
add esp, 0xc
test bl, bl
je 0x10001eca
mov eax, dword [ebp - 8]
lea ecx, [ebp + 0x14]
push ecx
push eax
push dword [ebp - 0xc]
mov dword [ebp + 0x14], eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001ed0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub eax, 1
je 0x10001f04
sub eax, 1
je 0x10001f5f
sub eax, 2
je 0x10001fc1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
sub bl, al
mov bh, byte [ebp + 0x14]
dec bl
mov dword [ebp - 4], eax
movzx ecx, bh
mov dword [ebp - 0x18], 0
test bh, bh
jne 0x10001f29
mov byte [ebp - 0xc], bh
mov byte [eax], bl
jmp 0x10001f62
lea edx, [ebp - 0x10]
mov dword [ebp - 0x14], ecx
push edx
push 0x40
push ecx
push eax
mov dword [ebp - 0x18], eax
call edi
test eax, eax
mov eax, dword [ebp - 4]
setne cl
mov byte [ebp - 0xc], cl
mov byte [eax], bl
test cl, cl
je 0x10001f62
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call edi
jmp 0x10001f62
mov bh, byte [ebp + 0x14]
mov eax, dword [ebp - 8]
sub eax, esi
mov dword [ebp - 0x18], 0
mov esi, dword [ebp + 8]
sub eax, esi
movzx eax, ax
mov dword [ebp - 8], eax
movzx ecx, ax
movzx eax, bh
add eax, eax
jne 0x10001f8c
mov byte [ebp - 0xc], 0
mov word [esi], cx
jmp 0x10001fc1
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x18], esi
call edi
mov ecx, dword [ebp - 8]
test eax, eax
setne al
mov byte [ebp - 0xc], al
mov word [esi], cx
test al, al
je 0x10001fc1
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
add eax, esi
mov ebx, dword [ebp + 0xc]
sub ebx, eax
mov dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0x14]
shl eax, 2
test eax, eax
jne 0x10001fec
mov byte [ebp - 0xc], al
mov dword [esi], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne al
mov byte [ebp - 0xc], al
mov dword [esi], ebx
test al, al
je 0x1000201d
mov eax, dword [ebp - 0x10]
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp + 0x10], eax
push dword [ebp - 0x18]
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002030
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
xor edx, edx
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push esi
mov esi, dword [ebp + 0xc]
movzx eax, al
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], edx
push edi
mov edi, esi
test eax, eax
jne 0x1000205a
xor al, al
jmp 0x1000207b
lea edx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
push edx
push 0x40
push eax
push esi
mov dword [ebp - 0x18], esi
call ecx
mov esi, dword [ebp + 0xc]
test eax, eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
setne al
mov byte [ebp - 0xc], al
mov bl, byte [edi]
test al, al
je 0x10002098
mov eax, dword [ebp - 0x10]
lea esi, [ebp - 4]
push esi
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push edx
call ecx
mov esi, dword [ebp + 0xc]
cmp bl, 0xe8
jb 0x10002151
cmp bl, 0xe9
jbe 0x1000212f
cmp bl, 0xff
jne 0x10002151
push dword [ebp + 0x10]
inc esi
push ecx
mov eax, esp
mov dword [eax], esi
call fcn.10002630
add esp, 8
cmp al, 0x15
je 0x100020d0
cmp al, 0x25
jne 0x10002151
mov eax, dword [ebp - 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esi, 2
shl eax, 2
mov dword [ebp - 0x18], ecx
test eax, eax
jne 0x100020ef
xor al, al
jmp 0x10002107
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x18], esi
call edi
mov ecx, dword [ebp - 0x18]
test eax, eax
setne al
mov byte [ebp - 0xc], al
mov esi, dword [esi]
test al, al
je 0x10002121
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 0x10]
push edx
push eax
push dword [ebp - 0x14]
mov dword [ebp + 0x10], eax
push ecx
call edi
mov eax, dword [ebp + 8]
mov ecx, dword [esi]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
inc esi
push ecx
mov eax, esp
mov dword [eax], esi
call fcn.100025d0
add esp, 8
lea ecx, [eax + 4]
mov eax, dword [ebp + 8]
add ecx, esi
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov esp, ebp
pop ebp
ret
Function at 0x10002170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push ebx
push ecx
mov ecx, esp
push dword [ebp + 8]
mov dword [ecx], eax
call fcn.10002030
mov esi, dword [ebp + 0xc]
add esp, 0xc
movzx eax, bl
mov dword [ebp - 0x10], 0
test bl, bl
jne 0x100021a8
mov byte [ebp - 4], bl
mov byte [esi], 0xe9
jmp 0x100021e2
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne al
mov byte [ebp - 4], al
mov byte [esi], 0xe9
test al, al
je 0x100021e2
mov eax, dword [ebp - 8]
lea ecx, [ebp + 0x14]
push ecx
push eax
push dword [ebp - 0xc]
mov dword [ebp + 0x14], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push 4
push ecx
mov ecx, dword [ebp + 0x10]
mov edx, esp
push ecx
mov dword [edx], ecx
mov edx, esp
mov ecx, dword [ebp + 0xc]
inc ecx
mov dword [edx], ecx
call fcn.10001ed0
mov eax, dword [ebp + 8]
add esp, 0x10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002210
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push ebx
push ecx
mov ecx, esp
push dword [ebp + 8]
mov dword [ecx], eax
call fcn.10002030
mov esi, dword [ebp + 0xc]
add esp, 0xc
movzx eax, bl
mov dword [ebp - 0x10], 0
test bl, bl
jne 0x10002248
mov byte [ebp - 4], bl
mov byte [esi], 0xe8
jmp 0x10002282
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne al
mov byte [ebp - 4], al
mov byte [esi], 0xe8
test al, al
je 0x10002282
mov eax, dword [ebp - 8]
lea ecx, [ebp + 0x14]
push ecx
push eax
push dword [ebp - 0xc]
mov dword [ebp + 0x14], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push 4
push ecx
mov ecx, dword [ebp + 0x10]
mov edx, esp
push ecx
mov dword [edx], ecx
mov edx, esp
mov ecx, dword [ebp + 0xc]
inc ecx
mov dword [edx], ecx
call fcn.10001ed0
mov eax, dword [ebp + 8]
add esp, 0x10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002530
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push ecx
call fcn.10001d10
mov ecx, dword [0x1013e6d4]
add esp, 4
mov esi, eax
test cl, 1
jne 0x1000257e
or ecx, 1
mov dword [0x1013e6c8], 0x100e6b60
mov dword [0x1013e6d4], ecx
mov ecx, 0x1013e6c8
mov dword [0x1013e6d0], 0
mov dword [0x1013e6cc], 0
call fcn.100022b0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov esi, dword [esi]
test eax, eax
je 0x100025ba
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100025d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
xor edx, edx
shl eax, 2
mov dword [ebp - 0x10], edx
push esi
mov esi, dword [ebp + 8]
test eax, eax
jne 0x100025ee
xor al, al
jmp 0x1000260a
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x10]
test eax, eax
setne al
mov byte [ebp - 4], al
mov esi, dword [esi]
test al, al
je 0x10002628
mov ecx, dword [ebp - 8]
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp - 0xc]
mov dword [ebp + 0xc], ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002630
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x10], edx
push ebx
push esi
mov esi, dword [ebp + 8]
test eax, eax
jne 0x1000264c
xor al, al
jmp 0x10002668
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x10]
test eax, eax
setne al
mov byte [ebp - 4], al
mov bl, byte [esi]
test al, al
je 0x10002686
mov ecx, dword [ebp - 8]
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp - 0xc]
mov dword [ebp + 0xc], ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000fb3e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
not edx
push edi
mov edi, dword [esp + 0xc]
test esi, esi
je 0x1000fb6a
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100bd578]
inc edi
sub esi, 1
jne 0x1000fb52
not edx
pop edi
mov eax, edx
pop esi
ret

Function at 0x1000fb71
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
not ebx
push edi
mov edi, dword [esp + 0x14]
mov edx, ebx
test edi, edi
je 0x1000fbd7
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x1000fb9f
cmp edi, 2
jb 0x1000fb9f
cmp byte [esi], al
jne 0x1000fb9f
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100bd578]
test edi, edi
jne 0x1000fb88
jmp 0x1000fbde
cmp al, 0x23
jne 0x1000fbc5
cmp byte [esi], al
jne 0x1000fbc5
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100bd578]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000fbb7
pop edi
not edx
pop esi
mov eax, edx
pop ebx
ret

Function at 0x1001051f
Capabilities:
Read file on windows

Disassembly:
push dword [esp + 0x18]
push dword [esp + 0x14]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.1009c565
add esp, 0x10
xor edx, edx
ret
Function at 0x1001aeb0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba69f
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10114380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x30], 0
je 0x1001aee4
push dword [esi + 0x30]
call fcn.100198e5
pop ecx
cmp dword [esi + 0x34], 0
je 0x1001aef3
push dword [esi + 0x34]
call fcn.100198e5
pop ecx
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push 0x1001a6dc
push 2
push 0xc
push eax
call fcn.10095544
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x10042413
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1c
test byte [ecx], 4
jne 0x100425c0
imul eax, dword [ecx + 0x46c], 0x1c
lea edx, [ecx + 0x60]
push ebx
push ebp
push esi
push edi
add eax, dword [ecx + 0x50]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
movzx ebp, word [eax]
movzx edx, word [eax + 6]
mov esi, ebp
movzx eax, word [eax + 4]
add edx, ebx
imul edx, dword [ecx + 0x24]
sub esi, ebx
mov edi, dword [ecx + 0x1c]
shr esi, 1
sub ebp, esi
sub ebp, ebx
add edx, eax
test edi, edi
je 0x1004249e
add edi, edx
test esi, esi
je 0x10042474
push esi
push 0
push edi
call fcn.10098270
add esp, 0xc
add edi, esi
test ebx, ebx
je 0x10042489
push ebx
push 0xff
push edi
call fcn.10098270
add esp, 0xc
test ebp, ebp
je 0x100424e5
push ebp
lea eax, [edi + ebx]
push 0
push eax
call fcn.10098270
add esp, 0xc
jmp 0x100424e5
mov eax, dword [ecx + 0x20]
lea edi, [eax + edx*4]
mov edx, esi
shl edx, 2
mov dword [esp + 0x10], edi
test esi, esi
je 0x100424c1
mov ecx, edx
mov eax, 0xffffff
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x100424ce
add edi, edx
mov ecx, ebx
or eax, 0xffffffff
rep stosd dword es:[edi], eax
test ebp, ebp
je 0x100424e5
mov ecx, dword [esp + 0x10]
lea eax, [esi + ebx]
lea edi, [ecx + eax*4]
mov ecx, ebp
mov eax, 0xffffff
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
movzx edx, word [ecx + 4]
movzx ecx, word [ecx + 6]
add ecx, ebx
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c1030]
lea eax, [edx - 1]
add eax, esi
cvtpd2ps xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100c1030]
mov ecx, dword [esp + 0x30]
cvtpd2ps xmm0, xmm0
addss xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, dword [ecx + 0x30]
addsd xmm0, qword [eax*8 + 0x100c1030]
lea eax, [edx + 1]
add eax, esi
mulss xmm1, dword [0x100bd4f0]
add eax, ebx
lea esi, [esp + 0x1c]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x20], xmm1
mulss xmm0, dword [ecx + 0x2c]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x1c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
inc ebx
addsd xmm0, qword [eax*8 + 0x100c1030]
mov eax, dword [esp + 0x14]
mov edi, eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [ecx + 0x2c]
movss dword [esp + 0x24], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp ebx, 0x40
jb 0x1004243e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x1005172a
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
dec ebx
cmp ebp, ebx
jg 0x10051796
push 0x1f
pop edx
mov ecx, ebx
and ecx, edx
push esi
mov dword [esp + 0x18], ecx
push edi
mov eax, ebp
mov edi, ebp
or eax, edx
sar edi, 5
cmp ebx, eax
push 0x1f
cmovg ecx, edx
xor esi, esi
inc ecx
xor eax, eax
bts esi, ecx
cmp ecx, 0x20
mov ecx, ebp
cmovae eax, esi
and ecx, edx
xor esi, eax
xor edx, edx
bts edx, ecx
xor eax, eax
dec esi
cmp ecx, 0x20
mov ecx, dword [esp + 0x20]
cmovae eax, edx
add ebp, 0x20
xor edx, eax
and ebp, 0xffffffe0
mov eax, dword [esp + 0x18]
neg edx
and esi, edx
pop edx
or dword [eax + edi*4], esi
cmp ebp, ebx
jle 0x10051746
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10072777
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x24]
push 9
pop ecx
xor eax, eax
xor ebx, ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
mov dword [esi], ebx
push eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp + 8]
div ecx
push 0x40
sub ecx, edx
add ecx, dword [ebp + 8]
test edx, edx
push 0x3000
cmove ecx, dword [ebp + 8]
push ecx
push ebx
mov dword [esi + 4], ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi], eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10073017
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10114380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push edi
mov edi, 0x104
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.d3d9.dll
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.100a9ac1
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, eax
lea ecx, [edx + esi]
cmp edx, ecx
jae 0x10073090
mov ecx, 0x8689
inc edx
mov eax, 0x6c7
cmp word [edx], ax
jne 0x10073089
cmp word [edx + 6], cx
jne 0x10073089
cmp word [edx + 0xc], cx
je 0x100730a3
lea eax, [esi + edx]
cmp edx, eax
jb 0x10073072
inc edx
mov ecx, dword [ebp - 4]
mov eax, edx
pop edi
xor ecx, ebp
pop esi
call fcn.1009543c
leave
ret 4
add edx, 2
jmp 0x10073091