joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100988f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1017cf1b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push esi
push edi
mov eax, dword [0x101cf40c]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xe0]
mov esi, dword [esp + 0xdc]
mov eax, dword [esp + 0xd8]
mov edi, dword [esp + 0xd0]
push ecx
push edx
push esi
push eax
mov eax, dword [esp + 0xe4]
push eax
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], 0
call fcn.100929f0
add esp, 0x18
mov dword [esp + 0xc8], 1
push ebx
pop ebx
lea ecx, [esp + 0x1c]
call fcn.101096f4
mov byte [esp + 0xc8], 2
mov dh, dh
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x1c]
push edx
push esi
push eax
call fcn.1006c3b0
add esp, 0xc
mov edi, edi
lea ecx, [esp + 0x38]
mov edx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov byte [esp + 0xc8], 3
mov eax, dword [esp + 0x48]
mov byte [eax], 0
mov byte [esp + 0xc8], 4
mov cl, cl
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x100989e3
push ecx
mov ecx, edi
call fcn.1000a210
jmp 0x10098af6
test esi, esi
je 0x10098aba
cmp esi, 2
je 0x10098aba
cmp esi, 3
je 0x10098aba
cmp esi, 1
jne 0x10098aea
mov ecx, ecx
mov bl, 0x64
mov byte [esp + 0x70], 0x25
mov byte [esp + 0x71], bl
mov byte [esp + 0x72], 0x2c
mov byte [esp + 0x73], 0x25
mov byte [esp + 0x74], bl
mov byte [esp + 0x75], 0x2c
mov byte [esp + 0x76], 0x25
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], 0
mov edx, edx
cmp dword [esp + 0x24], 0
jg 0x10098a42
jmp fcn.10106489
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x7c]
push edx
push eax
call fcn.10119fed
add esp, 0x14
mov edi, edi
xchg ebx, eax
xchg ebx, eax
mov byte [esp + 0x68], 0x25
mov byte [esp + 0x69], bl
mov byte [esp + 0x6a], 0x2c
mov byte [esp + 0x6b], 0x25
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], 0
push ecx
pop ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.10119290
add esp, 0x10
mov ch, ch
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x3c]
call fcn.100113f0
mov esi, esi
jmp 0x10098aea
test eax, eax
jg 0x10098ac3
jmp fcn.10106489
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10098ad0
sub eax, esi
add eax, edx
push eax
push edx
lea ecx, [esp + 0x40]
call fcn.1000d190
mov dl, dl
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.1000a210
mov dword [esp + 0x30], 1
mov byte [esp + 0xc8], 2
lea ecx, [esp + 0x38]
call fcn.10006800
mov byte [esp + 0xc8], 1
lea ecx, [esp + 0x1c]
call fcn.10109a3c
mov byte [esp + 0xc8], 0
lea ecx, [esp + 0x50]
call fcn.10006800
mov eax, edi
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.101179ba
add esp, 0xbc
ret
Function at 0x1009b470
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x14
push edi
mov esi, esi
push eax
pop eax
push eax
pop eax
mov edi, dword [esp + 0x1c]
push 5
push edi
call fcn.10067570
add esp, 8
push eax
pop eax
test eax, eax
jne 0x1009b496
mov eax, edi
pop edi
add esp, 0x14
ret
push ebx
push ebp
push esi
push 0
push eax
call fcn.10067570
add esp, 8
mov esi, eax
mov ebx, ebx
mov eax, eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esp + 0x10], eax
nop
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1009b564
mov ebx, dword [esp + 0x34]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, edi
mov edi, esi
push eax
pop eax
test ebx, ebx
jne 0x1009b4e3
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1009b508
push ecx
pop ecx
lea eax, [esp + 0x14]
push eax
push esi
call ebp
mov edi, edi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1009b544
push 2
push esi
call fcn.10067570
add esp, 8
mov esi, eax
mov ebp, ebp
cmp edi, esi
je 0x1009b564
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov bl, bl
sub eax, dword [esp + 0x10]
cmp eax, dword [0x101ba8c0]
jae 0x1009b560
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1009b4d0
pop esi
pop ebp
pop ebx
mov eax, edi
pop edi
add esp, 0x14
ret
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ebx
push ecx
push edx
push esi
call fcn.1009b470
add esp, 0x10
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x14
ret
xor edi, edi
mov dh, dh
pop esi
pop ebp
pop ebx
mov eax, edi
pop edi
add esp, 0x14
ret
Function at 0x1009bc50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x10], 0
push edi
mov edi, dword [esp + 0x28]
jne 0x1009bce6
cmp dword [esi], 0
je 0x1009bce6
mov al, 0x69
mov dl, 0x54
mov cl, 0x6f
mov byte [esp + 8], 0x53
mov byte [esp + 9], 0x77
mov byte [esp + 0xa], al
mov byte [esp + 0xb], 0x74
mov byte [esp + 0xc], 0x63
mov byte [esp + 0xd], 0x68
mov byte [esp + 0xe], dl
mov byte [esp + 0xf], cl
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], 0x68
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0x73
mov byte [esp + 0x14], 0x57
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0x6e
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x18], cl
mov byte [esp + 0x19], 0x77
mov byte [esp + 0x1a], 0
mov ebx, ebx
mov ecx, dword [esi]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [esi + 0x10], eax
xchg ebx, eax
xchg ebx, eax
mov esi, dword [esi + 0x10]
test esi, esi
je 0x1009bd0a
push 1
push edi
call esi
mov dl, dl
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.101179ba
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.101179ba
add esp, 0x18
ret

Function at 0x1009bd20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x34
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
push esi
push edi
xor edi, edi
mov al, al
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], 0x14
mov dword [esp + 0x10], 0xf
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov al, al
mov byte [esp + 0x1c], 0x75
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x65
mov byte [esp + 0x1f], 0x72
mov byte [esp + 0x20], 0x33
mov byte [esp + 0x21], 0x32
mov byte [esp + 0x22], 0x2e
mov byte [esp + 0x23], 0x64
mov byte [esp + 0x24], 0x6c
mov byte [esp + 0x25], 0x6c
mov byte [esp + 0x26], 0
mov bl, bl
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov esi, eax
push ebx
pop ebx
test esi, esi
je 0x1009be1d
mov byte [esp + 0x28], 0x46
mov byte [esp + 0x29], 0x6c
mov byte [esp + 0x2a], 0x61
mov byte [esp + 0x2b], 0x73
mov byte [esp + 0x2c], 0x68
mov byte [esp + 0x2d], 0x57
mov byte [esp + 0x2e], 0x69
mov byte [esp + 0x2f], 0x6e
mov byte [esp + 0x30], 0x64
mov byte [esp + 0x31], 0x6f
mov byte [esp + 0x32], 0x77
mov byte [esp + 0x33], 0x45
mov byte [esp + 0x34], 0x78
mov byte [esp + 0x35], 0
mov cl, cl
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edi, edi
test eax, eax
je 0x1009be14
lea ecx, [esp + 8]
push ecx
call eax
push eax
pop eax
mov edi, 1
mov al, al
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, eax
mov ecx, dword [esp + 0x38]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.101179ba
add esp, 0x34
ret
Function at 0x1009c4c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x5c
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
xor edi, edi
mov ch, ch
mov cl, 0x50
mov al, 0x4c
mov byte [esp + 0x44], cl
mov byte [esp + 0x45], 0x53
mov byte [esp + 0x46], 0x41
mov byte [esp + 0x47], cl
mov byte [esp + 0x48], 0x49
mov byte [esp + 0x49], 0x2e
mov byte [esp + 0x4a], 0x44
mov byte [esp + 0x4b], al
mov byte [esp + 0x4c], al
mov byte [esp + 0x4d], 0
mov ah, ah
mov byte [esp + 0x53], cl
mov cl, 0x72
mov al, 0x65
mov byte [esp + 0x55], cl
mov bl, 0x66
mov dl, 0x6f
mov byte [esp + 0x58], cl
mov cl, 0x6e
mov byte [esp + 0x50], 0x47
mov byte [esp + 0x51], al
mov byte [esp + 0x52], 0x74
mov byte [esp + 0x54], al
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], dl
mov byte [esp + 0x59], 0x6d
mov byte [esp + 0x5a], 0x61
mov byte [esp + 0x5b], cl
mov byte [esp + 0x5c], 0x63
mov byte [esp + 0x5d], al
mov byte [esp + 0x5e], 0x49
mov byte [esp + 0x5f], cl
mov byte [esp + 0x60], bl
mov byte [esp + 0x61], dl
mov byte [esp + 0x62], 0
mov al, al
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
mov eax, eax
test esi, esi
jne 0x1009c58d
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.101179ba
add esp, 0x5c
ret
lea ecx, [esp + 0x50]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ebx, eax
mov eax, eax
mov al, al
push 0x38
lea edx, [esp + 0x10]
push 0
push edx
call fcn.101184b0
add esp, 0xc
push edx
pop edx
push 0x38
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
je 0x1009c5c5
mov edi, dword [esp + 0x34]
push eax
pop eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, eax
mov ecx, dword [esp + 0x64]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101179ba
add esp, 0x5c
ret
Function at 0x1009f320
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x1017d35b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cf40c]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
mov edi, edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov ebx, ebx
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1009f39b
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1009f39b
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1009f39b
cmp esi, edi
je 0x1009f39b
mov eax, esi
jmp 0x1009f51a
push 5
push edi
call fcn.10067570
add esp, 8
mov esi, esi
xor ebx, ebx
push ebx
push eax
call fcn.10067570
add esp, 8
mov edi, eax
mov ebp, ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebp
mov dword [esp + 0x14], eax
mov ebp, ebp
mov esi, edi
mov ah, ah
mov al, 0x6c
mov byte [esp + 0x30], 0x53
mov byte [esp + 0x31], 0x68
mov byte [esp + 0x32], 0x65
mov byte [esp + 0x33], al
mov byte [esp + 0x34], al
mov byte [esp + 0x35], 0x5f
mov byte [esp + 0x36], 0x54
mov byte [esp + 0x37], 0x72
mov byte [esp + 0x38], 0x61
mov byte [esp + 0x39], 0x79
mov byte [esp + 0x3a], 0x57
mov byte [esp + 0x3b], 0x6e
mov byte [esp + 0x3c], 0x64
mov byte [esp + 0x3d], bl
mov bh, bh
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1009f518
mov edi, esi
mov cl, cl
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1009f4e0
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1009f4e0
push 0xff
lea eax, [esp + 0x45]
push ebx
push eax
mov byte [esp + 0x4c], bl
call fcn.101184b0
add esp, 0xc
push ecx
pop ecx
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.1009f1c0
add esp, 8
mov dword [esp + 0x14c], ebx
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x40]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x1009f480
mov dword [esp + 0x14c], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.10006800
mov al, al
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, esi
cmp eax, ebx
jne 0x1009f4e0
lea ecx, [esp + 0x30]
lea eax, [esp + 0x40]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1009f4d7
cmp dl, bl
je 0x1009f4d3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1009f4d7
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x1009f4b7
xor eax, eax
jmp 0x1009f4dc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x1009f518
push 2
push esi
call fcn.10067570
add esp, 8
mov esi, eax
mov esi, esi
cmp edi, esi
je 0x1009f518
call ebp
mov ecx, ecx
sub eax, dword [esp + 0x14]
cmp eax, dword [0x101ba8c0]
jae 0x1009f514
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1009f420
jmp 0x1009f518
xor edi, edi
mov dh, dh
mov eax, edi
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.101179ba
add esp, 0x13c
ret
Function at 0x1009f550
Capabilities:
Log keystrokes

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
call fcn.1009f320
add esp, 4
mov esi, eax
nop
test esi, esi
je 0x1009f5b5
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1009f5b5
push ebx
push ebp
push edi
push eax
pop eax
push 0
push esi
call fcn.10067530
add esp, 8
mov esi, eax
mov cl, cl
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov edi, eax
push eax
pop eax
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push esi
push edi
call ebx
mov ebx, ebx
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, eax
push edx
pop edx
push 0
push esi
push edi
call ebx
mov ecx, ecx
pop edi
mov eax, ebp
pop ebp
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x1009fac0
Capabilities:
Check for time delay via gettickcount
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x1017d35b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cf40c]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov eax, dword [esp + 0x158]
xor ebx, ebx
cmp eax, ebx
jne 0x1009fb15
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebp, ebp
jmp 0x1009fc95
cmp eax, 1
jne 0x1009fc93
call dword [sym.imp.USER32.dll_GetDesktopWindow]
nop
push 5
push eax
call fcn.10067570
add esp, 8
mov ah, ah
push ebx
push eax
call fcn.10067570
add esp, 8
mov edi, eax
mov edx, edx
mov esi, edi
push eax
pop eax
mov ebp, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebp
mov dword [esp + 0x14], eax
mov edx, edx
mov al, 0x6c
mov byte [esp + 0x30], 0x53
mov byte [esp + 0x31], 0x68
mov byte [esp + 0x32], 0x65
mov byte [esp + 0x33], al
mov byte [esp + 0x34], al
mov byte [esp + 0x35], 0x5f
mov byte [esp + 0x36], 0x54
mov byte [esp + 0x37], 0x72
mov byte [esp + 0x38], 0x61
mov byte [esp + 0x39], 0x79
mov byte [esp + 0x3a], 0x57
mov byte [esp + 0x3b], 0x6e
mov byte [esp + 0x3c], 0x64
mov byte [esp + 0x3d], bl
xchg ebx, eax
xchg ebx, eax
cmp edi, ebx
je 0x1009fc8f
mov edi, esi
mov edi, edi
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1009fc60
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1009fc60
push 0xff
lea eax, [esp + 0x45]
push ebx
push eax
mov byte [esp + 0x4c], bl
call fcn.101184b0
add esp, 0xc
mov bh, bh
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.1009f1c0
add esp, 8
mov dword [esp + 0x14c], ebx
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x40]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x1009fc00
mov dword [esp + 0x14c], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.10006800
xchg ebx, eax
xchg ebx, eax
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov bl, bl
cmp eax, ebx
jne 0x1009fc60
lea ecx, [esp + 0x30]
lea eax, [esp + 0x40]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1009fc57
cmp dl, bl
je 0x1009fc53
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1009fc57
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x1009fc37
xor eax, eax
jmp 0x1009fc5c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x1009fc8f
push 2
push esi
call fcn.10067570
add esp, 8
mov esi, eax
mov ah, ah
call ebp
push edx
pop edx
sub eax, dword [esp + 0x14]
cmp eax, dword [0x101ba8c0]
jae 0x1009fc8b
cmp esi, ebx
jne 0x1009fba1
mov eax, edi
jmp 0x1009fc95
xor edi, edi
mov edi, edi
mov eax, edi
jmp 0x1009fc95
xor eax, eax
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.101179ba
add esp, 0x13c
ret
Function at 0x1009fda0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x38]
test edi, edi
mov dword [esp + 4], ecx
jne 0x1009fdd0
push eax
call fcn.1009f320
add esp, 4
mov edi, eax
mov ah, ah
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1009fdeb
pop edi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.101179ba
add esp, 0x2c
ret
push ebx
push ebp
push esi
push 5
push edi
call fcn.10067570
add esp, 8
test eax, eax
je 0x1009fe7c
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov esi, eax
mov al, al
push 0
push edi
call fcn.10067530
add esp, 8
mov ebx, eax
mov al, al
push 1
push ebx
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push ebx
pop ebx
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, eax
nop
push 0
push ebx
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ah, ah
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push ebp
call ebx
test eax, eax
je 0x1009fe7c
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1009fe7c
mov esi, ebp
nop
push ebp
call ebx
test eax, eax
je 0x1009fe7c
lea esp, [esp]
cmp esi, edi
je 0x1009fe78
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
mov edi, edi
push esi
call ebx
test eax, eax
jne 0x1009fe60
jmp 0x1009fe7c
mov edi, ebp
mov dl, dl
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1009fe83
sub eax, edx
mov ebx, eax
mov esi, esi
lea ebp, [ebx + ebx + 2]
push ebp
call fcn.1011741c
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov cl, cl
test esi, esi
jne 0x1009febe
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.101179ba
add esp, 0x2c
ret
push ebp
push 0
push esi
call fcn.101184b0
add esp, 0xc
mov dh, dh
mov edx, dword [esp + 0x10]
add ebx, 1
push ebx
push esi
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
nop
mov eax, esi
lea edx, [eax + 2]
jmp 0x1009fef0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1009fef0
sub eax, edx
sar eax, 1
push ecx
pop ecx
mov eax, eax
test eax, eax
jle 0x1009ff8f
mov ebx, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov ebp, eax
mov cl, cl
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov cl, cl
push eax
push eax
push 0x20
lea eax, [esp + 0x24]
push eax
push 1
push esi
push 0
push 0
call ebx
mov edx, edx
mov dword [esp + 0x10], 0
mov ah, ah
mov eax, dword [esp + 0x18]
xor edx, edx
mov dh, al
lea ecx, [esp + 0x10]
push ecx
push 0x9c4
push 1
movzx eax, ah
push 1
or edx, eax
push edx
push 0x286
push edi
call fcn.100674e0
add esp, 0x1c
mov esi, esi
add esi, 2
sub ebp, 1
jne 0x1009ff13
mov esi, dword [esp + 0x14]
push esi
call fcn.101174df
add esp, 4
mov edx, edx
mov ecx, dword [esp + 0x38]
pop esi
pop ebp
pop ebx
pop edi
xor ecx, esp
mov eax, 1
call fcn.101179ba
add esp, 0x2c
ret
Function at 0x1009ffc0
Capabilities:
Log keystrokes

Disassembly:
push ebp
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x1009ffdc
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push edi
call ebp
test eax, eax
jne 0x100a0000
pop edi
xor eax, eax
pop ebp
ret
mov eax, dword [esp + 0xc]
push eax
call fcn.1009f320
add esp, 4
mov dword [esp + 0x10], eax
mov ah, ah
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebp
test eax, eax
je 0x1009ffd7
mov edi, dword [esp + 0x10]
push ebx
push esi
push 5
push edi
call fcn.10067570
add esp, 8
test eax, eax
je 0x100a008b
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov esi, eax
mov eax, eax
push 0
push edi
call fcn.10067530
add esp, 8
mov edi, eax
mov ecx, ecx
push 1
push edi
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ebp, ebp
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, eax
mov edx, edx
push 0
push edi
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ah, ah
push ebx
call ebp
test eax, eax
je 0x100a008b
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100a008b
mov esi, ebx
mov ecx, ecx
push ebx
call ebp
test eax, eax
je 0x100a008b
mov edi, dword [sym.imp.USER32.dll_GetParent]
nop
cmp esi, dword [esp + 0x18]
je 0x100a0085
push esi
call edi
mov esi, eax
nop
push esi
call ebp
test eax, eax
jne 0x100a0070
jmp 0x100a008b
mov dword [esp + 0x18], ebx
mov bl, bl
mov ebp, dword [esp + 0x1c]
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a0094
sub eax, edx
mov esi, eax
mov ch, ch
lea ebx, [esi + esi + 2]
push ebx
call fcn.1011741c
add esp, 4
mov edi, eax
nop
test edi, edi
jne 0x100a00bc
pop esi
pop ebx
pop edi
pop ebp
ret
push ebx
push 0
push edi
call fcn.101184b0
add esp, 0xc
mov ch, ch
add esi, 1
push esi
push edi
push 0xffffffffffffffff
push ebp
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov eax, eax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100a00e3
sub eax, edx
sar eax, 1
mov ebx, eax
push ebx
pop ebx
mov bh, bh
xor esi, esi
test ebx, ebx
jle 0x100a0122
mov edi, edi
movzx ecx, word [edi + esi*2]
mov edx, dword [esp + 0x18]
push 0x4000001
push ecx
push 0x102
push edx
call fcn.10067560
mov cl, cl
add esi, 1
cmp esi, ebx
jl 0x100a0100
push edi
call fcn.101174df
add esp, 4
mov dl, dl
pop esi
pop ebx
pop edi
mov eax, 1
pop ebp
ret