joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10062020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14
xor edx, edx
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
test esi, esi
je 0x10062040
cmp eax, esi
jae 0x100621b8
mov cl, byte [eax]
mov byte [ebp - 3], cl
test cl, cl
je 0x100621b8
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x101ce468]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x10062072
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp - 3]
mov byte [ebp - 4], cl
cmp esi, edx
jae 0x1006208a
mov bl, byte [esi]
mov byte [ebp - 1], bl
jmp 0x1006208e
mov byte [ebp - 1], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x10062099
mov ch, byte [esi]
jmp 0x1006209b
xor ch, ch
lea ebx, [eax + 3]
mov byte [ebp - 3], ch
cmp ebx, edx
jae 0x100620a9
mov bl, byte [ebx]
jmp 0x100620ab
xor bl, bl
movzx esi, byte [ebp - 1]
movzx edx, ch
movzx ecx, cl
movzx edi, bl
mov byte [ebp - 2], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x101ce488]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x101ce4b0]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x101ce49c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x101ce4c4]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x1006219f
xor edx, edx
cmp byte [ebp - 4], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x1006202e
add eax, ebx
test esi, esi
je 0x100621ae
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x1006202e
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10062230
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
dec eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x10], ecx
lea eax, [ebx + eax*2]
mov dword [ebp - 0x18], eax
cmp ebx, eax
mov eax, dword [ebp + 0x10]
jae 0x100623ee
push esi
mov esi, dword [ebp + 0x14]
push edi
nop dword [eax]
test esi, esi
je 0x1006226c
cmp eax, esi
jae 0x100623e9
mov bl, byte [eax]
mov byte [ebp + 0xf], bl
test bl, bl
je 0x100623e9
movzx ecx, bl
mov edx, esi
shr ecx, 3
xor ebx, ebx
movsx ecx, byte [ecx + 0x101ce468]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x1006229e
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp + 0xf]
mov byte [ebp - 3], cl
cmp esi, edx
jae 0x100622b3
mov bh, byte [esi]
jmp 0x100622b5
xor bh, bh
lea esi, [eax + 2]
mov byte [ebp - 2], bh
cmp esi, edx
jae 0x100622c3
mov ch, byte [esi]
jmp 0x100622c5
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 1], ch
cmp esi, edx
jae 0x100622d3
mov bl, byte [esi]
jmp 0x100622d5
xor bl, bl
movzx edx, ch
movzx ecx, cl
movzx esi, bh
movzx edi, bl
mov byte [ebp + 0xf], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x101ce488]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x101ce4b0]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x101ce49c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x101ce4c4]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x100623c6
xor edx, edx
mov esi, 0xfffd
cmp byte [ebp + 0xf], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
jmp 0x100623cc
add eax, ebx
test esi, esi
je 0x100623e6
mov ecx, dword [ebp - 0x10]
mov word [ecx], si
add ecx, 2
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x18]
jb 0x10062260
jmp 0x100623e9
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
pop edi
pop esi
xor edx, edx
mov word [ecx], dx
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x100623fc
mov dword [edx], eax
sub ecx, ebx
sar ecx, 1
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10063cc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x2fac], 0
lea esi, [edi + 0x2fb0]
je 0x10063d3b
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10063cf6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1006f380
push dword [ebp + 0x10]
mov ecx, esi
mov dword [esi], 0
push dword [ebp + 0xc]
call fcn.1006ef30
mov edx, dword [esi]
mov ecx, 0x107111c0
push dword [edi + 0x2fac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2fb8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebp
ret
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.1006ef30
pop edi
pop esi
pop ebp
ret
Function at 0x10068d20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1070fd80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x107111bc]
lea edx, [ebp - 8]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x1ba8]
mov eax, dword [esi + 0xd0]
add esi, 0xd0
push edi
mov dword [ebp - 8], ecx
mov edi, 4
mov ebx, dword [esi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x101cdf20]
sub edi, 1
jne 0x10068d61
mov eax, dword [0x107111bc]
not ebx
cmp dword [eax + 0x1bc8], ebx
jne 0x10068d99
push edi
push dword [ebp + 8]
push 4
push ebx
call fcn.1005f120
add esp, 0x10
mov ecx, dword [esi + 4]
mov edi, dword [esi]
cmp edi, ecx
jne 0x10068dc4
inc edi
test ecx, ecx
je 0x10068db2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10068db7
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.1006f480
mov ecx, dword [esi]
mov eax, dword [esi + 8]
pop edi
mov dword [eax + ecx*4], ebx
inc dword [esi]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.101055b5
mov esp, ebp
pop ebp
ret

Function at 0x1006b4f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x107111bc]
push esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x2f60], 0
test esi, esi
je 0x1006b549
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.1006b550
push 0x101ce5f4
push esi
mov edi, eax
call fcn.10061b70
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1006b548
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebp
ret
Function at 0x1006dd70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x107111bc]
cmp byte [edi + 0x2f5d], 0
lea eax, [edi + 0x20]
jne 0x1006de95
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x1006de8d
push esi
push 0x101ce5f0
push ecx
call fcn.10061b70
mov esi, eax
add esp, 8
test esi, esi
je 0x1006de89
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x1006de7f
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1006de7f
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x1006de7f
push 0
push dword [ebp - 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1006de7f
mov eax, dword [0x107111bc]
test eax, eax
je 0x1006de15
inc dword [eax + 0x36c]
push dword [0x107111c4]
push ebx
call dword [0x105f2fd8]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1006de7f
push esi
push dword [ebp - 4]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x1006de6b
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x107111bc]
test eax, eax
je 0x1006de59
dec dword [eax + 0x36c]
push dword [0x107111c4]
push ebx
call dword [0x105f2fdc]
add esp, 8
jmp 0x1006de89
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp - 4]
push ebx
call fcn.10063860
add esp, 0xc
jmp 0x1006de4a
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea eax, [edi + 0x20]
pop esi
mov byte [edi + 0x2f5d], 1
pop ebx
movss xmm0, dword [edi + 0x2f60]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1006dee6
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x2f60], xmm0
jb 0x1006dee6
mov eax, dword [eax]
test eax, eax
je 0x1006ded5
push eax
call fcn.1006b4f0
add esp, 4
mov dword [edi + 0x2f60], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x354], 1
mov dword [edi + 0x2f60], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1006fa90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015a3d3
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1070fd80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 8], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 1
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x28], 0
mov byte [ebp - 4], 2
mov eax, 0xffff
mov word [ecx + 0x3e], ax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x3a], 0xffffffff
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov word [ecx + 0x38], ax
mov byte [ecx + 0x40], al
mov dword [ecx + 0x44], 0x3f800000
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x50], eax
mov word [ecx + 0x54], ax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10077770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x10077797
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.10063dd0
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100777bc
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.10063dd0
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x100777e1
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.10063dd0
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x10077822
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.10063dd0
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x10077847
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.10063dd0
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1007786c
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.10063dd0
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10072cf0
Function at 0x100806e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015a65d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1070fd80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10061120
mov esi, eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x100808b2
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x100808b2
push 0x38
call fcn.10063da0
mov edi, eax
add esp, 4
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x21]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x10080768
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x1008076a
xor edi, edi
mov dword [ebp - 4], 0xffffffff
or dword [esi + 4], 6
mov edx, dword [ebp + 8]
mov dword [esi + 0xbc], edi
mov dword [esi + 0xb4], str.imgui_impl_win32
mov dword [edi], edx
mov byte [edi + 0x25], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
mov dword [esi + 0xd8], edx
mov dword [esi + 0x2c], 9
mov dword [esi + 0x30], 0x25
mov dword [esi + 0x34], 0x27
mov dword [esi + 0x38], 0x26
mov dword [esi + 0x3c], 0x28
mov dword [esi + 0x40], 0x21
mov dword [esi + 0x44], 0x22
mov dword [esi + 0x48], 0x24
mov dword [esi + 0x4c], 0x23
mov dword [esi + 0x50], 0x2d
mov dword [esi + 0x54], 0x2e
mov dword [esi + 0x58], 8
mov dword [esi + 0x5c], 0x20
mov dword [esi + 0x60], 0xd
mov dword [esi + 0x64], 0x1b
mov dword [esi + 0x68], 0xd
mov dword [esi + 0x6c], 0x41
mov dword [esi + 0x70], 0x43
mov dword [esi + 0x74], 0x56
mov dword [esi + 0x78], 0x58
mov dword [esi + 0x7c], 0x59
mov dword [esi + 0x80], 0x5a
xor esi, esi
mov dword [ebp - 0x38], str.xinput1_4.dll
mov dword [ebp - 0x34], str.xinput1_3.dll
mov dword [ebp - 0x30], str.xinput9_1_0.dll
mov dword [ebp - 0x2c], str.xinput1_2.dll
mov dword [ebp - 0x28], str.xinput1_1.dll
push dword [ebp + esi*4 - 0x38]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x1008088f
inc esi
cmp esi, 5
jl 0x10080875
mov al, 1
jmp 0x100808b4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x28], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov al, 1
jmp 0x100808b4
xor al, al
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.101055b5
mov esp, ebp
pop ebp
ret
Function at 0x10098ab0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x17], 0
je 0x10098b89
movd xmm0, dword [esi]
mov eax, 0x10
movups xmm2, xmmword [0x103f57c0]
movaps xmm1, xmmword [0x101d3bb0]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi], xmm1
movd xmm0, dword [esi + 4]
movaps xmm1, xmmword [0x101d3bc0]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi + 4], xmm1
movd xmm0, dword [esi + 8]
movaps xmm1, xmmword [0x101d3bd0]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi + 8], xmm1
movd xmm0, dword [esi + 0xc]
movaps xmm1, xmmword [0x101d3be0]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [esi + 0xc], xmm1
lea edx, [esi + eax]
lea ecx, [eax + 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x16
jb 0x10098b77
mov byte [esi + 0x17], 0
mov eax, esi
pop esi
ret
Function at 0x10099600
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1070fd80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov ebx, dword [eax]
lea eax, [ebp - 8]
add ebx, dword [ebp + 0x10]
push eax
push 0x40
push 4
mov edi, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
mov dword [ebx], ecx
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.101055b5
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10099660
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1070fd80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [eax]
lea eax, [ebp - 8]
add edi, dword [ebp + 0x10]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.101055b5
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100996b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xe], 0
je 0x10099722
movups xmm4, xmmword [0x103f57c0]
push esi
push edi
mov edi, 0x1d
lea eax, [edi - 1]
movd xmm2, edi
lea esi, [edi - 3]
movd xmm0, eax
movd xmm3, esi
lea edx, [edi - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [ecx + edi - 0x1d]
punpcklbw xmm0, xmm0
movd xmm1, edx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ecx + edi - 0x1d], xmm3
add edi, 4
cmp edi, 0x29
jb 0x100996c4
xor byte [ecx + 0xc], 0x26
pop edi
pop esi
mov byte [ecx + 0xe], 0
mov eax, ecx
ret
Function at 0x1009abe0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015ab3e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1070fd80]
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 - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 1
call fcn.1010525d
lea edi, [esi + 4]
mov dword [ebp - 0x14], eax
push edi
push 0
push eax
push 0x1009b7c0
push 0
push 0
mov dword [ebp - 0x18], 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x1009ac8c
mov ecx, 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], ecx
and ecx, 0xfffffffe
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
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.101055b5
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x1009c270
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015ae88
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x1070fd80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
mov esi, dword [0x10711ae8]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x1009c2e5
mov byte [ebp - 4], 2
lea ecx, [esi + 0x278]
call fcn.1001cf60
mov byte [ebp - 4], 1
lea ecx, [esi + 0x5c]
call fcn.1001cf60
mov byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.1000f6e0
push 0x298
push esi
call fcn.1010528d
add esp, 8
mov esi, dword [0x107111fc]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x1009c327
mov byte [ebp - 4], 5
lea ecx, [esi + 0x278]
call fcn.1001cf60
mov byte [ebp - 4], 4
lea ecx, [esi + 0x5c]
call fcn.1001cf60
mov byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.1000f6e0
push 0x298
push esi
call fcn.1010528d
add esp, 8
mov esi, dword [0x10711af0]
push 0xc
push esi
call fcn.1010528d
add esp, 8
test esi, esi
je 0x1009c346
mov dword [0x10711af0], 0x8123
mov esi, dword [0x10711af4]
push 0xc
push esi
call fcn.1010528d
add esp, 8
test esi, esi
je 0x1009c365
mov dword [0x10711af4], 0x8123
mov esi, dword [0x10711b18]
push 0xc
push esi
call fcn.1010528d
add esp, 8
test esi, esi
je 0x1009c384
mov dword [0x10711b18], 0x8123
mov eax, dword [0x10710ee8]
push 0
push dword [eax + 0x6c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x10710ee8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [eax + 0x6c]
call esi
mov eax, dword [0x10710ee8]
push 0
push dword [eax + 0x60]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x10710ee8]
push dword [eax + 0x60]
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 8]
call fcn.1000f6e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1009de30
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1070fd80]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x107122b4]
push ebx
push edi
call fcn.100beb80
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [ebp + 8]
mov ebx, eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], 0xe92d4ff0
push eax
push 0x40
push 0x2d
add edi, 0x37f9548
mov dword [ebp - 0x30], 0xe59f0010
push edi
push ebx
mov dword [ebp - 0x2c], 0xe3a01001
mov dword [ebp - 0x28], 0xe08f0000
mov dword [ebp - 0x24], 0xebda672b
mov dword [ebp - 0x20], 0xe3a00000
mov dword [ebp - 0x1c], 0xe8bd8ff0
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], 0x6862696c
mov dword [ebp - 0x10], 0x65706c65
mov dword [ebp - 0xc], 0x6f732e72
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
push 0x2d
lea eax, [ebp - 0x34]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push dword [ebp - 0x38]
push 0x2d
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop ebx
call fcn.101055b5
mov esp, ebp
pop ebp
ret