joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10032220
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x10132f1c]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov edi, dword [esp + 0x24]
mov byte [esp + 8], 0x64
mov byte [esp + 9], 0x78
mov byte [esp + 0xa], 0
mov edi, edi
mov dl, 0x6e
mov cl, 0x6f
mov byte [esp + 0xc], dl
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], 0x72
mov byte [esp + 0xf], 0x6d
mov byte [esp + 0x10], 0x61
mov byte [esp + 0x11], 0x6c
mov byte [esp + 0x12], 0
mov cl, cl
mov al, 0x77
mov byte [esp + 0x14], al
mov byte [esp + 0x15], 0x69
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x18], cl
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], 0x73
mov byte [esp + 0x1b], 0
mov eax, eax
mov esi, dword [esp + 0x28]
lea ecx, [esp + 8]
mov eax, esi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100322c0
test dl, dl
je 0x100322bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100322c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100322a0
xor eax, eax
jmp 0x100322c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100322eb
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x2640], eax
mov ah, ah
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100aa646
add esp, 0x18
ret
lea ecx, [esp + 0xc]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10032311
test dl, dl
je 0x1003230d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10032311
add eax, 2
add ecx, 2
test dl, dl
jne 0x100322f1
xor eax, eax
jmp 0x10032316
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003233c
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x2638], ecx
mov cl, cl
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100aa646
add esp, 0x18
ret
lea ecx, [esp + 0x14]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10032362
test dl, dl
je 0x1003235e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10032362
add eax, 2
add ecx, 2
test dl, dl
jne 0x10032342
xor eax, eax
jmp 0x10032367
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003238d
mov edx, dword [esp + 0x2c]
mov dword [edi + 0x263c], edx
mov bl, bl
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100aa646
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.100aa646
add esp, 0x18
ret
Function at 0x10032890
Capabilities:
Shutdown system

Disassembly:
push 0x100eea54
call fcn.100054a0
add esp, 4
mov edi, edi
mov eax, dword [esp + 8]
test eax, eax
jne 0x100328bc
push 0x80020003
push 4
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov esi, esi
mov eax, 1
ret
cmp eax, 1
jne 0x100328d6
push 0x80020003
push 0xd
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, eax
mov eax, 1
ret
cmp eax, 2
jne 0x100328ea
push 0x80020003
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
xchg ebx, eax
xchg ebx, eax
mov eax, 1
ret

Function at 0x100328f0
Capabilities:
Check os version

Disassembly:
push ecx
mov eax, dword [0x1011e540]
test eax, eax
jge 0x100329f8
mov dword [esp], 0
mov edx, edx
push eax
mov eax, dword fs:[0x30]
mov dword [esp + 4], eax
pop eax
mov eax, dword [esp]
mov eax, dword [eax + 0xa4]
mov bh, bh
mov ecx, dword [esp]
mov ecx, dword [ecx + 0xa8]
push edx
pop edx
mov edx, dword [esp]
movzx edx, word [edx + 0xac]
mov ebx, ebx
movzx edx, dx
and edx, 0xfffffff
mov dword [0x10244244], edx
mov dl, dl
cmp eax, 4
jne 0x1003295b
mov dword [0x1011e540], 0
mov ah, ah
xor eax, eax
pop ecx
ret
cmp eax, 5
jne 0x10032991
test ecx, ecx
mov eax, 1
jne 0x10032972
mov dword [0x1011e540], eax
mov ah, ah
pop ecx
ret
cmp ecx, eax
jne 0x1003297f
mov dword [0x1011e540], eax
push ebx
pop ebx
pop ecx
ret
mov eax, 2
cmp ecx, eax
jne 0x100329ec
mov dword [0x1011e540], eax
mov ebx, ebx
pop ecx
ret
cmp eax, 6
jne 0x100329ec
test ecx, ecx
jne 0x100329a8
mov eax, 3
mov dword [0x1011e540], eax
mov bh, bh
pop ecx
ret
cmp ecx, 1
jne 0x100329be
mov dword [0x1011e540], 4
mov edx, edx
lea eax, [ecx + 3]
pop ecx
ret
cmp ecx, 2
jne 0x100329d4
mov dword [0x1011e540], 5
mov bh, bh
lea eax, [ecx + 3]
pop ecx
ret
cmp ecx, 3
jne 0x100329ec
mov dword [0x1011e540], 6
mov eax, eax
mov eax, 6
pop ecx
ret
mov eax, 7
mov dword [0x1011e540], eax
mov ecx, ecx
pop ecx
ret
Function at 0x10032ed0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x10132f1c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
xor ebx, ebx
cmp dword [0x10244248], ebx
je 0x10032efe
mov eax, dword [0x1024424c]
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100aa646
add esp, 0x24
ret
cmp dword [fcn.10244258], ebx
jne 0x10032fce
mov cl, 0x65
mov byte [esp + 8], 0x6b
mov byte [esp + 9], cl
mov byte [esp + 0xa], 0x72
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xc], cl
mov byte [esp + 0xd], 0x6c
mov byte [esp + 0xe], 0x33
mov byte [esp + 0xf], 0x32
mov byte [esp + 0x10], bl
mov dl, dl
mov al, 0x73
mov dl, 0x6f
mov byte [esp + 0x14], 0x49
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0x57
mov byte [esp + 0x17], dl
mov byte [esp + 0x18], 0x77
mov byte [esp + 0x19], 0x36
mov byte [esp + 0x1a], 0x34
mov byte [esp + 0x1b], 0x50
mov byte [esp + 0x1c], 0x72
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], 0x63
mov byte [esp + 0x1f], cl
mov byte [esp + 0x20], al
mov byte [esp + 0x21], al
mov byte [esp + 0x22], bl
push ecx
pop ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [fcn.10244258], eax
mov ecx, ecx
cmp dword [fcn.10244258], ebx
jne 0x10032fce
mov dword [0x1024424c], ebx
xchg ebx, eax
xchg ebx, eax
mov dword [0x10244248], 1
mov edi, edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100aa646
add esp, 0x24
ret
mov dword [esp + 4], ebx
mov edi, edi
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [fcn.10244258]
mov ecx, ecx
mov dword [0x10244248], 1
mov ebp, ebp
mov eax, dword [esp + 4]
mov dword [0x1024424c], eax
mov esi, esi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 4]
pop ebx
xor ecx, esp
call fcn.100aa646
add esp, 0x24
ret
Function at 0x10033020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x10132f1c]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov esi, dword [esp + 0x2c]
call fcn.10032ed0
test eax, eax
jne 0x1003304e
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100aa646
add esp, 0x24
ret
cmp dword [fcn.10244258], 0
jne 0x10033100
mov cl, 0x65
mov byte [esp + 8], 0x6b
mov byte [esp + 9], cl
mov byte [esp + 0xa], 0x72
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xc], cl
mov byte [esp + 0xd], 0x6c
mov byte [esp + 0xe], 0x33
mov byte [esp + 0xf], 0x32
mov byte [esp + 0x10], 0
mov edi, edi
mov al, 0x73
mov dl, 0x6f
mov byte [esp + 0x14], 0x49
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0x57
mov byte [esp + 0x17], dl
mov byte [esp + 0x18], 0x77
mov byte [esp + 0x19], 0x36
mov byte [esp + 0x1a], 0x34
mov byte [esp + 0x1b], 0x50
mov byte [esp + 0x1c], 0x72
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1e], 0x63
mov byte [esp + 0x1f], cl
mov byte [esp + 0x20], al
mov byte [esp + 0x21], al
mov byte [esp + 0x22], 0
mov edi, edi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [fcn.10244258], eax
mov dh, dh
cmp dword [fcn.10244258], 0
je 0x1003303c
mov dword [esp + 4], 0
mov edi, edi
lea edx, [esp + 4]
push edx
push esi
call dword [fcn.10244258]
mov cl, cl
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp dword [esp + 4], eax
pop esi
sete al
xor ecx, esp
call fcn.100aa646
add esp, 0x24
ret

Function at 0x10033930
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
mov byte [eax], 0
mov dl, dl
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
ret
Function at 0x10033b80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov eax, dword [0x10132f1c]
xor eax, esp
mov dword [esp + 0x1c], eax
mov cl, 0x6c
mov al, 0x65
mov dl, 0x72
mov byte [esp], 0x75
mov byte [esp + 1], 0x73
mov byte [esp + 2], al
mov byte [esp + 3], dl
mov byte [esp + 4], 0x33
mov byte [esp + 5], 0x32
mov byte [esp + 6], 0x2e
mov byte [esp + 7], 0x64
mov byte [esp + 8], cl
mov byte [esp + 9], cl
mov byte [esp + 0xa], 0
push eax
pop eax
mov cl, 0x74
mov byte [esp + 0xc], 0x47
mov byte [esp + 0xd], al
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], 0x44
mov byte [esp + 0x10], 0x70
mov byte [esp + 0x11], 0x69
mov byte [esp + 0x12], 0x46
mov byte [esp + 0x13], 0x6f
mov byte [esp + 0x14], dl
mov byte [esp + 0x15], 0x53
mov byte [esp + 0x16], 0x79
mov byte [esp + 0x17], 0x73
mov byte [esp + 0x18], cl
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], 0x6d
mov byte [esp + 0x1b], 0
mov eax, eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
pop ecx
test eax, eax
je 0x10033c45
call eax
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100aa646
add esp, 0x20
ret
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov ch, ch
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
push eax
pop eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push edx
pop edx
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.100aa646
add esp, 0x20
ret

Function at 0x10033d70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x804
mov eax, dword [0x10132f1c]
xor eax, esp
mov dword [esp + 0x800], eax
push 0x7ff
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.100aacb0
add esp, 0xc
mov edx, edx
push 0x800
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dh, dh
mov ecx, dword [esp + 0x800]
mov al, byte [esp]
xor ecx, esp
call fcn.100aa646
add esp, 0x804
ret

Function at 0x10033f20
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x40
push ebx
pop ebx
mov dword [esp], 0x40
push ecx
pop ecx
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
neg eax
sbb eax, eax
and eax, dword [esp + 4]
add esp, 0x40
ret
Function at 0x10035270
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov edi, edi
push 0x38
lea eax, [esp + 0x18]
push 0
push eax
call fcn.100aacb0
add esp, 0xc
mov edx, edx
push eax
pop eax
mov ebx, dword [esp + 0x54]
push ebx
xor edi, edi
call fcn.1002fdd0
mov ebp, dword [sym.imp.USER32.dll_MapVirtualKeyA]
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x100352b0
lea esi, [edi*8]
sub esi, edi
add esi, esi
add esi, esi
mov eax, 1
mov dword [esp + esi + 0x14], eax
mov eax, eax
cmp dword [esp + 0x10], 0
je 0x100352d5
mov dword [esp + esi + 0x1c], eax
mov esi, esi
mov word [esp + esi + 0x18], bx
mov esi, esi
push 0
push ebx
call ebp
mov word [esp + esi + 0x1a], ax
push ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + esi + 0x20], eax
mov edx, edx
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov dword [esp + esi + 0x24], eax
mov edx, edx
cmp edi, 1
jne 0x1003530c
or dword [esp + 0x38], 2
mov dl, dl
add edi, 1
cmp edi, 2
jl 0x100352b0
mov eax, dword [esp + 0x58]
test eax, eax
mov edi, dword [esp + 0x50]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, 1
push 0x1c
jne 0x100353a2
lea edx, [esp + 0x20]
call fcn.10034980
add esp, 0xc
mov ch, ch
cmp dword [edi + 0x2608], 0
je 0x10035372
mov esi, dword [edi + 0x2638]
test esi, esi
jle 0x10035362
call fcn.100acb37
cdq
idiv esi
push eax
pop eax
mov dl, dl
mov ecx, esi
sar ecx, 1
sub edx, ecx
add edx, esi
jmp 0x10035367
mov edx, 1
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov bl, bl
jmp 0x10035381
mov edx, dword [edi + 0x2638]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ch, ch
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x1c
lea edx, [esp + 0x3c]
mov ecx, 1
call fcn.10034980
add esp, 0xc
mov bh, bh
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp eax, 1
jne 0x100353bd
lea edx, [esp + 0x20]
call fcn.10034980
add esp, 0xc
push eax
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
lea edx, [esp + 0x3c]
call fcn.10034980
add esp, 0xc
push edx
pop edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
Function at 0x10035d70
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
mov cl, cl
call fcn.1000d170
test eax, eax
jne 0x10035da2
mov dword [esi + 0x2658], 0xf
mov esi, esi
mov dword [esi + 0x2654], 1
mov ah, ah
jmp 0x10035dae
mov dword [esi + 0x2654], 0
mov edx, edx
cmp dword [0x10134f8c], 0x1000
je 0x10035dd5
mov dword [esi + 0x2658], 0x28
mov edx, edx
mov ebx, 1
mov dword [esi + 0x2654], ebx
xchg ebx, eax
xchg ebx, eax
jmp 0x10035de6
mov dword [esi + 0x2654], 0
mov eax, eax
mov ebx, 1
cmp dword [esi + 0x2654], 0
je 0x10035e0b
call fcn.1000c8d0
cdq
mov ecx, 0x64
idiv ecx
mov ah, ah
cmp dword [esi + 0x2658], edx
jl 0x10035e0b
pop esi
mov eax, ebx
pop ebx
ret
push ebp
push edi
mov edi, dword [esp + 0x18]
cmp edi, 0xa0
je 0x10035e21
cmp edi, 0xa1
jne 0x10035e2a
mov edi, 0x10
mov bl, bl
jmp 0x10035e5a
cmp edi, 0xa4
je 0x10035e3a
cmp edi, 0xa5
jne 0x10035e43
mov edi, 0x12
push ecx
pop ecx
jmp 0x10035e5a
cmp edi, 0xa2
je 0x10035e53
cmp edi, 0xa3
jne 0x10035e5a
mov edi, 0x11
push edx
pop edx
cmp dword [esi + 0x337c], 0
jne 0x10035e6d
add dword [esi + 0x3368], ebx
mov ah, ah
push ebx
pop ebx
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x10035e8b
push ebx
push edi
push esi
call fcn.10035270
add esp, 0xc
mov esi, esi
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
ret
cmp eax, ebx
jne 0x10035fca
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ebx, ebx
shl eax, 0x10
or eax, ebx
mov ebx, eax
mov edx, edx
mov ch, ch
push edi
call fcn.1002fdd0
add esp, 4
test eax, eax
je 0x10035ebe
or ebx, 0x1000000
mov edi, edi
xor ebp, ebp
mov bl, bl
cmp dword [esi + 0x18], ebp
je 0x10035ef0
cmp dword [esi + 0x32d0], ebp
jne 0x10035ef0
push 0x717be38b
push esi
call fcn.100323a0
add esp, 8
test eax, eax
jne 0x10035ef0
or ebx, 0x4000000
mov ah, ah
mov ebp, 0x4000000
push eax
pop eax
cmp edi, 0x12
jne 0x10035efe
mov dword [esi + 0x64], 1
mov bl, bl
cmp dword [esi + 0x64], 0
jne 0x10035f67
cmp edi, 0x79
je 0x10035f67
cmp dword [esi + 0x32b0], 0
je 0x10035f16
mov ebx, ebp
mov dh, dh
cmp dword [esi + 0x32ac], 0
je 0x10035f4a
mov edx, dword [esi + 0x32b4]
mov eax, dword [esp + 0x14]
push 0
push edx
push 1
push ebx
push edi
push 0x100
push eax
call fcn.10033a10
add esp, 0x1c
mov ebx, ebx
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
ret
mov ecx, dword [esp + 0x14]
push ebx
push edi
push 0x100
push ecx
call fcn.100338f0
push ecx
pop ecx
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
ret
or ebx, 0x20000000
mov ecx, ecx
cmp dword [esi + 0x32b0], 0
je 0x10035f7c
mov ebx, ebp
push ebx
pop ebx
cmp dword [esi + 0x32ac], 0
je 0x10035fad
mov edx, dword [esi + 0x32b4]
mov eax, dword [esp + 0x14]
push 0
push edx
push 1
push ebx
push edi
push 0x104
push eax
call fcn.10033900
mov bl, bl
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
ret
mov ecx, dword [esp + 0x14]
push ebx
push edi
push 0x104
push ecx
call fcn.100338f0
mov bl, bl
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
ret
cmp eax, 2
jne 0x10035fe6
cmp edi, 0x12
jne 0x10035fd9
mov dword [esi + 0x64], ebx
mov ebx, ebx
push ebx
push edi
push esi
call fcn.10065340
add esp, 0xc
mov ebx, ebx
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
ret
Function at 0x10035ff0
Capabilities:
Log keystrokes

Disassembly:
push ebp
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x10], eax
nop
mov esi, dword [esp + 0x14]
cmp esi, 0xa0
je 0x10036013
cmp esi, 0xa1
jne 0x1003601c
mov esi, 0x10
mov dh, dh
jmp 0x1003604c
cmp esi, 0xa4
je 0x1003602c
cmp esi, 0xa5
jne 0x10036035
mov esi, 0x12
mov dh, dh
jmp 0x1003604c
cmp esi, 0xa2
je 0x10036045
cmp esi, 0xa3
jne 0x1003604c
mov esi, 0x11
mov cl, cl
mov eax, dword [edi + 0x40]
xor ebp, ebp
cmp eax, ebp
jne 0x1003606a
push 2
push esi
push edi
call fcn.10035270
add esp, 0xc
mov ebp, ebp
pop edi
pop esi
lea eax, [ebp + 1]
pop ebp
ret
cmp eax, 1
jne 0x100361b3
push ebx
push ebp
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ch, ch
shl eax, 0x10
or eax, 1
mov ebx, eax
mov ch, ch
mov ah, ah
push esi
call fcn.1002fdd0
add esp, 4
test eax, eax
je 0x1003609f
or ebx, 0x1000000
mov bh, bh
mov eax, eax
cmp dword [edi + 0x18], ebp
je 0x100360cf
cmp dword [edi + 0x32d0], ebp
jne 0x100360cf
push 0x717be38b
push edi
call fcn.100323a0
add esp, 8
test eax, eax
jne 0x100360cf
or ebx, 0x4000000
push ebx
pop ebx
mov ebp, 0x4000000
mov edi, edi
cmp esi, 0x12
jne 0x100360dd
mov dword [edi + 0x64], 0
mov esi, esi
cmp dword [edi + 0x64], 0
jne 0x1003614e
cmp esi, 0x79
je 0x1003614e
or ebx, 0xc0000000
mov al, al
cmp dword [edi + 0x32b0], 0
je 0x100360fd
mov ebx, ebp
mov edx, edx
cmp dword [edi + 0x32ac], 0
je 0x10036131
mov ecx, dword [edi + 0x32b4]
mov edx, dword [esp + 0x14]
push 0
push ecx
push 1
push ebx
push esi
push 0x101
push edx
call fcn.10033a10
add esp, 0x1c
mov ebx, ebx
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
ret
mov eax, dword [esp + 0x14]
push ebx
push esi
push 0x101
push eax
call fcn.100338f0
mov ebp, ebp
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
ret
mov edx, edx
or ebx, 0xe0000000
push edx
pop edx
cmp dword [edi + 0x32b0], 0
je 0x10036165
mov ebx, ebp
mov ah, ah
cmp dword [edi + 0x32ac], 0
je 0x10036196
mov ecx, dword [edi + 0x32b4]
mov edx, dword [esp + 0x14]
push 0
push ecx
push 1
push ebx
push esi
push 0x105
push edx
call fcn.10033900
mov al, al
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
ret
mov eax, dword [esp + 0x14]
push ebx
push esi
push 0x105
push eax
call fcn.100338f0
mov cl, cl
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
ret
cmp eax, 2
jne 0x10036128
cmp esi, 0x12
jne 0x100361c6
mov dword [edi + 0x64], ebp
mov ebp, ebp
push 2
push esi
push edi
call fcn.10065340
add esp, 0xc
mov ebx, ebx
pop edi
pop esi
mov eax, 1
pop ebp
ret

Function at 0x100361e0
Capabilities:
Log keystrokes

Disassembly:
mov ecx, dword [esp + 8]
call fcn.10030de0
mov bl, bl
test eax, eax
jle 0x100361f8
mov dword [esp + 8], eax
jmp fcn.10035880
xor eax, eax
ret

Function at 0x10036200
Capabilities:
Log keystrokes

Disassembly:
mov ecx, dword [esp + 8]
call fcn.10030de0
xchg ebx, eax
xchg ebx, eax
test eax, eax
jle 0x10036218
mov dword [esp + 8], eax
jmp fcn.10035d70
xor eax, eax
ret

Function at 0x10036220
Capabilities:
Log keystrokes

Disassembly:
mov ecx, dword [esp + 8]
call fcn.10030de0
xchg ebx, eax
xchg ebx, eax
test eax, eax
jle 0x10036238
mov dword [esp + 8], eax
jmp fcn.10035ff0
xor eax, eax
ret
Function at 0x10036ed0
Capabilities:
Get keyboard layout

Disassembly:
push 0xffffffffffffffff
push 0x100ea1cb
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x10132f1c]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
push esi
push edi
mov eax, dword [0x10132f1c]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x230]
push 0
push eax
call fcn.100338d0
mov ah, ah
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebp, eax
push ecx
pop ecx
lea ecx, [esp + 0x10]
call fcn.10087a00
mov dword [esp + 0x224], 0
mov ebp, ebp
lea ecx, [esp + 0x10]
call fcn.10086a00
mov esi, eax
xchg ebx, eax
xchg ebx, eax
test esi, esi
mov edi, dword [esp + 0x234]
je 0x10036f9f
mov ecx, edi
lea eax, [esi + 0xf]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10036f80
test dl, dl
je 0x10036f7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10036f80
add eax, 2
add ecx, 2
test dl, dl
jne 0x10036f60
xor eax, eax
jmp 0x10036f85
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10036f97
mov esi, dword [esi + 0x90]
xchg ebx, eax
xchg ebx, eax
test esi, esi
jne 0x10036f54
jmp 0x10036f9f
test esi, esi
jne 0x1003702b
lea ecx, [esp + 0x10]
call fcn.10086a10
mov esi, eax
mov dl, dl
test esi, esi
je 0x10036fea
mov ecx, edi
lea eax, [esi + 0xf]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10036fd5
test dl, dl
je 0x10036fd1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10036fd5
add eax, 2
add ecx, 2
test dl, dl
jne 0x10036fb5
xor eax, eax
jmp 0x10036fda
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10037027
mov esi, dword [esi + 0x90]
mov eax, eax
test esi, esi
jne 0x10036fb0
mov dword [esp + 0x224], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.10086a20
xor eax, eax
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.100aa646
add esp, 0x218
ret
test esi, esi
je 0x10036fea
push 0xff
lea eax, [esp + 0x11d]
push 0
push eax
mov byte [esp + 0x124], 0
call fcn.100aacb0
add esp, 0xc
nop
push 0xff
lea ecx, [esp + 0x1d]
push 0
push ecx
mov byte [esp + 0x24], 0
call fcn.100aacb0
add esp, 0xc
push ecx
pop ecx
lea edx, [esp + 0x18]
mov eax, esi
sub edx, esi
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10037070
mov esi, esi
lea edx, [esp + 0x18]
push edx
call fcn.100e45f3
add esp, 4
mov edi, edi
push 0x10
lea eax, [esp + 0x11c]
push eax
push ebp
call fcn.100e4695
add esp, 0xc
mov ah, ah
mov ebp, ebp
lea ecx, [esp + 0x18]
lea eax, [esp + 0x118]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100370d0
test dl, dl
je 0x100370cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100370d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100370b0
xor eax, eax
jmp 0x100370d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10036fea
mov dword [esp + 0x224], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.10086a20
mov eax, 1
jmp 0x10037000