joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100059f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009844a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100bd078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.10063949
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x10005ab0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.100800be
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x100bb288
push eax
call fcn.1008047a
push edi
push esi
call fcn.100637d8
add esp, 8
mov eax, esi
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.10067c75
mov esp, ebp
pop ebp
ret 4

Function at 0x10006b20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100983d6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100bd078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10067c86
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100636d5
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000df00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x100bd078]
xor eax, esp
mov dword [esp + 0x24], 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.0x1000df29
jmp dword [eax*4 + 0x1000e0ac]
push 0
lea eax, [esp + 0x10]
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 [esp + 0x24]
xor ecx, esp
call fcn.10067c75
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
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 [esp + 0x24]
xor ecx, esp
call fcn.10067c75
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
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 [esp + 0x24]
xor ecx, esp
call fcn.10067c75
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x100ab750
mov ecx, esi
call fcn.100099b0
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x1000e01e
push 0x20
push eax
mov ecx, esi
call fcn.10003d20
cmp dword [esi + 0x14], 0x10
jb 0x1000dfe5
mov esi, dword [esi]
push 0
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x18]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10067c75
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
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 [esp + 0x24]
xor ecx, esp
call fcn.10067c75
mov esp, ebp
pop ebp
ret 0xc
push 0x91
push str.c:usersmonsterdesktopdreamsoft_v1924dreamsoftN3Base_N3TableBase.hpp
push 0x100ab750
sub esp, 0x18
mov ecx, esp
push str.ERROR____s_n_s:__d_n_n
call fcn.10002980
lea eax, [esp + 0x38]
push eax
call fcn.10009ac0
add esp, 0x28
lea eax, [esp + 0x14]
cmp dword [esp + 0x28], 0x10
cmovae eax, dword [esp + 0x14]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x28]
cmp eax, 0x10
jb 0x1000e094
inc eax
lea ecx, [esp + 0x14]
push eax
push dword [esp + 0x18]
call fcn.10002760
mov ecx, dword [esp + 0x2c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10067c75
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000ff70
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push 0
push 0
push 0
push 0x1000b770
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.10015980
call fcn.100668c0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10066d90
push 0x1000f8f0
push 0x100c19e0
call fcn.100665d0
call fcn.10066920
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x919fd0
call edi
test eax, eax
jne 0x1000fff2
mov dword [0x100c19e0], 0x919fd0
call fcn.100668c0
call esi
push eax
call fcn.10066d90
push 0x1000f8f0
push 0x100c19e0
call fcn.10066140
call fcn.10066920
call fcn.100668c0
call esi
push eax
call fcn.10066d90
push 0x1000f920
push 0x100c19dc
call fcn.100665d0
call fcn.10066920
mov eax, dword [sym.imp.WS2_32.dll_connect]
push 4
push eax
mov dword [0x100c19dc], eax
call edi
test eax, eax
jne 0x10010047
call fcn.100668c0
call esi
push eax
call fcn.10066d90
push 0x1000f920
push 0x100c19dc
call fcn.10066140
call fcn.10066920
call fcn.100668c0
call esi
push eax
call fcn.10066d90
push 0x1000fb60
push 0x100c19d8
call fcn.100665d0
call fcn.10066920
mov eax, dword [sym.imp.WS2_32.dll_WSAConnect]
push 4
push eax
mov dword [0x100c19d8], eax
call edi
test eax, eax
jne 0x1001009c
call fcn.100668c0
call esi
push eax
call fcn.10066d90
push 0x1000fb60
push 0x100c19d8
call fcn.10066140
call fcn.10066920
call fcn.100668c0
call esi
push eax
call fcn.10066d90
push 0x1000fdb0
push 0x100c19d4
call fcn.100665d0
call fcn.10066920
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 4
push eax
mov dword [0x100c19d4], eax
call edi
test eax, eax
jne 0x100100f1
call fcn.100668c0
call esi
push eax
call fcn.10066d90
push 0x1000fdb0
push 0x100c19d4
call fcn.10066140
call fcn.10066920
pop edi
pop esi
pop ecx
ret
Function at 0x10012240
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x100bd994], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x100bd994], edx
inc eax
cmp eax, 0x270
jl 0x10012251
mov dword [0x100bd990], 0x270
pop ebp
ret 8

Function at 0x10012370
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 0x10012380
pop esi
ret

Function at 0x100123c0
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 0x100123d0
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 0x10012412
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 0x10012d70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100991f8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100bd078]
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 edi, edx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp dword [0x100c19b0], 0
je 0x10012ef2
cmp byte [0x100c19c2], 0
je 0x10012ef2
mov eax, dword [edi]
cmp dword [eax + 0x18], 0x10
lea esi, [eax + 4]
jb 0x10012dca
mov esi, dword [eax + 4]
movaps xmm0, xmmword [0x100b2300]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x28], 0x7f
nop dword [eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x10
jb 0x10012de0
sub esp, 0x18
mov byte [ebp - 0x27], 0
lea eax, [ebp - 0x37]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.10002980
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push esi
call fcn.10002980
mov dword [ebp - 4], 0xffffffff
call fcn.100124e0
add esp, 0x30
test al, al
je 0x10012ef2
mov ecx, dword [0x100c19b0]
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x10012ee2
push edi
push ebx
mov ecx, eax
call fcn.10033990
mov ecx, dword [0x100c19b0]
cmp dword [ecx + 0x60], 0
je 0x10012e9b
xor bl, bl
xor esi, esi
mov byte [ebp - 0x14], bl
cmp bl, 4
jae 0x10012e8e
mov eax, dword [ecx + 0x5c]
movq xmm0, qword [eax + esi + 4]
mov eax, dword [eax + esi + 0xc]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], eax
test al, al
je 0x10012e8e
push dword [ebp - 0x20]
mov ecx, dword [ecx + 0x60]
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call fcn.10035270
mov ecx, dword [0x100c19b0]
inc bl
add esi, 0xc
mov byte [ebp - 0x14], bl
cmp bl, 4
jb 0x10012e5d
cmp dword [ecx + 0x64], 0
je 0x10012ee2
xor bl, bl
mov byte [ebp - 0x14], bl
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
mov ecx, dword [ecx + 0x5c]
push esi
push eax
call fcn.10033d60
cmp byte [ebp - 0x1c], 0
je 0x10012ed2
push dword [ebp - 0x20]
mov ecx, dword [0x100c19b0]
push esi
push edi
push dword [ebp - 0x18]
mov ecx, dword [ecx + 0x64]
call fcn.100357b0
mov ecx, dword [0x100c19b0]
inc bl
mov byte [ebp - 0x14], bl
cmp bl, 8
jb 0x10012ea6
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x10012ef2
push edi
push dword [ebp - 0x18]
call fcn.10033390
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.10067c75
mov esp, ebp
pop ebp
ret
Function at 0x10012fe0
Capabilities:
Encode data using xor
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x15c
mov eax, dword [0x100bd078]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
push 0
push 2
xor bl, bl
mov dword [esp + 0x40], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x1001319a
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x38]
push eax
push esi
call edi
cmp eax, 1
jne 0x1001319a
nop
cmp byte [esp + 0x5c], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x10013060
xor ecx, ecx
jmp 0x10013070
lea ecx, [esp + 0x5c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10013067
sub ecx, edx
push ecx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x28]
call fcn.10002880
movaps xmm0, xmmword [0x100b1cb0]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov word [esp + 0x1c], 0x20
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0x10
jb 0x10013094
cmp byte [esp + 0xd], 0
mov byte [esp + 0x1d], 0
jne 0x100130b2
xor ecx, ecx
jmp 0x100130c9
lea ecx, [esp + 0xd]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100130c0
sub ecx, edx
push ecx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x2c]
call fcn.100127a0
cmp eax, 0xffffffff
je 0x100130e0
inc bl
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x100130f8
inc eax
lea ecx, [esp + 0x20]
push eax
push dword [esp + 0x24]
call fcn.10002760
lea eax, [esp + 0x38]
push eax
push esi
call edi
cmp eax, 1
je 0x10013040
cmp bl, 2
jbe 0x10013152
movaps xmm0, xmmword [0x100b16a0]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov byte [esp + 0x1c], 0
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0xf
jb 0x10013121
cmp byte [esp + 0xd], 0
mov byte [esp + 0x1c], 0
je 0x100131ca
lea ecx, [esp + 0xd]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10013146
jmp 0x100131dc
cmp bl, 1
jbe 0x1001319a
movaps xmm0, xmmword [0x100b1f20]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov byte [esp + 0x1c], 0
nop word [eax + eax]
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0xf
jb 0x10013170
cmp byte [esp + 0xd], 0
mov byte [esp + 0x1c], 0
je 0x100131ca
lea ecx, [esp + 0xd]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10013191
jmp 0x100131dc
movaps xmm0, xmmword [0x100b14d0]
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
nop dword [eax + eax]
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0xe
jb 0x100131b0
cmp byte [esp + 0xd], 0
mov byte [esp + 0x1b], 0
jne 0x100131ce
xor ecx, ecx
jmp 0x100131de
lea ecx, [esp + 0xd]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100131d5
sub ecx, edx
push ecx
lea eax, [esp + 0x11]
mov ecx, 0x100c1ec4
push eax
call fcn.10002880
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10067c75
mov esp, ebp
pop ebp
ret
Function at 0x10013820
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movaps xmm0, xmmword [0x100b18f0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
push esi
movaps xmm0, xmmword [0x100b1950]
movups xmmword [ebp - 0x24], xmm0
push edi
movaps xmm0, xmmword [0x100b13c0]
movups xmmword [ebp - 0x14], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x10013850
push 0
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], 0
push eax
push 0
push 0x100c1a18
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1001393c
push 0x100c1a14
push 0
push 0
push 0x8004
push dword [0x100c1a18]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1001393c
movaps xmm0, xmmword [0x100b1b30]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x376f393e
movaps xmm0, xmmword [0x100b2190]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x3d6b2d1f
movaps xmm0, xmmword [0x100b21d0]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x7e2f250a
mov word [ebp - 4], 0x22
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x100138e0
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x100c1a14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1001393c
push 0x100c1a10
push 0x800000
push dword [0x100c1a14]
push 0x6801
push dword [0x100c1a18]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1001393c
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x100c1a0c], eax
call fcn.100668c0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.10066d90
push 0x10013210
push 0x100c1a1c
call fcn.100665d0
call fcn.10066920
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x8f5430
call edi
test eax, eax
jne 0x100139ac
mov dword [0x100c1a1c], 0x8f5430
call fcn.100668c0
call esi
push eax
call fcn.10066d90
push 0x10013210
push 0x100c1a1c
call fcn.10066140
call fcn.10066920
call fcn.100668c0
call esi
push eax
call fcn.10066d90
push 0x10013680
push 0x100c1a08
call fcn.100665d0
call fcn.10066920
push 4
push 0x450890
call edi
test eax, eax
jne 0x10013a05
mov dword [0x100c1a08], 0x450890
call fcn.100668c0
call esi
push eax
call fcn.10066d90
push 0x10013680
push 0x100c1a08
call fcn.10066140
call fcn.10066920
call fcn.100668c0
call esi
push eax
call fcn.10066d90
push 0x10013720
push 0x100c1a04
call fcn.100665d0
call fcn.10066920
push 4
push 0x4504c0
call edi
test eax, eax
jne 0x10013a5e
mov dword [0x100c1a04], 0x4504c0
call fcn.100668c0
call esi
push eax
call fcn.10066d90
push 0x10013720
push 0x100c1a04
call fcn.10066140
call fcn.10066920
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10015330
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x100c20f9], 0
jne 0x10015378
push 0x100c2110
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp eax, 1
jne 0x10015368
push 0x100c2118
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov al, 1
mov byte [0x100c20f8], al
mov byte [0x100c20f9], al
jmp 0x1001537d
xor al, al
mov byte [0x100c20f9], 1
mov byte [0x100c20f8], al
jmp 0x1001537d
mov al, byte [0x100c20f8]
test al, al
je 0x100153c4
push 0x100c2110
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [0x100c2114]
mov ecx, dword [0x100c2110]
call fcn.10097b60
mov edx, dword [0x100c211c]
mov ecx, dword [0x100c2118]
movsd qword [ebp - 8], xmm0
call fcn.10097b60
movsd xmm1, qword [ebp - 8]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
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 + 0x100b1d10]
cvtpd2ps xmm0, xmm0
mov esp, ebp
pop ebp
ret
Function at 0x10017700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100993d0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
mov eax, dword [0x100bd078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, byte [0x100c1a67]
cmp bl, 0x41
je 0x100177f7
mov ecx, 0xd78dd4
call fcn.100173f0
mov edx, eax
call fcn.10001f80
cmp edx, eax
jne 0x10017765
mov ecx, 0xd78dd4
call fcn.100173f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
je 0x100177f7
movaps xmm0, xmmword [0x100b1970]
xor ecx, ecx
movups xmmword [ebp - 0x80], xmm0
movzx eax, bl
movaps xmm0, xmmword [0x100b1b00]
push eax
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0x2a37312b
mov word [ebp - 0x5c], 0x29
nop
mov al, byte [ebp - 0x80]
xor byte [ebp + ecx - 0x7f], al
inc ecx
cmp ecx, 0x24
jb 0x10017790
sub esp, 0x18
mov byte [ebp - 0x5b], 0
lea eax, [ebp - 0x7f]
mov ecx, esp
push eax
call fcn.10002980
lea eax, [ebp - 0x58]
push eax
call fcn.10009ac0
add esp, 0x20
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.1001ab40
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x100177e5
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10002760
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.10020930
test eax, eax
je 0x1001788a
movaps xmm0, xmmword [0x100b1640]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x181d19
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x12
jb 0x10017818
cmp byte [ebp - 0x27], 0
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jne 0x10017845
xor ecx, ecx
jmp 0x10017859
lea ecx, [ebp - 0x27]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017850
sub ecx, edx
push ecx
lea eax, [ebp - 0x27]
push eax
lea ecx, [ebp - 0x40]
call fcn.10002880
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.1001ab40
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1001788a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10002760
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001a6c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100bd078]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100b1930]
xor ecx, ecx
mov eax, dword [0x100c1aa8]
push ebx
push esi
push edi
mov dword [ebp - 0x3c], eax
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x28], 0
nop dword [eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xf
jb 0x1001a6f0
sub esp, 0x18
mov byte [ebp - 0x28], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x37], 0
jne 0x1001a721
xor ecx, ecx
jmp 0x1001a730
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a727
sub ecx, esi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10002880
lea ecx, [ebp - 0x1c]
call fcn.10063190
mov edi, dword [ebp - 8]
add esp, 0x18
cmp dword [0x100c1aa4], 0
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
jbe 0x1001a7a9
xor edx, edx
mov dword [ebp - 0x20], edx
cmp edi, 0x10
lea ecx, [ebp - 0x1c]
cmovae ecx, ebx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a770
sub ecx, esi
mov eax, edx
cmp edi, 0x10
lea esi, [ebp - 0x1c]
cmovae esi, ebx
xor edx, edx
div ecx
mov ecx, dword [ebp - 0x20]
mov al, byte [edx + esi]
mov edx, dword [ebp - 0x3c]
xor byte [ecx + edx], al
mov eax, dword [ebp - 0x24]
inc eax
movzx edx, ax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
cmp edx, dword [0x100c1aa4]
jb 0x1001a762
cmp edi, 0x10
jb 0x1001a7bb
lea eax, [edi + 1]
push eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.10002760
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10067c75
mov esp, ebp
pop ebp
ret