joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4435a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x443661
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebp + 8]
dec al
je 0x4435da
dec al
je 0x4435e1
dec al
je 0x4435e8
dec al
je 0x4435ef
jmp 0x4435f6
mov eax, 1
jmp 0x4435f8
mov eax, 2
jmp 0x4435f8
mov eax, 4
jmp 0x4435f8
mov eax, 3
jmp 0x4435f8
xor eax, eax
mov esi, eax
mov edi, ebx
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.00407218
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov dword [edi + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
test bl, bl
jne 0x44364b
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x443680
call fcn.00407408
mov edx, dword [ebp - 0xc]
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
mov ecx, 0x4436a0
call fcn.004366a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443668
lea eax, [ebp - 0xc]
call fcn.004065c4
ret

Function at 0x443860
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x443920
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.0042c080
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00443090
test al, al
je 0x443905
mov ecx, dword [ebp - 0x2c]
add ecx, 2
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406730
mov ebx, dword [ebp - 0x30]
dec ebx
test ebx, ebx
jl 0x443905
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00407218
push eax
push esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00407218
mov edx, eax
lea eax, [ebp - 8]
call fcn.00407270
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0042bfe0
inc esi
dec ebx
jne 0x4438b7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443927
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406624
ret
Function at 0x443930
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4439f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.0042c080
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00443090
test al, al
je 0x4439d5
mov ecx, dword [ebp - 0x24]
add ecx, 2
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406730
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4439d5
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00407218
push eax
push esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00407218
mov edx, eax
lea eax, [ebp - 8]
call fcn.00407270
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0042bfe0
inc esi
dec ebx
jne 0x443987
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4439f7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406624
ret

Function at 0x4445b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
cmp dword [0x58d484], 0
jne 0x444665
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [0x58d480]
mov dword [eax], edx
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, 0x58d4b0
mov ecx, 2
call fcn.00404860
mov edx, 0x444560
mov eax, dword [ebp - 4]
add eax, 5
call fcn.00444580
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 6], edx
mov eax, dword [ebp - 4]
add eax, 0xa
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [eax], 0xe8
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, dword [ebp - 8]
call fcn.00444580
mov edx, dword [ebp - 8]
mov dword [edx + 1], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x58d484]
mov dword [eax + 5], edx
mov eax, dword [ebp - 8]
mov dword [0x58d484], eax
add dword [ebp - 8], 0xd
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 0xffc
jl 0x44461e
mov eax, dword [ebp - 4]
mov dword [0x58d480], eax
mov eax, dword [0x58d484]
mov dword [ebp - 0x10], eax
mov eax, dword [0x58d484]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 5]
mov dword [0x58d484], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x44ae30
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.004065c4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44ae89
push pe_nt_image_headers32
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.004072c4
mov esp, ebp
pop ebp
ret

Function at 0x44d6a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 0xc]
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x44d79e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x44d78d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
call fcn.00404860
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x44d731
push 0x44d7cc
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
mov dl, 2
call fcn.00436400
call fcn.00405db0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44d7b6
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0x14]
push eax
movzx eax, word [ebp - 2]
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x44d771
push 0x44d7cc
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
mov dl, 2
call fcn.00436400
call fcn.00405db0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44d7b6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d794
call sub.user32.dll_CloseClipboard
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d840
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x44d873
push 0x44d8ec
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
mov dl, 2
call fcn.00436400
jmp 0x44d8dc
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44d8d5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44d8ab
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00407270
jmp 0x44d8b3
mov eax, dword [ebp - 8]
call fcn.004065c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d8dc
call sub.user32.dll_CloseClipboard
cmp dword [ebp - 0xc], 0
je 0x44d8d4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov esp, ebp
pop ebp
ret

Function at 0x44dea0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x44df08]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44dec1
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ded1
or byte [ebp - 5], 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44dee1
or byte [ebp - 5], 2
push 0x5b
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44def1
or byte [ebp - 5], 8
push 0x5c
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44df01
or byte [ebp - 5], 8
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x44e110
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e240
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
cmp dword [ebp - 8], 0
je 0x44e210
lea eax, [ebp - 0x14]
call fcn.004287c0
xor eax, eax
push ebp
push 0x44e1c4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.00428710
mov eax, dword [ebp - 0x18]
call fcn.00407218
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
push 0
push 1
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, 0x44e25c
call fcn.00437ca0
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e1cb
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x14]
call fcn.004069d0
mov eax, dword [ebp - 0x20]
call fcn.00407218
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x21], al
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e247
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00406624
lea eax, [ebp - 0x20]
call fcn.004065c4
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00406624
ret
Function at 0x452080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45219a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0xc5]
mov byte [ebp - 0x11], al
xor eax, eax
push ebp
push 0x452178
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov byte [eax + 0xc5], 1
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00451fb0
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 1
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jge 0x45215b
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00452010
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jne 0x452153
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404f60
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov ecx, 0x4521b4
call fcn.0042b100
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x4521c4
call fcn.00407408
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41ac0c]
call fcn.00423268
call fcn.00405cbc
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jl 0x4520f2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45217f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, byte [ebp - 0x11]
mov byte [eax + 0xc5], dl
ret
Function at 0x45a7b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45a842
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, edi
mov eax, dword [ebx + 4]
call fcn.00429310
mov esi, eax
mov edx, edi
mov eax, dword [ebx + 4]
call fcn.00429200
lea ecx, [ebp - 8]
lea edx, [esi + 4]
mov eax, dword [ebx + 8]
call fcn.0042d3c0
test al, al
je 0x45a803
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 8]
call fcn.00429200
lea edx, [ebp - 4]
mov eax, esi
call fcn.0045ae30
mov eax, dword [ebp - 4]
call fcn.00407218
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov eax, esi
call fcn.00404fec
mov byte [ebx + 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a849
lea eax, [ebp - 4]
call fcn.004065c4
ret
Function at 0x46a180
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor eax, eax
mov ecx, edx
test ecx, ecx
je 0x46a18f
sub ecx, 4
mov ecx, dword [ecx]
test ecx, ecx
jle 0x46a1b0
mov ebx, 1
mov esi, eax
add esi, esi
add esi, esi
shr eax, 0x1e
or esi, eax
movzx eax, word [edx + ebx*2 - 2]
xor esi, eax
mov eax, esi
inc ebx
dec ecx
jne 0x46a198
pop esi
pop ebx
ret
Function at 0x46a990
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x46abb8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0046a5b0
cmp dword [esi + 8], 0
je 0x46ab95
mov ebx, 1
mov eax, dword [esi + 8]
mov edx, 1
call fcn.0042b940
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x46aa1a
lea eax, [ebp - 0xc]
mov edx, dword [esi + 8]
call fcn.004069d0
mov eax, dword [ebp - 0xc]
call fcn.00407218
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x46aa05
test al, 0x10
sete al
jmp 0x46aa07
xor eax, eax
test al, al
je 0x46aa1a
lea eax, [ebx + ebx*2]
push eax
call sub.kernel32.dll_Sleep_2
inc ebx
cmp ebx, 0xb
jne 0x46a9ca
cmp dword [ebp - 0x14], 0
je 0x46ab95
xor ecx, ecx
push ebp
push 0x46ab8e
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea eax, [ebp - 4]
xor ecx, ecx
call fcn.00407038
mov byte [esi + 0xc], 0
lea eax, [ebp - 8]
call fcn.004065c4
mov eax, dword [ebp - 4]
test eax, eax
je 0x46aa5d
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x46ab29
lea eax, [ebp - 4]
call fcn.00406b68
mov edx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x46aa7b
sub eax, 4
mov eax, dword [eax]
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
test eax, eax
je 0x46aa91
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jle 0x46aaab
mov eax, dword [ebp - 4]
cmp byte [eax], 0xff
jne 0x46aaab
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0xfe
jne 0x46aaab
mov byte [esi + 0xc], 1
movzx eax, byte [esi + 0xc]
sub al, 1
jb 0x46aab7
je 0x46aac4
jmp 0x46ab29
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004072e0
jmp 0x46ab29
mov eax, dword [ebp - 4]
test eax, eax
je 0x46aad0
sub eax, 4
mov eax, dword [eax]
mov edx, eax
sub edx, 2
sar edx, 1
jns 0x46aadc
adc edx, 0
lea eax, [ebp - 8]
call fcn.00407330
mov eax, dword [ebp - 8]
test eax, eax
je 0x46aaf0
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jle 0x46ab29
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00406b68
mov edx, ebx
dec edx
add edx, edx
add edx, 3
lea eax, [eax + edx - 1]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
call fcn.00406b60
mov edx, dword [ebp - 0x18]
movzx edx, word [edx]
mov word [eax + ebx*2 - 2], dx
inc ebx
dec edi
jne 0x46aafb
mov dl, 1
mov eax, dword [0x42767c]
call fcn.0042bf50
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x46ab71
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0042c6e0
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.0046b090
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ab78
mov eax, dword [ebp - 0x10]
call fcn.00404fec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46abbf
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00406624
lea eax, [ebp - 4]
call fcn.004065e8
ret
Function at 0x4714e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
mov edx, 0x158
call fcn.0042a7e0
lea eax, [ebp - 0x46]
mov edx, 0x40
call fcn.0042a7e0
cmp dword [ebp - 4], 0
je 0x47159e
mov eax, dword [ebp - 4]
mov dword [ebx + 0x154], eax
movzx eax, word [ebp + 8]
mov edx, dword [ebp - 4]
movzx edx, word [edx]
mov word [ebp - 6], dx
cmp ax, word [ebp - 6]
jbe 0x47155a
movzx eax, ax
push eax
lea edx, [ebp - 0x46]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.00471490
mov eax, dword [ebp - 4]
movzx eax, word [eax + 2]
movzx ecx, ax
lea edx, [ebx + 0xd4]
lea eax, [ebp - 0x46]
call fcn.00404860
jmp 0x47156a
movzx ecx, ax
lea edx, [ebx + 0xd4]
mov eax, esi
call fcn.00404860
movzx edx, word [ebp - 6]
dec edx
test dx, dx
jb 0x471584
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x36
inc eax
dec dx
jne 0x47157b
mov eax, ebx
mov esi, dword [ebp - 4]
call dword [esi + 4]
movzx ecx, word [ebp - 6]
lea edx, [ebx + 0xd4]
mov eax, ebx
mov ebx, dword [ebp - 4]
call dword [ebx + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4715c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x471641
movzx edx, word [eax]
mov word [esp + 4], dx
mov esi, eax
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 8]
movzx edx, word [esp + 4]
dec edx
test edx, edx
jl 0x4715fe
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x6a
inc eax
dec edx
jne 0x4715f7
mov esi, dword [ebx + 0x154]
mov eax, ebx
call dword [esi + 4]
mov esi, dword [ebx + 0x154]
movzx ecx, word [esp + 4]
lea edx, [ebx + 0xd4]
mov eax, ebx
call dword [esi + 0xc]
mov eax, dword [ebx + 0x154]
mov esi, eax
movzx ecx, word [eax + 2]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0xc]
mov esi, dword [ebx + 0x154]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 8]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4716e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push esi
push edi
push ebx
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [esi], eax
add esi, 4
add edx, 4
dec ecx
jne 0x4716fa
mov ecx, 0x30
mov edi, dword [esi - 0x1c]
mov eax, dword [esi - 8]
mov ebx, eax
mov edx, eax
ror eax, 0x11
ror edx, 0x13
shr ebx, 0xa
xor eax, edx
xor eax, ebx
add edi, eax
mov eax, dword [esi - 0x3c]
mov ebx, eax
mov edx, eax
ror eax, 7
ror edx, 0x12
shr ebx, 3
xor eax, edx
xor eax, ebx
add eax, edi
add eax, dword [esi - 0x40]
mov dword [esi], eax
add esi, 4
dec ecx
jne 0x471713
pop ebx
pop edi
pop esi
pop ecx
pop ecx
pop ebp
ret
Function at 0x47a650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47a728
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x47a686
or dword [ebp - 4], 0x8000
call fcn.0047a210
test al, al
je 0x47a6b5
test byte [ebp - 3], 0x80
je 0x47a6b5
lea eax, [ebp - 0x218]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
and eax, 0xffff7fff
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
mov dword [ebp - 0x10], eax
jmp 0x47a6bc
mov dword [ebp - 0x10], 0x80004005
cmp dword [ebp - 0x10], 0
je 0x47a6db
lea eax, [ebp - 0x218]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47a707
lea eax, [ebp - 0x21c]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.004072c4
mov eax, dword [ebp - 0x21c]
mov edx, dword [ebp - 0xc]
call fcn.004280b0
jmp 0x47a70f
mov eax, dword [ebp - 0xc]
call fcn.004065c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a72f
lea eax, [ebp - 0x21c]
call fcn.004065c4
ret

Function at 0x487300
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x487416
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0042b7c0
mov eax, dword [ebp - 0x1c]
call fcn.0042b970
push 9
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00407218
push eax
mov eax, dword [ebp - 4]
call fcn.00407218
push eax
call sub.kernel32.dll_MoveFileWithProgressW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xa], al
cmp byte [ebp - 0xa], 0
je 0x487393
cmp word [ebp + 0xa], 0
je 0x4873fb
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00487540
test al, al
je 0x4873fb
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
jmp 0x4873fb
cmp byte [ebp - 9], 0
je 0x4873bc
push dword [ebp + 0xc]
push dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00487130
test al, al
je 0x4873bc
mov eax, dword [ebp - 4]
call fcn.0041dfac
mov byte [ebp - 0xa], 1
jmp 0x4873fb
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x10], eax
push 0x487434
push dword [ebp - 4]
push 0x487464
push dword [ebp - 8]
push 0x487480
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00407490
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov dl, 2
call fcn.00436400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48741d
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00406624
ret
Function at 0x487d60
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
call fcn.00405358
mov ebx, edx
mov esi, eax
cmp byte [esi + 0xd], 0
jne 0x487d8a
mov edx, dword [esi + 0x24]
mov eax, esi
call fcn.00487e10
test al, al
jne 0x487d8a
push 1
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov dl, 0xfc
and dl, bl
mov eax, esi
call fcn.00487f60
lea eax, [esi + 0x1c]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00404fec
lea eax, [esi + 0x20]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00404fec
test bl, bl
jle 0x487dc0
mov eax, esi
call fcn.00405300
pop esi
pop ebx
ret

Function at 0x487fd0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x488068
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x48802c
cmp byte [ebx + 0x18], 0
jne 0x48802c
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x48804d
lea edx, [ebp - 4]
mov eax, dword [0x58ea68]
call fcn.00409f98
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4272b8]
call fcn.00423268
call fcn.00405cbc
jmp 0x48804d
lea edx, [ebp - 8]
mov eax, dword [0x58ea68]
call fcn.00409f98
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4272b8]
call fcn.00423268
call fcn.00405cbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48806f
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406624
ret

Function at 0x488080
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004881c0
dec esi
jne 0x4880a2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret