Function at 0x1000b95e
Capabilities:
Connect pipe
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x10056373
call fcn.10055910
sub esp, 0xf4
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x30], ecx
je 0x1000bccc
xor ebx, ebx
mov dword [ebp - 0x84], 7
xor eax, eax
mov dword [ebp - 0x88], ebx
mov word [ebp - 0x98], ax
push ecx
push 1
push ecx
lea eax, [ebp - 0x98]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp + 0xc]
call fcn.1000b4e2
mov ecx, dword [0x10074370]
xor eax, eax
inc eax
add esp, 0x10
test al, cl
jne 0x1000b9e4
or ecx, eax
mov dword [0x10074370], ecx
push 0xe1e
mov byte [ebp - 4], al
call fcn.1002f891
pop ecx
mov byte [ebp - 4], bl
mov ecx, dword [0x10074370]
mov word [0x10072fcc], ax
test cl, 2
jne 0x1000ba0a
or ecx, 2
mov dword [0x10074370], ecx
push 0x2505
mov byte [ebp - 4], 2
call fcn.1002f891
pop ecx
mov word [0x10072fc8], ax
mov byte [ebp - 4], bl
xor edx, edx
mov dword [ebp - 0x14], ebx
inc edx
lea ecx, [ebp - 0x60]
push edx
call fcn.100018bd
xor edx, edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], ebx
inc edx
jmp 0x1000ba35
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x60]
mov dword [eax + ecx*4], 0x3cdf98a5
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1000ba25
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], 0x16
jne 0x1000bb86
push 0xfffffffffffffffc
pop edi
push dword [ebp - 0x30]
movdqa xmm0, xmmword [0x10064b70]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x54], ebx
push eax
push ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], ebx
movdqu xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0x4c], ebx
call fcn.100019a6
mov byte [ebp - 4], 4
xor ecx, ecx
mov esi, dword [ebp - 0x54]
inc ecx
mov dword [ebp - 0x18], ecx
mov dword [esi + 8], ebx
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x30], 0x7a23a340
mov dword [ebp - 0x10], ebx
jmp 0x1000bac5
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xb0], 4
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x1000bab4
mov ecx, dword [ebp - 0xa4]
xor edx, edx
mov eax, dword [ebp - 0x18]
cmp ecx, eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x60]
setle dl
mov dword [eax + ecx*4], edx
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
sub eax, dword [esi + 8]
inc ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x18], ebx
jmp 0x1000bb3b
mov eax, 0xb03c
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x60]
cmp dword [eax], ebx
jne 0x1000bb41
mov dword [ebp - 0x10], ebx
jmp 0x1000bb33
mov dword [ebp - 0x1c], 8
dec dword [ebp - 0x80]
dec dword [ebp - 0x1c]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ecx
jle 0x1000bb23
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xb
jne 0x1000bb06
dec dword [esi + 8]
jns 0x1000ba8d
mov byte [ebp - 0x25], bl
cmp byte [ebp - 0x25], 0
je 0x1000bb6d
push 0x23e9
push ecx
push 0x6adb
push 0x4102
mov dl, cl
call fcn.1000b524
add esp, 0x10
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.10001940
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x16
je 0x1000ba4a
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.10001940
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1000bbd0
call fcn.1000afe3
push 0x24
pop ecx
xor edx, edx
div ecx
lea eax, [ebp - 0x98]
mov ecx, 0x19e4
push eax
push 1
push 0x10072fc8
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], edx
push 0x10072fcc
push eax
call fcn.1000b573
add esp, 0x14
dec esi
jne 0x1000bb98
xor ebx, ebx
mov dword [ebp - 0x18], 0xdb3ae355
mov dword [ebp - 0x48], 0x513244d5
mov dword [ebp - 0x14], ebx
jmp 0x1000bbf4
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xd0], 8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1000bbe3
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], 0xfffffff6
je 0x1000bca3
xor eax, eax
inc eax
lea ecx, [ebp - 0x26]
mov dword [ebp - 0x14], 0x83111738
push ecx
push eax
push ecx
push ecx
mov byte [ebp - 0x26], bl
mov ecx, 0x67fe
call fcn.1000c6f1
xor eax, eax
mov dword [ebp - 0x14], ebx
add esp, 0x10
inc eax
jmp 0x1000bc91
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x10], ebx
jmp 0x1000bc62
push eax
lea eax, [ebp - 0x48]
push eax
push ecx
call fcn.1000b75e
lea eax, [ebp - 0x27]
mov byte [ebp - 0x27], bl
push 0x1b09
push eax
mov edx, 0x5e6
call fcn.1000cadf
add esp, 0x14
xor eax, eax
inc dword [ebp - 0x10]
inc eax
cmp dword [ebp - 0x10], eax
jle 0x1000bc38
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], ebx
jl 0x1000bc8e
sub esp, 0xc
mov edx, 0x3d9a
mov cl, al
push 0x50f3
call fcn.1000c8d8
add esp, 0x10
dec dword [ebp - 0x10]
push 1
pop eax
jns 0x1000bc6f
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jle 0x1000bc30
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xfffffff6
jne 0x1000bc0a
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x98]
cmp ecx, eax
je 0x1000bcb9
push 0xffffffffffffffff
push ebx
push eax
call fcn.1000426d
push ebx
push 1
lea ecx, [ebp - 0x98]
call fcn.10004734
jmp 0x1000c12d
push 0
pop ebx
mov dword [ebp - 0x14], 0x3080
cmp dword [ebp - 0x14], 0x322a
push 1
pop eax
jle 0x1000bd41
mov esi, ebx
mov edi, ebx
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [edi + esi]
xor eax, ecx
lea ecx, [ebp - 0xe8]
cdq
push edx
push eax
call fcn.10002462
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000bd08
mov eax, dword [eax]
push eax
call fcn.1003eb1f
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xe8]
call fcn.10004229
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x5457
jl 0x1000bceb
inc edi
cmp edi, 0x4640
jl 0x1000bce6
inc esi
cmp esi, 0x3203
jl 0x1000bce4
xor eax, eax
inc eax
mov ecx, dword [0x10074370]
mov edi, 0x270
test cl, 4
jne 0x1000bd8f
or ecx, 4
mov edx, eax
or dword [0x10074364], 0xffffffff
mov dword [0x10074370], ecx
mov ecx, 0x1571
mov dword [0x10072fe4], ecx
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x10072fe4], ecx
inc edx
cmp edx, edi
jl 0x1000bd6e
mov dword [0x10072fe0], edi
cmp dword [ebp - 0x14], 0x2dca
jge 0x1000bda3
push str.zhcji_fgbchvc_xvu_xtxfjhzln_rtcagkhn_cgjpms_eepdku_xnqnxts_nza_ktwiyp
call fcn.1003eb1f
pop ecx
or dword [ebp - 4], 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x1c], 0xb905d09e
inc ecx
mov dword [ebp - 0x24], ecx
push 9
pop esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x24], 0x615e82aa
mov dword [ebp - 0x20], 0x661fbc9f
mov dword [ebp - 0x64], 0x7c2076ac
mov dword [ebp - 0x18], 0x7c28cae2
mov dword [ebp - 0x44], 0x3d62
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x14], 0xee3b00b
mov dword [ebp - 0x14], 0xcc414254
mov dword [ebp - 0x10], ebx
jmp 0x1000be05
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x70], 0xd700698
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x1000bdf7
mov dword [ebp - 0x10], ebx
jmp 0x1000be1e
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x2c], 0x139a53aa
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ecx
jl 0x1000be10
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setle dl
sub eax, esi
inc dword [ebp - 0x14]
cmp eax, edx
jl 0x1000be44
xor eax, eax
inc eax
jmp 0x1000be46
mov eax, ebx
mov dword [ebp - 0x14], eax
xor edx, edx
mov eax, dword [ebp - 0x18]
cmp eax, 0x71bc7dcd
mov eax, dword [ebp - 0x6c]
setle dl
xor ecx, ecx
neg edx
cmp edx, eax
setg cl
xor eax, eax
inc eax
cmp eax, ecx
mov eax, dword [ebp - 0x18]
sbb ecx, ecx
neg ecx
imul eax, ecx
test eax, eax
jne 0x1000be78
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
mov edx, 0xe9a
mov eax, dword [ebp - 0x24]
xor cl, cl
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x2c]
push 0x7e13
call fcn.1000c925
cmp byte [0x10072f74], 0
pop ecx
jne 0x1000bfb1
push 0xcc1
push ebx
push ecx
push ecx
mov ecx, 0x10072fe0
call fcn.1000c6f1
mov dword [ebp - 0x1c], 0xedf6
add esp, 0x10
mov dword [ebp - 0x20], 0xfffffffc
mov dword [ebp - 0x20], 0x4a7d2ae8
mov dword [ebp - 0x24], 0x7b8b0d58
mov dword [ebp - 0x14], 0x796a450c
mov dword [ebp - 0x10], ebx
jmp 0x1000bef0
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x40], ebx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x1000bee6
mov dword [ebp - 0x10], ebx
jmp 0x1000bf0c
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xb8], 0x68c0aa39
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x1000befb
mov eax, dword [ebp - 0x34]
xor edx, edx
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
cmp eax, 0x51ef9953
mov eax, dword [ebp - 0x1c]
setle dl
neg eax
xor ecx, ecx
cmp eax, edx
setl cl
add ecx, 0xab56
imul ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x34], ebx
je 0x1000bf5c
cmp dword [ebp - 0x1c], ebx
je 0x1000bf5c
xor edx, edx
inc edx
jmp 0x1000bf5e
mov edx, ebx
mov esi, dword [ebp - 0x34]
xor ecx, ecx
mov dword [ebp - 0xb8], esi
mov eax, dword [ebp - 0x34]
cmp edx, eax
mov eax, dword [ebp - 0x34]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x34]
push 0x557
sete dl
xor ecx, ecx
cmp edx, eax
mov edx, 0x655c
push 0x10072f74
setg cl
imul ecx, esi
push 0x3ba0
push 0x6215
push ebx
mov dword [ebp - 0x24], ecx
dec dword [ebp - 0x14]
push ecx
call fcn.1000b5ea
add esp, 0x18
mov dword [ebp - 0x14], 0x1b7c
cmp dword [ebp - 0x14], 0x1d92
jle 0x1000c065
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov esi, ebx
mov dword [ebp - 0x1c], ebx
mov edi, ebx
mov dword [ebp - 0x20], ebx
mov eax, esi
mov ecx, ebx
cdq
idiv edi
mov dword [ebp - 0x2c], ecx
mov edi, edx
mov dword [ebp - 0x24], edi
mov eax, edi
mov esi, ebx
cdq
idiv ecx
mov edi, edx
mov eax, edi
lea ecx, [ebp - 0x100]
cdq
idiv esi
mov eax, edx
cdq
push edx
push eax
call fcn.10002462
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000c00e
mov eax, dword [eax]
push eax
call fcn.1003eb1f
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x100]
call fcn.10004229
inc esi
cmp esi, 0x71cf
jl 0x1000bfef
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, 0x9c9
jl 0x1000bfe6
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 0x3e09
jl 0x1000bfd7
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x2c3d
jl 0x1000bfd2
mov edi, 0x270
push ebx
push 0x6bbe
push ecx
mov edx, 0x6fee
mov ecx, 0x273f
call fcn.1000b12c
add esp, 0xc
cmp dword [ebp - 0x14], 0x1b33
jge 0x1000c092
push str.esdxkwq_pizfbjo_rpx_sfblkc_mqpjd_puia
call fcn.1003eb1f
pop ecx
mov eax, dword [0x10072fe0]
cmp eax, edi
jne 0x1000c0de
xor edx, edx
mov esi, 0x10072fe8
inc edx
mov ecx, dword [esi - 4]
xor ecx, dword [esi]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, dl
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x630]
xor eax, ecx
mov dword [esi + 0x9bc], eax
add esi, 4
cmp esi, 0x100739a8
jl 0x1000c0a3
jmp 0x1000c0ea
cmp eax, 0x4e0
jb 0x1000c0ef
call fcn.1000ce97
mov eax, dword [0x10072fe0]
mov ecx, dword [eax*4 + 0x10072fe4]
inc eax
mov dword [0x10072fe0], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x10074364]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret