joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a6f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004b9fec
mov eax, dword [ebp - 8]
call fcn.004b9fec
xor eax, eax
push ebp
push 0x41a89d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x41a74a
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x40
jle 0x41a76c
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 8]
call sym.DeltaC.exe__Synacode_SHA1_qqrx17System_AnsiString
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 8]
call fcn.004b9bd0
lea ecx, [ebp - 0x10]
mov edx, 0x40
mov al, 0x36
call fcn.004ba330
lea ecx, [ebp - 0x14]
mov edx, 0x40
mov al, 0x5c
call fcn.004ba330
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x41a7a1
mov eax, dword [ebp - 0x28]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x41a800
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x10]
call fcn.004ba054
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ecx + ebx - 1]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x1c]
xor cl, byte [ebx + esi - 1]
mov byte [eax + edx - 1], cl
lea eax, [ebp - 0x14]
call fcn.004ba054
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ecx + ebx - 1]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x1c]
xor cl, byte [ebx + esi - 1]
mov byte [eax + edx - 1], cl
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x41a7b2
lea eax, [ebp - 0x9c]
call fcn.0041a000
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0x10]
call fcn.0041a468
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 4]
call fcn.0041a468
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x9c]
call fcn.0041a570
lea eax, [ebp - 0x9c]
call fcn.0041a000
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0x14]
call fcn.0041a468
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0x18]
call fcn.0041a468
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x9c]
call fcn.0041a570
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a8a4
lea eax, [ebp - 0xa0]
call fcn.004b9b38
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004b9b5c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004b9b5c
ret
Function at 0x41c5e4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
xor ecx, ecx
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004b9fec
xor eax, eax
push ebp
push 0x41c6c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1d4]
call fcn.004b8290
mov eax, dword [ebp - 8]
call fcn.004a72f8
test al, al
je 0x41c639
mov eax, dword [ebp - 8]
call fcn.004b9ffc
push eax
call sub.KERNEL32.DLL_DeleteFileA
lea eax, [ebp - 0x1d4]
call fcn.004b802c
call fcn.004b7c14
xor eax, eax
push ebp
push 0x41c69e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1d8]
mov eax, dword [ebp - 4]
call sym.DeltaC.exe__Synautil_DumpStr_qqrx17System_AnsiString
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1d4]
call fcn.004ba35c
call fcn.004b8780
call fcn.004b7c14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c6a5
lea eax, [ebp - 0x1d4]
call fcn.004b8358
call fcn.004b7c14
ret

Function at 0x41c6d4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
xor ecx, ecx
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004b9fec
xor eax, eax
push ebp
push 0x41c7b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1d4]
call fcn.004b8290
mov eax, dword [ebp - 8]
call fcn.004a72f8
test al, al
je 0x41c729
mov eax, dword [ebp - 8]
call fcn.004b9ffc
push eax
call sub.KERNEL32.DLL_DeleteFileA
lea eax, [ebp - 0x1d4]
call fcn.004b802c
call fcn.004b7c14
xor eax, eax
push ebp
push 0x41c78e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1d8]
mov eax, dword [ebp - 4]
call sym.DeltaC.exe__Synautil_DumpExStr_qqrx17System_AnsiString
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1d4]
call fcn.004ba35c
call fcn.004b8780
call fcn.004b7c14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c795
lea eax, [ebp - 0x1d4]
call fcn.004b8358
call fcn.004b7c14
ret
Function at 0x41e4b0
Capabilities:
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41e5e2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x41e51f
lea eax, [ebp - 0x10]
mov edx, 0x104
call fcn.004ba2cc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41e4fd
mov eax, dword [ebp - 0x18]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
call fcn.004b9ffc
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_GetTempPathA
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.004ba2cc
jmp 0x41e52a
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004b9bd0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41e541
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
cmp byte [eax + edx - 1], 0x5c
je 0x41e561
lea eax, [ebp - 0x10]
mov edx, 0x41e5f8
call fcn.004b9e04
mov eax, dword [ebp - 0xc]
mov edx, 0x105
call fcn.004ba2cc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004b9ffc
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004b9ffc
push eax
mov eax, dword [ebp - 0x10]
call fcn.004b9ffc
push eax
call sub.KERNEL32.DLL_GetTempFileNameA
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004b9ffc
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004b9d30
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004b9ffc
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
or eax, 0x100
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004b9ffc
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e5e9
lea eax, [ebp - 0x10]
call fcn.004b9b38
ret
Function at 0x445e34
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.004b9b38
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x445e8d
push 0x100
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, 0x100
call fcn.004b9da8
mov esp, ebp
pop ebp
ret

Function at 0x44accc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44ae06
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.USER32.DLL_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x4a2370]
call fcn.004a24c8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44addc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, reloc.OLEAUT32.DLL_SysReAllocString
mov eax, dword [ebp - 0xc]
call fcn.004a25a4
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.004b9da8
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x44ae1c
call fcn.004b9e48
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004a2790
lea ecx, [ebp - 4]
mov edx, 0x44ae58
mov eax, dword [ebp - 0xc]
call fcn.004a2a48
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.004ad684
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44adbf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x44ae64
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x20], eax
call dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4ec818]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44adc6
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret

Function at 0x44ae78
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 1], 0
push 0xa5
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x44aebd
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [0x4ec814]
je 0x44aeb5
push ebp
call fcn.0044accc
pop ecx
mov eax, dword [ebp - 8]
mov dword [0x4ec814], eax
mov al, byte [0x4ec818]
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop ebp
ret
Function at 0x44aec4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x12]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
mov al, byte [ebp - 0xe]
mov word [ebp - 2], ax
cmp word [ebp - 2], 0
je 0x44af15
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x44aef7
add word [ebp - 2], 0x2000
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x44af09
add word [ebp - 2], 0x4000
test byte [ebp - 7], 0x20
je 0x44af15
add word [ebp - 2], 0x8000
mov ax, word [ebp - 2]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44df44
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x44df4a
ret
Function at 0x45aa90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x45aae8]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x45aaaa
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x45aab4
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x45aabe
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x45aac8
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x45aad2
or byte [ebp - 3], 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x45aae2
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x45aaec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x45ab30]
mov byte [ebp - 5], al
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x45ab0d
or byte [ebp - 5], 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x45ab1d
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x45ab27
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x464044
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x464056
add esp, 0xfffffff0
call fcn.004b9044
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0049e790
mov eax, dword [0x4f41b4]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4645b4
mov eax, dword [0x4f41b8]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4645d4
mov eax, dword [ebp - 4]
call fcn.004645f4
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x493ac0]
call fcn.004b8cf0
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x493ac0]
call fcn.004b8cf0
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x493ac0]
call fcn.004b8cf0
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x493ac0]
call fcn.004b8cf0
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x493ac0]
call fcn.004b8cf0
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x45ee10
push eax
push 0
push 0
mov eax, dword [0x4f41a0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x44d260]
call fcn.0044ec80
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x44d260]
call fcn.0044ec80
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x44d260]
call fcn.0044ec80
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.00464b48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x46498c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x46498c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x46498c
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x4641de
call fcn.004b909c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x464744
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46490f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4648ed
mov dl, 1
mov eax, dword [0x494070]
call fcn.004b8cf0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004b9b38
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4648d6
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.00487444
test al, al
je 0x4648ca
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x464920
lea eax, [ebp - 0x25c]
call fcn.004a7ee8
push eax
push reloc.OLEAUT32.DLL_SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4648ca
xor eax, eax
push ebp
push 0x4648c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x464958
mov eax, dword [ebp - 0x18]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x4648ac
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.004b9da8
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4648ac
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.004b9da8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4648ca
mov eax, dword [ebp - 0x18]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4647b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.004994fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464916
lea eax, [ebp - 0x268]
call fcn.004b9b38
ret
Function at 0x465470
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4f4a3c]
cmp byte [eax + 0xad], 0
jne 0x4654e7
cmp dword [0x4f4a54], 0
jne 0x4654a5
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x46542c
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4f4a54], eax
cmp dword [0x4f4a50], 0
jne 0x4654c0
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4f4a50], eax
cmp dword [0x4f4a58], 0
jne 0x4654e7
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4653cc
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4f4a58], eax
pop ecx
pop ebp
ret

Function at 0x4655b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.00465548
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4655d1
xor eax, eax
call fcn.00465580
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_ShowWindow
cmp byte [ebp - 9], 0
je 0x4655eb
mov al, 1
call fcn.00465580
mov esp, ebp
pop ebp
ret

Function at 0x465e38
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x4f4a3c]
cmp dword [eax + 0x30], 0
je 0x465f02
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x465ef9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x465db8
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x465ef9
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.USER32.DLL_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x465eb3
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x465ef9
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.00496538
push eax
call sub.USER32.DLL_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x465ec8
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret
Function at 0x466138
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x4f4a3c]
cmp dword [eax + 0x30], 0
je 0x466243
cmp byte [ebp - 5], 0
jne 0x4661c8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c], 0
jne 0x4661bd
push 0
push 0x4660b8
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
cmp dword [eax + 8], 0
jle 0x4661bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x4661bd
mov dword [ebp - 0xc], eax
cmp byte [ebp - 5], 1
cmc
sbb eax, eax
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
call fcn.00496538
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x466195
mov eax, dword [ebp - 4]
inc dword [eax + 0x9c]
jmp 0x466243
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c], 0
jle 0x466243
mov eax, dword [ebp - 4]
dec dword [eax + 0x9c]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c], 0
jne 0x466243
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
cmp dword [eax + 8], 0
jle 0x466235
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x466235
mov dword [ebp - 0xc], eax
cmp byte [ebp - 5], 1
cmc
sbb eax, eax
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
call fcn.00496538
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x46620d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
mov esp, ebp
pop ebp
ret

Function at 0x466e54
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xac], 0
je 0x466e99
push 0x100
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.004b9c28
jmp 0x466eaa
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.004b9b8c
mov esp, ebp
pop ebp
ret

Function at 0x468708
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x468792
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00480ba8
test al, al
je 0x468792
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00480660
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x468792
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x468782
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00480660
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004767c4
jmp 0x468792
mov cl, 1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x74]
mov eax, dword [ebp - 4]
call fcn.004684d8
pop ecx
pop ebp
ret
Function at 0x46e25c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004b9fec
xor eax, eax
push ebp
push 0x46e3b1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x46e384
xor eax, eax
push ebp
push 0x46e37d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46e2b5
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46e352
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x46e341
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46e306
mov eax, dword [ebp - 0x18]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
call fcn.004b9ffc
mov ecx, dword [ebp - 0x18]
inc ecx
mov edx, dword [ebp - 0x10]
call fcn.004b7ca8
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 0xc]
push eax
push 1
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e348
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x4f460c]
mov dl, 1
mov eax, dword [0x4a57cc]
call fcn.004ab1b0
call fcn.004b9594
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e3b8
lea eax, [ebp - 8]
call fcn.004b9b38
ret