joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449968
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, 0x4f5754
mov ecx, 2
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4f5754
call fcn.0044a892
mov esi, dword [ebp + 0x10]
mov ecx, 2
mov edi, 0x4f575c
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4f575c
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
and ecx, 0xfffffff8
je 0x4499cb
nop
nop
nop
nop
mov eax, dword [edi]
xor dword [esi], eax
mov eax, dword [edi + 4]
xor dword [esi + 4], eax
call fcn.00449b2a
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
add edi, 8
sub ecx, 8
jne 0x4499aa
cld
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x4499d3
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, 0x4f5754
mov ecx, 2
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4f5754
call fcn.0044a892
mov esi, dword [ebp + 0x10]
mov ecx, 2
mov edi, 0x4f5764
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4f575c
mov edi, dword [ebp + 0xc]
mov ebx, 0x4f5764
mov ecx, dword [ebp + 8]
and ecx, 0xfffffff8
mov ax, word [edi]
mov word [esi], ax
mov ax, word [edi + 2]
mov word [esi + 2], ax
mov ax, word [edi + 4]
mov word [esi + 4], ax
mov ax, word [edi + 6]
mov word [esi + 6], ax
call fcn.00449b5e
mov ax, word [esi]
mov dx, word [ebx]
xor ax, dx
mov dx, word [edi]
mov word [edi], ax
mov word [ebx], dx
mov ax, word [esi + 2]
mov dx, word [ebx + 2]
xor ax, dx
mov dx, word [edi + 2]
mov word [edi + 2], ax
mov word [ebx + 2], dx
mov ax, word [esi + 4]
mov dx, word [ebx + 4]
xor ax, dx
mov dx, word [edi + 4]
mov word [edi + 4], ax
mov word [ebx + 4], dx
mov ax, word [esi + 6]
mov dx, word [ebx + 6]
xor ax, dx
mov dx, word [edi + 6]
mov word [edi + 6], ax
mov word [ebx + 6], dx
add edi, 8
sub ecx, 8
jne 0x449a14
cld
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x44bb6c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44bbfd
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.0044b7f4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040402c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x44bbe7
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4f48bc]
call fcn.00405554
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x44b6c4]
call fcn.0040b7a4
call fcn.004036c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bc04
lea eax, [ebp - 0x10]
call fcn.00403bec
ret
Function at 0x44bc10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44bcab
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040402c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x44bc85
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4f4af0]
call fcn.00405554
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x44b6c4]
call fcn.0040b7a4
call fcn.004036c8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044b824
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bcb2
lea eax, [ebp - 0x10]
call fcn.00403bec
ret

Function at 0x44db18
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x44db51
mov eax, dword [0x4f4940]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x44db44
push ebx
push 0x44db58
call fcn.0042d604
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x44db78
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0044db18
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44dbea
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x44dbbe
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403da0
jmp 0x44dbc5
mov eax, ebx
call fcn.00403bec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dbf1
cmp dword [ebp - 8], 0
je 0x44dbe1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0044daec
ret
Function at 0x44dbf8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44dcd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044db18
xor edx, edx
push ebp
push 0x44dcb9
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x44dc82
mov edx, ebx
mov eax, dword [0x417418]
call fcn.0041b844
test al, al
je 0x44dc72
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0041b718
call fcn.00403768
jmp 0x44dcc0
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x44dc3d
lea edx, [ebp - 8]
mov eax, dword [0x4f4708]
call fcn.00405554
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4071a0]
call fcn.0040b770
call fcn.004036c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dcc0
mov eax, dword [ebp - 4]
call fcn.0044daec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dcdd
lea eax, [ebp - 8]
call fcn.00403bec
ret

Function at 0x44dce4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0044db18
xor eax, eax
push ebp
push 0x44dd3c
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dd43
mov eax, dword [ebp - 4]
call fcn.0044daec
ret

Function at 0x44dd4c
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]
call fcn.0044db18
xor edx, edx
push ebp
push 0x44dda1
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 + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dda8
mov eax, dword [ebp - 4]
call fcn.0044daec
ret
Function at 0x44de18
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]
call fcn.0044db18
xor eax, eax
push ebp
push 0x44de8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044dad0
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.0041b818
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 0x44de77
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 0x44de94
mov eax, dword [ebp - 4]
call fcn.0044daec
ret

Function at 0x44de9c
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]
call fcn.0044db18
xor eax, eax
push ebp
push 0x44df11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044dad0
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 + 0x5c]
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 0x44defb
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 0x44df18
mov eax, dword [ebp - 4]
call fcn.0044daec
ret
Function at 0x44f31c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44f4b3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0044edec
mov eax, dword [ebp - 0x204]
lea edx, [esi + 1]
call fcn.0040bfd8
cmp al, 2
jne 0x44f362
dec esi
mov eax, ebx
call fcn.0044f100
test al, al
je 0x44f453
test esi, esi
jge 0x44f377
xor esi, esi
lea edi, [esi + 1]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0044edec
mov eax, dword [ebp - 0x204]
call fcn.00403e68
cmp edi, eax
jge 0x44f3be
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0044edec
mov eax, dword [ebp - 0x204]
mov al, byte [eax + edi - 1]
mov edx, dword [0x4f4ac4]
and eax, 0xff
bt dword [edx], eax
jae 0x44f3be
inc edi
mov eax, dword [ebx + 0x138]
cmp esi, eax
jl 0x44f3cc
mov esi, eax
mov edi, esi
mov ecx, edi
mov edx, edi
mov eax, ebx
call fcn.0044f2f8
cmp edi, esi
je 0x44f44b
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x44f3f2
mov byte [ebp - 0x1f0], 0x81
mov byte [ebp - 0x1db], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
push 0x25
push pe_nt_image_headers32
mov eax, ebx
call fcn.0042734c
push eax
call sub.user32.dll_SendMessageA
push 1
push 0x25
push 0x101
mov eax, ebx
call fcn.0042734c
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [ebx + 0x140], esi
jmp 0x44f49a
test esi, esi
jge 0x44f459
xor esi, esi
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0044edec
mov eax, dword [ebp - 0x204]
call fcn.00403e68
cmp esi, eax
jl 0x44f48f
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0044edec
mov eax, dword [ebp - 0x204]
call fcn.00403e68
mov esi, eax
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.0044f2f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f4ba
lea eax, [ebp - 0x204]
call fcn.00403bec
ret
Function at 0x45328c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x118]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x453412
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x150]
mov eax, dword [ebx + 0x10]
call fcn.00418afc
cmp byte [ebp + 8], 0
je 0x4532e5
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.004189cc
jmp 0x4532f3
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.004189cc
mov eax, dword [ebx + 0x10]
call fcn.00418af4
dec eax
jle 0x453339
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.004189c4
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x10]
mov eax, edi
call fcn.00418af4
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.00418a8c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax - 8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, esi
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x14], edx
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov dword [edi + eax*4], edx
mov eax, esi
xor eax, 1
mov edx, eax
add edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [edi + edx*4], ecx
add ebx, 2
lea edx, [esi + ebx]
mov ecx, dword [ebp - 0xc]
mov dword [edi + edx*4], ecx
add eax, ebx
mov edx, dword [ebp - 0x18]
mov dword [edi + eax*4], edx
add ebx, 2
inc dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x45339b
shr ebx, 2
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
push edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x118]
call fcn.00419790
push eax
call sub.gdi32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x466753
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4f38f6
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4667ab
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4f3917
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4667a1
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4667af
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x471148
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4712b2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403c84
mov eax, dword [ebp - 0x10]
call fcn.00470e9c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x47119b
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004040ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004715bc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x471270
xor eax, eax
push ebp
push 0x471269
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00471004
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004712c4
test al, al
je 0x471247
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403cd0
mov ebx, dword [ebp - 0x38]
dec ebx
test ebx, ebx
jl 0x471247
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040402c
push eax
push esi
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x471243
mov eax, dword [ebp - 0x14]
call fcn.0040402c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403da0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00471148
inc esi
dec ebx
jne 0x4711fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471270
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00471004
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.0040402c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00470ff0
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4712b9
lea eax, [ebp - 0x3c]
call fcn.00403bec
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403c10
ret
Function at 0x4712c4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402d2c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
pop esi
pop ebx
ret

Function at 0x471458
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4714e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.00470eb0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040402c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4714d3
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4f48bc]
call fcn.00405554
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x470d84]
call fcn.0040b7a4
call fcn.004036c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4714f0
lea eax, [ebp - 0x10]
call fcn.00403bec
ret

Function at 0x4714fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x471597
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040402c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x471571
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4f4af0]
call fcn.00405554
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x470d84]
call fcn.0040b7a4
call fcn.004036c8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00470ee0
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47159e
lea eax, [ebp - 0x10]
call fcn.00403bec
ret
Function at 0x471ec8
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 esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x471f86
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x471f94
push 0
mov eax, ebx
call fcn.0040402c
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x471f4b
mov eax, esi
call fcn.00403e68
inc eax
push eax
mov eax, esi
call fcn.0040402c
push eax
push 1
push 0
mov eax, edi
call fcn.0040402c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x471f70
lea edx, [ebp - 0xc]
mov eax, 0x471dd0
call fcn.00405554
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x471ccc]
call fcn.0040b770
call fcn.004036c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471f8d
lea eax, [ebp - 0xc]
call fcn.00403bec
ret
Function at 0x47a110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push edi
call sub.kernel32.dll_SetFilePointer_1
inc eax
jne 0x47a13a
mov byte [ebp - 5], 0
jmp 0x47a1dc
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
push ebp
push 0x47a1d5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0xc]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_ReadFile_1
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x47a189
cmp esi, dword [ebp - 0xc]
je 0x47a182
mov byte [ebp - 5], 0
push 0x2000001d
call sub.kernel32.dll_SetLastError
call fcn.00403768
jmp 0x47a1dc
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
sub eax, 5
je 0x47a19c
sub eax, 0x1c
jne 0x47a1aa
mov eax, dword [0x4f5ab8]
push eax
call sub.user32.dll_SetCursor
mov dword [ebp - 0x10], eax
sub ebx, 5
je 0x47a14f
sub ebx, 0x1c
je 0x47a14f
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a1dc
cmp dword [ebp - 0x10], 0xffffffff
je 0x47a1d4
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_SetCursor
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x47a1e8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
push edi
call sub.kernel32.dll_SetFilePointer_1
inc eax
jne 0x47a212
mov byte [ebp - 5], 0
jmp 0x47a2c3
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
push ebp
push 0x47a2bc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0xc]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_ReadFile_1
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x47a269
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
cmp esi, dword [ebp - 0xc]
je 0x47a262
mov byte [ebp - 5], 0
push 0x2000001d
call sub.kernel32.dll_SetLastError
call fcn.00403768
jmp 0x47a2c3
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
sub eax, 5
je 0x47a27c
sub eax, 0x1c
jne 0x47a28a
mov eax, dword [0x4f5ab8]
push eax
call sub.user32.dll_SetCursor
mov dword [ebp - 0x10], eax
sub ebx, 5
je 0x47a227
sub ebx, 0x1c
je 0x47a227
mov byte [ebp - 5], 0
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a2c3
cmp dword [ebp - 0x10], 0xffffffff
je 0x47a2bb
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_SetCursor
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc