joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a6ad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xcc]
mov eax, dword [ecx + 0xd4]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10201be8]
sub edi, 1
jne 0x100a6af0
mov ecx, dword [0x102ba550]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19ec], eax
jne 0x100a6b22
mov dword [ecx + 0x19f0], eax
cmp dword [ecx + 0x1a20], eax
jne 0x100a6b31
mov byte [ecx + 0x1a24], 1
pop ebp
ret 4

Function at 0x100a6b40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1021b380]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xcc]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xd4]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10201be8]
sub edi, 1
jne 0x100a6bb4
mov eax, dword [0x102ba550]
not edx
pop edi
pop esi
cmp dword [eax + 0x19ec], edx
jne 0x100a6be5
mov dword [eax + 0x19f0], edx
cmp dword [eax + 0x1a20], edx
jne 0x100a6bf4
mov byte [eax + 0x1a24], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.101d03f8
mov esp, ebp
pop ebp
ret 4
Function at 0x100a7430
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d8aa3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1021b380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x102ba550]
test eax, eax
je 0x100a747a
inc dword [eax + 0x374]
push 0x3b90
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea ecx, [ebp - 0x11]
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x100a74ae
push ecx
mov ecx, eax
call fcn.100a28a0
mov edi, eax
mov dword [ebp - 0x18], eax
jmp 0x100a74b3
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0xffffffff
cmp dword [0x102ba550], 0
jne 0x100a74ca
mov eax, edi
mov dword [0x102ba550], eax
or edx, 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], str.Window
mov esi, 0x1020643d
mov al, 0x57
or edi, 0xffffffff
cmp al, 0x23
jne 0x100a74f3
cmp byte [esi], al
jne 0x100a74f3
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x10201be8]
test al, al
jne 0x100a74e5
mov edi, dword [ebp - 0x18]
not edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0x100b3c40
mov dword [ebp - 0x2c], 0x100b3c70
mov esi, dword [edi + 0x2d48]
mov ecx, dword [edi + 0x2d4c]
mov dword [ebp - 0x28], 0x100b3d20
cmp esi, ecx
jne 0x100a75d0
inc esi
test ecx, ecx
je 0x100a754d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100a7552
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x100a75d0
mov eax, dword [0x102ba550]
test eax, eax
je 0x100a756a
inc dword [eax + 0x374]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [edi + 0x2d50]
add esp, 4
mov dword [ebp - 0x18], eax
test edx, edx
je 0x100a75c4
mov ecx, dword [edi + 0x2d48]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x2d50]
add esp, 0xc
test ecx, ecx
je 0x100a75b7
mov eax, dword [0x102ba550]
test eax, eax
je 0x100a75b7
dec dword [eax + 0x374]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [edi + 0x2d50], eax
mov dword [edi + 0x2d4c], esi
mov eax, dword [edi + 0x2d48]
movups xmm0, xmmword [ebp - 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2d50]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2d48]
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100af060
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x102ba550]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x19b0]
mov esi, 4
mov eax, dword [edi + 0xcc]
add edi, 0xcc
mov dword [ebp - 4], ecx
mov ebx, dword [edi + 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 + 0x10201be8]
sub esi, 1
jne 0x100af092
mov ecx, dword [edi + 4]
not ebx
mov esi, dword [edi]
cmp esi, ecx
jne 0x100af0d9
inc esi
test ecx, ecx
je 0x100af0c7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100af0cc
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.100b4840
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b3630
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x102ba550]
push edi
cmp byte [esi + 0x2d60], 0
je 0x100b36cf
cmp dword [esi + 0x2d68], 0
lea edi, [esi + 0x2d6c]
je 0x100b36c1
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x100b3679
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, edi
call fcn.100b4b10
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.100a4b40
mov edx, dword [edi]
mov ecx, 0x102ba54c
push dword [esi + 0x2d68]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2d74]
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
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.100a4b40
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100b3b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x102ba550]
mov eax, ecx
mov dword [ebp - 8], eax
push edi
mov dword [esi + 0x2d38], 0
test eax, eax
je 0x100b3c2f
lea edi, [esi + 0x2d3c]
mov dword [esi + 0x2d38], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x100b3b95
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, edi
call fcn.100b4b10
mov dword [edi], 0
cmp dword [edi + 4], 0
jne 0x100b3baa
push 8
mov ecx, edi
call fcn.100b4b10
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [edi]
cmp dword [esi + 0x2d48], 0
jle 0x100b3bec
xor ebx, ebx
mov eax, dword [esi + 0x2d50]
add eax, ebx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x2d48]
jl 0x100b3bc7
mov edi, dword [edi]
mov ebx, 0x102ba54c
mov ecx, dword [ebp - 8]
mov edx, 0x10206520
lea eax, [edi - 1]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esi + 0x2d44]
test eax, eax
cmovne ebx, eax
call fcn.100a4300
mov esi, eax
test esi, esi
je 0x100b3c2f
push esi
push edi
push 1
push ebx
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 ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c6760
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1021b380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x102ba550]
lea eax, [ebp - 0x14]
push esi
push edi
push eax
push dword [0x102bad48]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
movd xmm1, eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x30]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x30]
mov ecx, edi
sub ecx, dword [0x102bad50]
mov esi, dword [ebp - 0x2c]
mov edx, esi
sbb edx, dword [0x102bad54]
call fcn.101d1b20
mov edx, dword [0x102bad5c]
mov ecx, dword [0x102bad58]
movss dword [ebp - 0x18], xmm0
call fcn.101d1b20
movss xmm1, dword [ebp - 0x18]
divss xmm1, xmm0
push 0x11
movss dword [ebx + 0x18], xmm1
mov dword [0x102bad54], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x102bad50], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0x100], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0x101], al
call esi
mov ecx, dword [0x102ba550]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x103], 0
mov byte [ebx + 0x102], al
cmp byte [ecx + 0x35b], 0
lea esi, [ecx + 0xe8]
je 0x100c687f
cvttss2si eax, dword [esi]
mov dword [ebp - 0x1c], eax
cvttss2si eax, dword [ecx + 0xec]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x102bad48]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi], 0xff7fffff
mov dword [esi + 4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x100c68e7
mov ecx, dword [0x102bad48]
cmp eax, ecx
je 0x100c68ac
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x100c68e7
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x100c68e7
lea eax, [ebp - 0x24]
push eax
push dword [0x102bad48]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x100c68e7
movd xmm0, dword [ebp - 0x24]
movd xmm1, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [ebx + 0xb0], 0
mov eax, dword [0x102ba550]
je 0x100c68fa
or ecx, 0xffffffff
jmp 0x100c6900
mov ecx, dword [eax + 0x1d38]
cmp dword [0x1029840c], ecx
je 0x100c693e
test byte [eax + 8], 0x20
mov dword [0x1029840c], ecx
jne 0x100c693e
cmp dword [eax + 0x1d38], 0xffffffff
je 0x100c6936
cmp byte [eax + 0xb0], 0
jne 0x100c6936
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x100c6938
push 0
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101d03f8
mov esp, ebp
pop ebp
ret
Function at 0x100e7440
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101da4c5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1021b380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
mov ecx, 0x102a3e68
push eax
call fcn.1003fda0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
cmova edx, dword [ebp - 0x28]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e7490
sub ecx, esi
push ecx
push edx
mov ecx, 0x102ba560
call fcn.10041060
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10029c20
lea eax, [ebp - 0x28]
mov ecx, 0x102a5080
push eax
call fcn.10043520
mov dword [ebp - 4], 1
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
cmova edx, dword [ebp - 0x28]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e74e0
sub ecx, esi
push ecx
push edx
mov ecx, 0x102ba578
call fcn.10041060
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10029c20
cmp dword [0x102ba574], 0xf
mov eax, 0x102ba560
cmova eax, dword [0x102ba560]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x100e7530
call esi
cmp eax, 2
jmp 0x100e7532
test al, 0x10
jne 0x100e7550
cmp dword [0x102ba574], 0xf
mov eax, 0x102ba560
push 0
cmova eax, dword [0x102ba560]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [0x102ba58c], 0xf
mov eax, 0x102ba578
cmova eax, dword [0x102ba578]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100e7576
call esi
cmp eax, 2
jmp 0x100e7578
test al, 0x10
jne 0x100e7596
cmp dword [0x102ba58c], 0xf
mov eax, 0x102ba578
push 0
cmova eax, dword [0x102ba578]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d03f8
mov esp, ebp
pop ebp
ret
Function at 0x100fd9b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
lea edi, [esi + 2]
je 0x100fda20
cmp byte [esi + 1], 0
jne 0x100fda67
xor ecx, ecx
mov byte [esi + 1], 1
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x3c]
xor ebx, dword [esi + 0x38]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x31
jb 0x100fd9e0
jmp 0x100fda67
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x3c]
xor ebx, dword [esi + 0x38]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, byte [edi + ecx]
xor al, bl
mov byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x31
jb 0x100fda26
push ecx
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x32]
push eax
push edi
call fcn.10041a10
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10100e90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dda25
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1021b380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x43800000
sub esp, 8
mov dword [ebp - 0x14], 0x42000000
push eax
push dword [ebp + 8]
call fcn.101009c0
test al, al
je 0x10100f42
test byte [ebp + 0x10], 1
jne 0x10100f42
push 4
call fcn.101d040b
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ebp + 0x10], eax
mov dword [eax], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x101010b0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10100f33
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.10097ad0
cmp dword [ebp - 0x1c], 0
je 0x10100f42
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
push 6
mov dword [ebp - 0x1c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10122c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
lea edi, [esi + 2]
je 0x10122ce0
cmp byte [esi + 1], 0
jne 0x10122d27
xor ecx, ecx
mov byte [esi + 1], 1
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x1e
jb 0x10122ca0
jmp 0x10122d27
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, byte [edi + ecx]
xor al, bl
mov byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x1e
jb 0x10122ce6
push ecx
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x1f]
push eax
push edi
call fcn.10041a10
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10122d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
lea edi, [esi + 2]
je 0x10122dc0
cmp byte [esi + 1], 0
jne 0x10122e07
xor ecx, ecx
mov byte [esi + 1], 1
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x1a
jb 0x10122d80
jmp 0x10122e07
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, byte [edi + ecx]
xor al, bl
mov byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x1a
jb 0x10122dc6
push ecx
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x1b]
push eax
push edi
call fcn.10041a10
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10126c70
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e099d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1021b380]
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 dword [ebp - 0x40], edx
mov ebx, ecx
mov dword [ebp - 0x3c], ebx
mov edi, dword [0x102bb43c]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
test edi, edi
jne 0x10126d60
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x30], ebx
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ecx + ebx + 0x78]
add ecx, ebx
mov dword [ebp - 0x38], ecx
cmp ecx, ebx
je 0x10126d3a
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x10126d3a
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, ebx
sub ecx, 4
dec edx
mov dword [ebp - 0x34], ecx
mov edi, 0xf3f8b87b
mov dword [ebp - 0x2c], edx
mov ecx, dword [ecx]
add ecx, ebx
mov bl, byte [ecx]
inc ecx
test bl, bl
je 0x10126d30
movsx esi, bl
lea ecx, [ecx + 1]
sub bl, 0x41
mov edx, esi
or edx, 0x20
cmp bl, 0x19
mov bl, byte [ecx - 1]
cmova edx, esi
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x10126d02
mov edx, dword [ebp - 0x2c]
cmp edi, 0xaf6c12af
je 0x10126d3e
mov ecx, dword [ebp - 0x34]
mov ebx, dword [eax + 0x18]
test edx, edx
jne 0x10126ce8
mov eax, dword [eax]
jmp 0x10126cc3
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov edi, dword [ecx + eax*4]
add edi, esi
mov dword [0x102bb43c], edi
lea eax, [ebp - 0x28]
mov ecx, 0x102ad700
push eax
call fcn.10043440
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
cmova eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x40]
call edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.10029c20
test esi, esi
jne 0x10126d9f
mov dword [ebx], esi
jmp 0x10126dab
push 0
push dword [ebp - 0x44]
call esi
add esp, 8
mov dword [ebx], eax
mov eax, ebx
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.101d03f8
mov esp, ebp
pop ebp
ret
Function at 0x101281c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d3ba3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1021b380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov eax, dword [eax + 0x14c]
mov dword [ebp - 0x24], eax
mov eax, dword [0x102b7078]
test al, 1
jne 0x10128344
or eax, 1
mov dword [0x102b7078], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x102b3e88]
cmp ebx, dword [0x102b3e8c]
je 0x10128274
nop dword [eax]
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10128269
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [esi + eax], 0
jne 0x10128243
xor edx, edx
test eax, eax
je 0x10128269
movsx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x10128250
cmp edi, 0x72e242a1
je 0x10128283
add ebx, 4
cmp ebx, dword [0x102b3e8c]
jne 0x10128230
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [0x102b5780], eax
jmp 0x10128349
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp dword [eax + 4], ebx
jle 0x10128328
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
nop dword [eax]
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x101282d1
cmp dword [ecx + 4], 0
jle 0x101282d1
push 0
mov edx, 0xa4a37590
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x101282ce
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x101282e0
xor edx, edx
test ecx, ecx
je 0x1012830c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x101282f0
cmp ebx, 0xa4a37590
je 0x10128334
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
inc edx
mov ebx, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x101282a0
mov ecx, dword [ebp - 0x20]
mov eax, ebx
mov dword [0x102b5780], eax
jmp 0x10128349
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [0x102b5780], eax
jmp 0x10128349
mov eax, dword [0x102b5780]
mov edx, dword [ebp - 0x24]
test byte [eax + edx], 1
je 0x10128367
inc dword [ecx + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret