joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425e98
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
and eax, 1
push esi
mov dword [esp + 4], eax
je 0x425eae
call fcn.00434105
jmp 0x425eb4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
jne 0x425f21
push ebx
push ebp
push edi
call fcn.00402a6f
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call edi
mov ebp, eax
xor esi, esi
cmp ebx, esi
je 0x425eee
test byte [esp + 0x1c], 2
push esi
pop eax
setne al
mov ecx, ebx
lea eax, [eax + eax - 1]
push eax
push 0xa
call fcn.00425da1
jmp 0x425efb
push esi
push esi
push esi
push 0xa
call fcn.0042fe15
add esp, 0x10
cmp dword [esp + 0x10], esi
je 0x425f08
call fcn.00434105
jmp 0x425f0e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
jne 0x425f1e
call edi
sub eax, ebp
cmp eax, dword [esp + 0x18]
jb 0x425ece
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
pop ecx
ret

Function at 0x425fbd
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], ecx
call edi
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
call fcn.004257e7
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
cmp ebx, esi
jne 0x426041
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, bl
push ebx
call esi
mov byte [ebp + 0x13], al
jmp 0x426026
push ebx
call esi
cmp al, byte [ebp + 0x13]
je 0x426009
test al, al
jns 0x426039
mov byte [ebp + 0x13], al
cmp dword [ebp + 8], 0xffffffff
je 0x426026
call edi
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jb 0x426026
mov ecx, dword [ebp - 8]
push 0x21c
call fcn.0040570a
mov ecx, dword [ebp - 8]
push 5
call fcn.004056f4
test al, al
jne 0x425ffa
jmp 0x426104
mov eax, dword [ebp + 0xc]
jmp 0x42610a
cmp dword [ebp + 0xc], esi
push 5
pop edi
mov dword [ebp - 4], edi
jg 0x426062
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov byte [ebp + ebx - 0x10c], al
inc ebx
cmp ebx, esi
jle 0x42604c
push edi
jmp 0x4260f4
call fcn.0043a4ed
mov ebx, dword [ebp + 0xc]
mov esi, eax
mov edi, edx
jmp 0x426097
cmp ebx, 3
je 0x426096
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [ebp + ebx - 0x10c]
cmp al, byte [ecx]
je 0x426096
test al, al
jns 0x426108
mov byte [ecx], al
inc ebx
cmp ebx, dword [ebp + 0x10]
jle 0x426076
call fcn.0043a4ed
push 0
push dword [ebp - 4]
sub eax, esi
sbb edx, edi
push edx
push eax
call fcn.0044d360
test edx, edx
jl 0x4260c7
jg 0x4260bc
cmp eax, 0xa
jbe 0x4260c7
cmp dword [ebp - 4], 0x32
jae 0x4260d0
inc dword [ebp - 4]
jmp 0x4260d0
cmp dword [ebp - 4], 5
jbe 0x4260d0
dec dword [ebp - 4]
cmp dword [ebp + 8], 0xffffffff
je 0x4260f1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jb 0x4260f1
mov ecx, dword [ebp - 8]
push 0x21c
call fcn.0040570a
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.004056f4
test al, al
jne 0x426068
xor eax, eax
jmp 0x42610a
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x427bb0
Capabilities:
Get explorer pid

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call fcn.00434188
pop ecx
test eax, 0xc00000
je 0x427bc8
xor al, al
leave
ret
push esi
push dword [0x461e2c]
call dword [sym.imp.USER32.dll_IsWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
jne 0x427bf2
call dword [sym.imp.USER32.dll_GetShellWindow]
push 0x461e28
push eax
mov dword [0x461e2c], eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp ecx, dword [0x461e28]
pop esi
sete al
leave
ret

Function at 0x42a5ff
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x44f69e
call fcn.0044d07c
sub esp, 0x10
push ebx
push esi
push dword [ebp + 0xc]
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], esi
call fcn.00404b9e
mov dword [ebp - 4], esi
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x10]
call fcn.0043c28e
mov dword [ebp - 0x10], esi
cmp ebx, esi
jne 0x42a66b
cmp dword [ebp - 0x14], 4
je 0x42a664
push 0xd
pop ebx
jmp 0x42a66b
mov eax, dword [ebp - 0x18]
cmp eax, esi
jne 0x42a674
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42d2b4
Capabilities:
Set thread local storage value

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x24]
call fcn.00404255
mov ecx, esi
call fcn.0042cefc
test al, al
je 0x42d2e4
test byte [esi + 4], 2
jne 0x42d2d6
call dword [sym.imp.ole32.dll_OleUninitialize]
push 0
push dword [0x461fa4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x42d2f1
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 8]
pop esi
ret

Function at 0x42d2f3
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push dword [0x461fa4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42d30a
mov ecx, eax
jmp fcn.0042d272
ret

Function at 0x42d30b
Capabilities:
Terminate thread

Disassembly:
push esi
push dword [esp + 8]
mov esi, ecx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x3e8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or byte [esi + 5], 2
pop esi
ret 4

Function at 0x42d4be
Capabilities:
Set thread local storage value

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x42d4ff
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 2
push 2
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0xc], eax
pop ebx
push esi
push dword [0x461fa4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x42ce66
call sub.msvcrt.dll_void____cdecl___unsigned_int__struct__EXCEPTION_POINTERS_____cdecl__set_se_translator_void____cdecl___unsigned_int__struct__EXCEPTION_POINTERS___
test byte [esi + 4], 2
pop ecx
jne 0x42d525
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or byte [esi + 5], 1
pop edi
pop esi
ret

Function at 0x42d5a0
Capabilities:
Create thread
Resume thread

Disassembly:
mov ecx, dword [0x461e9c]
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 4]
mov esi, eax
lea eax, [esi + 0xc]
push eax
push 4
push esi
push 0x42d57d
push 0
push 0
call sub.msvcrt.dll__beginthreadex
mov edi, eax
add esp, 0x18
test edi, edi
je 0x42d5f3
push edi
push dword [esp + 0x18]
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.0042d248
test byte [esp + 0x14], 4
jne 0x42d5ef
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
jmp 0x42d602
test esi, esi
je 0x42d600
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 8]
xor eax, eax
pop edi
pop esi
ret
Function at 0x42fafa
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x44f483
call fcn.0044d07c
sub esp, 0x20
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401978
xor edi, edi
mov dword [ebp - 4], edi
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.004360e5
test eax, eax
jne 0x42fb40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004019a2
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0x8000
mov dword [ebp - 0x14], edi
call fcn.00430d62
pop ecx
xor ecx, ecx
cmp edx, ecx
ja 0x42fb64
jb 0x42fb60
cmp eax, dword [ebp - 0x10]
jae 0x42fb64
inc eax
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.004045c6
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call esi
test eax, eax
je 0x42fbcf
mov ebx, dword [ebp + 0xc]
cmp dword [ebp - 0x10], edi
je 0x42fbf2
cmp byte [ebp + 0x10], 0
push dword [ebp - 0x10]
push dword [ebp - 0x2c]
je 0x42fbad
push ebx
call dword [0x46205c]
jmp 0x42fbbb
push dword [ebp - 0x14]
call sym.qmmacro.exe___Crc
add esp, 0xc
mov dword [ebp - 0x14], eax
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x42fb93
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0042b317
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004019a2
pop esi
mov al, bl
pop ebx
jmp 0x42fb33
cmp byte [ebp + 0x10], 0
jne 0x42fbfd
mov eax, dword [ebp - 0x14]
mov dword [ebx], eax
mov bl, 1
jmp 0x42fbd1

Function at 0x42fe15
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x42fe3b
cmp dword [ebp + 0x14], edi
jne 0x42fe3b
push dword [ebp + 0xc]
call fcn.0042fd96
pop ecx
test al, al
je 0x42feac
mov eax, 0x102
jmp 0x42feaf
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
and al, 1
movzx esi, al
neg esi
sbb esi, esi
and esi, 0xfffffa41
add esi, 0x5ff
push dword [ebp + 0xc]
call fcn.0042fd96
pop ecx
test al, al
je 0x42feac
cmp edi, 0xffffffff
je 0x42fe8d
mov eax, 0xfff6d83f
cmp edi, eax
jb 0x42fe7b
mov edi, eax
call ebx
sub eax, dword [ebp + 8]
cmp eax, edi
jae 0x42fe8b
sub edi, eax
add dword [ebp + 8], eax
jmp 0x42fe8d
xor edi, edi
mov eax, dword [ebp + 0xc]
push esi
push edi
shr eax, 2
and eax, 1
push eax
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, dword [ebp + 0x14]
je 0x42fe5e
jmp 0x42feaf
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4300b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x44f4b9
call fcn.0044d07c
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, eax
je 0x4300d7
mov dword [ecx], eax
cmp dword [ebp + 0x10], eax
jne 0x4300e3
mov dword [ebp + 0x10], 0xfc
cmp dword [ebp + 0x14], eax
jne 0x4300f1
mov ecx, dword [0x462190]
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov ebx, dword [ebp + 0x18]
mov edi, 0x10000
and ebx, 1
je 0x430137
cmp ecx, edi
jb 0x430127
push ecx
lea ecx, [ebp - 0x18]
call fcn.00406519
mov dword [ebp - 0x20], eax
cmp esi, edi
jb 0x430137
push esi
lea ecx, [ebp - 0x14]
call fcn.00406519
mov dword [ebp - 0x24], eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
call esi
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4301ba
test ebx, ebx
je 0x43017c
cmp dword [ebp - 0x20], edi
jae 0x43015d
cmp dword [ebp - 0x24], edi
jb 0x43017c
mov byte [ebp - 4], 2
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0x14]
call esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
jne 0x4301ba
mov byte [ebp - 4], 0
push dword [ebp - 0x14]
call fcn.0043c28e
and dword [ebp - 0x14], 0
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x18]
call fcn.0043c28e
and dword [ebp - 0x18], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 0x1c]
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
cmp eax, ebx
jne 0x4301eb
mov byte [ebp - 4], bl
push dword [ebp - 0x14]
call fcn.0043c28e
mov dword [ebp - 0x14], ebx
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x18]
call fcn.0043c28e
mov dword [ebp - 0x18], ebx
jmp 0x43019c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
jne 0x43021b
xor esi, esi
mov byte [ebp - 4], bl
push dword [ebp - 0x14]
call fcn.0043c28e
mov dword [ebp - 0x14], ebx
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x18]
call fcn.0043c28e
mov dword [ebp - 0x18], ebx
mov eax, esi
jmp 0x43019e
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x430230
push dword [ebp - 0x1c]
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi], eax
mov esi, edi
jmp 0x4301fa
Function at 0x4308cb
Capabilities:
Get disk information

Disassembly:
mov eax, 0x44f832
call fcn.0044d07c
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x430a14
cmp byte [esi], bl
je 0x430a14
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], ebx
test byte [ebp + 0xc], 4
je 0x43090e
push ebx
push esi
lea ecx, [ebp - 0x24]
call fcn.00437330
mov esi, eax
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp + 8], esi
cmp edi, ebx
jne 0x43091e
lea edi, [ebp - 0x14]
cmp byte [esi], 0x5c
jne 0x430987
lea eax, [esi + 1]
cmp byte [eax], 0x5c
jne 0x430956
cmp byte [esi + 2], 0x3f
jne 0x430956
cmp byte [esi + 3], 0x5c
jne 0x430956
push 8
pop ebx
push 4
add esi, 4
push str.UNC_
push esi
call sym.qmmacro.exe_q_strnicmp
add esp, 0xc
test eax, eax
jne 0x430987
add esi, 3
jmp 0x43095d
mov esi, eax
cmp byte [esi], 0x5c
jne 0x430982
xor eax, eax
push eax
push 0xffffffffffffffff
push eax
push edi
push eax
push 0x461710
push esi
call fcn.00444dc8
add esp, 0x1c
test eax, eax
jl 0x430a08
add esi, dword [edi]
or ebx, 2
jmp 0x4309ad
push 0x11
pop ebx
jmp 0x4309ad
cmp byte [esi + 1], 0x3a
jne 0x430a08
movzx eax, byte [esi]
mov ecx, 0x103
test word [eax*2 + 0x4634c0], cx
je 0x430a08
mov dword [ebp + 8], esi
inc esi
inc esi
cmp byte [esi], 0x5c
jne 0x4309aa
inc esi
or ebx, 1
mov eax, esi
sub eax, dword [ebp - 0x10]
mov dword [edi], eax
cmp byte [esi], 0
je 0x4309c2
test byte [ebp + 0xc], 1
jne 0x430a08
or ebx, 4
test byte [ebp + 0xc], 2
je 0x4309f8
mov eax, ebx
and al, 0x11
cmp al, 1
jne 0x4309f8
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov al, byte [eax + 1]
mov byte [ebp + 9], al
lea eax, [ebp + 8]
push eax
mov byte [ebp + 8], cl
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
jne 0x4309f8
or ebx, 2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0042b317
mov eax, ebx
jmp 0x430a16
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0042b317
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43216a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x44e460
call fcn.0044d07c
push ecx
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [ebp - 4], ecx
xor eax, eax
lea edi, [esi + 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], ecx
mov byte [ebp - 4], 2
xor eax, eax
lea edi, [esi + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov byte [ebp - 4], 3
xor eax, eax
lea edi, [esi + 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0043208f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4327da
Capabilities:
Get disk size

Disassembly:
push ebp
sub esp, 0x40
mov eax, 0x44f668
call fcn.0044d07c
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 0x4c]
push esi
xor esi, esi
push edi
cmp ebx, esi
je 0x4328ad
cmp byte [ebx], 0
je 0x4328ad
xor eax, eax
lea edi, [ebp + 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
push esi
push ebx
lea ecx, [ebp + 0x34]
call fcn.004371e1
push 0x5c
lea ecx, [ebp + 0x34]
call fcn.00430f5c
push esi
push 3
push ebx
call fcn.004308cb
add esp, 0xc
cmp eax, esi
je 0x4328c4
test al, 2
jne 0x4328db
push 0x5c
lea ecx, [ebp + 0x34]
call fcn.0042b67e
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 5
call ebx
mov dword [ebp + 0x4c], eax
mov byte [ebp - 4], 1
push esi
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x2c]
push eax
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x432898
mov esi, dword [ebp + 0x24]
sub esi, dword [ebp + 0x2c]
mov edi, dword [ebp + 0x28]
sbb edi, dword [ebp + 0x30]
mov byte [ebp - 4], 0
push dword [ebp + 0x4c]
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x34]
call fcn.0042b317
mov eax, esi
mov edx, edi
jmp 0x4328b2
mov byte [ebp - 4], 0
push dword [ebp + 0x4c]
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x34]
call fcn.0042b317
or eax, 0xffffffff
or edx, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x44
leave
ret
lea eax, [ebp]
push eax
push esi
push dword [ebp + 0x34]
call fcn.004334f5
test eax, eax
je 0x4328a1
test byte [ebp], 0x10
je 0x43291b
push 0x20000024
push dword [ebp + 0x34]
lea ecx, [ebp - 0x54]
xor edi, edi
call fcn.0043216a
mov byte [ebp - 4], 2
jmp 0x4328ff
lea ecx, [ebp - 0x54]
call fcn.00430f7c
add esi, eax
adc edi, edx
lea ecx, [ebp - 0x54]
call fcn.00432428
test eax, eax
jne 0x4328f3
mov byte [ebp - 4], al
lea ecx, [ebp - 0x54]
call fcn.00404dfb
jmp 0x432886
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x30], esi
xor ecx, ecx
xor esi, esi
or ecx, edx
or eax, esi
mov esi, ecx
mov edi, eax
jmp 0x432886
Function at 0x4329ff
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 8]
movzx eax, bl
test byte [eax + 0x461ea0], 8
je 0x432a19
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x432a3c
cmp ebx, 1
je 0x432a23
cmp ebx, 2
jne 0x432a32
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x432a32
xor ebx, 3
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
test ax, ax
setl cl
mov al, cl
pop ebx
ret 4

Function at 0x432a4a
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
xor edi, edi
call esi
test ax, ax
jge 0x432a5e
inc edi
push 0x11
call esi
test ax, ax
jge 0x432a6a
or edi, 2
push 0x12
call esi
test ax, ax
jge 0x432a76
or edi, 4
push 0x5b
call esi
test ax, ax
jl 0x432a88
push 0x5c
call esi
test ax, ax
jge 0x432a8b
or edi, 8
mov eax, edi
pop edi
pop esi
ret
Function at 0x432d70
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x44f67a
call fcn.0044d07c
push ebx
mov bl, byte [ebp + 0xc]
test bl, 2
je 0x432d90
mov ecx, dword [ebp + 0x10]
push str.Ctrl
call fcn.00401c6f
test bl, 1
je 0x432da2
mov ecx, dword [ebp + 0x10]
push str.Shift
call fcn.00401c6f
test bl, 4
je 0x432db4
mov ecx, dword [ebp + 0x10]
push str.Alt
call fcn.00401c6f
test bl, 8
je 0x432dc6
mov ecx, dword [ebp + 0x10]
push str.Win
call fcn.00401c6f
cmp byte [ebp + 8], 0
je 0x432f04
cmp byte [ebp + 8], 0x5b
je 0x432ef7
push esi
push edi
push 0
push dword [ebp + 8]
call fcn.00432a90
movzx edi, byte [ebp + 8]
mov bl, byte [edi + 0x461ea0]
movzx esi, al
shr bl, 1
pop ecx
shl esi, 0x10
and bl, 1
pop ecx
je 0x432e05
or esi, 0x1000000
push 0x64
lea ecx, [ebp + 0xc]
or esi, 0x2000000
call fcn.0040e184
and dword [ebp - 4], 0
push 0x64
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
test eax, eax
je 0x432e7a
mov eax, dword [ebp + 0xc]
test bl, bl
je 0x432e46
cmp word [eax + 2], 0
jne 0x432e46
movzx ecx, word [eax]
cmp cx, 0x41
jb 0x432e46
cmp cx, 0x5a
jbe 0x432e7a
mov cl, byte [ebp + 8]
add cl, 0x60
cmp cl, 5
ja 0x432e6d
test byte [ebp + 8], 1
mov eax, str.Right
jne 0x432e61
mov eax, str.Left
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00401c6f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
push eax
call fcn.00432ce6
jmp 0x432ee3
mov al, byte [ebp + 8]
mov cl, al
add cl, 0x5a
cmp cl, 0x11
ja 0x432eab
add al, 0x5a
movzx eax, al
mov eax, dword [eax*4 + 0x454f48]
lea ecx, [eax + 1]
movsx eax, byte [eax]
push ecx
push dword [eax*4 + 0x454f34]
mov ecx, dword [ebp + 0x10]
call fcn.0042c3a3
jmp 0x432ee3
mov ecx, dword [ebp + 0x10]
sub al, 0x7c
cmp al, 0xb
ja 0x432ec9
push 0x46
call fcn.0042b67e
mov ecx, dword [ebp + 0x10]
add edi, 0xffffff91
push edi
call fcn.00432d63
jmp 0x432ee3
push 0x28
call fcn.0042b67e
mov ecx, dword [ebp + 0x10]
push edi
call fcn.00432d63
mov ecx, dword [ebp + 0x10]
push 0x29
call fcn.0042b67e
or dword [ebp - 4], 0xffffffff
push dword [ebp + 0xc]
call fcn.0043c28e
and dword [ebp + 0xc], 0
pop edi
pop esi
jmp 0x432f04
mov ecx, dword [ebp + 0x10]
push 0x454f30
call fcn.00401c6f
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret