joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f22a0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4f230b
cmp byte [ebx + 0xd3], 0
jne 0x4f230b
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.USER32.DLL_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004a6e08
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4f22f8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4f2318
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004a7060
jmp 0x4f2318
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004a7060
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4f3ae0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4f3b4e
mov eax, esi
call fcn.00515fa4
test al, al
je 0x4f3b4e
mov eax, dword [ebx + 0x84]
call fcn.00515bf8
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4f3b4e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4f3b42
push 0
mov eax, dword [ebx + 0x84]
call fcn.00515bf8
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0050cb74
jmp 0x4f3b4e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004f3918
pop esi
pop ebx
ret

Function at 0x4fcc88
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004a6d64
xor eax, eax
push ebp
push 0x4fcdc7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x4fcd9a
xor edx, edx
push ebp
push 0x4fcd93
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x4fccd5
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4fcd68
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x4fcd57
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x4fcd1a
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.004a7ae4
lea ecx, [esi + 2]
mov edx, ebx
call fcn.004a489c
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fcd5e
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x749874]
mov dl, 1
mov eax, dword [0x483ec4]
call fcn.0048fc84
call fcn.004a6488
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fcdce
lea eax, [ebp - 4]
call fcn.004a6c80
ret
Function at 0x50a204
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x74f704], 0
je 0x50a345
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x749280]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x50a345
mov eax, dword [0x74f708]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x74f704]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x50a314
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x74f704]
call fcn.00453acc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x50a30c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x50a30c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x50a30c
mov eax, dword [ebp - 0x14]
call fcn.00515bf8
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x50a30c
push ebp
call fcn.0050a1c0
pop ecx
test al, al
jne 0x50a30c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004a5584
test al, al
je 0x50a30c
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004a5584
cmp byte [ebp - 1], 0
je 0x50a30c
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.004a0ed4
test al, al
je 0x50a30c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x74f708]
call fcn.00509918
inc edi
dec ebx
jne 0x50a269
mov eax, dword [0x74f708]
cmp dword [eax + 8], 0
jle 0x50a32c
mov eax, dword [0x74f708]
call fcn.005099d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x50a345
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0050a024
pop ecx
test al, al
jne 0x50a345
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x512770
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.USER32.DLL_GetMessagePos
call fcn.004a0ebc
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0050c784
test ebx, ebx
jne 0x5127c3
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.005125ec
mov ebx, eax
test ebx, ebx
je 0x5128b9
cmp esi, ebx
je 0x5127ec
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x512801
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x512839
add eax, 0xffffff5f
sub eax, 2
jb 0x512851
dec eax
sub eax, 2
jb 0x512865
dec eax
sub eax, 2
jb 0x51285b
jmp 0x51286f
add eax, 0xfffffdff
sub eax, 2
jb 0x512851
dec eax
sub eax, 2
jb 0x512865
dec eax
sub eax, 2
jb 0x51285b
jmp 0x51286f
mov byte [esp + 0x120], 0
jmp 0x512877
mov byte [esp + 0x120], 2
jmp 0x512877
mov byte [esp + 0x120], 1
jmp 0x512877
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004e6958
mov esi, eax
call fcn.00509004
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0050e16c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x5128bb
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x51f88c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x51f979
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x51f94b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
xor edx, edx
push ebp
push 0x51f93a
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004a489c
mov eax, dword [ebp - 4]
call fcn.0051f5cc
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.USER32.DLL_SetClipboardData
test eax, eax
jne 0x51f923
mov ecx, dword [0x749778]
mov dl, 1
mov eax, dword [0x448154]
call fcn.0048fc84
call fcn.004a6488
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51f941
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
Function at 0x51fb58
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x51fc00
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x51fbd3
mov edx, ebx
mov eax, dword [0x4cfd38]
call fcn.004d8114
test al, al
je 0x51fbc3
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.004d802c
call fcn.004a657c
jmp 0x51fc07
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x51fb8b
mov ecx, dword [0x74986c]
mov dl, 1
mov eax, dword [0x51f4e0]
call fcn.0048fc84
call fcn.004a6488
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51fc07
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x51fc10
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x51fc6c
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov dx, 2
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51fc73
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x51fc7c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x51fcd1
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51fcd8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x51fd48
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x51fdbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0051f5cc
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.004d80f0
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x51fda7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51fdc4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x51fdcc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x51fe41
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0051f5cc
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x68]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x51fe2b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51fe48
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x52191c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x52194a
mov eax, ebx
call fcn.005223d0
cmp dword [ebx + 0x40], 0
je 0x521943
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5219bb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5219ad
cmp dword [ebx + 8], 0
je 0x52196c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x52197e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5219ad
cmp dword [ebx + 8], 0
je 0x52195f
cmp eax, 3
je 0x521991
dec eax
jne 0x52195f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x52195f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x52195f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5219d9
cmp dword [ebx + 0x14], 0xcc
je 0x5219d9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005219e4
pop ebx
ret
Function at 0x537a38
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x74f79c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x537a5a
shr eax, 1
xor eax, 0xedb88320
jmp 0x537a5c
shr eax, 1
dec edx
jne 0x537a48
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x537a41
mov byte [0x74fb9c], 1
pop esi
pop ebx
ret

Function at 0x537a78
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x74fb9c], 0
jne 0x537a8f
call fcn.00537a38
mov eax, edi
dec eax
test eax, eax
jl 0x537ab7
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x74f79c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x537a99
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x53a844
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x53a8de.0
jmp dword [ecx*4 + 0x53a877]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x53a8a9
sub dl, 8
je 0x53a8b8
jmp case.0x53a8de.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53a4ec
jmp case.0x53a8de.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53a544
jmp case.0x53a8de.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x53a8de.0
movzx ecx, byte [ecx + 0x53a8e5]
jmp dword [ecx*4 + 0x53a8f6]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53a5f0
jmp case.0x53a8de.0
cmp dl, 3
jne 0x53a923
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53a648
jmp case.0x53a8de.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53a604
jmp case.0x53a8de.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53a68c
jmp case.0x53a8de.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x53a94e
sub dl, 8
je 0x53a95a
jmp case.0x53a8de.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53a6b8
jmp case.0x53a8de.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53a724
jmp case.0x53a8de.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x53a979
sub dl, 8
je 0x53a985
jmp case.0x53a8de.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53a7e0
jmp case.0x53a8de.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x53a808
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x53aa27
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005399f0
test eax, eax
je 0x53aa27
mov eax, ebx
call fcn.0053aa30
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x53a9c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x53aa30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x53aa61
dec al
je 0x53aa9c
dec al
je 0x53aae1
dec al
je 0x53ab4a
jmp 0x53abd4
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x53abd4
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x53aa71
jmp 0x53abd4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x53abd4
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x53aaac
jmp 0x53abd4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x53abd4
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x53ab10
xor ebp, ebp
jmp 0x53ab20
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x53ab29
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x53aaf1
jmp 0x53abd4
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x53abd4
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x53aba3
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00537ac0
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x53ab5e
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5459e4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x545a35
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x545a1c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x545a0c
jmp 0x545a35
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x545a1d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55ec58
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], eax
mov eax, 0x72361c
call fcn.00654e18
mov dword [ebp - 0xc], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.00662930
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0xc
xor edx, edx
mov dword [ebp - 0x30], edx
xor ecx, ecx
mov dword [ebp - 0x34], ecx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea eax, [ebp - 4]
call fcn.0055b230
push eax
call sub.KERNEL32.DLL_CreateFileW
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x55ece4
push dword [ebp - 0x34]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00662a80
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x55ed18
push 0
push dword [ebp - 0x34]
call sub.KERNEL32.DLL_GetFileSize
mov dword [ebp - 0x30], eax
push dword [ebp - 0x34]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x30]
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00662a80
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x560740
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push esi
push edi
mov eax, 0x723e00
call fcn.00654e18
mov esi, 0x7221c8
lea edi, [ebp - 0x42c]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x1c], 0x18
mov edx, str.DOCUMENTS
lea eax, [ebp - 4]
call fcn.006628f0
inc dword [ebp - 0x10]
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
add eax, 0xb4
call fcn.00662aa8
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00662a80
push 1
push 5
lea ecx, [ebp - 0x42c]
push ecx
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathA
mov word [ebp - 0x1c], 0x24
lea edx, [ebp - 0x42c]
lea eax, [ebp - 8]
call fcn.006628f0
inc dword [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0xb8
call fcn.00662aa8
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00662a80
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xbc], 0x18
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5609c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 4], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov eax, 0x723f00
call fcn.00654e18
mov dword [ebp - 0xc], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.00662930
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0xc
push 1
push 0
push 0
lea eax, [ebp - 4]
call fcn.0055b230
push eax
push 0x722984
mov edx, dword [0x749280]
mov ecx, dword [edx]
push dword [ecx + 0x170]
call sub.SHELL32.DLL_ShellExecuteW
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00662a80
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4