joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dc30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov esi, ecx
mov byte [esp + 0x13], 0
movzx ebx, byte [ebp + 0x14]
xor edi, edi
movzx eax, byte [ebp + 0x15]
shl ebx, 8
or ebx, eax
movzx eax, byte [ebp + 0x16]
shl ebx, 8
or ebx, eax
movzx eax, byte [ebp + 0x17]
push 0xffffffffffffffff
push dword [esi + 0x2e0]
shl ebx, 8
or ebx, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x2d8]
shr eax, 0x1c
test al, 1
je 0x44dcc7
test byte [esi + 0x2d8], 1
mov al, byte [ebp + 0x13]
je 0x44dcbd
test al, 8
jne 0x44dcc1
test al, 0x20
je 0x44dcea
mov al, byte [ebp + 0x12]
cmp al, 0xc9
je 0x44dc9f
cmp al, 0xca
jne 0x44dd20
mov ecx, dword [esi + 0x298]
mov eax, dword [ecx]
cmp ecx, eax
je 0x44dd20
mov edx, dword [eax + 8]
test byte [edx + 0x58], 1
je 0x44dcb9
cmp dword [edx + 0x4c], ebx
je 0x44dcdf
mov eax, dword [eax]
jmp 0x44dca7
test al, 8
jne 0x44dc8c
inc dword [esi + 0x294]
push dword [esi + 0x2e0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov edi, edx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
jmp 0x44dd20
mov edx, dword [esi + 0x2c8]
cmp ebx, edx
ja 0x44dd20
sub edx, ebx
cmp edx, 0x40
jae 0x44dcc1
xor ecx, ecx
xor eax, eax
bts ecx, edx
cmp edx, 0x20
cmovae eax, ecx
xor ecx, eax
cmp edx, 0x40
cmovae eax, ecx
and ecx, dword [esi + 0x2d0]
and eax, dword [esi + 0x2d4]
or ecx, eax
jne 0x44dcc1
push dword [esi + 0x2e0]
mov ebx, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call ebx
test edi, edi
jne 0x44dd93
test byte [ebp + 0x13], 0x20
jne 0x44dcd3
push ebp
mov ecx, esi
call fcn.0044e3a0
mov edi, eax
test edi, edi
je 0x44dcd3
push 0xffffffffffffffff
push dword [esi + 0x2e0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
cmp byte [ebp + 0x12], 0xc9
jne 0x44dd8b
mov eax, dword [ebp]
mov dword [esi + 0x2b0], eax
mov eax, dword [ebp + 4]
mov dword [esi + 0x2b4], eax
mov eax, dword [esi + 0x2a8]
mov dword [esi + 0x2b8], eax
mov eax, dword [esi + 0x2ac]
mov dword [esi + 0x2bc], eax
push dword [esi + 0x2e0]
call ebx
movzx eax, word [esp + 0x1c]
mov ecx, edi
push eax
push ebp
call fcn.00450070
test al, al
je 0x44ddba
mov ecx, dword [esp + 0x20]
push dword [edi + 0x2c]
push dword [edi + 0x30]
mov eax, dword [ecx]
call dword [eax]
test eax, eax
sete bl
jmp 0x44ddbe
mov bl, byte [esp + 0x13]
test edi, edi
je 0x44ddc9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret 0xc
Function at 0x451ba0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x102c]
mov dword [esp + 0x10], eax
cmp eax, ebx
jl 0x451c13
push ebx
lea esi, [edi + 0x2c]
push esi
push ebp
call fcn.004d1780
sub dword [edi + 0x102c], ebx
add esp, 0xc
mov eax, dword [edi + 0x102c]
test eax, eax
jle 0x451beb
push eax
lea eax, [ebx + 0x2c]
add eax, edi
push eax
push esi
call fcn.004d0d60
add esp, 0xc
add dword [edi + 0x1038], ebx
cmp byte [esp + 0x20], 0
je 0x451c09
push ebx
push ebp
push dword [edi + 0x28]
call fcn.00457810
add esp, 0xc
test eax, eax
je 0x451c4c
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 0xc
test eax, eax
jle 0x451c33
push eax
lea eax, [edi + 0x2c]
push eax
push ebp
call fcn.004d1780
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [edi + 0x102c], 0
push dword [edi + 0x24]
mov esi, ebx
sub esi, eax
add eax, ebp
push esi
push 1
push eax
call fcn.004e2d50
add esp, 0x10
cmp esi, eax
je 0x451beb
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 0xc
Function at 0x451c60
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1034
call fcn.004b8960
push ebx
push ebp
push esi
push edi
push 0x1026
lea eax, [esp + 0x20]
mov esi, ecx
push 0
push eax
mov dword [esp + 0x1c], esi
call fcn.004d2520
mov ebx, dword [esi + 0x102c]
add esp, 0xc
test ebx, ebx
jle 0x451cb0
push ebx
lea eax, [esi + 0x2c]
push eax
lea eax, [esp + 0x4a]
push eax
call fcn.004d1780
add esp, 0xc
mov dword [esi + 0x102c], 0
jmp 0x451cc9
push dword [esi + 0x24]
lea eax, [esp + 0x46]
push 0x1000
push 1
push eax
call fcn.004e2d50
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x451dc4
lea eax, [ebx + 0x26]
cmp eax, 0x26
jb 0x451d62
mov ecx, dword [str.18F41FDC_397E_44a3_81B4_5EE88A6F49D9]
lea ebp, [esp + eax - 0xa]
add eax, 0xffffffdb
mov dword [esp + 0x14], ecx
push eax
lea eax, [esp + 0x20]
movsx ecx, byte [ecx]
push ecx
push eax
mov dword [esp + 0x24], ecx
call fcn.004d1d00
mov edi, eax
add esp, 0xc
test edi, edi
je 0x451d62
nop word [eax + eax]
mov ecx, dword [esp + 0x14]
mov edx, edi
mov esi, 0x22
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x451d39
add edx, 4
add ecx, 4
sub esi, 4
jae 0x451d20
mov ax, word [edx]
cmp ax, word [ecx]
je 0x451d5a
lea ecx, [edi + 1]
cmp ecx, ebp
ja 0x451d5e
mov eax, ebp
sub eax, edi
push eax
push dword [esp + 0x1c]
push ecx
call fcn.004d1d00
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x451d10
jmp 0x451d5e
test edi, edi
jne 0x451dd1
mov esi, dword [esp + 0x10]
push ebx
push dword [esi + 0x1038]
lea eax, [esp + 0x4a]
mov ecx, esi
push eax
call fcn.00457a40
push ebx
lea eax, [esp + 0x46]
push eax
push dword [esi + 0x28]
call fcn.00457810
add esp, 0xc
test eax, eax
je 0x451dc4
lea eax, [esp + 0x1c]
add eax, ebx
push 0x26
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004d0d60
push dword [esi + 0x24]
add dword [esi + 0x1038], ebx
lea eax, [esp + 0x52]
push 0x1000
push 1
push eax
call fcn.004e2d50
mov ebx, eax
add esp, 0x1c
test ebx, ebx
jne 0x451cd1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x1034
ret
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x42]
sub edi, eax
add edi, 0x26
push edi
push eax
push dword [esi + 0x28]
call fcn.00457810
add esp, 0xc
test eax, eax
je 0x451dc4
sub ebx, edi
mov dword [esi + 0x102c], ebx
test ebx, ebx
jle 0x451e0f
lea eax, [esp + 0x42]
add eax, edi
push ebx
push eax
lea eax, [esi + 0x2c]
push eax
call fcn.004d1780
add esp, 0xc
add dword [esi + 0x1038], edi
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1034
ret
Function at 0x457860
Capabilities:
Read file on windows

Disassembly:
push esi
push dword [ecx + 0x14]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x10]
push esi
push 1
push eax
call fcn.004e2d50
add esp, 0x10
cmp esi, eax
je 0x457882
xor al, al
pop esi
ret 8
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
sub esi, 4
jb 0x4578a1
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4578a6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x457890
cmp esi, 0xfffffffc
je 0x4578d3
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x45787c
cmp esi, 0xfffffffd
je 0x4578d3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x45787c
cmp esi, 0xfffffffe
je 0x4578d3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x45787c
cmp esi, 0xffffffff
je 0x4578d3
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x45787c
mov al, 1
pop esi
ret 8

Function at 0x4578e0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push 2
push 0x5098ac
mov dword [esi + 0x14], eax
call fcn.00457860
push 0
test al, al
jne 0x457914
push 0
push dword [esi + 0x14]
mov byte [esi], al
call fcn.004decb9
add esp, 0xc
test eax, eax
sete al
pop esi
ret 4
push 0x3c
push dword [esi + 0x14]
call fcn.004decb9
add esp, 0xc
test eax, eax
je 0x45792b
xor al, al
pop esi
ret 4
push dword [esi + 0x14]
lea eax, [esp + 0xc]
push 4
push 1
push eax
call fcn.004e2d50
add esp, 0x10
cmp eax, 4
jne 0x457925
movzx eax, byte [esp + 0xa]
push edi
movzx edi, byte [esp + 0xf]
shl edi, 8
add edi, eax
mov eax, dword [esp + 0xc]
shl edi, 8
movzx ecx, ah
add edi, ecx
movzx eax, al
shl edi, 8
add edi, eax
push 0
push edi
push dword [esi + 0x14]
call fcn.004decb9
add esp, 0xc
test eax, eax
jne 0x457a2e
push 4
push 0x5098b0
mov ecx, esi
call fcn.00457860
test al, al
je 0x457a2e
push 0
lea eax, [edi + 0x18]
push eax
push dword [esi + 0x14]
call fcn.004decb9
add esp, 0xc
test eax, eax
jne 0x457a2e
push dword [esi + 0x14]
lea eax, [esp + 0x10]
push 2
push 1
push eax
call fcn.004e2d50
add esp, 0x10
cmp eax, 2
jne 0x457a2e
mov ax, word [esp + 0xc]
mov ecx, 0x100
movzx edx, ah
imul edx, ecx
movzx eax, al
add dx, ax
lea eax, [edi + 0x58]
mov dword [esi + 4], eax
add eax, 4
movzx ecx, dx
mov dword [esi + 8], eax
mov eax, ecx
cmp eax, 0x10b
je 0x457a03
cmp eax, 0x20b
jne 0x457a2e
lea eax, [edi + 0xa8]
jmp 0x457a09
lea eax, [edi + 0x98]
push 0
mov dword [esi + 0xc], eax
add eax, 8
push 0
push dword [esi + 0x14]
mov dword [esi + 0x10], eax
mov byte [esi], 1
call fcn.004decb9
add esp, 0xc
test eax, eax
sete al
pop edi
pop esi
ret 4
pop edi
xor al, al
pop esi
ret 4
Function at 0x45b840
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x640
cmp dword [0x597670], 0
jne 0x45b85b
mov eax, 0x14
add esp, 0x640
ret
push edi
mov edi, dword [esp + 0x648]
cmp edi, dword [0x56caec]
jg 0x45ba64
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [0x597678]
call esi
mov eax, dword [0x597674]
push 0xffffffffffffffff
push dword [eax]
call esi
mov ebx, dword [esp + 0x654]
lea eax, [esp + 0x24c]
push 0x400
push 0
push eax
call fcn.004d2520
push 0x101
lea eax, [esp + 0x158]
push 0
push eax
call fcn.004d2520
push 0x101
lea eax, [esp + 0x60]
push 0
push eax
call fcn.004d2520
lea eax, [esp + 0x30]
push eax
call fcn.004e0ade
add esp, 0x28
cmp eax, 0xffffffff
jne 0x45b8e6
cmp edx, eax
je 0x45ba4b
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x250]
push 0x400
push eax
call fcn.004e40b2
add esp, 0xc
test eax, eax
jne 0x45ba4b
lea ecx, [esp + 0x24c]
mov byte [esp + 0x264], al
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45b920
lea eax, [esp + 0x44]
sub ecx, edx
push eax
lea eax, [esp + 0x14c]
push eax
push 0
lea esi, [esp + 0x258]
push 0
add esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.004e438b
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x150]
push eax
push edi
push str._1d___s_s:_08x_
push 0x3ff
push esi
call fcn.0045ba80
mov ecx, esi
add esp, 0x1c
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45b980
lea eax, [esp + 0x658]
sub ecx, edx
push eax
add esi, ecx
lea eax, [esp + 0x64e]
push 0
push ebx
sub eax, esi
push eax
push esi
call fcn.0041eb60
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004d91d3
lea edi, [esp + 0x268]
add esp, 0x1c
dec edi
nop
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x45b9c0
mov ax, word [0x506574]
mov word [edi], ax
lea eax, [esp + 0x14]
push eax
push dword [0x56cae8]
call fcn.004e40a7
add esp, 8
test eax, eax
jne 0x45ba11
cmp dword [esp + 0x28], 0x100000
jle 0x45ba11
push eax
push eax
push dword [0x56cae8]
call fcn.004e109f
push 0
push dword [0x56cae8]
call fcn.004ea575
add esp, 0x14
lea ecx, [esp + 0x24c]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45ba20
sub ecx, edx
lea eax, [esp + 0x24c]
push ecx
push eax
push dword [0x56cae8]
call fcn.004e1681
push dword [0x56cae8]
call fcn.004e3a6b
add esp, 0x10
mov eax, dword [0x597674]
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [eax]
call esi
push dword [0x597678]
call esi
pop esi
pop ebx
mov eax, 1
pop edi
add esp, 0x640
ret
Function at 0x45c190
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
je 0x45c282
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45c1a6
sub ecx, edx
lea eax, [ecx*2 + 0x11]
push eax
call fcn.004e0a4f
mov edi, eax
add esp, 4
test edi, edi
je 0x45c282
mov ecx, str.Global
mov edx, edi
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x45c1d2
lea ecx, [edi - 1]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x45c1e2
mov eax, dword [str..S_lockf_]
mov dword [ecx], eax
mov eax, dword [0x509f50]
mov dword [ecx + 4], eax
mov ax, word [0x509f54]
mov word [ecx + 8], ax
mov al, byte [0x509f56]
mov byte [ecx + 0xa], al
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45c212
sub ecx, edx
cmp byte [esi], 0
lea eax, [ecx + edi]
je 0x45c254
mov cl, byte [esi]
cmp cl, 0x2f
je 0x45c246
cmp cl, 0x5c
je 0x45c23d
cmp cl, 0x5f
jne 0x45c237
mov byte [eax], cl
inc eax
mov cl, byte [esi]
mov byte [eax], cl
jmp 0x45c24d
mov byte [eax], 0x5f
inc eax
mov byte [eax], 0x7c
jmp 0x45c24d
mov byte [eax], 0x5f
inc eax
mov byte [eax], 0x25
inc esi
inc eax
cmp byte [esi], 0
jne 0x45c223
mov byte [eax], 0
push 0x14
mov dword [esp + 0xc], 0xc
mov dword [esp + 0x14], 0
call fcn.004e0a4f
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x45c28a
push edi
call fcn.004d58e0
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x45c2b1
push dword [esp + 0xc]
call fcn.004d58e0
push edi
call fcn.004d58e0
add esp, 8
xor eax, eax
pop edi
pop esi
add esp, 0xc
ret
push 0
push 0
push 1
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x45c297
push edi
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push dword [esp + 0xc]
mov esi, eax
call fcn.004d58e0
push edi
call fcn.004d58e0
add esp, 8
test esi, esi
je 0x45c282
mov eax, dword [esp + 0x1c]
neg eax
sbb eax, eax
neg eax
dec eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45c318
cmp eax, 0x80
je 0x45c318
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x45c850
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 8]
lea ecx, [eax + 0x1f]
push edi
lea edi, [edx + 0x1f]
cmp edx, ecx
ja 0x45c86c
cmp edi, eax
jae 0x45c877
lea ecx, [esi + 0x1f]
cmp edx, ecx
ja 0x45c895
cmp edi, esi
jb 0x45c895
sub esi, eax
mov edi, 0x20
sub edx, eax
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + edx - 1], cl
sub edi, 1
jne 0x45c880
pop edi
pop esi
ret
sub esi, eax
mov ecx, 2
sub edx, eax
nop
lea eax, [eax + 0x10]
movups xmm1, xmmword [esi + eax - 0x10]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [edx + eax - 0x10], xmm1
sub ecx, 1
jne 0x45c8a0
pop edi
pop esi
ret
Function at 0x45dea0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
lea eax, [esp]
push esi
push eax
push dword [esp + 0x94]
push dword [esp + 0x94]
call fcn.0045d540
push 0x40
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004d0d60
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0xa4]
lea eax, [esp + 0x64]
push eax
call fcn.0045d540
add esp, 0x24
mov esi, 0x509fa8
nop dword [eax]
lea eax, [esp + 0x44]
push eax
push esi
push eax
call fcn.0045d540
lea eax, [esp + 0x10]
push eax
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0045d540
add esi, 0x40
add esp, 0x18
cmp esi, 0x50a268
jl 0x45def0
lea eax, [esp + 0x44]
push eax
push 0x50a268
push eax
call fcn.0045d540
add esp, 0xc
xor eax, eax
pop esi
mov cl, byte [esp + eax + 0x40]
xor byte [esp + eax], cl
inc eax
cmp eax, 0x40
jl 0x45df30
lea eax, [esp]
push eax
push dword [esp + 0x88]
call fcn.0045e320
push dword [esp + 0x90]
lea eax, [esp + 0xc]
push eax
call fcn.0045e320
add esp, 0x90
ret

Function at 0x45e320
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push esi
lea ecx, [edx + 0x3f]
lea esi, [eax + 0x3f]
cmp eax, ecx
ja 0x45e350
cmp esi, edx
jb 0x45e350
sub edx, eax
mov esi, 0x40
nop
mov cl, byte [edx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub esi, 1
jne 0x45e340
pop esi
ret
movups xmm0, xmmword [eax]
pop esi
movups xmm1, xmmword [edx]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [eax + 0x10]
movups xmm1, xmmword [edx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax + 0x10], xmm1
movups xmm0, xmmword [eax + 0x20]
movups xmm1, xmmword [edx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax + 0x20], xmm1
movups xmm0, xmmword [eax + 0x30]
movups xmm1, xmmword [edx + 0x30]
pxor xmm1, xmm0
movups xmmword [eax + 0x30], xmm1
ret
Function at 0x4640a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x38]
push edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xb8]
push 0x20
push dword [ebp + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004d0d60
push 8
push dword [ebp + 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.004d0d60
add esp, 0x18
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esi]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [edi], eax
cmp dword [ebp + 0x10], 0
jle 0x464231
pushal
mov esi, dword [ebp - 8]
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0x18]
push ebp
mov ecx, 0x20
mov ebp, eax
add eax, dword [esi]
add esi, 4
movzx ebx, al
xor edx, dword [edi + ebx*4]
mov bl, ah
xor edx, dword [edi + ebx*4 + 0x400]
shr eax, 0x10
mov bl, ah
xor edx, dword [edi + ebx*4 + 0xc00]
mov bl, al
xor edx, dword [edi + ebx*4 + 0x800]
mov eax, edx
mov edx, ebp
loop 0x46414b
pop ebp
mov esi, dword [ebp - 8]
mov dword [esi], edx
mov dword [esi + 4], eax
popal
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
cmp eax, ebx
jge 0x4641ad
movzx ecx, byte [esi]
inc esi
xor cl, byte [ebp + eax - 0x18]
mov byte [edx], cl
inc edx
movzx ecx, cl
mov byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 8
jl 0x464191
mov eax, dword [ebp - 0xc]
sub ebx, 8
add eax, 8
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0xc], eax
je 0x464229
cmp dword [ebp + 0x20], 0
je 0x464229
test eax, 0x3ff
jne 0x464229
push dword [ebp + 0x18]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00467140
add esp, 0xc
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esi]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [edi], eax
test ebx, ebx
jg 0x464136
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467420
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x48
push ebx
xor bl, bl
cmp eax, 0xffffffff
jne 0x467451
mov eax, dword [0x5820b8]
test eax, eax
je 0x467509
push 0x1c
push 0
push 0x1b1
call eax
add esp, 0xc
xor al, al
pop ebx
add esp, 0x48
ret
push ebp
test eax, eax
mov ebp, 0x5820b8
push esi
cmovne ebp, eax
lea eax, [esp + 0xc]
push edi
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x5c]
rdtsc
mov dword [ecx], eax
mov dword [ecx + 4], edx
movaps xmm0, xmmword [str.aaaaaaaaaaaaaaaai]
xor esi, esi
movups xmmword [esp + 0x18], xmm0
movups xmmword [esp + 0x28], xmm0
mov cl, byte [esp + esi + 0x18]
mov eax, esi
and eax, 7
mov dl, byte [esp + eax + 0x10]
lea eax, [edx + ecx]
movzx ecx, cl
add al, bl
mov byte [esp + esi + 0x18], al
movzx eax, dl
add ecx, eax
movzx eax, bl
add ecx, eax
cmp ecx, 0x100
setae bl
inc esi
cmp esi, 0x20
jb 0x467484
push 0x20
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
push dword [0x597688]
call fcn.0046bc60
add esp, 0x10
xor edi, edi
xor edx, edx
xor esi, esi
nop word [eax + eax]
mov al, byte [esi + ebp + 0x40]
lea ecx, [esi + 1]
xor al, byte [esp + edx + 0x38]
mov byte [edi + ebp + 0x40], al
lea eax, [edx + 1]
inc edi
cmp eax, 0x20
sbb edx, edx
and edx, eax
cmp ecx, 0x20
sbb esi, esi
and esi, ecx
cmp edi, 0x20
jb 0x4674e0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x48
ret

Function at 0x467550
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x18]
xor edx, edx
push esi
push edi
xor edi, edi
xor esi, esi
cmp dword [esp + 0x18], ebp
mov ebx, ebp
cmovae ebx, dword [esp + 0x18]
test ebx, ebx
je 0x46759e
nop dword [eax]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov al, byte [edx + eax]
xor al, byte [esi + ecx]
mov ecx, dword [esp + 0x24]
mov byte [edi + ecx], al
lea eax, [edx + 1]
inc edi
lea ecx, [esi + 1]
cmp eax, dword [esp + 0x18]
sbb edx, edx
and edx, eax
cmp ecx, ebp
sbb esi, esi
and esi, ecx
cmp edi, ebx
jb 0x467570
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x468280
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x88
push esi
push edi
lea eax, [ebp + 0x24]
lea ecx, [ebp - 0x1c]
mov dword [ebp + 0x64], eax
push ecx
push dword [ebp + 0x7c]
lea eax, [ebp - 0x1c]
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x78]
push eax
mov dword [ebp + 0x78], eax
call fcn.00467920
push 0x40
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x24]
push eax
call fcn.004d0d60
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x74]
lea eax, [ebp + 0x24]
push eax
call fcn.00467920
add esp, 0x24
mov esi, 0x512b78
lea eax, [ebp + 0x24]
push eax
push esi
push eax
call fcn.00467920
lea eax, [ebp - 0x1c]
push eax
push eax
lea eax, [ebp + 0x24]
push eax
call fcn.00467920
add esi, 0x40
add esp, 0x18
cmp esi, 0x512e38
jl 0x4682d3
lea eax, [ebp + 0x24]
push eax
push 0x512e38
push eax
call fcn.00467920
add esp, 0xc
mov ecx, 0x10
mov esi, dword [ebp + 0x64]
mov edi, dword [ebp + 0x68]
lodsd eax, dword [esi]
xor dword [edi], eax
add edi, 4
loop 0x468317
mov ecx, 0x10
mov esi, dword [ebp + 0x74]
mov edi, dword [ebp + 0x68]
lodsd eax, dword [esi]
xor dword [edi], eax
add edi, 4
loop 0x46832a
mov ecx, 0x10
mov esi, dword [ebp + 0x68]
mov edi, dword [ebp + 0x78]
lodsd eax, dword [esi]
xor dword [edi], eax
add edi, 4
loop 0x46833d
pop edi
pop esi
lea esp, [ebp + 0x6c]
pop ebp
ret
Function at 0x46cf20
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x88
push esi
push edi
lea eax, [ebp + 0x24]
lea ecx, [ebp - 0x1c]
mov dword [ebp + 0x64], eax
push ecx
push dword [ebp + 0x7c]
lea eax, [ebp - 0x1c]
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x78]
push eax
mov dword [ebp + 0x78], eax
call fcn.0046c5c0
push 0x40
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x24]
push eax
call fcn.004d0d60
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x74]
lea eax, [ebp + 0x24]
push eax
call fcn.0046c5c0
add esp, 0x24
mov esi, 0x517268
lea eax, [ebp + 0x24]
push eax
push esi
push eax
call fcn.0046c5c0
lea eax, [ebp - 0x1c]
push eax
push eax
lea eax, [ebp + 0x24]
push eax
call fcn.0046c5c0
add esi, 0x40
add esp, 0x18
cmp esi, 0x517528
jl 0x46cf73
lea eax, [ebp + 0x24]
push eax
push 0x517528
push eax
call fcn.0046c5c0
add esp, 0xc
mov ecx, 0x10
mov esi, dword [ebp + 0x64]
mov edi, dword [ebp + 0x68]
lodsd eax, dword [esi]
xor dword [edi], eax
add edi, 4
loop 0x46cfb7
mov ecx, 0x10
mov esi, dword [ebp + 0x74]
mov edi, dword [ebp + 0x68]
lodsd eax, dword [esi]
xor dword [edi], eax
add edi, 4
loop 0x46cfca
mov ecx, 0x10
mov esi, dword [ebp + 0x68]
mov edi, dword [ebp + 0x78]
lodsd eax, dword [esi]
xor dword [edi], eax
add edi, 4
loop 0x46cfdd
pop edi
pop esi
lea esp, [ebp + 0x6c]
pop ebp
ret