joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57f698
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0057005a
and dword [ebp - 4], 0
cmp dword [0x609544], 0
mov ebx, eax
jne 0x57f749
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x57f7fa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x57f7fa
push eax
call fcn.0056ffe8
mov dword [esp], 0x5cb190
push edi
mov dword [0x609544], eax
call esi
push eax
call fcn.0056ffe8
mov dword [esp], 0x5cb17c
push edi
mov dword [0x609548], eax
call esi
push eax
call fcn.0056ffe8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x60954c], eax
call esi
push eax
call fcn.0056ffe8
pop ecx
mov dword [0x609554], eax
test eax, eax
je 0x57f749
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0056ffe8
pop ecx
mov dword [0x609550], eax
mov eax, dword [0x609550]
cmp eax, ebx
je 0x57f7a1
cmp dword [0x609554], ebx
je 0x57f7a1
push eax
call fcn.00570063
push dword [0x609554]
mov esi, eax
call fcn.00570063
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x57f7a1
test edi, edi
je 0x57f7a1
call esi
test eax, eax
je 0x57f798
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x57f798
test byte [ebp - 0xc], 1
jne 0x57f7a1
or dword [ebp + 0x10], 0x200000
jmp 0x57f7da
mov eax, dword [0x609548]
cmp eax, ebx
je 0x57f7da
push eax
call fcn.00570063
pop ecx
test eax, eax
je 0x57f7da
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x57f7da
mov eax, dword [0x60954c]
cmp eax, ebx
je 0x57f7da
push eax
call fcn.00570063
pop ecx
test eax, eax
je 0x57f7da
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x609544]
call fcn.00570063
pop ecx
test eax, eax
je 0x57f7fa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x57f7fc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6461b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00646140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00646140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00646140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00646140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x646bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x646c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x65887c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x646c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x646c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x410f7c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004057a0
mov eax, dword [0x425040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0040fbc3
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x410fbe
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41111a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041a350
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4a2c58]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00411f79
mov ecx, dword [esi*4 + 0x4a2c58]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x411113
cmp eax, dword [ecx + edi + 0x24]
jne 0x411113
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x411113
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00411f79
add esp, 0x14
test edx, edx
jl 0x411113
jg 0x411089
test eax, eax
jb 0x411113
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x411113
jl 0x4110a3
cmp dword [ebp - 0x1008], eax
ja 0x411113
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4110c1
test ebx, ebx
je 0x4110fa
cmp ecx, edi
jae 0x4110fa
mov al, byte [ecx]
cmp al, 0xd
jne 0x4110db
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4110e7
cmp byte [ecx + 1], 0xa
jne 0x4110e7
inc ecx
jmp 0x4110e7
movzx eax, al
movsx eax, byte [eax + 0x4252f8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4110c1
cmp edx, ebx
jne 0x4110c1
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x411118
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00404a8d
leave
ret
Function at 0x411411
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4a2c58]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x411451
cmp byte [ebx], 0xa
jne 0x411451
or byte [edi + eax + 0x28], 4
jmp 0x411456
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x411555
mov dl, byte [eax]
cmp dl, 0x1a
je 0x411538
inc eax
cmp dl, 0xd
je 0x411482
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4114a8
cmp eax, ecx
jae 0x4114b6
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x41146a
jmp 0x411555
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x411533
cmp dword [ebp - 0x10], 0
je 0x411533
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4a2c58]
test byte [eax + edi + 0x28], 0x48
je 0x41150d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4114f8
mov byte [esi], dl
jmp 0x411509
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4a2c58]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x411555
cmp byte [ebp - 1], 0xa
jne 0x41151c
cmp esi, ebx
jne 0x41151c
mov byte [esi], 0xa
jmp 0x411554
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00411f97
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x411555
mov byte [esi], 0xd
jmp 0x411554
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4a2c58]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x411552
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x411555
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41155e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4a2c58]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4115a4
cmp word [ebx], dx
jne 0x4115a4
or byte [eax + edi + 0x28], 4
jmp 0x4115a9
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x41170c
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x4116ec
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4115ea
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x411620
cmp eax, edx
jae 0x41162e
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4115c5
jmp 0x41170c
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4116e7
cmp dword [ebp - 0x18], 0
je 0x4116e7
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4a2c58]
test byte [eax + edi + 0x28], 0x48
je 0x4116bd
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x411681
mov word [esi], cx
jmp 0x4116b8
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4a2c58]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4a2c58]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4a2c58]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x41170c
pop eax
cmp word [ebp - 4], ax
jne 0x4116cd
cmp esi, ebx
jne 0x4116cd
mov word [esi], ax
jmp 0x411709
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00411f97
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x41170c
push 0xd
pop eax
jmp 0x4116c8
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4a2c58]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x411706
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x41170c
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40f100
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov eax, 0xcccccccc
mov dword [esp], eax
call fcn.0040f1c0
push dword [ebp + 8]
call fcn.0053c990
pop ecx
mov dword [ebp - 4], eax
call fcn.0040f1e0
cmp dword [ebp - 4], 0
jne 0x40f16f
cmp dword [ebp + 0xc], 1
jne 0x40f137
mov eax, 0
leave
ret
call fcn.0040b980
push str.9This_application_has_run_out_of_memory_and_must_quit_now.0
call fcn.0040e6e0
pop ecx
push 0
push 0x549789
push 0x3c1
push str.utility.cpp
push 4
push 0x83
call fcn.00495150
add esp, 0x18
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x40f1f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [esp + 4], eax
cmp dword [ebp + 8], 0
jg 0x40f20f
mov eax, 0
leave
ret
mov eax, dword [ebp + 8]
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jb 0x40f238
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040f100
pop ecx
pop ecx
mov eax, eax
leave
ret
call fcn.0040f1c0
mov eax, dword [ebp + 8]
add dword [0x54978c], eax
mov eax, dword [ebp - 4]
cmp dword [eax*4 + 0x54962c], 0
je 0x40f274
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x54962c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x54962c], edx
jmp 0x40f2f9
mov edx, dword [ebp - 4]
lea edx, [edx*4]
mov dword [ebp + 8], edx
mov eax, dword [0x549730]
cmp dword [ebp + 8], eax
jle 0x40f2df
inc byte [0x56544c]
push 0x2000
call fcn.0053c990
pop ecx
mov dword [0x54972c], eax
dec byte [0x56544c]
cmp dword [0x54972c], 0
jne 0x40f2d5
cmp dword [ebp + 0xc], 1
jne 0x40f2bd
mov eax, 0
leave
ret
call fcn.0040b980
push str.9This_application_has_run_out_of_memory_and_must_quit_now.0
call fcn.0040e6e0
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [0x549730], 0x2000
mov eax, dword [0x54972c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
add dword [0x54972c], eax
mov eax, dword [ebp + 8]
sub dword [0x549730], eax
call fcn.0040f1e0
mov eax, dword [ebp - 8]
leave
ret

Function at 0x410950
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [ebp - 4], 2
mov edx, dword [ebp + 8]
cmp edx, 0xc
ja case.default.0x41096d
jmp dword [edx*4 + 0x54314c]
mov dword [ebp - 4], 0
jmp case.default.0x41096d
mov dword [ebp - 4], 1
jmp case.default.0x41096d
mov dword [ebp - 4], 2
jmp case.default.0x41096d
mov dword [ebp - 4], 3
mov eax, dword [ebp - 4]
leave
ret

Function at 0x411750
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x94], 0
jne 0x41176f
leave
ret
push 0
mov eax, dword [ebp - 4]
push dword [eax + 0x58]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov byte [eax + 0x94], 0
leave
ret
Function at 0x412440
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea edx, [ebp - 0xc]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov byte [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
push 0x4123d0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp - 4], 0
je 0x412496
mov al, 0
leave
ret
cmp dword [0x55d668], 0
je 0x4124b4
lea eax, [ebp - 0xc]
push eax
push 0x4123d0
push dword [0x55d668]
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp byte [ebp - 4], 0
je 0x4124be
mov al, 0
leave
ret
mov al, 1
leave
ret
Function at 0x414690
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x1c
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], 0
push 0x54a5de
call fcn.0040e8d0
pop ecx
push eax
push 0x54a5de
lea ecx, [ebp - 0xc]
call fcn.0040cb20
cmp dword [ebp - 0xc], 0
je 0x4146e1
mov ebx, dword [ebp - 0xc]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
mov edx, dword [ebp + 0xc]
cmp edx, 2
ja case.default.0x4146ed
jmp dword [edx*4 + 0x5431bc]
mov dword [ebp - 0x10], 0
push 0x54a62c
call fcn.0040e8d0
pop ecx
push eax
push 0x54a62c
lea ecx, [ebp - 0x10]
call fcn.0040cb20
cmp dword [ebp - 0x10], 0
je 0x414726
mov ebx, dword [ebp - 0x10]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00413d90
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d2e0
cmp dword [ebp - 0x14], 0
je 0x41474f
mov ecx, dword [ebp - 0x14]
call fcn.0040c8f0
cmp dword [ebp - 0x10], 0
je case.default.0x4146ed
mov ecx, dword [ebp - 0x10]
call fcn.0040c8f0
jmp case.default.0x4146ed
mov dword [ebp - 0x18], 0
push 0x54a63c
call fcn.0040e8d0
pop ecx
push eax
push 0x54a63c
lea ecx, [ebp - 0x18]
call fcn.0040cb20
cmp dword [ebp - 0x18], 0
je 0x414798
mov ebx, dword [ebp - 0x18]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00413d90
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d2e0
cmp dword [ebp - 0x1c], 0
je 0x4147c1
mov ecx, dword [ebp - 0x1c]
call fcn.0040c8f0
cmp dword [ebp - 0x18], 0
je case.default.0x4146ed
mov ecx, dword [ebp - 0x18]
call fcn.0040c8f0
jmp case.default.0x4146ed
mov dword [ebp - 0x20], 0
push 0x54a64b
call fcn.0040e8d0
pop ecx
push eax
push 0x54a64b
lea ecx, [ebp - 0x20]
call fcn.0040cb20
cmp dword [ebp - 0x20], 0
je 0x414803
mov ebx, dword [ebp - 0x20]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00413d90
pop ecx
pop ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d2e0
cmp dword [ebp - 0x24], 0
je 0x41482c
mov ecx, dword [ebp - 0x24]
call fcn.0040c8f0
cmp dword [ebp - 0x20], 0
je case.default.0x4146ed
mov ecx, dword [ebp - 0x20]
call fcn.0040c8f0
mov edx, dword [ebp - 0xc]
mov dword [esi], edx
cmp dword [esi], 0
je 0x414848
mov edx, dword [esi]
inc dword [edx]
cmp dword [ebp - 0xc], 0
je 0x414856
mov ecx, dword [ebp - 0xc]
call fcn.0040c8f0
mov eax, dword [ebp + 8]
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
Function at 0x417160
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [ebp - 1], 0
push 3
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
sar eax, 0xf
cmp eax, 0
setne dl
mov byte [ebp - 1], dl
mov al, byte [ebp - 1]
leave
ret
Function at 0x452b90
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 8], 0
push dword [ebp + 8]
call fcn.00452b40
pop ecx
cmp al, 0
jne 0x452bd8
mov ebx, 0
cmp dword [ebp - 8], 0
je 0x452bd0
mov ecx, dword [ebp - 8]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
cmp dword [ebp + 0xc], 1
jne 0x452c64
call fcn.0052fe80
cmp al, 0
je 0x452c64
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x452cc0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call fcn.0053fd10
pop ecx
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 8]
call fcn.0040cbb0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
call fcn.0040cda0
lea ecx, [ebp - 0xc]
call fcn.0040cd50
mov ebx, eax
cmp dword [ebp - 0xc], 0
je 0x452c4e
mov ecx, dword [ebp - 0xc]
call fcn.0040c8f0
cmp dword [ebp - 8], 0
je 0x452c5c
mov ecx, dword [ebp - 8]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x452cc0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 8]
call fcn.0040cb20
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 8]
call fcn.0040cd50
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x452cb8
mov ecx, dword [ebp - 8]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
mov ebx, 0
cmp dword [ebp - 8], 0
je 0x452cd3
mov ecx, dword [ebp - 8]
call fcn.0040c8f0
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
Function at 0x452d20
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x452d49
mov edx, dword [ebp - 4]
inc dword [edx]
push dword [ebp + 8]
call fcn.00452b40
pop ecx
cmp al, 0
jne 0x452d66
cmp dword [ebp - 4], 0
je 0x452d64
mov ecx, dword [ebp - 4]
call fcn.0040c8f0
leave
ret
push dword [ebp + 8]
call fcn.00452b70
pop ecx
cmp dword [ebp + 0x10], 1
jne 0x452e1e
call fcn.0052fe80
cmp al, 0
je 0x452e1e
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.0040cf40
cmp dword [ebp - 8], 0
je 0x452da2
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 1
jmp 0x452da7
mov edx, 0
add edx, 1
lea edx, [edx + edx]
push edx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 0
je 0x452dcc
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 1
jmp 0x452dd1
mov edx, 0
add edx, 1
lea edx, [edx + edx]
push edx
lea ecx, [ebp - 8]
call fcn.0040d280
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.0040f400
add esp, 0xc
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x14]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp dword [ebp - 8], 0
je 0x452eb6
mov ecx, dword [ebp - 8]
call fcn.0040c8f0
jmp 0x452eb6
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x452e2f
mov edx, dword [ebp - 0x10]
inc dword [edx]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0047cc50
pop ecx
pop ecx
cmp dword [ebp - 0x10], 0
je 0x452e4c
mov ecx, dword [ebp - 0x10]
call fcn.0040c8f0
cmp dword [ebp - 0xc], 0
je 0x452e5a
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
jmp 0x452e5f
mov eax, 0
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d1c0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.0040f400
add esp, 0xc
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp dword [ebp - 0xc], 0
je 0x452eb6
mov ecx, dword [ebp - 0xc]
call fcn.0040c8f0
cmp dword [ebp - 4], 0
je 0x452ec4
mov ecx, dword [ebp - 4]
call fcn.0040c8f0
leave
ret