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

Disassembly:
push eax
push esi
push dword [ebp + 8]
call fcn.0044c131
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x44c45a
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0044c16c
and byte [ebx + 0x18], 0xce
lea eax, [ebp - 0x40]
push eax
call fcn.0044c17c
push eax
push esi
push dword [ebp + 8]
call fcn.0044c131
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0044c16c
invalid

Function at 0x44c4f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0044c17c
push eax
push esi
push dword [ebp + 8]
call fcn.0044c131
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0044c17c
push eax
push esi
push dword [ebp + 8]
call fcn.0044c131
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0044c17c
push eax
push esi
push dword [ebp + 8]
call fcn.0044c131
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0044c16c
pop edi
jle 0x44c62d
arpl word [eax - 0x8363], cx
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
Function at 0x44c840
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x44c843
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
pushal
pushal
jmp 0x44c861
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x44c8bf
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x44c8a6
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x44c8af
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x44c8b9
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x44c89b
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x44c825
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x44c90c
dec eax
je 0x44c903
sub eax, 3
je 0x44c8fa
mov dword [ebp - 4], 0x40
jmp 0x44c929
mov dword [ebp - 4], 4
jmp 0x44c90f
mov dword [ebp - 4], 0x20
jmp 0x44c90f
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x44c95b
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x44c8db
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0044c16c
inc esp
mov esi, 0x1475fff2
jne 0x44c966
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
Function at 0x44ce70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x6b65b], al
inc dword [eax]
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.0044c17c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0044c131
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.0044c16c
mov dh, byte [esi - 0x4a00ac07]
push 0x8dfffff9
test dword [eax - 7], eax
invalid
Function at 0x10001d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10077604]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str.dUBFSBwUHDBTTf]
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, 0x6a
mov dword [ebp - 0x18], 0x382f216a
xor eax, eax
mov dword [ebp - 0x14], 0x59262f24
mov dword [ebp - 0x10], 0x60e4458
mov word [ebp - 0xc], 6
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.1005f6be
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 0x1006e570
push 0x1005f6cf
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x10077604]
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.1005f6be
mov esp, ebp
pop ebp
ret
Function at 0x10001ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060b08
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10077604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x100664c0]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x62785472
mov dword [ebp - 0x50], 0x65726379
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, 0x70
mov dword [ebp - 0x1c], 0x2151b70
xor eax, eax
mov dword [ebp - 0x18], 0x431c151e
mov dword [ebp - 0x14], 0x1c145e42
mov word [ebp - 0x10], 0x1c
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.10013940
add esp, 4
cmp al, 0xe9
jne 0x10002023
movaps xmm0, xmmword [0x100664a0]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
mov word [ebp - 0x20], 0x6e
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.10018cb0
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:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10077604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov cl, 0x12
mov dword [ebp - 0x1c], 0x7f7b6612
mov dword [ebp - 0x18], 0x66775577
xor eax, eax
mov dword [ebp - 0x14], 0x777f7b46
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, 0x75
mov dword [ebp - 0x2c], 0x7101e75
xor eax, eax
mov dword [ebp - 0x28], 0x4619101b
mov dword [ebp - 0x24], 0x19115b47
mov word [ebp - 0x20], 0x19
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.10013940
add esp, 4
cmp al, 0xe9
jne 0x10002ad3
movaps xmm0, xmmword [0x10066480]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x43
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.10018cb0
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 0x10009c50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10077604]
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.0x10009c75
jmp dword [eax*4 + 0x10009de0]
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.1005f6be
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.1005f6be
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.1005f6be
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 0x10066610
mov ecx, esi
call fcn.10007e90
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x10009d5c
push 0x20
push eax
mov ecx, esi
call fcn.1000a800
cmp dword [esi + 0x14], 0x10
jb 0x10009d27
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.1005f6be
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.1005f6be
mov esp, ebp
pop ebp
ret 0xc
push 0x91
push str.c:usersmonsterdesktopdreamsoft_v1.924dreamsoftN3Base_N3TableBase.hpp
push 0x10066610
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.100322e0
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 0x10009dcc
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.1005f6be
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10009f30
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x100080b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x1000da10
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 0x1000dabc
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 0x1000da54
mov ecx, esi
call fcn.1000dcc0
jmp 0x1000da62
cmp eax, 0x4e0
jb 0x1000da62
mov ecx, esi
call fcn.1000dbf0
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 0x1000da40
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 0x1000da30
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 0x1000dadf
lea eax, [ecx - 1]
cmp ebx, eax
jne 0x1000da20
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 0x1000daf0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp byte [0x10078078], 0
jne 0x1000db40
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1007605c], 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 + 0x1007605c], eax
inc ecx
cmp ecx, 0x270
jl 0x1000db10
mov dword [0x10076058], 0x270
mov byte [0x10078078], 1
ret

Function at 0x1000db50
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 0x1000db84
mov ecx, esi
call fcn.1000dcc0
jmp 0x1000db92
cmp eax, 0x4e0
jb 0x1000db92
mov ecx, esi
call fcn.1000dbf0
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 0x1000db70
mov eax, dword [ebp - 4]
or ebx, ecx
add eax, dword [edi + 4]
mov dword [ebp - 4], eax
cmp eax, 0x20
jb 0x1000db60
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000dbf0
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 0x1000dc00
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 0x1000dc42
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 0x1000dcc0
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 0x1000dcd0
pop esi
ret
Function at 0x1000eb70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061818
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10077604]
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 [0x10077f30], 0
mov edi, dword [ebp + 0xc]
je 0x1000ecee
cmp byte [0x100781f2], 0
je 0x1000ecee
mov eax, dword [edi]
cmp dword [eax + 0x14], 0x10
lea esi, [eax + 4]
jb 0x1000ebc6
mov esi, dword [eax + 4]
movaps xmm0, xmmword [0x100668c0]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x15
nop dword [eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x1000ebe0
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.1000e080
add esp, 0x30
test al, al
je 0x1000ecee
mov eax, dword [0x10077f30]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
test edx, edx
je 0x1000ecde
push edi
push ecx
mov ecx, edx
call fcn.10031870
mov eax, dword [0x10077f30]
cmp dword [eax + 0x60], 0
je 0x1000ec92
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.10031320
cmp byte [ebp - 0x18], 0
je 0x1000ec83
push dword [ebp - 0x1c]
mov ecx, dword [0x10077f30]
push esi
push edi
push dword [ebp + 8]
mov ecx, dword [ecx + 0x60]
call fcn.10031f10
mov eax, dword [0x10077f30]
inc bl
mov byte [ebp - 0x34], bl
cmp bl, 4
jb 0x1000ec57
cmp dword [eax + 0x64], 0
je 0x1000ecdb
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.10031360
cmp byte [ebp - 0x28], 0
je 0x1000eccc
push dword [ebp - 0x2c]
mov ecx, dword [0x10077f30]
push esi
push edi
push dword [ebp + 8]
mov ecx, dword [ecx + 0x64]
call fcn.10032640
mov eax, dword [0x10077f30]
inc bl
mov byte [ebp - 0x34], bl
cmp bl, 8
jb 0x1000eca0
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x1000ecee
push edi
push ecx
mov ecx, eax
call fcn.10030520
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.1005f6be
mov esp, ebp
pop ebp
ret
Function at 0x10011210
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x1007817c], 0
jne 0x10011258
push 0x10078180
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp eax, 1
jne 0x10011248
push 0x10078188
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov al, 1
mov byte [0x1007817d], al
mov byte [0x1007817c], al
jmp 0x1001125d
xor al, al
mov byte [0x1007817c], 1
mov byte [0x1007817d], al
jmp 0x1001125d
mov al, byte [0x1007817d]
test al, al
je 0x100112ac
push 0x10078180
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [0x10078184]
mov ecx, dword [0x10078180]
call fcn.1005fa50
mov edx, dword [0x1007818c]
mov ecx, dword [0x10078188]
movsd qword [ebp - 8], xmm0
call fcn.1005fa50
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 + 0x100669d0]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 4], xmm0
fld dword [ebp - 4]
mov esp, ebp
pop ebp
ret