Function at 0x10039089
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061204
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x100391d8
lea eax, [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x58], 0x525e
mov dword [ebp - 0x64], str.gerwpuhxq_whwhou_wagup_uqfttr_cglvgca_wkhvibhp_ijbnxykv_leqnad
cmp dword [ebp - 0x58], 0x5281
jle 0x10039185
and dword [ebp - 0x28], 0
jmp 0x100390ee
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x459
jge 0x10039185
and dword [ebp - 0x20], 0
jmp 0x10039108
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3d51
jge 0x10039180
and dword [ebp - 0x18], 0
jmp 0x1003911e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1e81
jge 0x1003917e
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
shl eax, cl
cdq
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xc4]
call fcn.10001af4
pop ecx
pop ecx
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
call fcn.10002e48
push eax
call fcn.10048e5f
pop ecx
lea ecx, [ebp - 0xc4]
call fcn.10002e3e
jmp 0x10039117
jmp 0x10039101
jmp 0x100390e7
push dword [ebp - 0x80]
mov eax, dword [ebp - 0x6c]
push dword [eax]
push 1
call fcn.10039494
add esp, 0xc
and dword [ebp - 4], 0
cmp dword [ebp - 0x58], 0x4f7f
jge 0x100391ad
push dword [ebp - 0x64]
call fcn.10048e5f
pop ecx
jmp 0x100391c9
or dword [ebp - 4], 0xffffffff
jmp 0x100391d3
jmp 0x10039483
lea eax, [ebp + 0x14]
mov dword [ebp - 0xa0], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x10039222
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
jmp 0x10039483
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0xfffffff6
mov dword [ebp - 0x54], 0x27d373ee
push 2
lea ecx, [ebp - 0xac]
call fcn.10002fdf
mov dword [ebp - 4], 2
mov dword [ebp - 0x60], 0x3d38
mov dword [ebp - 0x68], str.ebtib_vhhn_yyrihoy_xeyiz_qus_ynivz_wiloxyp_soyxwwfxl_pyvuh_cqi_oatuumrae_vqhgqyhh_cjoujdq_jkcbmgg
cmp dword [ebp - 0x60], 0x3d99
jle 0x100392e6
push 0x1c8b
push 0x3c
call dword [sym.imp.USER32.dll_MonitorFromWindow]
and dword [ebp - 0x1c], 0
jmp 0x1003928e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6c5f
jge 0x100392dc
and dword [ebp - 0x24], 0
jmp 0x100392a4
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x70fb
jge 0x100392da
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
shl eax, cl
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
mov ecx, 0x1007cff8
call fcn.10002e68
jmp 0x1003929d
jmp 0x10039287
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x60], 0x3be7
jge 0x10039300
mov edx, dword [ebp - 0x68]
mov ecx, 0x1007cff8
call fcn.100050b8
jmp 0x1003931c
mov dword [ebp - 4], 2
jmp 0x1003932c
mov dword [ebp - 0x14], 0
jmp 0x1003933c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1003934f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x30], 0x7df2f4a8
jmp 0x10039335
push 0
push 1
push 0
push 0x5de8
lea eax, [ebp - 0x14]
push eax
push 0x58f7
lea eax, [ebp - 0xac]
push eax
push 0x2647
call fcn.100349ac
add esp, 0x20
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x30], 0
jne 0x10039397
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x30], 0
jne 0x10039397
and dword [ebp - 0x38], 0
jmp 0x1003939e
mov dword [ebp - 0x38], 1
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x30], 0x6f3a
jle 0x100393b7
mov dword [ebp - 0x5c], 1
jmp 0x100393bb
and dword [ebp - 0x5c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x30]
cmp dword [ebp - 0x5c], eax
jl 0x100393d3
mov dword [ebp - 0x44], 1
jmp 0x100393d7
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp + eax - 0x30]
add ecx, 0xffff
cmp ecx, 0xfffffffd
jb 0x100393fe
mov dword [ebp - 0x4c], 1
jmp 0x10039402
and dword [ebp - 0x4c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x30]
cmp dword [ebp - 0x4c], eax
jg 0x1003941a
mov dword [ebp - 0x50], 1
jmp 0x1003941e
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x50]
push 4
pop ecx
shl ecx, 0
cmp dword [ebp + ecx - 0x30], eax
jg 0x10039446
mov dword [ebp - 0x34], 1
jmp 0x1003944a
and dword [ebp - 0x34], 0
push 1
lea ecx, [ebp - 0xac]
call fcn.10003037
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.1000301b
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
sub eax, 0x17
cdq
mov ecx, 0x1bb
idiv ecx
sub eax, 0x17
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret