joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005fa4f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x100cc8f5
call fcn.100bd27c
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
or dword [esi + 0x24], 0xffffffff
lea ecx, [esi + 0x30]
mov dword [esi], 1
mov word [esi + 4], bx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], ebx
call fcn.10001d31
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], ebx
call fcn.10001ed2
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1005fa5b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x100cc8f5
call fcn.100bd27c
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
or dword [esi + 0x24], 0xffffffff
lea ecx, [esi + 0x30]
mov dword [esi], 1
mov word [esi + 4], bx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], ebx
call fcn.10001d31
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], ebx
call fcn.10001ed2
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x100601b0
Capabilities:
Parse credit card information

Disassembly:
cmp dword [ecx + 0x3c], 2
mov eax, dword [esp + 4]
jge 0x100601ce
cmp byte [ecx + 0x42], 0
je 0x1006022b
cmp eax, 0x3f
jb 0x1006022b
jne 0x100601cb
push 0x46
jmp 0x1006022a
dec eax
jmp 0x1006022b
cmp eax, 0x2c
jb 0x1006022b
cmp dword [ecx + 0x3c], 3
jl 0x100601e3
cmp eax, 0x2c
jne 0x100601e2
push 0x48
jmp 0x1006022a
dec eax
cmp dword [ecx + 0x3c], 4
jl 0x100601f3
cmp eax, 0x2c
jne 0x100601f2
push 0x49
jmp 0x1006022a
dec eax
cmp eax, 0x3a
jb 0x1006022b
cmp byte [ecx + 0x14], 0
je 0x10060213
cmp eax, 0x3a
jne 0x10060207
push 0x44
jmp 0x1006022a
cmp eax, 0x3b
jne 0x10060210
push 0x45
jmp 0x1006022a
sub eax, 2
cmp eax, 0x3f
jb 0x10060223
cmp byte [ecx + 0x42], 0
je 0x10060223
cmp eax, 0x3f
jmp 0x100601c5
cmp eax, 0x44
jne 0x1006022b
push 0x47
pop eax
ret 4
Function at 0x100619a3
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100cc9c6
call fcn.100bd27c
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.10001d31
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.10001ed2
mov dword [esi + 0x58], edi
lea ecx, [esi + 0x78]
call fcn.1006193f
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
lea ecx, [esi + 0xd0]
mov byte [ebp - 4], 6
call fcn.10001d31
lea ecx, [esi + 0xdc]
mov byte [ebp - 4], 7
call fcn.10001d31
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10065408
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x100ccd3a
call fcn.100bd27c
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0x100d1f3c
mov dword [esi + 8], 0x100cf520
mov dword [esi + 0xc], edi
mov dword [esi], 0x100d7864
mov dword [esi + 4], 0x100d7898
mov dword [esi + 8], 0x100d78b4
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 4
call fcn.10001ed2
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1006e8a9
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x100cd392
call fcn.100bd27c
push ecx
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, ecx
push esi
mov eax, dword [ebx]
lea esi, [ebx + 0x18]
push edi
mov dword [ebp], eax
lea edi, [ebp + 0x18]
mov eax, dword [ebx + 8]
lea ecx, [ebp + 0x34]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp + 0x14], eax
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x24]
lea edi, [ebp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov al, byte [ebx + 0x30]
mov byte [ebp + 0x30], al
lea eax, [ebx + 0x34]
push eax
call fcn.10012920
and dword [esp + 0x1c], 0
lea eax, [ebx + 0x3c]
push eax
lea ecx, [ebp + 0x3c]
call fcn.100501cc
lea eax, [ebx + 0x48]
mov byte [esp + 0x1c], 1
push eax
lea ecx, [ebp + 0x48]
call fcn.1006e7dc
mov ecx, dword [esp + 0x14]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x1006edf1
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, edx
test esi, esi
je 0x1006ee1f
movzx eax, byte [edi]
mov edx, ecx
shr edx, 8
xor edx, eax
shl ecx, 8
and edx, 0xff
xor cx, word [edx*2 + 0x100edd40]
inc edi
movzx ecx, cx
dec esi
jne 0x1006edfd
pop edi
mov ax, cx
pop esi
ret 4
Function at 0x10077d6b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100cd7be
call fcn.100bd27c
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
or dword [esi + 0x20], 0xffffffff
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.10001ed2
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1007bfb8
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
mov eax, 0x100cda99
call fcn.100bd27c
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ax, word [esi]
mov word [edi], ax
lea ecx, [edi + 0x24]
mov ax, word [esi + 2]
mov word [edi + 2], ax
mov ax, word [esi + 4]
mov word [edi + 4], ax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
lea eax, [esi + 0x24]
push eax
call fcn.10001cde
and dword [ebp - 4], 0
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.1007bca2
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x10083ee8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebp, ecx
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0xc], eax
xor eax, eax
mov word [esi], ax
cmp byte [edi + 1], al
je 0x10083f6c
mov bl, byte [edi + 2]
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x24]
call fcn.10001ef6
movzx eax, byte [edi + 4]
mov ecx, esi
push eax
push 0x800
call fcn.10083fd5
mov eax, dword [edi + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x78], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x7c], eax
mov al, byte [edi + 3]
mov byte [esi + 0x80], al
jmp 0x10083f75
mov ecx, esi
call fcn.1008288f
mov bl, al
mov ecx, dword [ebp + 0x38]
mov dword [esi + 0x48], ecx
mov ecx, dword [ebp + 0x3c]
mov dword [esi + 0x4c], ecx
xor ecx, ecx
mov dword [esi + 0x40], 0x3f
mov byte [esi + 5], cl
test bl, bl
jne 0x10083f9f
mov eax, dword [esp + 0x10]
mov byte [esp + 0x1c], 1
cmp byte [eax + 0x24], cl
jne 0x10083fa3
mov byte [esp + 0x1c], cl
push dword [esp + 0x1c]
mov ecx, esi
push 1
call fcn.10083fd5
test bl, bl
je 0x10083fcd
xor eax, eax
mov byte [esi + 4], 0x14
mov word [esi + 2], ax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x10089770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov byte [esi + 0x7049], 0
mov dword [eax], 0
lea esp, [esp]
mov eax, dword [esi + 0x140]
mov ecx, 8
mov ebx, dword [esi + 0x144]
sub ecx, eax
shr ebx, cl
add eax, 8
shr ebx, 0x10
and ebx, 0xff
mov dword [esi + 0x140], eax
cmp eax, 8
jb 0x1008980a
lea esp, [esp]
mov eax, dword [esi + 0x148]
cmp eax, dword [esi + 0x14c]
jb 0x100897dd
lea ecx, [esi + 0x148]
call fcn.10006825
mov dl, al
jmp 0x100897e6
mov dl, byte [eax]
inc eax
mov dword [esi + 0x148], eax
mov ecx, dword [esi + 0x144]
add dword [esi + 0x140], 0xfffffff8
shl ecx, 8
movzx eax, dl
or ecx, eax
cmp dword [esi + 0x140], 8
mov dword [esi + 0x144], ecx
jae 0x100897c0
mov byte [esp + ebp + 0x10], bl
inc ebp
cmp ebp, 0xa
jb 0x10089790
mov eax, dword [esi + 0x168]
cmp eax, 4
ja 0x100898f9
mov ecx, 0x20
shl eax, 3
sub ecx, dword [esi + 0x140]
cmp ecx, eax
jb 0x100898f9
movzx ecx, byte [esp + 0x16]
movzx eax, byte [esp + 0x17]
mov edx, dword [esp + 0x20]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x18]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x19]
shl ecx, 8
or ecx, eax
mov al, byte [esp + 0x10]
mov dword [edx], ecx
cmp al, 0x31
jne 0x100898b8
cmp byte [esp + 0x11], 0x41
jne 0x100898f9
cmp byte [esp + 0x12], 0x59
jne 0x100898f9
cmp byte [esp + 0x13], 0x26
jne 0x100898f9
cmp byte [esp + 0x14], 0x53
jne 0x100898f9
cmp byte [esp + 0x15], 0x59
jne 0x100898f9
mov byte [esi + 0x7048], 1
mov eax, dword [esi + 0x6ffc]
rol eax, 1
xor eax, dword [edx]
mov dword [esi + 0x6ffc], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4
cmp al, 0x17
jne 0x100898f9
cmp byte [esp + 0x11], 0x72
jne 0x100898f9
cmp byte [esp + 0x12], 0x45
jne 0x100898f9
cmp byte [esp + 0x13], 0x38
jne 0x100898f9
cmp byte [esp + 0x14], 0x50
jne 0x100898f9
cmp byte [esp + 0x15], 0x90
jne 0x100898f9
mov word [esi + 0x7048], 0x101
mov eax, dword [edx]
cmp eax, dword [esi + 0x6ffc]
je 0x100898ac
mov byte [esi + 0x704a], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
Function at 0x1008a850
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x14], 0
push edi
mov dword [esp + 0x1c], 8
mov byte [esp + 0x20], 0
mov eax, dword [esi + 8]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x8ce0]
mov dword [esi + 0x8cd4], 0
push dword [eax + 0x174]
push dword [esp + 0x30]
push dword [esi]
call fcn.1008a660
mov ecx, dword [esi + 0x8ce0]
cmp byte [ecx + 0x1a0], 0
je 0x1008a8c8
imul eax, dword [esi + 0x8cd8], 0x8e00
mov ecx, dword [ecx + 0x17c]
mov ecx, dword [eax + ecx + 0x8cf0]
call fcn.100b6d90
xor edx, edx
cmp dword [esi + 0x8cd4], edx
jbe 0x1008a903
lea edi, [esi + 0x7cd4]
jmp 0x1008a8e0
mov ecx, dword [esi + 0x8ce0]
lea edi, [edi + 4]
inc edx
mov eax, dword [ecx + 0x178]
rol eax, 1
xor eax, dword [edi - 4]
mov dword [ecx + 0x178], eax
cmp edx, dword [esi + 0x8cd4]
jb 0x1008a8e0
mov eax, dword [esp + 0x18]
push dword [esp + 0x20]
mov ecx, dword [esi + 0x8ce0]
lea eax, [eax*8 + 8]
sub eax, dword [esp + 0x20]
push eax
push dword [esi + 8]
call fcn.1008bd70
mov ebx, dword [esi + 0x8ce0]
xor ebp, ebp
cmp byte [ebx + 0x1a0], 0
je 0x1008a9ba
mov edi, dword [esi + 0x8cd8]
xor eax, eax
inc edi
cmp edi, dword [ebx + 0x19c]
cmove edi, eax
cmp dword [ebx + 0x1b4], eax
je 0x1008a99b
lea ecx, [ebx + 0x148]
call fcn.100090cf
mov ecx, eax
mov eax, 0xf
sub eax, dword [ebx + 0x140]
shr eax, 3
add ecx, eax
mov eax, dword [esi + 0x8ce0]
mov dword [esp + 0x10], ecx
adc edx, ebp
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 0x1b4]
lea eax, [esp + 0x10]
push eax
lea eax, [esi + 0x8cf8]
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0xc]
mov ebp, eax
mov ecx, dword [esi + 0x8ce0]
imul edx, edi, 0x8e00
mov ecx, dword [ecx + 0x17c]
add ecx, 0x8cf0
add ecx, edx
call fcn.100b6d20
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18
ret 4

Function at 0x1008b380
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push 8
push 0x31
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x18], ebx
call fcn.1008bd10
mov ecx, dword [ebx + 0x10]
push 8
push 0x41
call fcn.1008bd10
mov ecx, dword [ebx + 0x10]
push 8
push 0x59
call fcn.1008bd10
mov ecx, dword [ebx + 0x10]
push 8
push 0x26
call fcn.1008bd10
mov ecx, dword [ebx + 0x10]
push 8
push 0x53
call fcn.1008bd10
mov ecx, dword [ebx + 0x10]
push 8
push 0x59
call fcn.1008bd10
mov ebp, dword [esp + 0x18]
or esi, 0xffffffff
xor edi, edi
xor ebx, ebx
mov dh, byte [ebp]
mov dl, byte [ebx + ebp]
cmp edi, 4
jne 0x1008b409
test dl, dl
je 0x1008b405
movzx ecx, dh
mov eax, esi
shl esi, 8
shr eax, 0x18
xor eax, ecx
xor esi, dword [eax*4 + 0x100ee050]
dec dl
jne 0x1008b3f0
xor edi, edi
jmp 0x1008b42b
cmp dh, dl
jne 0x1008b410
inc edi
jmp 0x1008b417
mov edi, 1
mov dh, dl
mov ecx, esi
movzx eax, dl
shr ecx, 0x18
xor ecx, eax
shl esi, 8
xor esi, dword [ecx*4 + 0x100ee050]
inc ebx
cmp ebx, dword [esp + 0x1c]
jb 0x1008b3e1
mov ecx, dword [esp + 0x10]
not esi
push esi
call fcn.1008be50
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push ebp
call fcn.1008a9d0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x1008c120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ce2f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
push 0x28
mov esi, edx
mov ebx, ecx
call fcn.10003645
add esp, 4
test eax, eax
je 0x1008c156
mov ecx, eax
call fcn.1000ab73
mov edi, eax
jmp 0x1008c158
xor edi, edi
mov dword [esp + 0xc], edi
test edi, edi
je 0x1008c166
mov eax, dword [edi]
push edi
call dword [eax + 4]
push dword [esp + 0x20]
mov eax, dword [edi]
push 0
push 0
push esi
push ebx
push edi
mov dword [esp + 0x30], 0
call dword [eax + 0xc]
mov ecx, dword [edi]
mov esi, eax
push edi
mov dword [esp + 0x1c], 0xffffffff
call dword [ecx + 8]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x100978c0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x1c]
movzx edx, word [ebx + 8]
push ebp
lea ebp, [ebx + 8]
mov dword [esp + 0x14], ebx
mov eax, dword [ecx + 8]
inc eax
mov dword [esp + 0xc], ebp
imul eax, edx
xor edx, edx
push esi
push edi
mov esi, 1
dec eax
div dword [ecx + 4]
movzx ecx, word [ebx + 0xa]
lea edx, [ebx + 0xa]
mov edi, eax
cmp ecx, edi
jbe 0x1009790c
jmp 0x10097900
movzx eax, word [edx + 2]
lea edx, [edx + 2]
inc esi
cmp eax, edi
ja 0x10097900
movzx eax, word [ebp]
mov ecx, dword [esp + 0x28]
push eax
movzx eax, word [ebx + esi*2 + 6]
push eax
movzx eax, word [ebx + esi*2 + 8]
push eax
call fcn.10097a90
movzx edi, byte [esi + ebx + 0x89]
lea ecx, [ebx + 8]
dec esi
mov dword [esp + 0x20], edi
lea ecx, [ecx + esi*2]
lea esp, [esp]
add word [ecx], 8
lea ecx, [ecx - 2]
mov eax, esi
dec esi
test eax, eax
jne 0x10097940
mov eax, 0xed8
cmp word [ebp], ax
jbe 0x10097a7f
dec dword [ebx + 4]
jne 0x10097a51
xor esi, esi
mov dword [ebx + 4], 0x32
cmp dword [ebx], esi
jbe 0x1009798c
mov edx, ebp
movzx ecx, word [edx]
lea edx, [edx + 2]
movzx eax, word [edx]
inc esi
sub ecx, eax
inc ecx
sar ecx, 1
mov word [edx - 2], cx
cmp esi, dword [ebx]
jb 0x10097975
mov eax, dword [ebx]
xor esi, esi
mov dword [esp + 0x10], esi
dec eax
je 0x10097a2d
mov ecx, 1
lea eax, [ebx + 0x89]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
mov edi, edi
mov eax, ecx
cmp ecx, dword [ebx]
jae 0x10097a11
lea edi, [ebp + 2]
lea esp, [esp]
movzx ecx, word [edi]
movzx edx, word [ebp]
cmp dx, cx
jae 0x10097a01
mov esi, edx
mov edx, dword [esp + 0x28]
mov dl, byte [ebx + edx + 0x89]
mov word [ebp], cx
mov cl, byte [eax + ebx + 0x8a]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x18]
mov byte [ebx + ebp], cl
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov word [edi], si
mov byte [eax + ebx + 0x8a], dl
inc eax
add edi, 2
cmp eax, dword [ebx]
jb 0x100979c0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx]
inc esi
add ebp, 2
mov dword [esp + 0x10], esi
inc ecx
mov dword [esp + 0x14], ebp
dec eax
mov dword [esp + 0x28], ecx
cmp esi, eax
jb 0x100979b0
mov edi, dword [esp + 0x20]
lea edx, [esi + 4]
lea edx, [ebx + edx*2]
mov cx, word [edx + 2]
lea edx, [edx - 2]
add word [edx + 2], cx
mov ecx, esi
dec esi
test ecx, ecx
jne 0x10097a33
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
mov edx, dword [ebx]
lea ecx, [ebx + 8]
dec edx
lea ecx, [ecx + edx*2]
lea ebx, [ebx]
shr word [ecx], 1
movzx eax, word [ecx]
movzx esi, word [ecx + 2]
cmp ax, si
ja 0x10097a75
lea eax, [esi + 1]
mov word [ecx], ax
mov eax, edx
sub ecx, 2
dec edx
test eax, eax
jne 0x10097a60
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x1009cd30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
xor bl, bl
push edi
mov edi, ecx
xor dl, dl
mov ecx, dword [esp + 0x10]
xor eax, eax
mov byte [edi + 4], 0
mov dword [edi], 0xffffffff
test esi, esi
je 0x1009cda2
xor dl, byte [eax + ecx]
inc eax
cmp eax, esi
jb 0x1009cd51
test dl, dl
jne 0x1009cda2
test esi, esi
je 0x1009cda2
mov edx, esi
mov byte [edi + 4], 1
mov bl, 1
call fcn.100ba5d0
mov edx, eax
xor ecx, ecx
xor eax, eax
cmp dword [eax + 0x100d9564], edx
jne 0x1009cd84
cmp dword [eax + 0x100d9560], esi
je 0x1009cd90
add eax, 0xc
inc ecx
cmp eax, 0x48
jb 0x1009cd74
or ecx, 0xffffffff
mov dword [edi], ecx
test ecx, ecx
js 0x1009cd9e
pop edi
pop esi
mov al, 1
pop ebx
ret 8
mov byte [edi + 4], 0
pop edi
pop esi
mov al, bl
pop ebx
ret 8

Function at 0x100a1e50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
push edi
push 5
lea edx, [esp + 0x14]
mov ebx, ecx
call fcn.100b4ae0
push 5
lea edx, [esp + 0x54]
lea ecx, [ebx + 0x60]
call fcn.100b4ae0
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x98]
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], eax
test edi, edi
je 0x100a1ef6
lea esp, [esp]
lea eax, [esp + 0x50]
mov ecx, ebx
push eax
lea edx, [esp + 0x14]
call fcn.100b4c30
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x54]
lea ecx, [ebx + 0x60]
call fcn.100b4c30
mov eax, dword [esp + 0x10]
xor dword [esi], eax
mov eax, dword [esp + 0x14]
xor dword [esi + 4], eax
mov eax, dword [esp + 0x18]
xor dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
xor dword [esi + 0xc], eax
mov eax, dword [esp + 0x20]
xor dword [esi + 0x10], eax
dec edi
jne 0x100a1eb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8
Function at 0x100a1f10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
push ebp
push esi
xorps xmm0, xmm0
mov ebp, ecx
push edi
mov edi, dword [esp + 0xc8]
movdqu xmmword [esp + 0xc], xmm0
movdqu xmmword [esp + 0x1c], xmm0
movdqu xmmword [esp + 0x2c], xmm0
movdqu xmmword [esp + 0x3c], xmm0
cmp edi, 0x40
jbe 0x100a1f84
lea ecx, [esp + 0x60]
call fcn.100b5380
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x60]
push edi
call fcn.100b53c0
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x60]
call fcn.100b4b70
xor ecx, ecx
jmp 0x100a1f70
mov eax, dword [esp + ecx + 0x4c]
bswap eax
mov dword [esp + ecx + 0xc], eax
add ecx, 4
cmp ecx, 0x14
jb 0x100a1f70
jmp 0x100a1fbb
xor esi, esi
test edi, edi
je 0x100a1fbb
push ebx
mov ebx, dword [esp + 0xc8]
mov eax, esi
lea edx, [esp + 0x10]
shr eax, 2
mov ecx, 3
lea edx, [edx + eax*4]
mov eax, esi
and eax, 3
sub ecx, eax
movzx eax, byte [esi + ebx]
shl ecx, 3
inc esi
shl eax, cl
or dword [edx], eax
cmp esi, edi
jb 0x100a1f92
pop ebx
movdqa xmm1, xmmword [str.6666666666666666jjjjjjjjjjjjjjjjz]
lea eax, [esp + 0x1c]
mov ecx, 2
lea esp, [esp]
lea eax, [eax + 0x20]
movdqu xmm0, xmmword [eax - 0x30]
pxor xmm0, xmm1
movdqu xmmword [eax - 0x30], xmm0
movdqu xmm0, xmmword [eax - 0x20]
pxor xmm0, xmm1
movdqu xmmword [eax - 0x20], xmm0
dec ecx
jne 0x100a1fd0
mov ecx, ebp
call fcn.100b5380
push 0x10
lea edx, [esp + 0x10]
mov ecx, ebp
call fcn.100b4b20
movdqa xmm1, xmmword [0x100d9790]
lea eax, [esp + 0x1c]
mov ecx, 2
jmp 0x100a2020
lea eax, [eax + 0x20]
movdqu xmm0, xmmword [eax - 0x30]
pxor xmm0, xmm1
movdqu xmmword [eax - 0x30], xmm0
movdqu xmm0, xmmword [eax - 0x20]
pxor xmm0, xmm1
movdqu xmmword [eax - 0x20], xmm0
dec ecx
jne 0x100a2020
lea ecx, [ebp + 0x60]
call fcn.100b5380
push 0x10
lea edx, [esp + 0x10]
lea ecx, [ebp + 0x60]
call fcn.100b4b20
pop edi
pop esi
pop ebp
add esp, 0xb4
ret 8