joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a4a4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov edi, ecx
call fcn.0044ab5d
test al, al
je 0x44a5cf
mov eax, dword [edi + 0x6c]
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
push 0
push dword [eax]
call ebx
mov ecx, edi
call fcn.0044cc0e
mov ecx, edi
call fcn.0044d4de
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
push esi
push dword [edi + 0x74]
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push dword [edi + 0x74]
call ebx
push 0x1001d
call fcn.00405e7f
pop ecx
test al, al
je 0x44a50b
mov eax, dword [edi + 0x6c]
push 9
push dword [eax]
call ebx
mov eax, dword [edi + 0x6c]
push 0xfffffffffffffff0
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffaffff
push eax
mov eax, dword [edi + 0x6c]
push 0xfffffffffffffff0
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [edi + 0x6c]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
call esi
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x10]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [ebp - 8], eax
call esi
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xc]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x1000d
call fcn.00405ebb
lea eax, [ebp - 8]
push eax
push 0x1000e
call fcn.00405ebb
add esp, 0x10
xor eax, eax
push 5
push eax
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push eax
mov eax, dword [edi + 0x6c]
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 0x6c]
push 5
mov byte [edi + 0xa8], 0
push dword [eax]
call ebx
mov eax, dword [edi + 0x6c]
push dword [eax]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [edi + 0x6c]
push 0
push 0
push 0x411
push dword [eax]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x44d3f3
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x60], ebx
jne 0x44d4db
mov eax, dword [0x65bc14]
push edi
push 5
pop edi
cmp dword [eax + 0x4c], edi
jb 0x44d42f
push 0x5d4860
push 0x5d4bec
push 0x4c3
push 0x5d4880
push edi
push 0x13
call fcn.0049283a
add esp, 0x18
mov ecx, esi
call fcn.0044d4de
mov eax, dword [0x65bc14]
cmp dword [eax + 0x4c], edi
jb 0x44d45f
push 0x5d48a0
push 0x5d4bec
push 0x4c5
push 0x5d4880
push edi
push 0x13
call fcn.0049283a
add esp, 0x18
cmp dword [esi + 0x64], ebx
jne 0x44d472
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x64], eax
mov eax, dword [0x65bc14]
cmp dword [eax + 0x4c], edi
jb 0x44d49b
push 0x5d48a4
push 0x5d4bec
push 0x4ca
push 0x5d4880
push edi
push 0x13
call fcn.0049283a
add esp, 0x18
lea eax, [esi + 0x68]
push eax
push ebx
push esi
push 0x44d148
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x60], eax
mov eax, dword [0x65bc14]
cmp dword [eax + 0x4c], edi
jb 0x44d4da
push 0x5d48a8
push 0x5d4bec
push 0x4cc
push 0x5d4880
push edi
push 0x13
call fcn.0049283a
add esp, 0x18
pop edi
pop esi
pop ebx
ret

Function at 0x44d4de
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi + 0x60], 0
je 0x44d64a
mov eax, dword [0x65bc14]
push ebx
push 5
pop ebx
cmp dword [eax + 0x4c], ebx
jb 0x44d51c
push 0x5d4860
push 0x5d4c0c
push 0x4d5
push 0x5d4880
push ebx
push 0x13
call fcn.0049283a
add esp, 0x18
push esi
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_SetEvent]
and dword [ebp - 4], 0
xor esi, esi
mov eax, dword [0x65bc14]
cmp dword [eax + 0x4c], ebx
jb 0x44d555
push 0x5d48a0
push 0x5d4c0c
push 0x4da
push 0x5d4880
push ebx
push 0x13
call fcn.0049283a
add esp, 0x18
lea eax, [ebp - 4]
push eax
push dword [edi + 0x60]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x44d57c
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x14
jl 0x44d52c
mov eax, dword [0x65bc14]
mov esi, 0x5d4c0c
cmp dword [eax + 0x4c], ebx
jb 0x44d5ab
push 0x5d48a4
push esi
push 0x4e2
push 0x5d4880
push ebx
push 0x13
call fcn.0049283a
mov eax, dword [0x65bc14]
add esp, 0x18
cmp dword [ebp - 4], 0x103
jne 0x44d5e4
cmp dword [eax + 0x4c], ebx
jb 0x44d5d4
push 0x5d4c2c
push esi
push 0x4e5
push 0x5d4880
push ebx
push 0x13
call fcn.0049283a
add esp, 0x18
push 0
push dword [edi + 0x60]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x65bc14]
cmp dword [eax + 0x4c], ebx
jb 0x44d604
push 0x5d48a8
push esi
push 0x4e8
push 0x5d4880
push ebx
push 0x13
call fcn.0049283a
add esp, 0x18
push dword [edi + 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0x64]
call esi
xor eax, eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x60], eax
mov dword [edi + 0x68], eax
mov eax, dword [0x65bc14]
pop esi
cmp dword [eax + 0x4c], ebx
jb 0x44d649
push 0x5d48ac
push 0x5d4c0c
push 0x4ef
push 0x5d4880
push ebx
push 0x13
call fcn.0049283a
add esp, 0x18
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x45933e
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push ecx
push 0x45a106
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret 0xc
Function at 0x45c085
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push 0x110
xor ebx, ebx
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.0052c4e0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45c0cb
cmp dword [ebp - 0x110], 6
jb 0x45c0cb
inc ebx
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45c0d2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x45c11d
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
jmp 0x45c145
shr ecx, 2
test cl, 1
je 0x45c14e
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
movzx ecx, si
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45c17d
push 1
xor esi, esi
push esi
push esi
push dword [edi + 0x28]
push 0x5d0cd0
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x45c17d
or byte [edi + 0x58], 2
push 1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45dfed
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x55e762
call fcn.00514868
sub esp, 0x48
mov eax, dword [ecx + 0x80]
push ebx
push edi
add eax, 0x384
push eax
push 0x5cb84c
lea eax, [ebp - 0x54]
push 0x5d53c8
push eax
call fcn.00490eb7
add esp, 0x10
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x3c]
push eax
call fcn.00490e1d
mov byte [ebp - 4], 2
xor ebx, ebx
push edi
inc ebx
lea ecx, [ebp - 0x54]
push ebx
call fcn.00401fa5
lea eax, [ebp - 0x24]
push 0x1002f
push eax
call fcn.00405f8f
pop ecx
pop ecx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x14], edi
jbe 0x45e09f
cmp dword [ebp - 0x10], 0x10
push esi
mov esi, dword [ebp - 0x24]
jae 0x45e063
lea esi, [ebp - 0x24]
push 0x10030
call fcn.00405ea8
push eax
push esi
lea eax, [ebp - 0x54]
push 0x5d540c
push eax
call fcn.00490eb7
add esp, 0x14
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
push 0xffffffffffffffff
push edi
push eax
call fcn.00402051
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
push edi
push ebx
call fcn.00401fa5
pop esi
push edi
push 0xfde9
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004911c5
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x45e0bd
mov eax, dword [eax]
push 3
push edi
push edi
push eax
push 0x5d0cd0
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
push edi
push ebx
call fcn.00401ffa
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
push edi
push ebx
call fcn.00401fa5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
push edi
push ebx
call fcn.00401fa5
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45ed1a
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45ee7e
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x45ee7e
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x45ee7e
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
xor esi, esi
mov ecx, ebx
mov dword [ebp - 4], esi
mov edi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x45ed68
sub ecx, edx
sar ecx, 1
je 0x45ee06
push 0x58
pop ecx
push 0x78
mov esi, ebx
pop edx
movzx eax, word [esi]
cmp ax, cx
je 0x45eda9
cmp ax, dx
je 0x45eda4
push eax
call fcn.0053d2ee
pop ecx
push 0x58
pop ecx
cbw
push 0x78
mov word [esi], ax
pop edx
cmp word [esi], cx
jne 0x45edac
mov word [esi], dx
cmp word [esi], 0x20
jne 0x45ede1
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x45edb7
sub ecx, edx
sar ecx, 1
cmp edi, ecx
jae 0x45ede1
lea ecx, [esi + 2]
mov edx, esi
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x45edd2
mov ecx, ebx
inc edi
add esi, 2
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x45edea
sub ecx, edx
sar ecx, 1
push 0x58
cmp edi, ecx
pop ecx
push 0x78
pop edx
jb 0x45ed85
xor esi, esi
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x45ee0b
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x45ee75
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov eax, ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, word [ebp - 4]
jne 0x45ee3e
sub eax, esi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push ebx
push edx
call fcn.0052bf60
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add esp, 0xc
push ebx
call esi
push edi
call esi
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45f34c
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ebx, ecx
push 0xd
and dword [edi], 0
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x45f36d
xor esi, esi
inc esi
mov dword [edi], esi
jmp 0x45f3bc
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45f366
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
xor esi, esi
inc esi
test eax, eax
je 0x45f3aa
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.0045f002
test al, al
jne 0x45f3a1
mov dword [edi], esi
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [edi], 0
jne 0x45f3bc
mov ecx, ebx
call fcn.0045ed1a
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x45f520
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x55e940
call fcn.00514868
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x45f55f
mov ecx, dword [ebp + 8]
push 0x5cba50
call fcn.00402588
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
jmp 0x45f5ec
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push edi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], cx
mov dword [ebp - 4], 1
lea edi, [eax + 1]
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.0041226f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x45f596
lea eax, [ebp - 0x28]
push edi
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x40]
call fcn.00490e87
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
pop edi
jae 0x45f5b9
lea ecx, [ebp - 0x28]
push ebx
push ecx
mov ecx, eax
call fcn.00490fb4
mov ecx, dword [ebp + 8]
push eax
call fcn.004068fd
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x40]
push ebx
push eax
call fcn.00401fa5
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00401ffa
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x46114b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x461220
push edi
mov edi, dword [ebp + 8]
cmp edi, 8
je 0x46121f
cmp edi, 9
je 0x46121f
cmp edi, 0xd
je 0x46121f
cmp dword [esi + 0x54], 1
jne 0x4611e1
push edi
call fcn.0053c681
pop ecx
test eax, eax
je 0x46121f
mov ecx, esi
call fcn.00460aa7
test eax, eax
jns 0x4611ab
mov eax, dword [esi + 0x34]
jmp 0x4611b0
jle 0x4611b7
mov eax, dword [esi + 0x2c]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x48], eax
push edi
call fcn.00460c09
pop ecx
movzx eax, al
mov ecx, esi
push eax
movzx eax, byte [esi + 0x4c]
push eax
push dword [esi + 0x48]
call fcn.004610f1
mov ecx, esi
call fcn.00460106
mov ecx, esi
call fcn.00460135
jmp 0x461214
cmp dword [esi + 0x54], 2
jne 0x46121f
mov ecx, esi
call fcn.00460aa7
test eax, eax
jns 0x4611f7
mov eax, dword [esi + 0x34]
jmp 0x4611fc
jle 0x4611ff
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x48], eax
push edi
push dword [esi + 0x48]
mov ecx, esi
call fcn.0046109d
mov ecx, esi
call fcn.00460106
inc dword [esi + 0x48]
push 0
push 1
mov ecx, esi
call fcn.00462019
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x46556e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], esi
lea eax, [esi + 0x10]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
xor esi, esi
mov dword [ebp + 0xc], eax
inc esi
push dword [ebp + 0x14]
xor eax, eax
mov ecx, edi
push dword [ebp + 0x10]
shr ecx, 0x1e
xor eax, edi
xor ecx, ebx
push eax
push ecx
call fcn.005151a0
mov ebx, eax
mov edi, edx
mov eax, esi
cdq
add ebx, eax
mov eax, dword [ebp + 0xc]
adc edi, edx
inc esi
mov dword [eax], ebx
mov dword [eax + 4], edi
add eax, 8
mov dword [ebp + 0xc], eax
mov eax, 0x138
cmp esi, eax
jl 0x46558f
mov esi, dword [ebp - 4]
pop edi
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x465b6d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test eax, eax
je 0x465ba5
cmp word [eax], si
je 0x465ba5
push esi
lea ecx, [ebp - 4]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x465bd0
mov ecx, dword [ebp - 4]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
mov esi, eax
test ecx, ecx
je 0x465bce
cmp ecx, dword [ebp + 8]
je 0x465bce
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x465c35
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa90
lea eax, [ebp - 0x88]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, 0xfde9
push edi
push 0x20
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
xor edi, edi
push edi
push ebx
call esi
push 0x20
lea eax, [ebp - 0x48]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push edi
push ebx
call esi
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push 0x5d57a4
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x465c97
push 0x5d57d0
jmp 0x465d2d
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x208
push eax
lea eax, [ebp - 0x290]
push eax
push edi
push edi
push 0x5d57ec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x465d28
mov eax, dword [ebp - 8]
cmp eax, 1
jb 0x465d28
shr eax, 1
je 0x465cef
cmp word [ebp + edi*2 - 0x290], 0x2f
jne 0x465cea
push 0x5c
pop ecx
mov word [ebp + edi*2 - 0x290], cx
inc edi
cmp edi, eax
jb 0x465cd4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x5d581c
lea eax, [ebp - 0xa90]
push 0x800
push eax
call fcn.00465b1e
lea eax, [ebp - 0xa90]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00465931
add esp, 0x1c
jmp 0x465d3d
push 0x5d5800
push 2
call fcn.0053b586
pop ecx
push eax
call fcn.00402519
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465d7b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push 0xb
mov ebx, ecx
lea edi, [ebp - 0x30]
pop ecx
mov esi, 0x5d5850
rep movsd dword es:[edi], dword [esi]
push 0x30
pop eax
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edi, edi
mov word [ebp - 6], ax
jmp 0x465ddd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x465dc3
mov ax, word [ebp - 6]
cmp ax, 0x39
jae 0x465e02
inc ax
mov word [ebp - 6], ax
jmp 0x465ddd
cmp eax, 0xe7
jne 0x465e02
push 0x2710
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x465e02
push edi
push edi
push 3
push edi
push edi
push 0xc0000000
lea eax, [ebp - 0x30]
push eax
call esi
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x465da6
mov byte [ebx], 1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
jmp 0x465dfb

Function at 0x469ad4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor edx, edx
push edi
push 3
mov eax, esi
mov edi, dword [ebp + 8]
pop ecx
div ecx
mov edx, dword [ebp + 0x10]
imul eax, eax, 3
sub esi, eax
lea ebx, [eax + edi]
cmp edi, ebx
je 0x469b50
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 2]
shl ecx, 8
add edi, 3
add ecx, eax
mov eax, ecx
shr eax, 0x12
mov al, byte [eax + 0x5d9090]
mov byte [edx], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + 0x5d9090]
mov byte [edx + 1], al
mov eax, ecx
shr eax, 6
and ecx, 0x3f
and eax, 0x3f
mov al, byte [eax + 0x5d9090]
mov byte [edx + 2], al
mov al, byte [ecx + 0x5d9090]
mov byte [edx + 3], al
add edx, 4
jmp 0x469af4
sub esi, 1
je 0x469b97
sub esi, 1
jne 0x469bbc
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
add ecx, eax
mov eax, ecx
shr eax, 0xa
mov al, byte [eax + 0x5d9090]
mov byte [edx], al
mov eax, ecx
shr eax, 4
and eax, 0x3f
and ecx, 0xf
mov al, byte [eax + 0x5d9090]
mov byte [edx + 1], al
mov al, byte [ecx*4 + 0x5d9090]
mov byte [edx + 2], al
mov byte [edx + 3], 0x3d
jmp 0x469bbc
movzx ecx, byte [edi]
mov eax, ecx
and ecx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x5d9090]
mov byte [edx], al
mov al, byte [ecx + 0x5d9090]
mov byte [edx + 1], al
mov word [edx + 2], 0x3d3d
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x488f4e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push ebx
push esi
je 0x488fd7
push 0x5da0bc
push dword [ebp + 0xc]
call fcn.0053145e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x488fd7
push 2
push 0
push esi
call fcn.0053be18
add esp, 0xc
test eax, eax
js 0x488fd0
push esi
call fcn.0053fccf
mov ebx, eax
pop ecx
test ebx, ebx
js 0x488fd0
push 0
push 0
push esi
call fcn.0053be18
add esp, 0xc
test eax, eax
js 0x488fd0
push 0
push ebx
push dword [ebp + 8]
call fcn.00488760
push esi
push ebx
push 1
push eax
call fcn.0053d671
add esp, 0x1c
cmp eax, ebx
jne 0x488fd0
push esi
call fcn.00531312
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0048a770
add esp, 0xc
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.00531312
pop ecx
cmp dword [ebp + 0x10], 0
je 0x488fea
push dword [ebp + 8]
call fcn.004892eb
pop ecx
xor eax, eax
jmp 0x488fcc
push 0x5da0c0
push 0x69000c9b
push 0x5da064
push dword [ebp + 8]
call fcn.004806a9
int3
Function at 0x48eab1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x48eabe
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.0048eac4