joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a80b4
Capabilities:
Allocate or change rwx memory
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cmp byte [eax], 0
je 0x4a8181
cmp dword [ebp - 4], 0
je 0x4a8181
xor ecx, ecx
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.004a7c0c
test al, al
je 0x4a8113
mov eax, dword [0x568f50]
cmp byte [eax], 0
je 0x4a8107
mov ecx, 0x40a0
mov edx, 0x4a8194
mov eax, 0x4a8210
call fcn.00405398
push 0x4a8254
call sub.kernel32.dll_OutputDebugStringW
jmp 0x4a8181
mov eax, dword [ebp - 4]
call fcn.004a782c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a8181
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
lea eax, [ebp - 0xc]
push eax
push 5
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
cmp dword [ebp - 0x14], 0
je 0x4a817b
push 5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov esp, ebp
pop ebp
ret

Function at 0x4aef8c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4aeffb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x4af014
call fcn.0040e4ec
mov eax, dword [ebp - 4]
call fcn.00406278
push eax
call sub.kernel32.dll_OutputDebugStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af002
lea eax, [ebp - 4]
call fcn.004061dc
ret

Function at 0x4af180
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4af1dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4af1f4
call fcn.0040e4ec
mov eax, dword [ebp - 4]
call fcn.00406278
push eax
call sub.kernel32.dll_OutputDebugStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af1e4
lea eax, [ebp - 4]
call fcn.004061dc
ret
Function at 0x4af2b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x4af5a3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x56f400], 0
je 0x4af588
mov eax, dword [0x56f400]
mov dword [ebp - 0x20], eax
call fcn.00404348
mov eax, dword [ebp - 0x20]
call fcn.00404668
or edx, 0xffffffff
call fcn.004043f4
xor eax, eax
push ebp
push 0x4af581
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x56f400]
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x14], edx
xor eax, eax
push ebp
push 0x4af453
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x56f400]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [0x56f400]
mov edx, dword [0x48dfbc]
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], 0x4a2708
mov eax, dword [0x56f400]
call fcn.004adbe0
mov eax, dword [0x56f400]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x34], edx
mov eax, dword [0x56f400]
mov eax, dword [eax + 0x38]
mov dword [ebp - 4], eax
cmp byte [0x56f448], 0
je 0x4af3d5
cmp dword [ebp - 4], 0
je 0x4af3d5
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x4af3d5
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xfffffffe
jne 0x4af3c6
inc dword [ebp - 0xc]
push 0x4af5bc
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040cee0
push dword [ebp - 0x28]
push 0x4af5fc
mov eax, dword [ebp - 4]
push dword [eax]
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.004067a4
mov eax, dword [ebp - 0x24]
call fcn.00406278
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4af382
mov eax, dword [0x56f400]
mov eax, dword [eax + 0x38]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4af42a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xfffffffe
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0xe6
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [0x56f400]
call fcn.004adfc0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4af3e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af45a
mov eax, dword [0x56f400]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [0x56f400]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x34], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af5aa
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004061e4
ret
Function at 0x4e4d7c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2aa], 0
je 0x4e4d9b
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4e4da8
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x296]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x270], 0
je 0x4e4dcb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
movzx eax, byte [eax + 0x5e]
mov dword [ebp - 0x10], eax
jmp 0x4e4dd2
mov dword [ebp - 0x10], 0xff
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x29c]
push eax
mov eax, dword [ebp - 0x10]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4e4df6
mov dword [ebp - 0x14], 1
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x18]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x298]
jl 0x4e4e47
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x4e4e2a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov al, byte [ebp - 0xc]
mov edx, dword [ebp - 4]
mov byte [edx + 0x296], al
mov eax, dword [ebp - 4]
push eax
push fcn.004e47d0
mov eax, dword [ebp - 8]
call fcn.0042eb84
push 2
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 8]
cmp byte [eax + 0xd], 0
jne 0x4e4e8c
mov eax, dword [0x5690c4]
mov eax, dword [eax]
cmp byte [eax + 0xa0], 0
jne 0x4e4e8c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x270], 0
je 0x4e4e8c
mov eax, dword [0x5690c4]
mov eax, dword [eax]
test byte [eax + 0x1c], 8
jne 0x4e4e8c
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jl 0x4e4df6
mov esp, ebp
pop ebp
ret
Function at 0x4e5030
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x296]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x270], 0
je 0x4e506c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
movzx eax, byte [eax + 0x5e]
mov dword [ebp - 0x10], eax
jmp 0x4e5073
mov dword [ebp - 0x10], 0xff
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x29c]
push eax
mov eax, dword [ebp - 0x10]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4e5097
mov dword [ebp - 0x14], 1
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x18]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x298]
jl 0x4e50e7
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jge 0x4e50ca
xor eax, eax
mov dword [ebp - 0xc], eax
mov al, byte [ebp - 0xc]
mov edx, dword [ebp - 4]
mov byte [edx + 0x296], al
mov eax, dword [ebp - 4]
push eax
push fcn.004e48cc
mov eax, dword [ebp - 8]
call fcn.0042eb84
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x44]
mov edx, 2
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp byte [eax + 0xd], 0
jne 0x4e5145
mov eax, dword [0x5690c4]
mov eax, dword [eax]
cmp byte [eax + 0xa0], 0
jne 0x4e5145
mov eax, dword [0x5690c4]
mov eax, dword [eax]
test byte [eax + 0x1c], 8
jne 0x4e5145
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 1
je 0x4e5145
cmp dword [ebp - 0xc], 0
jg 0x4e5097
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
mov eax, dword [eax + 0xf8]
push eax
mov eax, dword [ebp - 8]
call fcn.0042e874
mov esp, ebp
pop ebp
ret

Function at 0x4f04cc
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004f140c
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
pop ecx
pop ebp
ret
Function at 0x4f12d0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff14
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x40
jle 0x4f1318
lea eax, [ebp - 0x6c]
call fcn.004f04cc
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp + 0xc]
call fcn.004f0508
lea edx, [ebp - 0x6c]
mov eax, dword [ebp + 8]
call fcn.004f0630
mov dword [ebp + 0xc], 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
jmp 0x4f131e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, dword [ebp + 0xc]
jg 0x4f1353
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
xor al, 0x36
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0xac], al
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
xor al, 0x5c
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0xec], al
inc dword [ebp - 0x14]
jmp 0x4f1369
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax - 0xac], 0x36
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax - 0xec], 0x5c
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x40
jne 0x4f1323
lea eax, [ebp - 0x6c]
call fcn.004f04cc
lea edx, [ebp - 0xac]
lea eax, [ebp - 0x6c]
mov ecx, 0x40
call fcn.004f0508
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 8]
call fcn.004f114c
lea edx, [ebp - 0x6c]
mov eax, dword [ebp + 8]
call fcn.004f0630
lea eax, [ebp - 0x6c]
call fcn.004f04cc
lea edx, [ebp - 0xec]
lea eax, [ebp - 0x6c]
mov ecx, 0x40
call fcn.004f0508
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x6c]
mov ecx, 0x10
call fcn.004f0508
lea edx, [ebp - 0x6c]
mov eax, dword [ebp + 8]
call fcn.004f0630
mov esp, ebp
pop ebp
ret 8
Function at 0x4ffcd0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4ffcd9
xchg dword [ebp - 4], ecx
push ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ffe98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00500034
xor eax, eax
push ebp
push 0x4ffe76
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x4ffd24
call fcn.00404d38
jmp 0x4ffe7d
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x4ffdff
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4ffd7b
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4ffd7b
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004ffbe8
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push dword [ebp + 8]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004067a4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
mov cl, byte [ebp - 9]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4ffdbc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004ffbe8
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004067a4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.00406278
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4ffe60
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004ffbe8
push dword [ebp - 0x28]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push dword [ebp + 8]
push 0x4ffeb4
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.004067a4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004ffc14
jmp 0x4ffe60
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4ffe25
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4ffe25
mov eax, dword [ebp + 8]
push eax
mov ebx, dword [ebp - 4]
mov cl, byte [ebp - 9]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4ffe3c
mov eax, dword [ebp + 8]
call fcn.00406278
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x4ffe60
lea eax, [ebp - 0x2c]
mov ecx, 0x4ffeb4
mov edx, dword [ebp + 8]
call fcn.004066c0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.004ffc14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ffe7d
mov eax, dword [ebp - 4]
call fcn.00500048
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ffe9f
lea eax, [ebp - 0x2c]
mov edx, 7
call fcn.004061e4
ret
Function at 0x506604
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x56837b]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax - 1]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx - 1]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x55], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x31
jne 0x50661a
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
dec eax
add eax, eax
lea eax, [eax + eax*2]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
dec eax
shl eax, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x54]
add eax, eax
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebp + edx - 0x4f]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x53]
shl eax, 3
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebp + edx - 0x52]
shl edx, 2
add eax, edx
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebp + edx - 0x51]
add edx, edx
add eax, edx
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebp + edx - 0x50]
add eax, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
dec eax
je 0x5066c9
dec eax
je 0x5066fe
dec eax
je 0x506730
dec eax
je 0x506761
jmp 0x506789
mov eax, dword [ebp - 0x20]
add eax, eax
mov edx, dword [ebp - 0x10]
shl edx, 3
lea edx, [edx*8 + 0x568444]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x24]
mov al, byte [eax + edx - 0x40]
and al, 8
and eax, 0xff
shr eax, 3
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x75], al
jmp 0x506789
mov eax, dword [ebp - 0x20]
add eax, eax
mov edx, dword [ebp - 0x10]
shl edx, 3
lea edx, [edx*8 + 0x568444]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x24]
mov al, byte [eax + edx - 0x40]
and al, 4
and eax, 0xff
shr eax, 2
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x75], al
jmp 0x506789
mov eax, dword [ebp - 0x20]
add eax, eax
mov edx, dword [ebp - 0x10]
shl edx, 3
lea edx, [edx*8 + 0x568444]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x24]
mov al, byte [eax + edx - 0x40]
and al, 2
and eax, 0xff
shr eax, 1
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x75], al
jmp 0x506789
mov eax, dword [ebp - 0x20]
add eax, eax
mov edx, dword [ebp - 0x10]
shl edx, 3
lea edx, [edx*8 + 0x568444]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x24]
mov al, byte [eax + edx - 0x40]
and al, 1
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x75], al
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 5
jne 0x5066b1
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 9
jne 0x50664c
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x5683ab]
mov al, byte [ebp + eax - 0x75]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx - 1], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x21
jne 0x5067aa
mov esp, ebp
pop ebp
ret
Function at 0x507810
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax]
mov byte [ebp - 0x24], al
mov eax, dword [ebp - 4]
mov al, byte [eax]
shl eax, 7
and al, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 1]
shr edx, 1
or al, dl
mov byte [ebp - 0x23], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 1]
shl eax, 6
and al, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 2]
shr edx, 2
or al, dl
mov byte [ebp - 0x22], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 2]
shl eax, 5
and al, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 3]
shr edx, 3
or al, dl
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 3]
shl eax, 4
and al, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 4]
shr edx, 4
or al, dl
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 4]
shl eax, 3
and al, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 5]
shr edx, 5
or al, dl
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 5]
shl eax, 2
and al, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 6]
shr edx, 6
or al, dl
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 6]
add eax, eax
and al, 0xff
mov byte [ebp - 0x1d], al
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x24]
shl eax, cl
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x1c]
and eax, 1
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 8
jne 0x5078da
mov eax, dword [ebp - 0x10]
mov al, byte [ebp + eax - 0x24]
and al, 0xfe
or al, byte [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x24], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x5078d3
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00405d10
push 1
mov eax, dword [ebp - 0xc]
call fcn.00405ca4
mov edx, eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.005068b8
mov esp, ebp
pop ebp
ret
Function at 0x5466f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004061d4
xor eax, eax
push ebp
push 0x5467fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x5467dc
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00408654
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x54674b
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push eax
call fcn.00408518
pop ecx
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
mov ecx, 4
call fcn.0040320c
add dword [ebp - 0x10], 4
lea eax, [ebp - 0x1c]
call fcn.00405ca4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
call fcn.0040320c
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x5467dc
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov ecx, 0x16
cdq
idiv ecx
mov al, byte [edx + 0x568868]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
inc dword [ebp - 0x10]
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x5467bb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x546801
lea eax, [ebp - 0x1c]
call fcn.0040546c
lea eax, [ebp - 4]
call fcn.004061dc
ret
Function at 0x548b5c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.004061ec
push 0
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x216]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x216]
mov ecx, 0x105
call fcn.004063ec
mov esp, ebp
pop ebp
ret 4

Function at 0x548ba8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x208]
mov ecx, pe_nt_image_headers32
call fcn.004063ec
mov esp, ebp
pop ebp
ret

Function at 0x548be0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x208]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x208]
mov ecx, pe_nt_image_headers32
call fcn.004063ec
mov esp, ebp
pop ebp
ret

Function at 0x548c18
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x208]
mov ecx, pe_nt_image_headers32
call fcn.004063ec
mov esp, ebp
pop ebp
ret

Function at 0x548c50
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.004061ec
mov dword [ebp - 8], 0x104
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x548c8f
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x210]
call fcn.00406398
mov esp, ebp
pop ebp
ret

Function at 0x548c94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
xor edx, edx
mov dword [ebp - 0x210], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x548d13
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x20c]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
test eax, eax
jbe 0x548cfa
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.004063ec
mov eax, dword [ebp - 0x210]
mov ecx, 2
mov edx, 1
call fcn.00406998
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x548d1a
lea eax, [ebp - 0x210]
call fcn.004061dc
ret