joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2551bd2a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x2561f08c
call fcn.2561c60c
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
inc eax
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esi], 0x2567e298
mov dword [esi + 4], 0x2567e278
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov eax, dword [edi]
mov dword [ebp - 0x10], esp
call dword [eax + 0x38]
mov ecx, edi
push eax
mov eax, dword [edi]
call dword [eax + 0x34]
mov ecx, eax
lea eax, [esi + 0x10]
call fcn.2551c01c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
mov ecx, edi
push eax
mov eax, dword [edi]
call dword [eax + 0x3c]
mov ecx, eax
lea eax, [esi + 0x20]
call fcn.2551c01c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x44]
mov ecx, esi
call fcn.2551c03b
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push eax
call fcn.2551bf93
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
push ebx
push eax
lea ebx, [esi + 0x10]
call fcn.2551bfd3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
push ebx
push eax
lea ebx, [esi + 0x20]
call fcn.2551bfd3
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x2552a422
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x2561d369
call fcn.2561c60c
push esi
mov esi, dword [ebp + 8]
push 7
call fcn.2560442e
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0x2c], 0x25681300
mov dword [esi], 0x256812b0
mov dword [esi + 0x2c], 0x25681258
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x20], 0x2547f3ad
mov dword [esi + 0x24], 0x2547f325
call dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
call fcn.25613813
push dword [ebp + 0xc]
mov dword [esi + 0x30], eax
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x2552ac8e
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
mov eax, 0x2561efcc
call fcn.2561c60c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], 0x2562bc54
mov dword [edi + 0xc], eax
mov dword [ebp - 4], eax
or dword [edi + 0x14], 0xffffffff
push 0x10
mov dword [edi + 0x10], eax
lea esi, [edi + 0x18]
xor ebx, ebx
pop eax
mov dword [edi], 0x2568135c
mov dword [edi + 8], 0x25681358
call fcn.2560b437
mov dword [esi], 0x2568eb24
xor eax, eax
push eax
mov byte [ebp - 4], 1
push edi
push 7
pop ecx
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
call fcn.2552b086
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x255333b9
Capabilities:
Get common file path

Disassembly:
push esi
push str.GetSystemWindowsDirectoryW
push str.KERNEL32
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
push 0x104
push esi
je 0x255333e1
call eax
jmp 0x255333e7
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.25601949
push 0x104
push str.HFREP.INI
push esi
call dword [sym.imp.MSVCRT.dll_wcsncat]
and word [esi + 0x208], 0
add esp, 0xc
pop esi
ret

Function at 0x2555faea
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x25622c55
call fcn.2561c60c
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
mov dword [ebp - 0x10], esp
push dword [ebp + 0x14]
xor edi, edi
push edi
push ebx
push dword [ebp + 0xc]
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
push dword [ebp + 0x1c]
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
call dword [eax + 4]
push dword [ebp + 0x14]
mov dword [ebp - 4], edi
mov eax, dword [esi]
push ebx
push edi
push dword [ebp + 0xc]
mov ecx, esi
call dword [eax + 0x1c]
push edi
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
push dword [ebp + 0x14]
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.2555fdc2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18

Function at 0x25561dc7
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [edx]
dec ecx
test al, al
jns 0x25561dd7
and al, 0x7f
mov byte [esi + ecx], al
xor al, al
jmp 0x25561dde
not al
mov byte [esi + ecx], al
or al, 0xff
test ecx, ecx
je 0x25561df4
push edi
lea edi, [edx + 1]
mov dl, byte [edi]
dec ecx
xor dl, al
inc edi
test ecx, ecx
mov byte [esi + ecx], dl
jne 0x25561de6
pop edi
ret
Function at 0x25587602
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push edi
push 1
lea esi, [ebx + 0x650]
push ebx
mov eax, esi
call fcn.255876c7
push 0x18
call fcn.25613813
mov dword [esi], eax
and dword [eax + 0xc], 0
mov eax, dword [esi]
mov dword [eax + 0x10], ebx
mov edi, dword [esi]
mov eax, dword [esp + 0x10]
pop ecx
add edi, 0x14
call fcn.255f42a5
cmp dword [ebx + 0x634], 0
jne 0x25587655
lea eax, [ebx + 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx + 0x634], 1
mov eax, dword [esi]
lea edi, [ebx + 0x638]
mov dword [eax], edi
mov eax, dword [esi]
mov dword [eax + 8], 1
mov ecx, dword [esi]
xor eax, eax
mov dword [ecx + 4], eax
lea ecx, [ebx + 0x654]
push ecx
push 4
push esi
push 0x2558749b
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov ecx, dword [esi]
mov dword [ecx + 0xc], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
add esp, 0x18
test eax, eax
je 0x255876ad
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x255876c2
xor eax, eax
call fcn.2558776d
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and dword [ebx + 0x634], 0
pop edi
pop esi
ret 4
Function at 0x2559f4a5
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x2561dd4f
call fcn.2561c60c
xor eax, eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
lea ecx, [edi + 0x50]
mov dword [ebp - 4], eax
call fcn.25476027
push 8
mov byte [ebp - 4], 1
or dword [edi + 0x70], 0xffffffff
lea esi, [edi + 0x74]
xor ebx, ebx
pop eax
call fcn.2560b437
mov dword [esi], 0x2568eb24
mov byte [ebp - 4], 2
xor esi, esi
lea eax, [edi + 0xa8]
mov dword [edi + 0x88], esi
mov dword [edi + 0x8c], esi
mov dword [edi + 0x90], esi
mov dword [edi + 0x94], esi
mov dword [edi + 0x98], esi
mov dword [edi + 0x9c], esi
mov dword [edi + 0xa0], esi
mov dword [edi + 0xa4], esi
call fcn.256002ef
lea eax, [edi + 0x2e0]
mov byte [ebp - 4], 3
call fcn.256002ef
lea eax, [edi + 0x518]
mov byte [ebp - 4], 4
call fcn.256002ef
lea eax, [edi + 0x750]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
lea eax, [edi + 0x75c]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
lea eax, [edi + 0x770]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
lea eax, [edi + 0x784]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
lea eax, [edi + 0x798]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
push esi
push 1
lea eax, [edi + 0x50]
mov byte [ebp - 4], 0xa
call fcn.25475de1
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x255a295b
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
mov eax, 0x2561ebe6
call fcn.2561c60c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
lea ebx, [esi + 0x10]
mov dword [esi + 4], edi
mov dword [esi], 0x25689638
mov dword [ebx], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], 0x1e
mov dword [esi + 0x20], 4
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x1c], 0x2567dae8
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.255a2aea
push dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [esi + 0xc], eax
call fcn.2560cd9f
push dword [ebp + 0x10]
lea eax, [esi + 0x14]
push eax
call fcn.2560cd9f
push dword [ebp + 0x14]
lea eax, [esi + 0x18]
push eax
call fcn.2560cd9f
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], edi
mov dword [esi + 0x48], edi
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14

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

Disassembly:
mov eax, 0x2561cfdd
call fcn.2561c60c
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1e
pop ecx
mov dword [esi], 0x25689a2c
xor edx, edx
push 4
xor edi, edi
inc edx
pop eax
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], ecx
mov dword [esi + 8], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 4], 0x2567dae8
mov dword [ebp - 4], edi
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x20], 0x2567dae8
lea eax, [esi + 0x3c]
mov byte [ebp - 4], dl
call fcn.255a6b68
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x255b185b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, eax
jne 0x255b1874
mov eax, dword [0x256e57b4]
mov dword [ebp + 0xc], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebx]
and dword [ebp - 8], 0
test esi, esi
je 0x255b1889
call fcn.25619ae8
and dword [ebx], 0
mov ebx, 0x400
push ebx
call fcn.25613813
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ecx
mov dword [ebp - 4], eax
call esi
mov dword [ebp - 0xc], eax
call esi
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
sub ecx, eax
cmp eax, dword [ebp + 0xc]
sbb eax, eax
and eax, ecx
push eax
push 0
call fcn.255b16ae
push 0
push ebx
push dword [ebp - 4]
push dword [edi]
call dword [0x256e58c8]
cmp eax, 0xffffffff
je 0x255b192d
test eax, eax
je 0x255b192d
jle 0x255b18e6
push 0x4e4
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.255b1ba2
push 0
push 0x2562c778
push dword [ebp + 8]
call fcn.255b1bfb
cmp eax, 0xffffffff
je 0x255b1901
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
je 0x255b18a3
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_free]
mov edi, dword [ebp + 8]
pop ecx
push 0
push 0x2562c778
push edi
call fcn.255b1bfb
call fcn.2549853c
pop edi
pop esi
pop ebx
leave
ret 8
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
lea eax, [edi + 8]
call fcn.2560cad6
push eax
push 0x11e17
push 7
push 0x6b
call fcn.254f27ee
int3

Function at 0x255b7892
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x256218c4
call fcn.2561c60c
mov eax, 0x1094
call fcn.2561c850
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x89c]
push eax
mov esi, ecx
mov eax, dword [esi]
push 0x1324
push esi
call dword [eax + 0x24]
call fcn.256127bd
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
call ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10a0]
push eax
lea eax, [ebp - 0x89c]
push eax
call fcn.25613236
test eax, eax
pop ecx
pop ecx
je 0x255b790f
push dword [ebp - 0x10]
lea eax, [ebp - 0x10a0]
push eax
lea eax, [ebp - 0x89c]
call fcn.25612720
pop ecx
pop ecx
lea edi, [ebp - 0x89c]
call fcn.25493061
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
mov ebx, eax
je 0x255b798a
mov eax, edi
call fcn.254927a1
test eax, eax
je 0x255b798a
mov eax, ebx
sub eax, dword [ebp - 0x14]
cmp eax, 0x3e8
jbe 0x255b798a
test eax, eax
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
jge 0x255b7941
fadd qword [0x25692970]
push ecx
push ecx
fmul qword [0x256929d0]
lea eax, [ebp - 0x89c]
fstp qword [esp]
push eax
lea eax, [ebp - 0x98]
push 0x11fea
push eax
call fcn.25475cee
add esp, 0x14
and dword [ebp - 4], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x98]
push ecx
push edi
call dword [eax + 0x304]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.25610372
mov edi, dword [ebp + 8]
add edi, 0x8a
call fcn.25494424
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x255b79a9
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x25622784
call fcn.2561c60c
sub esp, 0x9dc
push esi
push 2
push 1
call fcn.256139d9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x9e8]
push eax
mov eax, dword [ebp + 8]
push 0x1324
call fcn.256127bd
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x14
call esi
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x9e8]
push eax
call fcn.256129c2
add esp, 0x10
test eax, eax
jne 0x255b7a69
push 0x25678c90
mov eax, str.WDHF
push eax
push 0xb
push 0x61
push eax
lea eax, [ebp - 0x1e4]
push str.IE_s_u._u_r_nModule__s__r_nVersion__s_
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
push dword [ebp + 8]
lea eax, [ebp - 0x1e4]
push 0x11df2
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.25498c82
add esp, 0x2c
and dword [ebp - 4], 0
call dword [0x256e5910]
push 0
lea esi, [ebp - 0x98]
call fcn.25610dc2
push 1
lea eax, [ebp - 0x98]
push eax
call fcn.254f27c5
call esi
test ebx, ebx
mov esi, eax
je 0x255b7ae4
mov eax, ebx
call fcn.254927a1
test eax, eax
je 0x255b7ae4
mov eax, esi
sub eax, dword [ebp - 0x10]
cmp eax, 0x3e8
jbe 0x255b7ae4
test eax, eax
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
jge 0x255b7a98
fadd qword [0x25692970]
push ecx
push ecx
fmul qword [0x256929d0]
lea eax, [ebp - 0x9e8]
fstp qword [esp]
push eax
lea eax, [ebp - 0x11c]
push 0x11fea
push eax
call fcn.25475cee
add esp, 0x14
lea ecx, [ebp - 0x11c]
push ecx
mov dword [ebp - 4], 1
mov eax, dword [ebx]
push ebx
call dword [eax + 0x304]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.25610372
call fcn.2561508b
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x255dbc09
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
jbe 0x255dbc1b
sub ecx, eax
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x255dbc12
pop esi
ret
Function at 0x255dbc1d
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2561cead
call fcn.2561c60c
sub esp, 0x10
xor eax, eax
push esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0x256786c0
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x34]
add eax, 0x10
push eax
lea ecx, [ebp - 0x1c]
call fcn.2560b58b
mov esi, dword [ebp - 0x18]
push ebx
push dword [ebp - 0x14]
mov eax, edi
push esi
call fcn.255dbe19
mov eax, dword [edi + 0x34]
cmp eax, 0x10
lea ebx, [eax + esi]
jb 0x255dbc69
push 0x10
pop eax
push eax
push esi
push ebx
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x255dbc50
push dword [edi + 0x34]
push esi
lea esi, [edi + 0xc]
call fcn.2560b5c2
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
push 0x10
push ebx
call dword [eax + 0xc]
push 0
call dword [sym.imp.MSVCRT.dll_time]
pop ecx
push 4
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x34]
pop ebx
cmp eax, ebx
mov edx, ebx
ja 0x255dbca9
mov edx, eax
test edx, edx
mov eax, dword [edi + 0x1c]
jbe 0x255dbcc0
lea ecx, [ebp - 0x10]
sub ecx, eax
mov esi, edx
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x255dbcb7
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
push 0
push dword [edi + 0x34]
push dword [edi + 0x1c]
call dword [eax + 0x20]
call dword [sym.imp.MSVCRT.dll_clock]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x34]
cmp eax, ebx
mov edx, ebx
ja 0x255dbce4
mov edx, eax
test edx, edx
mov eax, dword [edi + 0x1c]
pop ebx
jbe 0x255dbcfc
lea ecx, [ebp - 0x10]
sub ecx, eax
mov esi, edx
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x255dbcf3
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
push 0
push dword [edi + 0x34]
push dword [edi + 0x1c]
call dword [eax + 0x20]
lea ecx, [ebp - 0x1c]
call fcn.2560b575
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x255dbd21
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [edi + 0x34]
imul ecx, dword [ebp + 8]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 4]
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jbe 0x255dbe15
push esi
mov eax, dword [edi + 0x34]
cmp dword [edi + 0x24], eax
jae 0x255dbded
call dword [sym.imp.MSVCRT.dll_clock]
push 4
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x34]
pop edx
cmp eax, edx
ja 0x255dbd65
mov edx, eax
test edx, edx
mov eax, dword [edi + 0x1c]
jbe 0x255dbd7c
lea ecx, [ebp - 8]
sub ecx, eax
mov esi, edx
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x255dbd73
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
push 0
push dword [edi + 0x34]
push dword [edi + 0x1c]
call dword [eax + 0x20]
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x10]
call fcn.255dbc09
push dword [edi + 0x34]
lea esi, [edi + 0x28]
push dword [edi + 0x10]
call fcn.2560b5c2
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
xor esi, esi
push esi
push dword [edi + 0x34]
push dword [edi + 0x2c]
call dword [eax + 0x20]
xor eax, eax
cmp dword [edi + 0x34], esi
jbe 0x255dbdd8
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x2c]
mov cl, byte [ecx + eax]
xor cl, byte [eax + edx]
mov edx, dword [edi + 0x10]
mov byte [eax + edx], cl
inc eax
cmp eax, dword [edi + 0x34]
jb 0x255dbdc0
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
push esi
push dword [edi + 0x34]
push dword [edi + 0x10]
call dword [eax + 0x20]
mov eax, dword [edi + 0x34]
mov dword [edi + 0x24], eax
mov esi, dword [ebp - 4]
push eax
imul eax, esi
push dword [edi + 0x2c]
add eax, dword [ebx + 4]
push eax
call sub.MSVCRT.dll_memcpy
and dword [edi + 0x24], 0
add esp, 0xc
inc esi
cmp esi, dword [ebp + 8]
mov dword [ebp - 4], esi
jb 0x255dbd44
pop esi
leave
ret 4
Function at 0x255f6d0b
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
mov eax, 0x25620ea3
call fcn.2561c60c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 0x14], eax
mov dword [ebp - 4], eax
push 4
lea esi, [edi + 0x1c]
xor ebx, ebx
pop eax
mov dword [edi], 0x2568eabc
mov dword [edi + 8], 0x2568eab0
mov dword [edi + 0xc], 0x2568e200
mov dword [edi + 0x10], 0x2568ea40
mov dword [edi + 0x18], 0x2568ea10
call fcn.2560b437
mov dword [esi], 0x2568eb24
mov byte [ebp - 4], 1
and dword [edi + 0x34], ebx
push 7
lea esi, [edi + 0x3c]
call fcn.255f7e86
and dword [edi + 0x68], ebx
push dword [ebp + 0xc]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
call fcn.25613813
push dword [ebp + 0xc]
mov dword [edi + 0x38], eax
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword [edi + 0x30], eax
mov dword [edi + 0x5c], 0x255f8156
mov dword [edi + 0x60], 0x2559587e
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x255f6dbd
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x2561e8a1
call fcn.2561c60c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 0x14], eax
mov dword [ebp - 4], eax
push 4
lea esi, [edi + 0x1c]
xor ebx, ebx
pop eax
mov dword [edi], 0x2568eabc
mov dword [edi + 8], 0x2568eab0
mov dword [edi + 0xc], 0x2568e200
mov dword [edi + 0x10], 0x2568ea40
mov dword [edi + 0x18], 0x2568ea10
call fcn.2560b437
mov dword [esi], 0x2568eb24
mov byte [ebp - 4], 1
push 7
lea esi, [edi + 0x3c]
mov dword [edi + 0x34], ebx
call fcn.255f7e86
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x68], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x5c], 0x255f8156
mov dword [edi + 0x60], 0x2559587e
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x255fb8ad
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea esi, [ebp - 8]
lea edx, [ebp - 4]
call fcn.255fb86e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax]
mov eax, 0x1505
jmp 0x255fb8d7
movsx esi, byte [ecx]
imul eax, eax, 0x21
add eax, esi
inc ecx
cmp ecx, edx
jne 0x255fb8ce
pop esi
leave
ret
Function at 0x255ff64b
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x10
push 0x2568f028
push dword [ebp + 8]
mov ebx, ecx
mov byte [ebp - 0x14], 9
mov byte [ebp - 0x13], 0x1c
mov byte [ebp - 0x12], 0xa
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x10], 0xd
mov byte [ebp - 0xf], 7
mov byte [ebp - 0xe], 0xfd
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x20
mov byte [ebp - 0xa], 0x20
mov byte [ebp - 9], 3
mov byte [ebp - 8], 0xd
mov byte [ebp - 7], 1
mov byte [ebp - 6], 0x55
mov byte [ebp - 5], 0xa
call sub.MSVCRT.dll_memcpy
mov edi, dword [ebp + 0x10]
add esp, 0xc
test edi, edi
je 0x255ff73d
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.2561c850
mov esi, esp
push edi
push dword [ebp + 0xc]
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0x10
pop eax
cmp edi, eax
mov dword [ebp + 0xc], edi
ja 0x255ff6dc
mov dword [ebp + 0xc], eax
movsx eax, byte [esi]
push 0x1d
cdq
pop ecx
idiv ecx
lea ecx, [edi - 1]
test ecx, ecx
mov byte [esi], dl
jbe 0x255ff6fa
lea eax, [esi + 1]
mov dl, byte [eax - 1]
xor byte [eax], dl
inc eax
dec ecx
jne 0x255ff6f1
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push edi
push esi
mov ecx, ebx
call dword [eax + 0x20]
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jbe 0x255ff73d
mov eax, ecx
xor edx, edx
div edi
lea ebx, [ecx + 1]
mov dword [ebp - 4], ebx
and ebx, 0xf
mov al, byte [edx + esi]
mov edx, dword [ebp + 8]
add al, byte [ebx + edx]
mov bl, al
mov al, byte [ebp + 0xc]
imul cl
and ecx, 0xf
xor bl, al
mov byte [ecx + edx], bl
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jb 0x255ff70e
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
leave
ret 0xc