joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4338b6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0043395f
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4338fe
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004081d0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00410410
jmp 0x433909
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0043303e
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4369d9
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 0x436a21
call fcn.004279af
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 0x436a21
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x436a2e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x436a6a
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x436a4d
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x436a56
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x436a68
test di, di
jne 0x436a68
test dx, dx
je 0x436a6a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x436a83
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 0x436aae
cmp dword [esi + 0x80], 0
jne 0x436aae
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.004279af
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x436ade
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x436ade
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.00436d4a
jmp 0x436ae0
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x436ae7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.004279af
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x436b27
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x436b27
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00436b2f
jmp 0x436b29
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x436e1f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x580fac
call fcn.00555425
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.004279af
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x436e7e
call fcn.004279af
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 0x436e92
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x436e8e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x436e9a
or eax, 0xffffffff
jmp 0x436fec
mov ecx, edi
call fcn.00437429
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.0042c859
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x436f26
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x436f26
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x436f26
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.00426540
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x436f23
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x58f988]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x436f23
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00432c2f
test eax, eax
je 0x436f23
push 0
mov ecx, esi
call fcn.00432a02
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.0042c4f8
push ebx
call fcn.0042dbdc
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.00436dc2
test eax, eax
jne 0x436f6f
cmp dword [edi + 0x9c], eax
jne 0x436f6f
call fcn.004279af
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.0042dbdc
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.00436dc2
and dword [edi + 0x9c], 0
jmp 0x436f9a
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x436fae
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.00432a02
test esi, esi
je 0x436fbb
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x436fd1
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x436fd1
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x58f988]
mov ecx, edi
call esi
mov ecx, edi
call fcn.004373e0
mov eax, dword [edi + 0x68]
call fcn.0055538a
ret
Function at 0x438cd7
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 0x438d2d
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x438d06
call fcn.0042a664
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x438d1b
call fcn.0042a664
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x438d2d
call fcn.0042a664
call fcn.004279af
cmp dword [eax + 0x3c], 0
je 0x438d42
push esi
mov ecx, ebx
call fcn.004383fd
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.00438f28
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x438d6b
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x438d77
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 0x43ae82
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x43afc8
mov ecx, 0x5e34a0
call fcn.0042733d
mov esi, eax
test esi, esi
je 0x43afbd
xor eax, eax
cmp word [esi + 8], ax
jne 0x43af87
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x43af43
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x43af09
push 0x5943b0
call fcn.0043b006
pop ecx
test eax, eax
je 0x43af09
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 0x43af24
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 0x43af43
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 0x43af49
push ebx
push edi
push eax
call fcn.0043aa2b
add esp, 0xc
jmp 0x43af49
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.00408120
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 0x43afc2
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.00424eec
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x43af8a
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x43af98
push edi
call fcn.00565507
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.004030f0
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.004228fd
call fcn.00422917
int3
Function at 0x44bd2c
Capabilities:
Get file system object information

Disassembly:
push 0x6f8
mov eax, 0x58210d
call fcn.005553ef
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 0x44bebd
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x44be8f
sub eax, 1
je 0x44bdab
sub eax, 1
je 0x44bd83
sub eax, 1
je 0x44bdab
push 0x5c30d0
mov ecx, edi
call fcn.0040c9b0
mov eax, edi
call fcn.0055539e
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 0x44bd6d
lea eax, [ebp - 0x4e8]
push eax
jmp 0x44bd72
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x44bd6d
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.00429506
test eax, eax
je 0x44bd6d
lea ecx, [ebp - 0x700]
call fcn.004032f0
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x44be45
test byte [ebp - 0x428], 0x18
jne 0x44be67
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 [0x58f988]
mov ecx, ebx
call esi
jmp 0x44be67
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 [0x58f988]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.0040a0c0
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.004032d0
jmp 0x44bd79
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 0x44bd6d
lea eax, [ebp - 0x6f0]
jmp 0x44bda8
call fcn.004228fd
int3

Function at 0x44c035
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0049c137
call fcn.004279fd
cmp dword [eax + 0x14], 0
jne 0x44c050
mov ecx, esi
pop esi
jmp fcn.0044b339
pop esi
ret

Function at 0x44c9cb
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x5e3f80]
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 0x44ca35
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 0x44ca1a
lea eax, [ebp - 0x2ac]
push eax
jmp 0x44ca1f
push 0x5978f0
call fcn.0040c9b0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00554ea8
leave
ret 8
call fcn.004228fd
int3

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

Disassembly:
push esi
mov esi, ecx
call fcn.00402ad0
call fcn.004279fd
cmp dword [eax + 0x14], 0
jne 0x44cf35
mov ecx, esi
pop esi
jmp fcn.0044c775
pop esi
ret
Function at 0x455dfc
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 0x455e15
call fcn.004279af
mov esi, dword [eax + 0xc]
push 0x598fe4
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x455e57
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x455e57
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x455e57
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00455e60
jmp 0x455e59
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x47de66
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 0x47dfed
je 0x47e014
sub eax, 0xa1
je 0x47e014
sub eax, 1
je 0x47e014
dec eax
sub eax, 1
je 0x47e014
sub eax, 1
je 0x47e014
dec eax
sub eax, 1
je 0x47e014
sub eax, 1
je 0x47e014
sub eax, 0x58
jne 0x47e052
cmp dword [edi + 0xc0], 0xffffffff
je 0x47e014
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x47e014
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x47df42
sub eax, 1
jne 0x47e014
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x47df31
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 [0x58f988]
mov ecx, edi
call esi
test eax, eax
jne 0x47df8e
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x47df07
jmp 0x47e06c
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x47e06c
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 [0x58f988]
mov ecx, edi
call esi
test eax, eax
jne 0x47df8e
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x47df59
jmp 0x47e06c
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x58f988]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x58f988]
mov ecx, edi
call esi
mov ecx, eax
call fcn.00432db8
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x58f988]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x47e06c
sub eax, 0x200
je 0x47e014
sub eax, 1
je 0x47e014
sub eax, 1
je 0x47e014
dec eax
sub eax, 1
je 0x47e014
sub eax, 1
je 0x47e014
dec eax
sub eax, 1
je 0x47e014
sub eax, 1
jne 0x47e052
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x47e033
cmp dword [eax + 0x20], ebx
je 0x47e033
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 0x47e052
cmp dword [eax + 0x20], ebx
je 0x47e052
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x47e071
lea eax, [edi + 0x2250]
test eax, eax
je 0x47e068
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x47e071
xor eax, eax
inc eax
jmp 0x47e079
push esi
mov ecx, edi
call fcn.00475e2a
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x49c7db
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5e3f80]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x49c807
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x49c832
cmp dword [0x5ead0c], 0
jne 0x49c832
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x49c82e
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x49c82e
push edi
call fcn.00569ef5
pop ecx
jmp 0x49c8a9
mov eax, edi
jmp 0x49c8a9
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0055a030
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x49c8b8
push esi
call fcn.00427b24
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.00554ea8
leave
ret 4
call fcn.004228fd
int3
Function at 0x4b9326
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 0x4b9484
push esi
push edi
push 0x5a4e98
call fcn.004239e5
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x4b93bf
mov edi, dword [ebx + 0x168]
jmp 0x4b93ab
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 0x4b93ab
push esi
call fcn.0042dbdc
push eax
push 0x5e3838
call fcn.00423946
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x4b93ab
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1a0]
mov ecx, esi
call dword [0x58f988]
mov ecx, dword [ebp - 0xc]
call esi
test eax, eax
jle 0x4b93ab
push 4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x4b935a
lea ecx, [ebx + 0x164]
call fcn.004240ad
jmp 0x4b9482
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4b9482
lea eax, [ebx + 0xc8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.00408240
mov edi, dword [eax]
test edi, edi
jne 0x4b93eb
xor esi, esi
jmp 0x4b93ee
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 0x4b9472
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4b9472
cmp dword [ebp - 0x10], 0
jne 0x4b9447
push edi
push 0x5e3838
call fcn.00423946
mov edi, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x58f988]
mov ecx, edi
call esi
push eax
push 0x599f90
call fcn.00423946
pop ecx
pop ecx
test eax, eax
je 0x4b9472
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.004b8497
test eax, eax
jne 0x4b9472
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.004b65cd
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0xc8]
jne 0x4b93d6
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4f28fd
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 0x4f292a
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x4f293f
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4f293f
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.0042dbdc
jmp 0x4f2a10
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0042dbdc
cmp eax, edi
jne 0x4f2a1a
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 0x4f29ac
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 0x4f29f0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x4f2a1a
cmp eax, 0x205
je 0x4f2a1a
cmp eax, 0x201
je 0x4f2a1a
cmp eax, 0x204
je 0x4f2a1a
cmp eax, 0x100
jne 0x4f29d8
cmp dword [ebp - 0x18], 0x1b
je 0x4f2a1a
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 0x4f2a10
ja 0x4f2a09
cmp eax, dword [0x5ec168]
jbe 0x4f2a10
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x4f2961
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4f2df2
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x4f2e28
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.00426540
test eax, eax
je 0x4f2e10
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 0x4f98e4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5e372c], 0
push esi
push edi
je 0x4f996c
cmp dword [0x5e3a68], 0xfffffffe
jne 0x4f9958
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x4f996c
mov edi, 0x5ec194
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5ec1ac], 0
jne 0x4f9970
push 0
push 0
push 0x4f9976
call fcn.00568448
add esp, 0xc
mov dword [0x5ec1ac], eax
test eax, eax
je 0x4f9948
cmp eax, 0xffffffff
je 0x4f9948
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x5e3a68], esi
jmp 0x4f994f
and dword [0x5ec1ac], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4f996c
mov eax, dword [ebp + 8]
mov dword [0x5e3a68], eax
cmp eax, 0xffffffff
jne 0x4f996c
and dword [0x5ec1ac], 0
pop edi
pop esi
pop ebp
ret
call fcn.004228fd
int3