Function at 0x46fa00
Capabilities:
Create process on windows
Create thread
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ae18
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5d7008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
push str._keysym_0x_x
push 8
push 0x5d7d48
call fcn.0041c960
mov esi, dword [ebp + 8]
add esp, 0x10
lea eax, [esi - 0xfe50]
cmp eax, 0x10
ja 0x46fa72
push str.__DEAD_KEY
push 8
push 0x5d7d48
mov dword [0x5da2ac], esi
call fcn.0041c960
add esp, 0xc
jmp 0x4707b9
cmp esi, 0x20
jb 0x46fa7c
cmp esi, 0x7e
jbe 0x46fa8b
lea eax, [esi - 0xa0]
cmp eax, 0x5f
ja 0x4704f0
mov eax, dword [0x5da2ac]
test eax, eax
je 0x46fd80
cmp byte [ebp + 0xc], 0
je 0x46fd80
push esi
push eax
push str._Compose_dead_0x_x_0x_x
push 8
push 0x5d7d48
call fcn.0041c960
mov eax, dword [0x5da2ac]
add esp, 0x14
add eax, 0xffff01b0
cmp eax, 0xb
ja case.0x46facb.65108
jmp dword [eax*4 + 0x4707d8]
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x34
ja case.0x46fae4.66
movzx eax, byte [eax + 0x470834]
jmp dword [eax*4 + 0x470808]
mov ecx, 0xc0
mov dword [ebp + 8], ecx
jmp case.0x46fae4.66
mov ecx, 0xc8
mov dword [ebp + 8], ecx
jmp case.0x46fae4.66
mov ecx, 0xcc
mov dword [ebp + 8], ecx
jmp case.0x46fae4.66
mov ecx, 0xd2
mov dword [ebp + 8], ecx
jmp case.0x46fae4.66
mov ecx, 0xd9
mov dword [ebp + 8], ecx
jmp case.0x46fae4.66
mov ecx, 0xe0
mov dword [ebp + 8], ecx
jmp case.0x46fae4.66
mov ecx, 0xe8
mov dword [ebp + 8], ecx
jmp case.0x46fae4.66
mov ecx, 0xec
mov dword [ebp + 8], ecx
jmp case.0x46fae4.66
mov ecx, 0xf2
mov dword [ebp + 8], ecx
jmp case.0x46fae4.66
mov ecx, 0xf9
mov dword [ebp + 8], ecx
jmp case.0x46fae4.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x38
ja case.0x46fb65.66
movzx eax, byte [eax + 0x4708a0]
jmp dword [eax*4 + 0x47086c]
mov ecx, 0xc1
mov dword [ebp + 8], ecx
jmp case.0x46fb65.66
mov ecx, 0xc9
mov dword [ebp + 8], ecx
jmp case.0x46fb65.66
mov ecx, 0xcd
mov dword [ebp + 8], ecx
jmp case.0x46fb65.66
mov ecx, 0xd3
mov dword [ebp + 8], ecx
jmp case.0x46fb65.66
mov ecx, 0xda
mov dword [ebp + 8], ecx
jmp case.0x46fb65.66
mov ecx, 0xe1
mov dword [ebp + 8], ecx
jmp case.0x46fb65.66
mov ecx, 0xe9
mov dword [ebp + 8], ecx
jmp case.0x46fb65.66
mov ecx, 0xed
mov dword [ebp + 8], ecx
jmp case.0x46fb65.66
mov ecx, 0xf3
mov dword [ebp + 8], ecx
jmp case.0x46fb65.66
mov ecx, 0xfa
mov dword [ebp + 8], ecx
jmp case.0x46fb65.66
mov ecx, 0xfd
mov dword [ebp + 8], ecx
jmp case.0x46fb65.66
mov ecx, 0xdd
mov dword [ebp + 8], ecx
jmp case.0x46fb65.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x34
ja case.0x46fbf6.66
movzx eax, byte [eax + 0x470908]
jmp dword [eax*4 + 0x4708dc]
mov ecx, 0xc2
mov dword [ebp + 8], ecx
jmp case.0x46fbf6.66
mov ecx, 0xca
mov dword [ebp + 8], ecx
jmp case.0x46fbf6.66
mov ecx, 0xce
mov dword [ebp + 8], ecx
jmp case.0x46fbf6.66
mov ecx, 0xd4
mov dword [ebp + 8], ecx
jmp case.0x46fbf6.66
mov ecx, 0xdb
mov dword [ebp + 8], ecx
jmp case.0x46fbf6.66
mov ecx, 0xe2
mov dword [ebp + 8], ecx
jmp case.0x46fbf6.66
mov ecx, 0xea
mov dword [ebp + 8], ecx
jmp case.0x46fbf6.66
mov ecx, 0xee
mov dword [ebp + 8], ecx
jmp case.0x46fbf6.66
mov ecx, 0xf4
mov dword [ebp + 8], ecx
jmp case.0x46fbf6.66
mov ecx, 0xfb
mov dword [ebp + 8], ecx
jmp case.0x46fbf6.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x2e
ja case.0x46fc73.66
movzx eax, byte [eax + 0x470958]
jmp dword [eax*4 + 0x470940]
mov ecx, 0xd1
mov dword [ebp + 8], ecx
jmp case.0x46fc73.66
mov ecx, 0xd5
mov dword [ebp + 8], ecx
jmp case.0x46fc73.66
mov ecx, 0xe3
mov dword [ebp + 8], ecx
jmp case.0x46fc73.66
mov ecx, 0xf1
mov dword [ebp + 8], ecx
jmp case.0x46fc73.66
mov ecx, 0xf5
mov dword [ebp + 8], ecx
jmp case.0x46fc73.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x38
ja case.0x46fcc2.66
movzx eax, byte [eax + 0x4709b8]
jmp dword [eax*4 + 0x470988]
mov ecx, 0xc4
mov dword [ebp + 8], ecx
jmp 0x46fd5e
mov ecx, 0xcb
mov dword [ebp + 8], ecx
jmp 0x46fd5e
mov ecx, 0xcf
mov dword [ebp + 8], ecx
jmp 0x46fd5e
mov ecx, 0xd6
mov dword [ebp + 8], ecx
jmp 0x46fd5e
mov ecx, 0xdc
mov dword [ebp + 8], ecx
jmp 0x46fd5e
mov ecx, 0xe4
mov dword [ebp + 8], ecx
jmp 0x46fd5e
mov ecx, 0xeb
mov dword [ebp + 8], ecx
jmp 0x46fd5e
mov ecx, 0xef
mov dword [ebp + 8], ecx
jmp 0x46fd5e
mov ecx, 0xf6
mov dword [ebp + 8], ecx
jmp 0x46fd5e
mov ecx, 0xfc
mov dword [ebp + 8], ecx
jmp 0x46fd5e
mov ecx, 0xff
mov dword [ebp + 8], ecx
jmp 0x46fd5e
mov ecx, dword [ebp + 8]
cmp ecx, 0x43
je 0x46fd51
cmp ecx, 0x63
jne 0x46fd5e
mov ecx, 0xe7
mov dword [ebp + 8], ecx
jmp 0x46fd5e
mov ecx, 0xc7
mov dword [ebp + 8], ecx
jmp 0x46fd5e
mov ecx, dword [ebp + 8]
push ecx
push str._Composed_0x_x
push 8
push 0x5d7d48
mov dword [0x5da2ac], 0
call fcn.0041c960
mov esi, dword [ebp + 8]
add esp, 0x10
push esi
call dword [sym.imp.USER32.dll_VkKeyScanA]
cmp byte [ebp + 0x10], 0
movzx ebx, ax
je 0x46fec9
mov eax, dword [ebp + 8]
cmp eax, 0x4a6
jne 0x46fea9
mov ebx, 0x130
push ebx
push str._SHORT_s__i
push 8
push 0x5d7d48
call fcn.0041c960
mov eax, ebx
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
mov esi, eax
mov dword [ebp - 0x7c], 0x11
mov eax, dword [ebp - 0x38]
and esi, 1
shr eax, 8
mov cl, al
mov dword [ebp - 0x70], esi
xor cl, 1
test esi, esi
movzx edx, cl
movzx ecx, al
cmove edx, ecx
xor ecx, ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x78], ecx
mov word [ebp - 0x74], cx
mov dword [ebp - 4], 6
mov dword [ebp - 0x88], 0x12
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x84], ecx
mov word [ebp - 0x80], cx
xor edi, edi
mov dword [ebp - 0x48], 0x10
mov dword [ebp - 0x44], edi
mov word [ebp - 0x40], di
xor eax, eax
mov dword [ebp - 0x60], 0xa0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], eax
mov word [ebp - 0x58], ax
mov dword [ebp - 0x6c], 0xa1
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x68], eax
mov word [ebp - 0x64], ax
mov al, byte [ebp + 0xc]
mov byte [ebp - 4], 0xa
test al, al
je 0x470291
test dl, 2
je 0x46fe74
lea ecx, [ebp - 0x7c]
call fcn.0046f6b0
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
test dl, 4
je 0x46fe90
lea ecx, [ebp - 0x88]
call fcn.0046f6b0
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
test dl, 1
je 0x470257
lea ecx, [ebp - 0x48]
call fcn.0046f6b0
mov edi, dword [ebp - 0x44]
jmp 0x47028e
cmp eax, 0x5c
jne 0x46feb9
mov ebx, 0xe2
push ebx
jmp 0x46fda8
cmp eax, 0xa5
jne 0x46fec9
lea ebx, [eax + 0x37]
push ebx
jmp 0x46fda8
movsx eax, bx
push eax
push str._SHORT_s__i
push 8
push 0x5d7d48
mov dword [ebp - 0x38], eax
call fcn.0041c960
add esp, 0x10
cmp bx, 0xffff
jne 0x46fdc1
cmp byte [ebp + 0xc], 0
je 0x4707b9
push str.down
push 8
push 0x5d7d48
call fcn.0041c960
push str._Found_key
push 8
push 0x5d7d48
call fcn.0041c960
mov ecx, dword [ebp + 8]
add esp, 0x18
cmp ecx, 0xff
jg 0x47023d
mov eax, 0x51eb851f
mov dword [ebp - 0x6c], 0x10
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x3c], eax
imul eax, eax, 0x64
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, ebx
mov dword [ebp - 0x38], ebx
neg eax
shl eax, 2
sub eax, ebx
lea ebx, [ecx + eax*2]
xor eax, eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x68], eax
mov word [ebp - 0x64], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], 0xa0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], eax
mov word [ebp - 0x58], ax
mov dword [ebp - 0x48], 0xa1
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], eax
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
cmp dword [0x5e65e8], 1
jne 0x46ffbd
lea ecx, [ebp - 0x6c]
call fcn.0046f700
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
jmp 0x46ffd9
lea ecx, [ebp - 0x60]
call fcn.0046f700
lea ecx, [ebp - 0x48]
call fcn.0046f700
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
movzx ebx, bl
push ebx
movzx edi, al
mov eax, dword [ebp - 0x3c]
push edi
movzx esi, al
push esi
push str._Simulating_ALT_d_d_d_n
push 8
push 0x5d7d48
call fcn.0041c960
add esp, 0x14
push 0
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, 0x12
call fcn.0042e9f0
add esp, 4
push 0
push 0
push 0x60
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, 0x60
call fcn.0042e9f0
add esp, 4
push 2
push 0
push 0x60
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, 0x60
call fcn.0042e9f0
add byte [ebp - 0x3c], 0x60
add esp, 4
add esi, 0x60
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ecx, dword [ebp - 0x3c]
mov dl, al
call fcn.0042e9f0
add esp, 4
push 2
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, byte [ebp - 0x3c]
mov dl, al
call fcn.0042e9f0
add byte [ebp - 0x38], 0x60
lea esi, [edi + 0x60]
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
add esp, 4
push 0
push 0
push esi
call edi
mov ecx, dword [ebp - 0x38]
mov dl, al
call fcn.0042e9f0
add esp, 4
push 2
push 0
push esi
call edi
mov cl, byte [ebp - 0x38]
mov dl, al
call fcn.0042e9f0
add esp, 4
lea esi, [ebx + 0x60]
mov ebx, dword [ebp - 0x70]
add bl, 0x60
push 0
push 0
push esi
call edi
mov dl, al
mov cl, bl
call fcn.0042e9f0
add esp, 4
push 2
push 0
push esi
call edi
mov dl, al
mov cl, bl
call fcn.0042e9f0
add esp, 4
push 2
push 0
push 0x12
call edi
mov dl, al
mov cl, 0x12
call fcn.0042e9f0
add esp, 8
mov byte [ebp - 4], 3
cmp byte [ebp - 0x40], 0
je 0x470125
mov eax, dword [ebp - 0x4c]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x48]
push 0
push eax
call edi
mov cl, byte [ebp - 0x48]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x48]
push str.fake__d_up_n
jmp 0x47014a
cmp byte [ebp - 0x3f], 0
je 0x470159
movzx eax, byte [ebp - 0x48]
push ecx
push dword [ebp - 0x4c]
push 0
push eax
call edi
mov cl, byte [ebp - 0x48]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x48]
push str.fake__d_down_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x18
mov byte [ebp - 4], 4
cmp byte [ebp - 0x58], 0
je 0x470188
mov eax, dword [ebp - 0x50]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x60]
push 0
push eax
call edi
mov cl, byte [ebp - 0x60]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x60]
push str.fake__d_up_n
jmp 0x4701ad
cmp byte [ebp - 0x57], 0
je 0x4701bc
movzx eax, byte [ebp - 0x60]
push ecx
push dword [ebp - 0x50]
push 0
push eax
call edi
mov cl, byte [ebp - 0x60]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x60]
push str.fake__d_down_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x18
mov dword [ebp - 4], 5
cmp byte [ebp - 0x64], 0
je 0x470200
mov eax, dword [ebp - 0x54]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x6c]
push 0
push eax
call edi
mov cl, byte [ebp - 0x6c]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x6c]
push str.fake__d_up_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x18
jmp 0x4707b9
cmp byte [ebp - 0x63], 0
je 0x4707b9
movzx eax, byte [ebp - 0x6c]
push ecx
push dword [ebp - 0x54]
push 0
push eax
call edi
mov cl, byte [ebp - 0x6c]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x6c]
push str.fake__d_down_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x18
jmp 0x4707b9
push ecx
push str.ignoring_unrecognised_Latin_1_keysym_0x_x
push 8
push 0x5d7d48
call fcn.0041c960
add esp, 0x10
jmp 0x4707b9
cmp bl, 0x20
je 0x47028e
cmp dword [0x5e65e8], 1
jne 0x470272
lea ecx, [ebp - 0x48]
call fcn.0046f700
mov edi, dword [ebp - 0x44]
jmp 0x47028e
lea ecx, [ebp - 0x60]
call fcn.0046f700
lea ecx, [ebp - 0x6c]
call fcn.0046f700
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
mov al, byte [ebp + 0xc]
push dword [ebp - 0x70]
movzx eax, al
push eax
mov eax, dword [ebp + 8]
movzx esi, bl
push esi
push eax
push eax
push str.latin_1_key:_keysym__d_0x_x__vkCode_0x_x_down__d_capslockOn__d_n
push 9
push 0x5d7d48
call fcn.0041c960
movzx eax, byte [ebp + 0xc]
add esp, 0x1c
xor eax, 1
add eax, eax
push eax
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
call esi
mov dl, al
mov cl, bl
call fcn.0042e9f0
add esp, 8
mov byte [ebp - 4], 0xb
cmp byte [ebp - 0x64], 0
je 0x470305
mov eax, dword [ebp - 0x54]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x6c]
push 0
push eax
call esi
mov cl, byte [ebp - 0x6c]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x6c]
push str.fake__d_up_n
jmp 0x47032a
cmp byte [ebp - 0x63], 0
je 0x470339
movzx eax, byte [ebp - 0x6c]
push ecx
push dword [ebp - 0x54]
push 0
push eax
call esi
mov cl, byte [ebp - 0x6c]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x6c]
push str.fake__d_down_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x18
mov byte [ebp - 4], 0xc
cmp byte [ebp - 0x58], 0
je 0x470368
mov eax, dword [ebp - 0x50]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x60]
push 0
push eax
call esi
mov cl, byte [ebp - 0x60]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x60]
push str.fake__d_up_n
jmp 0x47038d
cmp byte [ebp - 0x57], 0
je 0x47039c
movzx eax, byte [ebp - 0x60]
push ecx
push dword [ebp - 0x50]
push 0
push eax
call esi
mov cl, byte [ebp - 0x60]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x60]
push str.fake__d_down_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x18
mov byte [ebp - 4], 0xd
cmp byte [ebp - 0x40], 0
je 0x4703c8
movzx eax, byte [ebp - 0x48]
or edi, 2
push ecx
push edi
push 0
push eax
call esi
mov cl, byte [ebp - 0x48]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x48]
push str.fake__d_up_n
jmp 0x4703eb
cmp byte [ebp - 0x3f], 0
je 0x4703fa
movzx eax, byte [ebp - 0x48]
push ecx
push edi
push 0
push eax
call esi
mov cl, byte [ebp - 0x48]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x48]
push str.fake__d_down_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x18
mov byte [ebp - 4], 0xe
cmp byte [ebp - 0x80], 0
je 0x470432
mov eax, dword [ebp - 0x4c]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x88]
push 0
push eax
call esi
mov cl, byte [ebp - 0x88]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x88]
push str.fake__d_up_n
jmp 0x470460
cmp byte [ebp - 0x7f], 0
je 0x47046f
movzx eax, byte [ebp - 0x88]
push ecx
push dword [ebp - 0x4c]
push 0
push eax
call esi
mov cl, byte [ebp - 0x88]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x88]
push str.fake__d_down_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x18
mov dword [ebp - 4], 0xf
cmp byte [ebp - 0x74], 0
je 0x4704b3
mov eax, dword [ebp - 0x38]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x7c]
push 0
push eax
call esi
mov cl, byte [ebp - 0x7c]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x7c]
push str.fake__d_up_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x18
jmp 0x4707b9
cmp byte [ebp - 0x73], 0
je 0x4707b9
movzx eax, byte [ebp - 0x7c]
push ecx
push dword [ebp - 0x38]
push 0
push eax
call esi
mov cl, byte [ebp - 0x7c]
mov dl, al
call fcn.0042e9f0
push dword [ebp - 0x7c]
push str.fake__d_down_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x18
jmp 0x4707b9
lea eax, [ebp + 8]
mov ecx, 0x5e8d08
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00471140
mov eax, dword [ebp - 0x74]
mov ecx, dword [0x5e8d08]
cmp byte [eax + 0xd], 0
jne 0x470516
cmp esi, dword [eax + 0x10]
jae 0x470518
mov eax, ecx
cmp eax, ecx
jne 0x4705d2
cmp byte [ebp + 0x14], 0
je 0x4707b9
cmp esi, 0xffe5
je 0x4707b9
push esi
lea eax, [ebp - 0x30]
push 0x5bcc88
push eax
call fcn.00470c80
lea eax, [ebp - 0x30]
push eax
push str.trying_unicode_input_key___s__n
push 9
push 0x5d7d48
call fcn.0041c960
xor eax, eax
mov dword [ebp - 0xa4], 1
add esp, 0x1c
mov word [ebp - 0xa0], ax
lea eax, [ebp - 0x30]
push eax
call fcn.00547d9c
add esp, 4
mov word [ebp - 0x9e], ax
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
push 0x1c
push eax
push 1
je 0x4705bd
mov dword [ebp - 0x9c], 4
call dword [sym.imp.USER32.dll_SendInput]
jmp 0x4707b9
mov dword [ebp - 0x9c], 6
call dword [sym.imp.USER32.dll_SendInput]
jmp 0x4707b9
lea eax, [ebp + 8]
mov ecx, 0x5e8d08
push eax
call fcn.00470bc0
mov ecx, 0x5e8d10
mov bl, byte [eax]
lea eax, [ebp + 8]
push eax
mov byte [ebp - 0x31], bl
call fcn.00470ae0
xor ebx, ebx
cmp byte [eax], bl
mov al, byte [ebp - 0x31]
setne bl
cmp byte [ebp + 0xc], 0
jne 0x47060d
or ebx, 2
mov esi, ebx
jmp 0x470773
mov esi, ebx
cmp al, 0x2e
jne 0x470773
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
je 0x470770
push 0x12
call edi
mov ecx, 0x8000
test cx, ax
je 0x470770
cmp dword [0x5e65e8], 2
jne 0x470770
push str.CAD_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
cmp dword [0x5e65e0], 6
jb 0x4706b5
cmp dword [0x5e65ec], 0
je 0x4706ab
push str.Vista_and_runnning_as_system____CAD_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push 0x41d440
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4707b9
push str.Vista_and_runnning_as_user____Taskmgr_n
jmp 0x470752
cmp dword [0x5e65ec], 0
je 0x47074d
push str.Not_Vista_and_runnning_as_system__use_old_method_n
push 9
push 0x5d7d48
call fcn.0041c960
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncservice.cpp_:_preparing_to_generate_ctrl_alt_del_n
push 0xa
push 0x5d7d48
call fcn.0041c960
add esp, 0x18
cmp dword [0x5e65e8], 2
jne 0x4707b9
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncservice.cpp_:_spawn_ctrl_alt_del_thread..._n
push 0xa
push 0x5d7d48
call fcn.0041c960
push 0x60
call fcn.0053d643
mov esi, eax
add esp, 0x10
lea ecx, [esi + 4]
mov dword [esi], vtable.omni_thread.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
sub esp, 8
mov ecx, esi
call fcn.0053d050
mov ecx, esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0x486e60
call fcn.0053d1c0
push 0
mov ecx, esi
call fcn.0053d2e0
jmp 0x4707b9
push str.Not_Vista_and_runnning_as_user____Taskmgr_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
push 1
push str.taskmgr.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x4707b9
mov al, byte [ebp - 0x31]
cmp dword [0x5e65e8], 1
jne 0x47079c
movzx eax, al
sub eax, 0xa1
je 0x470798
sub eax, 2
je 0x470794
sub eax, 2
jne 0x47079c
mov bl, 0x12
jmp 0x47079f
mov bl, 0x11
jmp 0x47079f
mov bl, 0x10
jmp 0x47079f
mov bl, byte [ebp - 0x31]
push ecx
push esi
push 0
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, bl
call fcn.0042e9f0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d630
mov esp, ebp
pop ebp
ret 0x10