joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cf4f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x42cf8e
call fcn.004254c7
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42cf8e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42cf96
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00433521
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x42d99b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x42da27
cmp dword [esi + 0x20], 0
je 0x42da27
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42da27
cmp dword [ebp + 8], 0
je 0x42da27
xor edi, edi
mov ebx, edi
call fcn.004254c7
push 0x5935e0
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x42da0b
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42da27
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.004340a2
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42da23
mov ecx, esi
call fcn.0042d739
mov eax, edi
jmp 0x42da29
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x434c6e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x434cb6
call fcn.004254c7
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x434cb6
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x434cc3
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x434cff
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x434ce2
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x434ceb
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x434cfd
test di, di
jne 0x434cfd
test dx, dx
je 0x434cff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x434d04
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x84], edi
test edi, 0xffff0000
jne 0x434d2f
cmp dword [esi + 0x80], 0
jne 0x434d2f
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.004254c7
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x434d5f
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x434d5f
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.00434fcb
jmp 0x434d61
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x434d68
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.004254c7
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x434da8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x434da8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00434db0
jmp 0x434daa
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x4350a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x57f6e9
call fcn.00553a08
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ebx, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], ebx
call fcn.004254c7
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x4350ff
call fcn.004254c7
push 5
push dword [edi + 0x84]
mov ebx, dword [eax + 0xc]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x435113
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x43510f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x43511b
or eax, 0xffffffff
jmp 0x43526d
mov ecx, edi
call fcn.004356aa
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.0042bc39
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x4351a7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x4351a7
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4351a7
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.00424132
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4351a4
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x58d988]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x4351a4
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00428b94
test eax, eax
je 0x4351a4
push 0
mov ecx, esi
call fcn.00428967
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.0042b8d8
push ebx
call fcn.0042cfbc
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.00435043
test eax, eax
jne 0x4351f0
cmp dword [edi + 0x9c], eax
jne 0x4351f0
call fcn.004254c7
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.0042cfbc
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.00435043
and dword [edi + 0x9c], 0
jmp 0x43521b
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x43522f
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.00428967
test esi, esi
je 0x43523c
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x435252
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x435252
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x58d988]
mov ecx, edi
call esi
mov ecx, edi
call fcn.00435661
mov eax, dword [edi + 0x68]
call fcn.0055396d
ret
Function at 0x436f58
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
test byte [edi + 4], 1
mov esi, dword [edi + 0xc]
jne 0x436fae
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x436f87
call fcn.00429a46
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x436f9c
call fcn.00429a46
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x436fae
call fcn.00429a46
call fcn.004254c7
cmp dword [eax + 0x3c], 0
je 0x436fc3
push esi
mov ecx, ebx
call fcn.0043667e
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.004371a9
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x436fec
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x436ff8
mov esi, ebx
mov dword [eax + 0x88], ebx
or dword [edi + 4], 1
mov dword [edi + 0xc], esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x43ac31
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x43ad77
mov ecx, 0x5e16d8
call fcn.00424e55
mov esi, eax
test esi, esi
je 0x43ad6c
xor eax, eax
cmp word [esi + 8], ax
jne 0x43ad36
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x43acf2
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x43acb8
push 0x594e70
call fcn.0043adb5
pop ecx
test eax, eax
je 0x43acb8
mov eax, edi
neg eax
push 0xfc11
sbb eax, eax
and eax, 0xe
add eax, 0x3ee
push eax
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x43acd3
neg edi
push 5
sbb edi, edi
and edi, 0xe
add edi, 0x3ee
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43acf2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
je 0x43acf8
push ebx
push edi
push eax
call fcn.0043a7da
add esp, 0xc
jmp 0x43acf8
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 2
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.004203d9
pop ecx
pop ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [esi + 4], ecx
test ecx, ecx
je 0x43ad71
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.0042224b
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x43ad39
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x43ad47
push edi
call fcn.0055bba2
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.004094b0
movzx ecx, word [esi + 8]
mov edx, 0xffff
xor eax, eax
mov word [ebx], cx
pop edi
cmp cx, dx
pop esi
setne al
pop ebx
pop ebp
ret 0xc
call fcn.0041f587
call fcn.0041f5a1
int3
Function at 0x44a19a
Capabilities:
Get file system object information

Disassembly:
push 0x6f8
mov eax, 0x5808d0
call fcn.005539d2
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x700], edi
test ecx, ecx
je 0x44a32b
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x44a2fd
sub eax, 1
je 0x44a219
sub eax, 1
je 0x44a1f1
sub eax, 1
je 0x44a219
push 0x58ddfc
mov ecx, edi
call fcn.004098d0
mov eax, edi
call fcn.00553981
ret 0x10
push 0x408
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x44a1db
lea eax, [ebp - 0x4e8]
push eax
jmp 0x44a1e0
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x44a1db
push esi
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], esi
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], esi
push eax
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
call fcn.00427484
test eax, eax
je 0x44a1db
lea ecx, [ebp - 0x700]
call fcn.00409980
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x44a2b3
test byte [ebp - 0x428], 0x18
jne 0x44a2d5
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
push dword [ebp - 0x42c]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x430]
call dword [0x58d988]
mov ecx, ebx
call esi
jmp 0x44a2d5
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x58d988]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.00405440
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.0041fd9d
jmp 0x44a1e7
push 0x208
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x44a1db
lea eax, [ebp - 0x6f0]
jmp 0x44a216
call fcn.0041f587
int3

Function at 0x44a4a3
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0049a668
call fcn.00425515
cmp dword [eax + 0x14], 0
jne 0x44a4be
mov ecx, esi
pop esi
jmp fcn.004497a7
pop esi
ret

Function at 0x44ae39
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x5e21c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2bc], esi
test eax, eax
je 0x44aea3
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, esi
test eax, eax
je 0x44ae88
lea eax, [ebp - 0x2ac]
push eax
jmp 0x44ae8d
push 0x597f50
call fcn.004098d0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005533da
leave
ret 8
call fcn.0041f587
int3

Function at 0x44b388
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00403420
call fcn.00425515
cmp dword [eax + 0x14], 0
jne 0x44b3a3
mov ecx, esi
pop esi
jmp fcn.0044abe3
pop esi
ret
Function at 0x4542e6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x4542ff
call fcn.004254c7
mov esi, dword [eax + 0xc]
push 0x599644
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x454341
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x454341
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x454341
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0045434a
jmp 0x454343
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x47c394
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x47c51b
je 0x47c542
sub eax, 0xa1
je 0x47c542
sub eax, 1
je 0x47c542
dec eax
sub eax, 1
je 0x47c542
sub eax, 1
je 0x47c542
dec eax
sub eax, 1
je 0x47c542
sub eax, 1
je 0x47c542
sub eax, 0x58
jne 0x47c580
cmp dword [edi + 0xc0], 0xffffffff
je 0x47c542
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x47c542
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x47c470
sub eax, 1
jne 0x47c542
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x47c45f
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x58d988]
mov ecx, edi
call esi
test eax, eax
jne 0x47c4bc
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x47c435
jmp 0x47c59a
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x47c59a
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x58d988]
mov ecx, edi
call esi
test eax, eax
jne 0x47c4bc
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x47c487
jmp 0x47c59a
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x58d988]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x58d988]
mov ecx, edi
call esi
mov ecx, eax
call fcn.00428d1d
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x58d988]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x47c59a
sub eax, 0x200
je 0x47c542
sub eax, 1
je 0x47c542
sub eax, 1
je 0x47c542
dec eax
sub eax, 1
je 0x47c542
sub eax, 1
je 0x47c542
dec eax
sub eax, 1
je 0x47c542
sub eax, 1
jne 0x47c580
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x47c561
cmp dword [eax + 0x20], ebx
je 0x47c561
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x47c580
cmp dword [eax + 0x20], ebx
je 0x47c580
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x47c59f
lea eax, [edi + 0x2250]
test eax, eax
je 0x47c596
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x47c59f
xor eax, eax
inc eax
jmp 0x47c5a7
push esi
mov ecx, edi
call fcn.00474359
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x49ad0c
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5e21c0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x49ad38
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x49ad63
cmp dword [0x5e8e94], 0
jne 0x49ad63
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x49ad5f
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x49ad5f
push edi
call fcn.00568835
pop ecx
jmp 0x49adda
mov eax, edi
jmp 0x49adda
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00558530
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x49ade9
push esi
call fcn.0042602b
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push esi
push 1
push 2
lea ecx, [ebp - 0x108]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
xor eax, eax
mov word [ebp - 0x106], ax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.005533da
leave
ret 4
call fcn.0041f587
int3
Function at 0x4b785b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x4b79b9
push esi
push edi
push 0x5a54f8
call fcn.004208a2
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x4b78f4
mov edi, dword [ebx + 0x168]
jmp 0x4b78e0
mov esi, dword [edi + 8]
mov edi, dword [edi]
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b78e0
push esi
call fcn.0042cfbc
push eax
push 0x5e1a70
call fcn.00420803
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x4b78e0
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1a0]
mov ecx, esi
call dword [0x58d988]
mov ecx, dword [ebp - 0xc]
call esi
test eax, eax
jle 0x4b78e0
push 4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x4b788f
lea ecx, [ebx + 0x164]
call fcn.00422c18
jmp 0x4b79b7
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4b79b7
lea eax, [ebx + 0xc8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.00422b07
mov edi, dword [eax]
test edi, edi
jne 0x4b7920
xor esi, esi
jmp 0x4b7923
mov esi, dword [edi + 0x20]
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b79a7
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4b79a7
cmp dword [ebp - 0x10], 0
jne 0x4b797c
push edi
push 0x5e1a70
call fcn.00420803
mov edi, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x58d988]
mov ecx, edi
call esi
push eax
push 0x59a5f0
call fcn.00420803
pop ecx
pop ecx
test eax, eax
je 0x4b79a7
mov esi, dword [ebp - 4]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea eax, [ebp - 8]
lea esi, [ebx + 0x164]
push eax
mov ecx, esi
call fcn.004b69cc
test eax, eax
jne 0x4b79a7
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.004b4aff
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0xc8]
jne 0x4b790b
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4f0e33
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4f0e60
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x4f0e75
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4f0e75
or dword [esi + 0x3c], 2
or dword [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0042cfbc
jmp 0x4f0f46
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0042cfbc
cmp eax, edi
jne 0x4f0f50
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4f0ee2
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4f0f26
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x4f0f50
cmp eax, 0x205
je 0x4f0f50
cmp eax, 0x201
je 0x4f0f50
cmp eax, 0x204
je 0x4f0f50
cmp eax, 0x100
jne 0x4f0f0e
cmp dword [ebp - 0x18], 0x1b
je 0x4f0f50
push dword [ebp - 8]
lea eax, [esi + 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
sbb edx, dword [ebp - 4]
test edx, edx
jb 0x4f0f46
ja 0x4f0f3f
cmp eax, dword [0x5ea2f0]
jbe 0x4f0f46
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x4f0e97
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4f1328
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x4f135e
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.00424132
test eax, eax
je 0x4f1346
mov eax, dword [eax + 0x20]
push 1
push edi
push ebx
push esi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
sbb eax, eax
pop ebx
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x4f7e1a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5e1964], 0
push esi
push edi
je 0x4f7ea2
cmp dword [0x5e1ca0], 0xfffffffe
jne 0x4f7e8e
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x4f7ea2
mov edi, 0x5ea31c
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5ea334], 0
jne 0x4f7ea6
push 0
push 0
push 0x4f7eac
call fcn.00566dd5
add esp, 0xc
mov dword [0x5ea334], eax
test eax, eax
je 0x4f7e7e
cmp eax, 0xffffffff
je 0x4f7e7e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x5e1ca0], esi
jmp 0x4f7e85
and dword [0x5ea334], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4f7ea2
mov eax, dword [ebp + 8]
mov dword [0x5e1ca0], eax
cmp eax, 0xffffffff
jne 0x4f7ea2
and dword [0x5ea334], 0
pop edi
pop esi
pop ebp
ret
call fcn.0041f587
int3