joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000bf10
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push esi
call fcn.1000a0c0
test esi, esi
mov edi, eax
jne 0x1000bf31
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
pop ecx
ret 8
cmp word [edi + 0x18], 0x7242
lea esi, [edi + 0x18]
je 0x1000bf48
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
pop ecx
ret 8
test byte [esi + 0x12], 4
jne 0x1000bf60
mov word [esi + 6], 0xb39
pop edi
pop esi
pop ebp
mov ax, 0x39
pop ebx
pop ecx
ret 8
push 0
call fcn.1001b410
mov ebp, eax
test ebp, 0x100
jne 0x1000bf73
xor ebp, ebp
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc8], ebp
mov word [esi + 0xd0], ax
push eax
lea eax, [esi + 0x34]
mov word [esi + 0x30], 8
push eax
call fcn.1000c090
xor bl, bl
mov eax, 3
cmp ax, 3
je 0x1000bfa7
cmp ax, 7
jne 0x1000bfbd
push esi
mov byte [esi + 0xa], bl
call fcn.10018f40
push eax
call fcn.1000bb50
inc bl
cmp bl, 3
jbe 0x1000bf9b
cmp ax, 9
jne 0x1000bfcf
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
pop ecx
ret 8
test ax, ax
jne 0x1000c07c
mov bl, byte [edi]
mov byte [esp + 0x18], 0x91
and bl, 0xfc
mov byte [edi], bl
mov cx, word [esi + 0x3c]
mov al, bl
cmp cx, 5
mov bl, 1
jne 0x1000bffc
or al, 2
mov byte [esp + 0x18], bl
mov byte [edi], al
jmp 0x1000c006
cmp cx, 7
jne 0x1000c006
or al, bl
mov byte [edi], al
test ebp, ebp
je 0x1000c038
mov ecx, dword [esp + 0x18]
mov esi, dword [esi + 0xc8]
push ebp
push ecx
call fcn.1000cf80
add esp, 8
cmp esi, eax
je 0x1000c038
push ebp
call fcn.1001b520
cmp esi, eax
je 0x1000c038
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
pop ecx
ret 8
cmp dword [0x1005f7e0], 0xffffffff
jne 0x1000c079
lea edx, [esp + 0x10]
push edx
push 0
push 0x100648e2
push 0x1000d5d0
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
mov dword [0x1005f7e0], eax
mov al, byte [0x100648e0]
add esp, 0x18
cmp al, bl
jne 0x1000c079
pop edi
pop esi
pop ebp
mov ax, 0x68
pop ebx
pop ecx
ret 8
xor ax, ax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x1000cf80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc0
push ebx
mov ebx, dword [esp + 0xc8]
test bl, 0x80
je 0x1000d0f0
push esi
mov esi, dword [esp + 0xd0]
mov eax, esi
mov ecx, esi
and eax, 0xff00
xor edx, edx
shl ecx, 0x10
or eax, ecx
mov ecx, esi
and ecx, 0xff0000
push edi
shr esi, 0x10
or ecx, esi
mov esi, ebx
and esi, 0xf
shl eax, 8
shr ecx, 8
cmp esi, 3
ja case.default.0x1000cfd1
jmp dword [esi*4 + 0x1000d1f0]
mov edi, 0x20
mov esi, eax
shr esi, 0xd
and esi, 1
mov ebx, esi
xor esi, ecx
shl ebx, 0x1f
shr edx, 1
shl esi, 0x1f
shr eax, 1
or edx, ebx
or esi, eax
shr ecx, 1
dec edi
mov eax, esi
jne 0x1000cfdd
jmp case.default.0x1000cfd1
mov esi, 0x20
mov edi, eax
mov ebx, ecx
and edi, 0xffff0000
shl edi, 0xf
shr edx, 1
or edx, edi
mov edi, eax
and edi, 0xfffff000
shl ebx, 0xc
xor edi, ebx
mov ebx, eax
shl edi, 8
and ebx, 0xfff00000
xor edi, ebx
shl edi, 0xb
shr eax, 1
or eax, edi
shr ecx, 1
dec esi
jne 0x1000d008
jmp case.default.0x1000cfd1
push ebp
mov edi, 0x20
mov esi, ecx
mov ebp, eax
and esi, 1
and ebp, 0xfff80000
mov ebx, esi
shl ebx, 0x13
xor ebx, ebp
shl ebx, 0xc
shr edx, 1
or edx, ebx
mov ebx, eax
and bl, 0
shl esi, 8
xor ebx, esi
mov esi, eax
shl ebx, 0xf
and esi, 0xff800000
xor ebx, esi
shl ebx, 8
shr eax, 1
or eax, ebx
shr ecx, 1
dec edi
jne 0x1000d04a
pop ebp
jmp case.default.0x1000cfd1
mov esi, 0x20
mov edi, eax
mov ebx, ecx
and edi, 0xfffff800
shl ebx, 0xb
xor edi, ebx
mov ebx, eax
shl edi, 5
and ebx, 0xffff0000
xor edi, ebx
mov ebx, ecx
shl edi, 0xf
shr edx, 1
or edx, edi
mov edi, eax
and edi, 0xffffff80
shl ebx, 7
xor edi, ebx
mov ebx, eax
shl edi, 0x12
and ebx, 0xfe000000
xor edi, ebx
shl edi, 6
shr eax, 1
or eax, edi
shr ecx, 1
dec esi
jne 0x1000d090
xor eax, eax
pop edi
mov al, dh
pop esi
mov ah, dl
and edx, 0xffff0000
or eax, edx
pop ebx
add esp, 0xc0
ret
lea edx, [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0xc], 0x29
mov byte [esp + 0xd], 0x56
mov byte [esp + 0xe], 0xb2
mov byte [esp + 0xf], 0x39
mov byte [esp + 0x10], 0xa0
mov byte [esp + 0x11], 0xce
mov byte [esp + 0x12], 0xeb
mov byte [esp + 0x13], 0x87
mov byte [esp + 0x14], 0x52
mov byte [esp + 0x15], 0xb4
mov byte [esp + 0x16], 0x76
mov byte [esp + 0x17], 0xfb
mov byte [esp + 0x18], 0xc
mov byte [esp + 0x19], 0x94
mov byte [esp + 0x1a], 0x37
mov byte [esp + 0x1b], 0x71
call fcn.1001b9a0
mov eax, dword [esp + 0xd4]
and ebx, 0xff
mov byte [esp + 0xc], al
mov ecx, eax
mov edx, eax
shr eax, 0x18
mov byte [esp + 0xf], al
mov al, bl
mov ah, al
mov ebx, eax
shl ebx, 0x10
shr ecx, 8
shr edx, 0x10
mov bx, ax
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], dl
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
push ecx
push edx
mov dword [esp + 0x20], ebx
call fcn.1001ba90
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.1001b9a0
mov eax, dword [esp + 0x1f]
mov edx, dword [esp + 0x1e]
mov ecx, dword [esp + 0x1d]
and eax, 0xff
shl eax, 8
and edx, 0xff
and ecx, 0xff
or eax, edx
mov edx, dword [esp + 0x1c]
shl eax, 8
or eax, ecx
add esp, 0x18
shl eax, 8
and edx, 0xff
pop ebx
or eax, edx
add esp, 0xc0
ret
Function at 0x1000f800
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x100
push ebx
push ebp
push esi
push edi
mov ecx, 0x2b
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x124]
test eax, eax
je 0x1000f9c9
mov ebp, dword [esp + 0x128]
test ebp, ebp
je 0x1000f9c9
mov ebx, dword [esp + 0x120]
cmp ebx, 0x50
ja 0x1000f9c9
cmp dword [esp + 0x12c], 0x50
jb 0x1000f9c9
test ebx, ebx
jne 0x1000f868
lea esi, [esp + 0xc0]
jmp 0x1000f8c1
cmp ebx, 0xc
jbe 0x1000f8ba
mov eax, dword [esp + 0x11c]
mov edx, ebp
mov ecx, eax
cmp ebx, 0x4c
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
ja 0x1000f9c9
lea ecx, [ebx - 0xc]
lea edi, [ebp + 0x10]
mov edx, ecx
lea esi, [eax + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, 0x38
mov ecx, edx
sub eax, ebx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jle 0x1000f8de
push eax
lea eax, [ebx + ebp + 4]
jmp 0x1000f8d8
mov esi, dword [esp + 0x11c]
mov ecx, ebx
mov edi, ebp
mov edx, ecx
lea eax, [ebp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x2c
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.1001b970
mov byte [ebp + 0xc], bl
mov ebx, dword [esp + 0x118]
lea esi, [ebp + 0xe]
push 2
push esi
mov byte [ebp + 0xd], bl
call fcn.1001b970
mov cl, byte [esi]
mov dl, byte [ebp + 0xf]
mov al, byte [esp + 0x114]
not cl
mov byte [ebp + 0x3d], al
mov eax, dword [esp + 0x124]
mov byte [ebp + 0x3e], cl
lea ecx, [esp + 0x10]
shr ebx, 8
not dl
push eax
push ecx
mov byte [ebp + 0x3c], bl
mov byte [ebp + 0x3f], dl
call fcn.1001b9a0
lea esi, [ebp + 0x30]
lea edx, [esp + 0x18]
push esi
push edx
call fcn.1001bcc0
mov ecx, 0xffffffd0
add esp, 0x10
mov eax, esi
sub ecx, ebp
mov dl, byte [eax - 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x1000f941
lea esi, [ebp + 0x20]
lea eax, [esp + 0x10]
push esi
push eax
call fcn.1001bcc0
mov ecx, 0xffffffe0
add esp, 8
mov eax, esi
sub ecx, ebp
mov dl, byte [eax - 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x1000f96d
lea esi, [ebp + 0x10]
lea eax, [esp + 0x10]
push esi
push eax
call fcn.1001bcc0
mov ecx, 0xfffffff0
add esp, 8
mov eax, esi
sub ecx, ebp
mov dl, byte [eax - 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x1000f999
lea eax, [esp + 0x10]
push ebp
push eax
call fcn.1001bcc0
add esp, 8
xor ax, ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 0x1c
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0x100
ret 0x1c
Function at 0x1000f9e0
Capabilities:
Terminate thread

Disassembly:
push ecx
mov eax, dword [0x1005f7e0]
mov dword [esp], 0
test eax, eax
je 0x1000fa4b
cmp eax, 0xffffffff
je 0x1000fa4b
lea ecx, [esp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp], 0x103
jne 0x1000fa4b
mov edx, dword [0x1005f7e0]
push 0x7530
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1000fa34
mov eax, dword [0x1005f7e0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [0x1005f7e0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1005f7e0], 0
pop ecx
ret
Function at 0x10011020
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
push edi
push ebx
push ebp
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push 0
push esi
push edx
push eax
push ecx
call fcn.10007a80
add esp, 0x28
test ax, ax
je 0x1001106d
mov edx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov word [edx + 6], ax
pop ebx
ret
cmp word [0x100648e8], 0
jne 0x10011113
lea eax, [esp + 0x34]
lea ecx, [esp + 0x38]
push eax
push 0
push ecx
push 0x100079b0
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov dword [0x100648e4], eax
push 0x1b58
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10011113
mov ax, word [esp + 0x38]
cmp ax, 2
jne 0x1001111b
cmp dword [esp + 0x20], 0xffffffff
jne 0x100110e2
test esi, esi
jge 0x100110e2
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push edi
push ebx
push ebp
push edx
mov edx, dword [esp + 0x28]
push eax
push 2
push esi
push 0xffffffffffffffff
push ecx
push edx
jmp 0x100110fe
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push edi
push ebx
push ebp
push eax
mov eax, dword [esp + 0x28]
push ecx
push 2
push esi
push 1
push edx
push eax
call fcn.10007a80
mov ecx, dword [0x100648e4]
add esp, 0x28
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
test ax, ax
jne 0x10011135
mov edx, dword [0x100648e4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
cmp dword [esp + 0x20], 1
jne 0x1001115e
test esi, esi
jle 0x1001115e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push edi
push ebx
push ebp
push eax
mov eax, dword [esp + 0x28]
push ecx
push 1
push esi
push 1
push edx
push eax
jmp 0x1001117a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
push edi
push ebx
push ebp
push ecx
mov ecx, dword [esp + 0x28]
push edx
push 1
push esi
push 0xffffffffffffffff
push eax
push ecx
call fcn.10007a80
mov edx, dword [esp + 0x3c]
add esp, 0x28
mov word [edx + 6], 0x46
mov eax, dword [0x100648e4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov ax, 0x46
pop ebx
ret
Function at 0x10018c40
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x10065918]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x10018c74
call fcn.10018cc0
test eax, eax
je 0x10018c5c
or eax, 0xffffffff
pop esi
ret
mov eax, dword [0x10065918]
mov dword [0x1005f8dc], 0
test eax, eax
jne 0x10018c74
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
je 0x10018cae
push ebx
push edi
lea edi, [eax + 1]
mov eax, dword [edx]
xor ebx, ebx
mov bl, byte [esi]
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
mov ebx, dword [0x10065918]
shr eax, 8
mov ecx, dword [ebx + ecx*4]
inc esi
xor eax, ecx
dec edi
mov dword [edx], eax
jne 0x10018c88
pop edi
pop ebx
mov eax, dword [edx]
pop esi
ret

Function at 0x10018cc0
Capabilities:
Hash data with crc32

Disassembly:
push 0x400
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [0x10065918], eax
test eax, eax
jne 0x10018cdb
or eax, 0xffffffff
ret
push esi
xor edx, edx
jmp 0x10018ce5
mov eax, dword [0x10065918]
mov ecx, edx
mov esi, 8
test cl, 1
je 0x10018cfb
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10018cfd
shr ecx, 1
dec esi
jne 0x10018cec
mov dword [eax + edx*4], ecx
inc edx
cmp edx, 0xff
jle 0x10018ce0
xor eax, eax
pop esi
ret
Function at 0x1001ada0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x20]
cmp ebx, 0x10
push esi
jae 0x1001ae06
mov al, bl
lea edx, [esp + 8]
mov cl, al
push edx
mov ch, cl
mov eax, ecx
shl eax, 0x10
mov ax, cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push eax
call fcn.1001ba90
add esp, 8
test ebx, ebx
jbe 0x1001ae4d
mov edx, dword [esp + 0x20]
lea ecx, [esp + 8]
sub ecx, edx
mov esi, ebx
lea eax, [edx + ebx]
mov dl, byte [ecx + eax - 1]
mov bl, byte [eax - 1]
dec eax
xor bl, dl
dec esi
mov byte [eax], bl
jne 0x1001adf1
pop esi
pop ebx
add esp, 0x10
ret
push ebp
mov ebp, dword [esp + 0x20]
cmp ebx, 0x10
jbe 0x1001ae3a
lea ecx, [ebx - 5]
mov eax, 0xaaaaaaab
mul ecx
mov esi, dword [esp + 0x24]
push edi
mov edi, edx
shr edi, 3
push esi
push ebp
call fcn.1001ba90
add esp, 8
add esi, 0xc
sub ebx, 0xc
dec edi
jne 0x1001ae24
pop edi
jmp 0x1001ae3e
mov esi, dword [esp + 0x24]
lea edx, [esi + ebx - 0x10]
push edx
push ebp
call fcn.1001ba90
add esp, 8
pop ebp
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x1001ae60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
cmp ebx, 0x10
push edi
jae 0x1001aeca
mov al, bl
lea edx, [esp + 0x10]
mov cl, al
push edx
mov ch, cl
mov eax, ecx
shl eax, 0x10
mov ax, cx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push eax
call fcn.1001ba90
add esp, 8
test ebx, ebx
jbe 0x1001af1c
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x10]
sub ecx, edx
mov esi, ebx
lea eax, [edx + ebx]
mov dl, byte [ecx + eax - 1]
mov bl, byte [eax - 1]
dec eax
xor bl, dl
dec esi
mov byte [eax], bl
jne 0x1001aeb3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
lea eax, [ebx - 4]
xor edx, edx
mov ecx, 0xc
mov edi, dword [esp + 0x28]
div ecx
mov ebp, dword [esp + 0x24]
mov esi, edx
test esi, esi
jbe 0x1001aef4
lea edx, [edi + ebx - 0x10]
push edx
push ebp
call fcn.1001bcc0
add esp, 8
sub ebx, esi
cmp ebx, 0x10
jb 0x1001af1c
lea esi, [edi + ebx - 0x10]
add ebx, 0xfffffffc
mov eax, 0xaaaaaaab
mul ebx
mov edi, edx
shr edi, 3
push esi
push ebp
call fcn.1001bcc0
add esp, 8
sub esi, 0xc
dec edi
jne 0x1001af0c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x1001b9a0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ebx, 4
sub esi, ecx
lea eax, [edi + ecx]
lea edx, [esp + ebp + 0x10]
add edi, ebx
mov cl, byte [esi + eax]
mov byte [edx], cl
mov byte [eax], cl
add edx, 4
inc eax
dec ebx
jne 0x1001b9c3
inc ebp
cmp ebp, 4
jl 0x1001b9ab
cmp edi, 0xb0
jge 0x1001ba7a
mov ebp, 0x1005fe20
xor eax, eax
lea ecx, [esp + 0x10]
inc eax
mov edx, eax
and edx, reloc.WS2_32.dll_closesocket
jns 0x1001b9fe
dec edx
or edx, 0xfffffffc
inc edx
xor ebx, ebx
add ecx, 4
mov bl, byte [esp + edx*4 + 0x13]
mov dl, byte [ebx + 0x1005fc20]
mov bl, byte [ecx - 4]
xor bl, dl
cmp eax, 4
mov byte [ecx - 4], bl
jl 0x1001b9ee
mov al, byte [ebp]
mov cl, byte [esp + 0x10]
xor cl, al
add ebp, 4
mov byte [esp + 0x10], cl
mov esi, 1
lea eax, [esp + esi + 0x10]
mov ecx, 4
mov dl, byte [eax - 1]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
add eax, 4
dec ecx
jne 0x1001ba38
inc esi
cmp esi, 4
jl 0x1001ba2f
xor esi, esi
lea eax, [esp + esi + 0x10]
mov ecx, 4
mov ebx, dword [esp + 0x24]
mov dl, byte [eax]
add eax, 4
mov byte [edi + ebx], dl
inc edi
dec ecx
jne 0x1001ba58
inc esi
cmp esi, 4
jl 0x1001ba4f
cmp edi, 0xb0
jl 0x1001b9e8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x1001ba90
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
push ebp
push esi
call fcn.1001bb20
add esp, 8
lea edi, [ebp + 0x10]
mov ebx, 9
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x1005fc20]
mov byte [eax + esi - 1], dl
jl 0x1001bab0
push 0
push esi
call fcn.1001bb50
push esi
call fcn.1001bba0
push edi
push esi
call fcn.1001bb20
add esp, 0x14
add edi, 0x10
dec ebx
jne 0x1001baae
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x1005fc20]
mov byte [eax + esi - 1], dl
jl 0x1001bae5
push 0
push esi
call fcn.1001bb50
add ebp, 0xa0
push ebp
push esi
call fcn.1001bb20
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1001bb20
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push ebx
push esi
sub ecx, eax
mov esi, 0x10
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x1001bb31
pop esi
pop ebx
ret
Function at 0x1001bcc0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
lea eax, [ebp + 0xa0]
push eax
push esi
call fcn.1001bb20
add esp, 8
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x1005fd20]
mov byte [eax + esi - 1], dl
jl 0x1001bcde
push 0x10
push esi
call fcn.1001bb50
add esp, 8
lea edi, [ebp + 0x90]
mov ebx, 9
push edi
push esi
call fcn.1001bb20
push esi
call fcn.1001bd50
add esp, 0xc
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x1005fd20]
mov byte [eax + esi - 1], dl
jl 0x1001bd1b
push 0x10
push esi
call fcn.1001bb50
add esp, 8
sub edi, 0x10
dec ebx
jne 0x1001bd09
push ebp
push esi
call fcn.1001bb20
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1001bd50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
xor edi, edi
lea eax, [esp + edi + 0x14]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, ebp
sub eax, ecx
mov esi, 1
mov dword [esp + 0x10], eax
lea edx, [esi - 2]
and edx, 3
add edx, edi
mov al, byte [edx + ebp]
push eax
push 9
call fcn.1001bc70
lea ecx, [esi + 1]
mov bl, al
and ecx, 3
add ecx, edi
mov dl, byte [ecx + ebp]
push edx
push 0xd
call fcn.1001bc70
xor bl, al
mov eax, esi
and eax, 3
add eax, edi
mov cl, byte [eax + ebp]
push ecx
push 0xb
call fcn.1001bc70
mov edx, dword [esp + 0x28]
xor bl, al
mov eax, dword [esp + 0x40]
mov cl, byte [edx + eax]
push ecx
push 0xe
call fcn.1001bc70
add esp, 0x20
xor bl, al
mov eax, dword [esp + 0x28]
inc esi
mov byte [eax], bl
lea edx, [esi - 1]
inc eax
cmp edx, 4
mov dword [esp + 0x28], eax
jl 0x1001bd76
add edi, 4
cmp edi, 0x10
jl 0x1001bd5d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ebp], eax
mov eax, dword [esp + 0x20]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
pop edi
mov dword [ebp + 0xc], eax
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x1001c2e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
push edi
push eax
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 2
jne 0x1001c326
cmp dword [esp + 8], 5
jne 0x1001c326
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x1001c326
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..GlobalSNTNLUSB
jmp 0x1001c33a
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..SNTNLUSB
call fcn.100278e0
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001c352
mov ax, 0x1d03
pop edi
add esp, 0x94
ret
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
push esi
push 0
push ecx
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0xb0]
push ecx
push edx
push eax
push edi
call fcn.10027f40
test eax, eax
je 0x1001c3a3
push edi
xor esi, esi
call fcn.10027d80
mov ax, si
pop esi
pop edi
add esp, 0x94
ret
call fcn.100281f0
cmp eax, 6
jne 0x1001c3c4
push edi
mov esi, 0x1d43
call fcn.10027d80
mov ax, si
pop esi
pop edi
add esp, 0x94
ret
call fcn.100281f0
mov esi, eax
push edi
sub esi, 0x39
neg esi
sbb esi, esi
and esi, 0xffffffa0
add esi, 0x1d6d
call fcn.10027d80
mov ax, si
pop esi
pop edi
add esp, 0x94
ret
Function at 0x1001c3f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
call fcn.10029040
mov ebp, dword [esp + 0x18]
add esp, 4
test ebp, ebp
je 0x1001c4c5
mov al, byte [esi + 1]
and al, 0xf
cmp al, 0xf
je 0x1001c41d
pop edi
pop esi
mov ax, 0x1d02
pop ebp
ret
xor eax, eax
mov cl, byte [eax + esi + 8]
mov byte [eax + esi], cl
inc eax
cmp eax, 0x40
jb 0x1001c41f
push esi
push ebp
call fcn.1001bcc0
add esp, 8
xor eax, eax
mov dl, byte [eax + esi + 0x10]
mov cl, byte [eax + esi]
xor cl, dl
mov byte [eax + esi], cl
inc eax
cmp eax, 0x10
jb 0x1001c438
lea edi, [esi + 0x10]
push ebx
push edi
push ebp
call fcn.1001bcc0
mov ecx, 0xfffffff0
add esp, 8
mov eax, edi
sub ecx, esi
mov dl, byte [eax + 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x1001c461
lea edi, [esi + 0x20]
push edi
push ebp
call fcn.1001bcc0
mov ecx, 0xffffffe0
add esp, 8
mov eax, edi
sub ecx, esi
mov dl, byte [eax + 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x1001c489
lea eax, [esi + 0x30]
push eax
push ebp
call fcn.1001bcc0
mov cl, byte [esi + 6]
mov al, byte [esi + 0x3e]
add esp, 8
cmp cl, al
pop ebx
jne case.0x1001c4ff.4
mov dl, byte [esi + 7]
mov al, byte [esi + 0x3f]
cmp dl, al
je 0x1001c4c5
pop edi
pop esi
mov ax, 0x1d02
pop ebp
ret
mov dl, byte [esi + 4]
mov cl, byte [esi + 5]
xor eax, eax
mov al, byte [esi + 1]
mov edi, eax
add eax, edx
mov dl, byte [esi + 3]
add ecx, eax
mov al, byte [esi + 2]
add ecx, edx
add eax, ecx
xor ecx, ecx
mov cl, byte [esi]
and eax, 0xff
xor eax, ecx
je 0x1001c4f5
pop edi
pop esi
mov ax, 0x1d0d
pop ebp
ret
mov eax, edi
and eax, 0xf
cmp eax, 7
ja case.default.0x1001c4ff
jmp dword [eax*4 + 0x1001c548]
pop edi
pop esi
xor ax, ax
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d41
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d04
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d0a
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d15
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d42
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d3f
pop ebp
ret
pop edi
pop esi
mov ax, 0x1dff
pop ebp
ret