joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b8e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
cmp byte [esi], 0
je 0x40b925
cmp byte [esi + 1], 0
je 0x40b92d
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebp
je 0x40b942
cmp byte [esi + 1], 0
je 0x40b934
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
sub ebp, dword [esi + 0xc]
mov dword [esp + 4], ebp
jmp 0x40b94b
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x40b8fe
or eax, 0xffffffff
add esp, 0x18
ret
mov dword [esp + 4], 0
mov ebp, dword [esp + 4]
jmp 0x40b94b
mov eax, dword [esi + 0x1c]
mov dword [esp + 4], eax
mov ebp, eax
push edi
mov edi, 0xffff
mov dword [esp + 0xc], edi
cmp ebp, edi
jae 0x40b95f
mov dword [esp + 0xc], ebp
mov edi, ebp
push ebx
push 0x404
call fcn.00524ad0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40b97d
pop ebx
pop edi
or eax, 0xffffffff
pop ebp
add esp, 0x18
ret
mov eax, 4
mov dword [esp + 0x18], 0xffffffff
cmp edi, eax
jbe 0x40ba91
jmp 0x40b9a0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
add eax, 0x400
mov dword [esp + 0x14], edi
cmp eax, edi
ja 0x40b9b1
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, dword [esp + 0x14]
sub ebp, eax
mov dword [esp + 0x20], eax
cmp ebp, 0x404
jbe 0x40b9ca
mov ebp, 0x404
cmp byte [esi], 0
je 0x40b9ef
cmp byte [esi + 1], 0
je 0x40ba91
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x40b9f2
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebp
je 0x40ba1a
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40ba14
mov byte [esi + 8], 1
mov eax, dword [esp + 0x1c]
jmp 0x40ba40
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebp]
cmp edx, ecx
jbe 0x40ba2b
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x14]
push edi
add ecx, eax
push ecx
push ebx
call fcn.00527800
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebp
cmp eax, 1
jne 0x40ba91
lea eax, [ebp - 3]
test eax, eax
jl 0x40ba7c
dec eax
cmp byte [eax + ebx], 0x50
jne 0x40ba6c
cmp byte [eax + ebx + 1], 0x4b
jne 0x40ba6c
cmp byte [eax + ebx + 2], 5
jne 0x40ba6c
cmp byte [eax + ebx + 3], 6
je 0x40ba72
test eax, eax
jge 0x40ba50
jmp 0x40ba7c
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
jne 0x40ba91
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jb 0x40b994
push ebx
call fcn.005249f3
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
Function at 0x40c3c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x40c3de
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x40c3d2
cmp dword [edi + 0x7c], ebx
je 0x40c3ed
call fcn.0040c7b0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040c130
add esp, 0xc
test eax, eax
je 0x40c414
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x84
call fcn.00524ad0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40c455
push 0x4000
call fcn.00524ad0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x40c462
push esi
call fcn.005249f3
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x40c4aa
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0040b230
test eax, eax
jne 0x40c4aa
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x40c4d4
mov cl, byte [edi + 0x39]
mov byte [esi + 0x80], cl
jmp 0x40c4dd
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x80], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x70]
mov dword [esi + 0x7c], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
cmp ebp, ebx
je 0x40c517
mov cl, byte [ebp]
cmp cl, bl
je 0x40c517
call fcn.0040af70
add ebp, 1
jne 0x40c506
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x40c900
Capabilities:
Get common file path

Disassembly:
sub esp, 8
cmp dword [esi], 0
push edi
jne 0x40c985
cmp dword [esi + 4], 0xffffffff
jne 0x40c985
lea edi, [esi + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c926
sub eax, edx
mov al, byte [eax + esi + 0x13f]
cmp al, 0x5c
je 0x40c951
cmp al, 0x2f
je 0x40c951
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40c940
mov ax, word [0x5bcb60]
mov word [edi], ax
lea ecx, [esp + 8]
push ecx
call fcn.0040b680
add esp, 4
test eax, eax
jne 0x40c96b
mov eax, dword [esp + 8]
pop edi
add esp, 8
ret
call fcn.0040bab0
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
add esp, 8
ret
mov eax, 0x1000000
pop edi
add esp, 8
ret

Function at 0x40cf00
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x20c
mov eax, dword [0x5e0930]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
mov ebp, dword [esp + 0x218]
push edi
mov edi, dword [esp + 0x218]
test edi, edi
je 0x40cf3d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40cf3d
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [ebp]
test al, al
je 0x40cff6
push esi
mov esi, ebp
mov ecx, ebp
lea ecx, [ecx]
cmp al, 0x2f
je 0x40cf58
cmp al, 0x5c
jne 0x40cf5a
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x40cf50
cmp esi, ebp
je 0x40cf90
sub esi, ebp
push esi
lea eax, [esp + 0x114]
push ebp
push eax
call fcn.00527800
lea ecx, [esp + 0x11c]
push ecx
push edi
mov byte [esp + esi + 0x124], 0
call fcn.0040cf00
add esp, 0x14
mov byte [esp + 0xc], 0
test edi, edi
je 0x40cfab
lea edx, [esp + 0xc]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40cfa1
mov eax, ebp
mov edx, ebp
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40cfb0
lea edi, [esp + 0xc]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40cfc0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0xc]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop esi
cmp eax, 0xffffffff
jne 0x40cff6
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x210]
pop edi
pop ebp
xor ecx, esp
call fcn.005239a2
add esp, 0x20c
ret
Function at 0x418436
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41847d
call fcn.00433b15
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41847d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x418499
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00417fb0
mov esi, eax
test edi, edi
je 0x418497
test ebx, ebx
je 0x418497
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41a631
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x576370
call fcn.00525310
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41a656
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41a69c
lea ecx, [ebp - 0x10]
call fcn.00402b40
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00418ffa
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402b90
mov eax, esi
call fcn.005253e8
ret 8
Function at 0x4229a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
movzx ebx, word [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x4229bf
call fcn.004419cd
call fcn.00433b15
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x4229df
xor eax, eax
jmp 0x422afa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4229d8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4229d8
movzx eax, word [esi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040d64a
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x4229ba
cmp dword [ebp + 0x10], 0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
push eax
lea ebx, [ecx + 6]
lea edx, [eax + 6]
push ebx
push edx
je 0x422a3c
mov ecx, edi
call fcn.0041adbb
jmp 0x422a41
call fcn.0041aca5
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x422a53
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x422a6e
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x422ae6
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x422abd
lea eax, [esi + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
mov dword [ecx + ebx*4], eax
jne 0x422ab0
test eax, eax
jbe 0x422ab0
push eax
mov ecx, 0x5dc444
call fcn.004538eb
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov dword [eax], ecx
movzx eax, word [esi + 6]
add dword [ebp - 4], 2
inc ebx
cmp ebx, eax
jl 0x422a87
mov eax, dword [ebp + 8]
mov dword [edi + 0xbe0], eax
movzx ecx, word [esi + 6]
mov eax, dword [edi]
push 1
push ecx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 0x318]
mov ebx, eax
test ebx, ebx
jne 0x422ae6
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.0040d679
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4254e3
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebx + 0x9c], ecx
cmp dword [ebx + 0x90], ecx
je 0x425563
cmp dword [ebp + 0xc], ecx
jne 0x425563
cmp dword [ebx + 0x94], ecx
jne 0x425563
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x425559
cmp eax, 0xffffffff
je 0x425559
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xc8]
push dword [ebp - 8]
call fcn.00412f8e
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x425563
xor eax, eax
jmp 0x4256a3
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x42559e
cmp dword [ebp + 0xc], 0
jne 0x42559e
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xd8]
push dword [ebp - 8]
call fcn.00412f8e
test eax, eax
jne 0x425552
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x4255c4
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x4255c4
cmp eax, 0xffffffff
je 0x4255c4
cmp dword [ebx + 0x90], ecx
jne 0x4255c4
cmp dword [ebx + 0xa8], ecx
je 0x425552
push dword [ebx + 0x6c]
push 0x5dd350
call fcn.0042cc56
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x4255fd
mov dword [eax + 0xf8], edi
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
cmp ecx, edi
je 0x425663
push edi
jmp 0x42565e
push dword [ebx + 0x6c]
push 0x5de43c
call fcn.0042cc56
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x425629
cmp eax, edi
je 0x425629
cmp dword [0x5e41dc], edi
jne 0x425629
push 1
push ebx
mov ecx, eax
call fcn.004af611
jmp 0x425656
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x425641
push edi
call fcn.0041be19
cmp eax, edi
je 0x425641
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test eax, eax
je 0x425552
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x425663
push ebx
call fcn.0041eb37
cmp dword [ebx + 0x6c], edi
je 0x4256a0
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004024c0
mov eax, dword [eax + 0x94]
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x6c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x42a8f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x5e5158], 0
mov dword [ebp - 4], ecx
jne 0x42a90c
xor eax, eax
jmp 0x42a946
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x42a91c
call fcn.00433b15
mov esi, dword [eax + 0xc]
push edi
push dword [0x5e4b50]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x42a942
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x42a94a
xor eax, eax
pop edi
pop esi
leave
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x42a968
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x42a944
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0042a818
mov esi, eax
jmp 0x42a95a
Function at 0x42c2a3
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x575ffd
call fcn.00525343
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.0043fdac
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0043f597
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0040f64a
mov edi, vtable.CBitmap.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
push dword [esi + 0x54]
lea eax, [ebp - 0x60]
push dword [esi + 0x50]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.0040f623
cmp eax, ebx
jne 0x42c33a
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0043f0e4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00402df0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0043fd04
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0043fe00
xor eax, eax
call fcn.005253e8
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040f670
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x5e5074
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.004282c3
push ebx
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], esp
push eax
mov ecx, esi
call fcn.00429ea1
push 0xff
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.0042b73a
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00428720
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0040f670
call fcn.00402f90
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42c2fd
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x42c3ec
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0043f0e4
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x42c30a
lea ecx, [ebp - 0x20]
call fcn.0043ff83
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x42c40e
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0043f0e4
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00402df0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0043fd04
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0043fe00
xor eax, eax
inc eax
jmp 0x42c332
Function at 0x42dc4d
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [eax + 0x190]
test al, al
jns 0x42dc6f
or eax, 0xffffffff
jmp 0x42dc74
mov eax, dword [0x5dd568]
mov edx, dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x290]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x5dc720
call fcn.0042cc56
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x42dd11
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x42dd11
cmp edi, ebx
je 0x42dcc6
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x200]
push eax
push 0x5de658
call fcn.0042cc56
pop ecx
pop ecx
mov ebx, eax
cmp dword [ebp - 8], 2
jne 0x42dd1a
test ebx, ebx
je 0x42dcfd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
test al, 0x40
je 0x42dd11
cmp dword [ebp - 4], 0
je 0x42dcfd
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x224]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x42dd13
mov eax, dword [esi]
push 5
push 0
push edi
mov ecx, esi
call dword [eax + 0x1d0]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], 3
jne 0x42dd11
test edi, edi
je 0x42dd11
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x15c]
test eax, eax
je 0x42dd11
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
test eax, eax
je 0x42dd11
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x218]
mov eax, dword [esi]
push 0
push 1
push 5
push edi
mov ecx, esi
call dword [eax + 0x328]
mov edx, dword [ebp + 8]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
jmp 0x42dd13
Function at 0x431682
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test byte [0x5e4bb4], 1
push ebx
push esi
push edi
mov ebx, ecx
jne 0x4316b1
or dword [0x5e4bb4], 1
mov ecx, 0x5e4bb0
call fcn.00402b40
push 0x585933
call fcn.005243c5
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4316bd
call fcn.004419cd
mov eax, dword [ebx + 0x318]
test eax, eax
je 0x431736
cmp dword [eax + 0x20], 0
je 0x431736
test eax, eax
je 0x4316d4
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x431736
mov eax, dword [edi + 4]
dec eax
je 0x431715
dec eax
je 0x4316eb
dec eax
jne 0x431736
mov esi, 0x428e
jmp 0x43171a
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x43171a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x31c]
test eax, eax
je 0x43171a
add esi, 3
jmp 0x43171a
mov esi, 0x3ea0
push esi
mov ecx, 0x5e4bb0
call fcn.004051c0
test eax, eax
je 0x4316b8
mov eax, dword [0x5e4bb0]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x431738
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x447f15
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
push str.UxTheme.dll
mov dword [esi], vtable.CMFCBaseVisualManager.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.00413a47
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x447fd0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call edi
push str.CloseThemeData
push dword [esi + 0x48]
mov dword [esi + 0x4c], eax
call edi
push str.DrawThemeBackground
push dword [esi + 0x48]
mov dword [esi + 0x50], eax
call edi
push str.GetThemeColor
push dword [esi + 0x48]
mov dword [esi + 0x54], eax
call edi
push str.GetThemeSysColor
push dword [esi + 0x48]
mov dword [esi + 0x58], eax
call edi
push str.GetCurrentThemeName
push dword [esi + 0x48]
mov dword [esi + 0x5c], eax
call edi
push str.GetWindowTheme
push dword [esi + 0x48]
mov dword [esi + 0x60], eax
call edi
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.004479d6
jmp 0x447fe5
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
pop edi
mov eax, esi
pop esi
ret