joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008a609
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10252760]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1008a649
cmp byte [ebx], 0xa
jne 0x1008a649
or byte [edi + eax + 0x28], 4
jmp 0x1008a64e
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x1008a74d
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1008a730
inc eax
cmp dl, 0xd
je 0x1008a67a
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x1008a6a0
cmp eax, ecx
jae 0x1008a6ae
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x1008a662
jmp 0x1008a74d
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008a72b
cmp dword [ebp - 0x10], 0
je 0x1008a72b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10252760]
test byte [eax + edi + 0x28], 0x48
je 0x1008a705
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1008a6f0
mov byte [esi], dl
jmp 0x1008a701
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10252760]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1008a74d
cmp byte [ebp - 1], 0xa
jne 0x1008a714
cmp esi, ebx
jne 0x1008a714
mov byte [esi], 0xa
jmp 0x1008a74c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10091113
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1008a74d
mov byte [esi], 0xd
jmp 0x1008a74c
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10252760]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1008a74a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1008a74d
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1008a756
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10252760]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1008a79c
cmp word [ebx], dx
jne 0x1008a79c
or byte [eax + edi + 0x28], 4
jmp 0x1008a7a1
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1008a904
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1008a8e4
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1008a7e2
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1008a818
cmp eax, edx
jae 0x1008a826
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1008a7bd
jmp 0x1008a904
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008a8df
cmp dword [ebp - 0x18], 0
je 0x1008a8df
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10252760]
test byte [eax + edi + 0x28], 0x48
je 0x1008a8b5
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1008a879
mov word [esi], cx
jmp 0x1008a8b0
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10252760]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10252760]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10252760]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1008a904
pop eax
cmp word [ebp - 4], ax
jne 0x1008a8c5
cmp esi, ebx
jne 0x1008a8c5
mov word [esi], ax
jmp 0x1008a901
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10091113
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1008a904
push 0xd
pop eax
jmp 0x1008a8c0
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10252760]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1008a8fe
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1008a904
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10093820
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100938bd
push ebx
push esi
call fcn.100937e9
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1008e769
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1009386a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100938bc
push edi
push eax
call fcn.1008b123
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1009388a
call fcn.100865b9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100938bb
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1008e769
add esp, 0x20
test eax, eax
jne 0x100938a9
push edi
call fcn.100865b9
jmp 0x100938b1
push ebx
call fcn.100865b9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100938c0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100938d1
pop esi
ret
push ebx
push edi
push esi
call fcn.100937e9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1008b123
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100938f9
push ebx
push esi
push edi
call fcn.1006f830
add esp, 0xc
push 0
call fcn.100865b9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10094053
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10093b6e

Function at 0x10096836
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1008695d
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100968a5
cmp esi, dword [ebp - 4]
je 0x100968a0
cmp dword [ebp + 0xc], 0
je 0x100968a0
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1009687d
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10096388
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100968a7
xor eax, eax
inc eax
jmp 0x100968a7
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1009690c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1024b600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1008695d
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1008695d
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10096983
cmp word [ecx], dx
je 0x10096983
mov eax, dword [0x101eeb5c]
push edi
dec eax
push eax
push 0x101eea48
call fcn.100968ab
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100969f6
cmp word [eax], dx
je 0x100969f6
mov eax, dword [edi]
test eax, eax
je 0x100969a7
cmp word [eax], dx
je 0x100969a7
lea eax, [ebp - 0x10]
push eax
call fcn.1009628e
jmp 0x100969b0
lea eax, [ebp - 0x10]
push eax
call fcn.10096329
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10096a20
mov eax, dword [0x101eea44]
push dword [ebp - 0x14]
dec eax
push eax
push 0x101ee738
call fcn.100968ab
add esp, 0xc
test al, al
je 0x10096a20
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100969eb
cmp word [eax], di
je 0x100969eb
lea eax, [ebp - 0x10]
push eax
call fcn.1009628e
pop ecx
jmp 0x10096a22
lea eax, [ebp - 0x10]
push eax
call fcn.10096329
jmp 0x100969e8
mov eax, dword [edi]
test eax, eax
je 0x10096a0d
cmp word [eax], dx
je 0x10096a0d
lea eax, [ebp - 0x10]
push eax
call fcn.10096243
pop ecx
jmp 0x10096a20
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10096aeb
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10096730
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10096aeb
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10096aeb
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10096aeb
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10096a78
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10088a62
test ebx, ebx
je 0x10096ae6
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10088a62
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10096aeb
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10096aeb
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1008ebcb
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10096aed
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006d7ba
leave
ret
Function at 0x10099577
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100994f3
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100996e6
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100996e6
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1009969b
jg 0x100995d3
test eax, eax
je 0x10099691
push 1
push 0x1000
call fcn.10088c24
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100995f6
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10099688
push 0x8000
push ebx
call fcn.10099424
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1009961f
jg 0x1009961a
cmp ecx, 0x1000
jb 0x1009961f
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10089d28
add esp, 0x10
cmp eax, 0xffffffff
je 0x10099664
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1009961a
jl 0x1009964b
test ecx, ecx
jne 0x1009960c
push dword [ebp - 0xc]
push ebx
call fcn.10099424
push esi
call fcn.100865b9
add esp, 0xc
xor ebx, ebx
jmp 0x100996f4
cmp byte [edi + 0x24], 0
je 0x1009967b
cmp dword [edi + 0x20], 5
jne 0x1009967b
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10099686
mov ebx, dword [edi + 0x18]
jmp 0x10099688
xor ebx, ebx
push esi
call fcn.100865b9
pop ecx
jmp 0x100996f4
test ecx, ecx
jg 0x1009965d
jl 0x1009969b
test eax, eax
jae 0x1009965d
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10091113
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100996bb
cmp byte [edi + 0x1c], 0
je 0x1009965d
jmp 0x100996ec
push ebx
call fcn.10096fec
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1009965d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100996f4
cmp byte [edi + 0x1c], 0
je 0x100996f1
mov ebx, dword [edi + 0x18]
jmp 0x100996f4
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10091113
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100a88b0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
call fcn.100a9b00
mov edi, dword [esi + 0x14]
add esp, 4
test edi, edi
je 0x100a8931
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov ecx, dword [edx + eax*8]
mov eax, dword [edx + eax*8 + 4]
mov edx, dword [esi + 0x20]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
cmp edx, edi
jae 0x100a8931
push ebx
mov ebx, dword [esi + 0x18]
nop dword [eax + eax]
movq xmm1, qword [esp + 0xc]
mov eax, 0x38
sub eax, edx
add edx, 8
movd xmm0, eax
psrlq xmm1, xmm0
movd eax, xmm1
movzx ecx, al
mov eax, ebx
shr eax, 8
xor ecx, eax
movzx ebx, bl
shl ebx, 8
movzx ecx, word [ecx*2 + 0x101f3378]
xor ebx, ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x18], ebx
cmp edx, edi
jb 0x100a88f0
pop ebx
mov ax, word [esi + 0x18]
pop edi
pop esi
add esp, 8
ret

Function at 0x100a9be0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
push edi
mov edi, dword [esp + 0x10]
cmp edi, 8
jb 0x100a9c80
push ebx
mov ebx, edi
shr ebx, 3
nop dword [eax + eax]
movzx edx, byte [esi]
sub edi, 8
movzx ecx, byte [esi + 1]
movzx eax, ax
shl edx, 8
or edx, ecx
xor edx, eax
movzx eax, byte [esi + 6]
mov ecx, edx
shr ecx, 8
mov cx, word [ecx*2 + 0x101f4178]
xor cx, word [eax*2 + 0x101f3578]
movzx eax, byte [esi + 5]
xor cx, word [eax*2 + 0x101f3778]
movzx eax, byte [esi + 4]
xor cx, word [eax*2 + 0x101f3978]
movzx eax, byte [esi + 3]
xor cx, word [eax*2 + 0x101f3b78]
movzx eax, byte [esi + 7]
xor cx, word [eax*2 + 0x101f3378]
movzx eax, byte [esi + 2]
add esi, 8
xor cx, word [eax*2 + 0x101f3d78]
movzx eax, dl
xor cx, word [eax*2 + 0x101f3f78]
movzx eax, cx
sub ebx, 1
jne 0x100a9c00
pop ebx
test edi, edi
je 0x100a9ca5
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, ax
shr edx, 8
xor edx, ecx
shl eax, 8
xor ax, word [edx*2 + 0x101f3378]
movzx eax, ax
sub edi, 1
jne 0x100a9c84
pop edi
pop esi
ret

Function at 0x100a9cb0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x100a9d54
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x10]
add ecx, 2
push ebx
push esi
nop word [eax + eax]
mov edx, dword [ecx + 2]
lea ecx, [ecx + 8]
movzx eax, ax
mov ebx, dword [ecx - 0xa]
shr edx, 0x10
xor edx, eax
movzx eax, byte [ecx - 9]
mov dword [esp + 0x18], edx
movzx edx, byte [ecx - 7]
mov si, word [eax*2 + 0x101f3578]
movzx eax, byte [ecx - 6]
xor si, word [edx*2 + 0x101f3978]
mov edx, dword [esp + 0x18]
xor si, word [eax*2 + 0x101f3b78]
movzx eax, byte [ecx - 5]
xor si, word [eax*2 + 0x101f3d78]
mov eax, edx
shr eax, 8
xor si, word [eax*2 + 0x101f4178]
movzx eax, bl
xor si, word [eax*2 + 0x101f3378]
movzx eax, dl
xor si, word [eax*2 + 0x101f3f78]
movzx eax, byte [ecx - 8]
xor si, word [eax*2 + 0x101f3778]
movzx eax, si
sub edi, 1
jne 0x100a9cd0
pop esi
pop ebx
pop edi
ret
mov ax, word [esp + 0x10]
pop edi
ret
Function at 0x100a9d60
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor al, al
test edx, edx
je 0x100a9d87
push esi
mov esi, dword [esp + 8]
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx eax, al
xor ecx, eax
mov al, byte [ecx + 0x101f4378]
sub edx, 1
jne 0x100a9d70
pop esi
ret
Function at 0x100b0be0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
xor ecx, ecx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x10], esi
test edi, edi
je 0x100b0c66
cmp edi, 8
jb 0x100b0c66
cmp dword [0x10251fac], 2
jl 0x100b0c66
mov eax, edi
xorps xmm2, xmm2
and eax, 0xfffffff8
xorps xmm1, xmm1
nop dword [eax]
nop dword [eax + eax]
movups xmm0, xmmword [ebx + ecx*4]
pabsd xmm0, xmm0
paddd xmm2, xmm0
movups xmm0, xmmword [ebx + ecx*4 + 0x10]
add ecx, 8
pabsd xmm0, xmm0
paddd xmm1, xmm0
cmp ecx, eax
jb 0x100b0c20
paddd xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd esi, xmm1
mov dword [esp + 0x10], esi
xor ebp, ebp
mov dword [esp + 0x14], ebp
cmp ecx, edi
jae 0x100b0cbe
mov eax, edi
sub eax, ecx
cmp eax, 2
jb 0x100b0cac
lea eax, [edi - 1]
xor edi, edi
mov esi, eax
mov eax, dword [ebx + ecx*4]
cdq
xor eax, edx
sub eax, edx
add ebp, eax
mov eax, dword [ebx + ecx*4 + 4]
cdq
add ecx, 2
xor eax, edx
sub eax, edx
add edi, eax
mov eax, ecx
cmp ecx, esi
jb 0x100b0c80
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], edi
cmp eax, dword [esp + 0x24]
jae 0x100b0cb6
mov eax, dword [ebx + ecx*4]
cdq
xor eax, edx
sub eax, edx
add esi, eax
mov ecx, dword [esp + 0x14]
add ecx, ebp
add esi, ecx
mov eax, 1
test esi, esi
cmove esi, eax
mov eax, esi
cdq
push edx
push eax
call fcn.100b9730
add esp, 8
add eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x100b0cf0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x10], esi
test edi, edi
je 0x100b0d78
cmp edi, 8
jb 0x100b0d78
cmp dword [0x10251fac], 2
mov edx, dword [esp + 0x20]
jl 0x100b0d7c
mov eax, edi
xorps xmm2, xmm2
and eax, 0xfffffff8
xorps xmm1, xmm1
nop dword [eax]
nop dword [eax + eax]
movups xmm0, xmmword [edx + ecx*4]
pabsd xmm0, xmm0
paddd xmm2, xmm0
movups xmm0, xmmword [edx + ecx*4 + 0x10]
add ecx, 8
pabsd xmm0, xmm0
paddd xmm1, xmm0
cmp ecx, eax
jb 0x100b0d30
paddd xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd esi, xmm1
mov dword [esp + 0x10], esi
jmp 0x100b0d7c
mov edx, dword [esp + 0x20]
xor ebx, ebx
xor ebp, ebp
cmp ecx, edi
jae 0x100b0dd3
mov eax, edi
sub eax, ecx
cmp eax, 2
jb 0x100b0dc0
lea eax, [edi - 1]
mov edi, eax
lea esi, [edx + 4]
mov eax, dword [edx + ecx*4]
cdq
xor eax, edx
sub eax, edx
add ebx, eax
mov eax, dword [esi + ecx*4]
cdq
add ecx, 2
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x20]
add ebp, eax
mov eax, ecx
cmp ecx, edi
jb 0x100b0d95
mov esi, dword [esp + 0x10]
cmp eax, dword [esp + 0x24]
jae 0x100b0dce
mov eax, dword [esp + 0x20]
mov eax, dword [eax + ecx*4]
cdq
xor eax, edx
sub eax, edx
add esi, eax
lea ecx, [ebx + ebp]
add esi, ecx
mov eax, 1
test esi, esi
cmove esi, eax
mov eax, esi
cdq
push edx
push eax
call fcn.100b9730
mov ebx, dword [esp + 0x24]
add esp, 8
mov edx, ebx
sub edx, dword [esp + 0x28]
add edx, eax
pop edi
pop esi
cmp ebx, edx
lea ecx, [ebx + 1]
lea eax, [edx + 1]
pop ebp
cmovg eax, ecx
pop ebx
add esp, 8
ret
Function at 0x100b9940
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
jl 0x100b99f5
push ebx
mov ebx, edi
shr ebx, 3
mov eax, ebx
neg eax
lea edi, [edi + eax*8]
mov eax, dword [esp + 0x10]
movzx edx, byte [esi]
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
xor eax, edx
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x101f6b80]
xor edx, dword [ecx*4 + 0x101f6780]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x101f6f80]
movzx ecx, byte [esi + 6]
xor edx, dword [ecx*4 + 0x101f5780]
movzx ecx, byte [esi + 5]
xor edx, dword [ecx*4 + 0x101f5b80]
movzx ecx, byte [esi + 7]
xor edx, dword [ecx*4 + 0x101f5380]
movzx ecx, byte [esi + 4]
add esi, 8
xor edx, dword [ecx*4 + 0x101f5f80]
xor edx, dword [eax*4 + 0x101f6380]
mov eax, edx
sub ebx, 1
jne 0x100b9964
pop ebx
jmp 0x100b99f9
mov eax, dword [esp + 0xc]
test edi, edi
je 0x100b9a1c
nop dword [eax]
movzx ecx, byte [esi]
lea esi, [esi + 1]
mov edx, eax
shl eax, 8
shr edx, 0x18
xor edx, ecx
xor eax, dword [edx*4 + 0x101f5380]
sub edi, 1
jne 0x100b9a00
pop edi
pop esi
ret
Function at 0x100df3e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014d1c3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1024b600]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esi], eax
mov dword [esi + 4], 0
mov word [esi + 8], 0x100
mov dword [esi + 0xc], 0x3f800000
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
movups xmmword [esi + 0x40], xmm0
mov dword [esi + 0x50], 0x3f800000
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0x3f800000
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0x3f800000
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0x3f800000
movups xmmword [esi + 0x90], xmm0
mov dword [esi + 0xa0], 0x3f800000
mov dword [esi + 0xa4], 0x3f800000
mov dword [esi + 0xa8], 0x3f7e87d3
mov dword [esi + 0xac], 0x3f800000
mov dword [esi + 0xb0], 0x43aba666
mov word [esi + 0xb4], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
movq qword [esi + 0xcc], xmm0
push 0
lea ecx, [esi + 0xd4]
mov dword [ebp - 4], 0
call fcn.101188b0
mov dword [esi + 0xd8], 0
mov eax, esi
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4