joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017b06
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10017b69
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10017b3b
push 0xd76
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x10017b67
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10017b67
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
jmp 0x10017b91
push 0x25d
push 0x4e76
push 0x605
push 0x4b5d
push 0x670c
push 1
push 0x33df
call fcn.100161d8
add esp, 0x1c
mov esp, ebp
pop ebp
ret

Function at 0x10017b95
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10017bef
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 4], eax
push 1
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x79d3
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x3337
push dword [ebp - 0x18]
call fcn.10017c1a
add esp, 0x24
jmp 0x10017c16
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10017c07
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
jmp 0x10017c16
push 0xd76
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov esp, ebp
pop ebp
ret
Function at 0x1001a922
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1001a973
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
push 1
push 0x373d
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x4b7f
push dword [ebp - 0x18]
call fcn.1001a9ea
add esp, 0x20
jmp 0x1001a9e6
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x1001a9dc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001a9bd
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1001a9da
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.100302cc
mov dword [eax], 0xa3a1
jmp 0x1001a9b2
jmp 0x1001a9e6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov esp, ebp
pop ebp
ret
Function at 0x10020471
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100204e1
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x100204a9
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x100204df
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
sub ecx, dword [eax + 0x34]
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x10020520
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
push 0x10d0
push 0x332e
push dword [ebp - 0x2c]
push 0x371
push 0x6ea6
push dword [ebp - 0x30]
push 0x7913
push 0x6929
push 0
push 0x2150
call fcn.10022c81
add esp, 0x28
mov esp, ebp
pop ebp
ret
Function at 0x1002b879
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002b8c0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002b8a7
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1002b8be
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x1002b905
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x1c88
push dword [ebp - 0x28]
push 1
call fcn.1001179e
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x1006a00e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100777a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1005b508
mov dword [ebp - 0x14], eax
cmp dword [0x10663f60], esi
jne 0x1006a101
push 0x800
push esi
push 0x1000dae0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1006a08e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006a1e1
push esi
push esi
push 0x1000dae0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006a1e1
push 0x1000daf8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006a1e1
push eax
call ebx
push 0x1000db04
push edi
mov dword [0x10663f60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000db14
push edi
mov dword [0x10663f64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000db28
push edi
mov dword [0x10663f68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10663f70], eax
test eax, eax
je 0x1006a0fe
push 0x1000db44
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10663f6c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006a126
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006a119
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1006a13b
push 4
pop eax
jmp 0x1006a1e3
cmp dword [ebp - 0x14], esi
je 0x1006a13b
push dword [0x10663f60]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006a120
mov eax, dword [0x10663f6c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006a199
cmp dword [0x10663f70], edi
je 0x1006a199
push eax
call ebx
push dword [0x10663f70]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006a199
test eax, eax
je 0x1006a199
call ecx
test eax, eax
je 0x1006a18e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1006a18e
test byte [ebp - 8], 1
jne 0x1006a199
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006a1c9
mov eax, dword [0x10663f64]
cmp eax, edi
je 0x1006a1c6
push eax
call ebx
test eax, eax
je 0x1006a1c6
call eax
mov esi, eax
test esi, esi
je 0x1006a1c6
mov eax, dword [0x10663f68]
cmp eax, edi
je 0x1006a1c6
push eax
call ebx
test eax, eax
je 0x1006a1c6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10663f60]
call ebx
test eax, eax
je 0x1006a1e1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006a1e3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10058a8f
mov esp, ebp
pop ebp
ret
Function at 0x2341abe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, 0x5a4d
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
cmp word [esi], ax
jne 0x2341c21
mov ebx, dword [esi + 0x3c]
add ebx, esi
cmp dword [ebx], 0x4550
jne 0x2341c21
mov eax, dword [edi + 0x688]
test eax, eax
je 0x2341c21
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0xffffffffffffffff
call eax
test eax, eax
je 0x2341c21
mov eax, 0x1c0
cmp word [ebp - 4], ax
je 0x2341b26
mov eax, 0xaa64
cmp word [ebp - 4], ax
jne 0x2341c21
cmp dword [ebx + 8], 0x27debf2c
jne 0x2341b51
push 0x4b2e8f83
push 0x4b2e8de3
push 0x4b280000
mov edx, esi
mov ecx, edi
call fcn.02341a38
add esp, 0xc
xor eax, eax
jmp 0x2341c26
cmp dword [ebx + 8], 0x88330560
jne 0x2341b66
push 0x4b3fabde
push 0x4b3fa92b
jmp 0x2341b39
cmp dword [ebx + 8], 0xe892dd44
jne 0x2341b7b
push 0x4b406b8e
push 0x4b4068db
jmp 0x2341b39
and dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push 0
push 1
push ecx
push 0x2bcd03a7
push esi
mov ecx, edi
call fcn.02342131
test eax, eax
js 0x2341c26
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x2341c21
lea eax, [ebx - 0x140]
mov dword [ebp - 0x1c], 0x3f3f3fe8
push 8
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x18], 0x843f
push ecx
mov edx, 0x140
mov byte [ebp - 0x16], 0xc0
mov ecx, eax
mov dword [ebp - 0x24], 0x1b8
mov word [ebp - 0x20], 0x8400
mov byte [ebp - 0x1e], 0xc0
mov dword [ebp - 0x10], eax
call fcn.023426c9
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x2341bf1
mov ecx, dword [ebp - 0x10]
mov edx, 0x140
jmp 0x2341c0e
push 7
lea eax, [ebp - 0x1c]
mov edx, 0x200
push eax
mov ecx, ebx
call fcn.023426c9
test eax, eax
jne 0x2341c2b
mov edx, 0x200
mov ecx, ebx
push 8
lea eax, [ebp - 0x24]
push eax
call fcn.023426c9
test eax, eax
jne 0x2341b4a
mov eax, 0xe0010001
pop edi
pop esi
pop ebx
leave
ret
push eax
push dword [ebp - 0x14]
push esi
jmp 0x2341b3e

Function at 0x2342551
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x234256f
mov eax, dword [ecx + 0x3c]
cmp eax, 0x400
jg 0x234256f
add eax, ecx
cmp dword [eax], 0x4550
je 0x2342571
xor eax, eax
ret
Function at 0x2345924
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov edx, 1
push ebx
push esi
push edi
xor esi, esi
mov eax, edx
mov dword [ebp + esi*4 - 0x808], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x408], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
movzx edx, cl
cmp esi, 0x100
jl 0x2345937
mov esi, 1
mov edx, 0x234cf04
nop dword [eax]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x234cf2c
jl 0x2345974
mov eax, 1
mov byte [0x234ad04], 0x63
mov byte [0x234be67], 0
mov dword [ebp - 4], eax
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x408]
lea eax, [ebp - 0x40c]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
add eax, eax
shr ecx, 7
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x234ad04], bl
mov byte [ebx + 0x234be04], al
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x100
jl 0x23459b4
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 8], ebx
movzx edx, byte [esi + 0x234ad04]
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x234ae04], ecx
rol ecx, 8
mov dword [esi*4 + 0x234b204], ecx
rol ecx, 8
mov dword [esi*4 + 0x234b604], ecx
rol ecx, 8
mov dword [esi*4 + 0x234ba04], ecx
movzx ecx, byte [esi + 0x234be04]
test ecx, ecx
je 0x2345ae3
mov ecx, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp - 0x3d0]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e4]
add eax, ecx
mov edi, dword [ebp + edx*4 - 0x808]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d4]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x808]
cdq
idiv dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x808]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3dc]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x808]
jmp 0x2345aec
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 4]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, edi
mov dword [esi*4 + 0x234bf04], eax
rol eax, 8
mov dword [esi*4 + 0x234c304], eax
rol eax, 8
mov dword [esi*4 + 0x234c704], eax
rol eax, 8
mov dword [esi*4 + 0x234cb04], eax
inc esi
cmp esi, 0x100
jl 0x2345a29
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x2345b44
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x18
test al, 0xf
je 0x2345b5a
mov eax, 0xffffffde
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x2345cae
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
jne 0x2345bf6
mov ebx, dword [ebp + 0x18]
lea edx, [ecx + 0xf]
dec eax
mov dword [ebp - 8], edx
mov edi, ecx
shr eax, 4
sub edi, esi
inc eax
mov dword [ebp + 0x10], eax
movups xmm0, xmmword [ebx]
push esi
push ebx
push dword [ebp + 8]
movups xmmword [ebp - 0x18], xmm0
call fcn.02346e74
add esp, 0xc
cmp esi, dword [ebp - 8]
ja 0x2345bc7
lea eax, [esi + 0xf]
cmp eax, dword [ebp + 0x14]
jb 0x2345bc7
mov ecx, esi
mov edx, 0x10
nop
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x2345bb4
mov eax, dword [ebp + 0x14]
jmp 0x2345bd7
mov eax, dword [ebp + 0x14]
movups xmm0, xmmword [esi]
movups xmm1, xmmword [eax]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [ebp - 0x18]
add esi, 0x10
add ebx, 0x10
sub edi, 0x10
sub dword [ebp + 0x10], 1
movups xmmword [eax], xmm0
jne 0x2345b8a
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x18]
lea edx, [eax - 1]
mov ebx, ecx
shr edx, 4
sub ebx, edi
mov dword [ebp - 4], esi
inc edx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
nop dword [eax]
lea eax, [edi + 0xf]
cmp esi, eax
ja 0x2345c22
lea eax, [esi + 0xf]
cmp eax, edi
jae 0x2345c30
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x2345c61
lea eax, [esi + 0xf]
cmp eax, ecx
jb 0x2345c61
mov ebx, esi
mov ecx, edi
mov esi, dword [ebp + 0x10]
sub ebx, edi
mov edx, 0x10
nop word [eax + eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub edx, 1
jne 0x2345c44
mov esi, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
jmp 0x2345c6e
movups xmm1, xmmword [ecx]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
cmp dword [ebp + 0xc], 1
push esi
push esi
push edx
jne 0x2345c7e
call fcn.02347404
jmp 0x2345c83
call fcn.02346e74
movups xmm0, xmmword [esi]
mov ecx, dword [ebp + 0x14]
sub ebx, 0x10
mov edx, dword [ebp + 8]
add esi, 0x10
add esp, 0xc
mov dword [ebp + 0x10], ebx
add edi, 0x10
mov dword [ebp - 4], esi
sub dword [ebp - 8], 1
movups xmmword [ecx], xmm0
jne 0x2345c14
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x2345cf4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
push edi
push dword [ebp + 0x10]
xor eax, eax
lea edi, [ebp - 0x118]
push dword [ebp + 0xc]
mov ecx, 0x46
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
lea esi, [edi + 8]
mov dword [edi + 4], esi
call fcn.02345ef4
add esp, 0xc
mov dword [ebp + 8], eax
test eax, eax
jne 0x2345ee8
mov ecx, dword [ebp - 0x118]
mov dword [edi], ecx
shl ecx, 4
add ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
sub ecx, 0x10
mov dword [esi + 0xc], eax
add esi, 0x10
mov edi, dword [edi]
dec edi
test edi, edi
jle 0x2345ecf
push ebx
nop dword [eax]
movzx eax, byte [ecx + 3]
dec edi
movzx edx, byte [eax + 0x234ad04]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x234cb04]
movzx eax, byte [eax + 0x234ad04]
xor edx, dword [eax*4 + 0x234c704]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x234ad04]
xor edx, dword [eax*4 + 0x234c304]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x234ad04]
xor edx, dword [eax*4 + 0x234bf04]
mov dword [esi], edx
mov ebx, dword [ecx + 4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x234ad04]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x234c704]
movzx eax, byte [eax + 0x234ad04]
xor edx, dword [eax*4 + 0x234c304]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x234ad04]
xor edx, dword [eax*4 + 0x234cb04]
movzx eax, bl
movzx eax, byte [eax + 0x234ad04]
xor edx, dword [eax*4 + 0x234bf04]
mov dword [esi + 4], edx
mov ebx, dword [ecx + 8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x234ad04]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x234c704]
movzx eax, byte [eax + 0x234ad04]
xor edx, dword [eax*4 + 0x234c304]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x234ad04]
xor edx, dword [eax*4 + 0x234cb04]
movzx eax, bl
movzx eax, byte [eax + 0x234ad04]
xor edx, dword [eax*4 + 0x234bf04]
mov dword [esi + 8], edx
mov ebx, dword [ecx + 0xc]
mov eax, ebx
shr eax, 0x10
sub ecx, 0x10
movzx eax, al
movzx edx, byte [eax + 0x234ad04]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x234c704]
movzx eax, byte [eax + 0x234ad04]
xor edx, dword [eax*4 + 0x234c304]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x234ad04]
xor edx, dword [eax*4 + 0x234cb04]
movzx eax, bl
movzx eax, byte [eax + 0x234ad04]
xor edx, dword [eax*4 + 0x234bf04]
mov dword [esi + 0xc], edx
add esi, 0x10
test edi, edi
jg 0x2345d74
pop ebx
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x2347d14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], 0x1d1a
mov edx, 0x1d7e
mov word [ebp - 0x30], dx
mov eax, 0x1d78
mov word [ebp - 0x2e], ax
mov ecx, 0x1d76
mov eax, 0x1d7d
mov word [ebp - 0x2c], ax
mov eax, 0x1d72
mov word [ebp - 0x2a], ax
mov eax, 0x1d7f
mov word [ebp - 0x28], ax
mov eax, 0x1d6a
mov word [ebp - 0x26], cx
mov word [ebp - 0x24], ax
mov eax, 0x1d34
mov word [ebp - 0x22], ax
xor eax, eax
mov word [ebp - 0x20], dx
xor edx, edx
mov word [ebp - 0x1e], cx
mov word [ebp - 0x1c], cx
mov word [ebp - 0x1a], ax
mov ax, word [ebp - 0x30]
nop dword [eax]
mov ax, word [ebp + edx*2 - 0x30]
movzx ecx, ax
movzx eax, word [ebp - 0x34]
xor ecx, eax
mov word [ebp + edx*2 - 0x30], cx
inc edx
cmp edx, 0xb
jb 0x2347d84
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi + 0x698]
call eax
mov esi, eax
test esi, esi
jne 0x2347dcb
call dword [0x236bfb4]
pop edi
or eax, 0xe0ff0000
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], 0x65
mov eax, dword [ebp - 0x18]
xor eax, 0x4d
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x18]
inc al
xor eax, 0x69
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x18]
add al, 2
xor eax, 0x6e
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
add al, 3
xor eax, 0x69
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x18]
add al, 4
xor eax, 0x44
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x18]
add al, 5
xor eax, 0x75
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x18]
add al, 6
xor eax, 0x6d
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0x18]
add al, 7
xor eax, 0x70
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x18]
add al, 8
xor eax, 0x57
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
add al, 9
xor eax, 0x72
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0x18]
add al, 0xa
xor eax, 0x69
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 0x18]
add al, 0xb
xor eax, 0x74
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x18]
add al, 0xc
xor eax, 0x65
mov byte [ebp - 8], al
mov eax, dword [ebp - 0x18]
add al, 0xd
xor eax, 0x44
mov byte [ebp - 7], al
mov eax, dword [ebp - 0x18]
add al, 0xe
xor eax, 0x75
mov byte [ebp - 6], al
mov eax, dword [ebp - 0x18]
add al, 0xf
xor eax, 0x6d
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x18]
add al, 0x10
mov byte [ebp - 3], 0
xor eax, 0x70
xor edx, edx
mov byte [ebp - 4], al
mov al, byte [ebp - 0x14]
mov al, byte [ebp + edx - 0x14]
mov ecx, dword [ebp - 0x18]
add cl, dl
movsx eax, al
xor ecx, eax
mov byte [ebp + edx - 0x14], cl
inc edx
cmp edx, 0x11
jb 0x2347e94
lea eax, [ebp - 0x14]
mov byte [ebp - 3], 0
push eax
mov eax, dword [edi + 0x6a0]
push esi
call eax
mov ecx, eax
test ecx, ecx
je 0x2347dba
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
pop esi
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret