Function at 0x49b97a
Capabilities:
Check for time delay via gettickcount
Check mutex on windows
Connect pipe
Create mailslot
Create pipe
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x130
mov dword [ebp + 0x48], ecx
push ebx
lea ecx, [ebp + 0x78]
call fcn.004418ab
xor ebx, ebx
cmp dword [0x4e3300], ebx
jne 0x49b9a3
xor eax, eax
inc eax
jmp 0x49cf5c
push esi
push edi
lea ecx, [ebp + 0x78]
call fcn.00441acf
lea ecx, [ebp + 4]
call fcn.0044658e
lea ecx, [ebp - 0x48]
call fcn.0044658e
lea ecx, [ebp - 0x4c]
call fcn.0044658e
lea ecx, [ebp - 0x50]
call fcn.0044658e
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x44], 2
mov dword [ebp - 0x18], ebx
mov dword [ebp + 0x3c], 1
mov dword [ebp + 0x1c], 6
mov dword [ebp + 0x40], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x50], ebx
call fcn.0043fe57
pop ecx
push 3
pop edi
mov byte [ebp + 0x5f], 0
mov dword [ebp + 0x64], edi
jmp 0x49bc80
cmp word [esi + 2], 0x2d
jne 0x49bc8d
push 0xf
push esi
push str.__gethostbyname
call fcn.00441277
add esp, 0xc
test al, al
je 0x49ba8c
add esi, 0x1e
xor ecx, ecx
mov dword [ebp + 0x78], esi
mov cx, word [esi]
cmp cx, bx
je 0x49ba4a
mov eax, ecx
call fcn.004b1b03
test al, al
je 0x49ba79
mov byte [ebp + 0x5f], 1
jmp 0x49ba79
mov eax, ecx
call fcn.004b1b03
test al, al
jne 0x49ba7e
cmp cx, 0x2a
jne 0x49ba67
or byte [ebp + 0x5f], 2
jmp 0x49ba71
cmp cx, 0x23
jne 0x49ba71
or byte [ebp + 0x5f], 4
inc esi
inc esi
mov dword [ebp + 0x78], esi
mov cx, word [esi]
cmp cx, bx
jne 0x49ba50
lea eax, [ebp + 0x78]
push eax
call fcn.0043fe57
jmp 0x49bc7f
push 6
lea eax, [ebp + 0x78]
push eax
push str.__file
call fcn.004485c7
add esp, 0xc
test al, al
je 0x49baac
or dword [ebp + 0x3c], 0xffffffff
jmp 0x49bc80
push 5
lea eax, [ebp + 0x78]
push eax
push str.__shm
call fcn.004485c7
add esp, 0xc
test al, al
je 0x49bacf
mov dword [ebp + 0x3c], 0xfffffffe
jmp 0x49bc80
push 7
lea eax, [ebp + 0x78]
push eax
push str.__event
call fcn.004485c7
add esp, 0xc
test al, al
je 0x49baf2
mov dword [ebp + 0x3c], 0xfffffffc
jmp 0x49bc80
push 0xb
lea eax, [ebp + 0x78]
push eax
push str.__semaphore
call fcn.004485c7
add esp, 0xc
test al, al
je 0x49bb15
mov dword [ebp + 0x3c], 0xffffffe0
jmp 0x49bc80
push 5
lea eax, [ebp + 0x78]
push eax
push str.__sem
call fcn.004485c7
add esp, 0xc
test al, al
jne 0x49bb09
push 7
lea eax, [ebp + 0x78]
push eax
push str.__mutex
call fcn.004485c7
add esp, 0xc
test al, al
je 0x49bb4f
mov dword [ebp + 0x3c], 0xffffffc0
jmp 0x49bc80
push 0xa
lea eax, [ebp + 0x78]
push eax
push str.__mailslot
call fcn.004485c7
add esp, 0xc
test al, al
je 0x49bb72
mov dword [ebp + 0x3c], 0xfffffff8
jmp 0x49bc80
push 6
lea eax, [ebp + 0x78]
push eax
push str.__pipe
call fcn.004485c7
add esp, 0xc
test al, al
je 0x49bb95
mov dword [ebp + 0x3c], 0xfffffff0
jmp 0x49bc80
push 7
lea eax, [ebp + 0x78]
push eax
push str.__exist
call fcn.004485c7
add esp, 0xc
test al, al
je 0x49bbb8
mov dword [ebp + 0x40], 0x100
jmp 0x49bc80
push 6
lea eax, [ebp + 0x78]
push eax
push str.__only
call fcn.004485c7
add esp, 0xc
test al, al
je 0x49bbdb
mov dword [ebp - 0x34], 1
jmp 0x49bc80
push 9
lea eax, [ebp + 0x78]
push eax
push str.__unknown
call fcn.004485c7
add esp, 0xc
test al, al
je 0x49bbfa
mov dword [ebp + 0x50], edi
jmp 0x49bc80
push 8
lea eax, [ebp + 0x78]
push eax
mov esi, str.__BSTRVT
push esi
call fcn.004485c7
add esp, 0xc
test al, al
je 0x49bc1b
mov dword [ebp + 0x50], 0x102
jmp 0x49bc80
push 6
lea eax, [ebp + 0x78]
push eax
push esi
call fcn.004485c7
add esp, 0xc
test al, al
je 0x49bc37
mov dword [ebp + 0x50], 0x100
jmp 0x49bc80
push edi
lea eax, [ebp + 0x78]
push eax
push 0x4d3210
call fcn.004485c7
add esp, 0xc
test al, al
je 0x49bc56
mov dword [ebp + 0x68], 4
jmp 0x49bc80
push 7
lea eax, [ebp + 0x78]
push eax
push str.__reset
call fcn.004485c7
add esp, 0xc
test al, al
je 0x49bc76
mov dword [ebp + 0x30], 1
jmp 0x49bc80
lea eax, [ebp + 0x78]
push eax
call fcn.00408f31
pop ecx
mov esi, dword [ebp + 0x78]
cmp word [esi], 0x2d
je 0x49ba10
cmp word [esi], 0x2a
mov byte [ebp + 0x27], 0
jne 0x49bcad
inc esi
lea eax, [ebp + 0x78]
inc esi
push eax
mov byte [ebp + 0x27], 1
mov dword [ebp + 0x78], esi
call fcn.0043fe57
mov esi, dword [ebp + 0x78]
pop ecx
mov eax, dword [ebp + 0x48]
or dword [ebp + 0x60], 0xffffffff
cmp word [esi], 0x3a
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp - 0x38], eax
mov byte [ebp + 0x3b], 0
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x4c], 0x100000
mov dword [ebp + 0x54], 0x80000001
jne 0x49bcf8
cmp word [esi + 2], 0x3a
jne 0x49bcf8
mov eax, dword [0x4e3138]
add esi, 4
mov dword [ebp + 0x78], esi
mov byte [ebp + 0x3b], 1
mov dword [ebp + 0x18], 0x4e3110
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 0x48]
push 0x3b
push 0x2c
pop esi
push esi
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043afff
cmp dword [ebp + 0x50], ebx
je 0x49bdeb
test byte [ebp + 0x51], 1
mov esi, dword [ebp + 4]
mov dword [ebp + 0x7c], ebx
je 0x49bdb2
cmp word [ebp + 0x30], bx
je 0x49bd37
call fcn.00445388
jmp 0x49bddc
cmp word [esi], bx
jne 0x49bd41
push 0xfffffffffffffffd
pop edi
jmp 0x49bd44
mov edi, dword [ebp + 0x68]
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2a
jne 0x49bd5c
cmp byte [ebp + 0x50], 0
jne 0x49bd57
or dword [ebp + 0x50], 1
inc eax
inc eax
mov dword [ebp + 0x78], eax
cmp word [eax], 0x2c
je 0x49bd67
cmp di, bx
jge 0x49bdb2
call fcn.004453c5
call fcn.00402e48
cmp di, bx
jl 0x49bddc
add dword [ebp + 0x78], 2
cmp di, bx
mov dword [ebp + 0x30], ebx
jle 0x49bd94
mov ecx, dword [ebp + 0x48]
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x78]
call fcn.0041d203
mov dword [ebp + 0x78], eax
cmp dword [ebp + 0x78], ebx
je 0x49bda5
push dword [ebp + 0x78]
call dword [0x4e2be8]
mov dword [ebp + 0x7c], eax
lea ecx, [ebp + 0x30]
call fcn.0043fe25
mov esi, dword [ebp + 4]
jmp 0x49bdc1
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00449a66
pop ecx
pop ecx
cmp word [esi], bx
je 0x49bde3
push dword [ebp + 0x50]
push esi
push dword [ebp + 0x7c]
push dword [ebp + 0x48]
call fcn.0042d4c8
add esp, 0x10
test eax, eax
je 0x49bde3
xor esi, esi
jmp 0x49cf30
xor esi, esi
inc esi
jmp 0x49cf30
mov edi, dword [ebp + 0x3c]
cmp edi, 0xfffffffe
mov byte [ebp + 0x2f], 0
jne 0x49be2c
mov ecx, dword [ebp + 0x78]
mov ax, word [ecx]
and ax, 0xffdf
cmp ax, 0x57
jne 0x49be22
inc ecx
inc ecx
mov byte [ebp + 0x2f], 1
mov dword [ebp + 0x78], ecx
jmp 0x49be22
inc ecx
inc ecx
cmp ax, si
mov dword [ebp + 0x78], ecx
je 0x49be3b
cmp ax, 0x3b
je 0x49be3b
mov ax, word [ecx]
cmp ax, bx
jne 0x49be12
jmp 0x49be3b
cmp edi, 0xfffffffc
je 0x49be3b
cmp edi, 0xffffffe0
je 0x49be3b
cmp edi, 0xffffffc0
jne 0x49be71
mov eax, dword [ebp + 0x78]
mov ax, word [eax]
cmp ax, 0x2e
jne 0x49be56
add dword [ebp + 0x78], 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.Local_
jmp 0x49be69
cmp ax, 0x23
jne 0x49be60
add dword [ebp + 0x78], 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x4d2d54
lea ecx, [ebp + 0x58]
call fcn.00446649
cmp byte [ebp + 0x5f], 0
je 0x49c036
lea ecx, [ebp + 0x44]
call fcn.0044658e
mov ecx, dword [ebp + 0x48]
push 0x3b
push 0x2c
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043afff
lea eax, [ebp + 0x44]
push eax
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x1c], 4
xor ebx, ebx
call fcn.0043a668
lea ecx, [ebp + 0x64]
call fcn.0044658e
mov esi, dword [ebp + 0x4c]
test esi, esi
lea edi, [ebp + 0x18]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x30], edi
mov byte [ebp + 0x7f], 1
mov dword [ebp + 0x60], ebx
je 0x49bf18
cmp byte [esi], bl
je 0x49bee1
push esi
call dword [0x4e3348]
cmp eax, 0xffffffff
mov dword [ebp + 0x18], eax
jne 0x49bf18
and dword [ebp + 0x18], ebx
push esi
call dword [0x4e334c]
test eax, eax
je 0x49bf18
mov cx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
mov word [ebp + 0x1c], cx
mov dword [ebp + 0x60], eax
je 0x49bf18
mov cl, byte [ebp + 0x5f]
mov byte [ebp + 0x7f], cl
mov eax, dword [eax]
test eax, eax
je 0x49c00b
add dword [ebp + 0x60], 4
mov edi, eax
mov dword [ebp + 0x30], edi
test byte [ebp + 0x5f], 4
lea ecx, [ebp + 0x64]
je 0x49bf94
lea eax, [ebx + 0x3e]
push eax
call fcn.004465d3
mov eax, dword [ebp + 0x64]
and dword [ebp - 0x84], 0
and dword [ebp - 0x80], 0
lea eax, [eax + ebx*2]
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x68], eax
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
movsx eax, word [ebp + 0x1c]
cmp eax, 0x20
jbe 0x49bf57
push 0x20
pop eax
push eax
push dword [ebp + 0x30]
lea eax, [ebp - 0x84]
push eax
call fcn.00414839
push str.0x_08I64X
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [ebp + 0x78]
call fcn.004a1252
add esp, 0x1c
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 0x78]
lea eax, [ecx + eax*2]
mov dword [ebp + 0x78], eax
jmp 0x49bfe8
movsx esi, word [ebp + 0x1c]
lea eax, [esi + esi*2]
lea eax, [ebx + eax*2]
push eax
call fcn.004465d3
dec esi
mov eax, dword [ebp + 0x64]
lea ecx, [eax + ebx*2]
mov dword [ebp + 0x78], ecx
lea eax, [ecx + 2]
mov dword [ebp + 0x68], ecx
js 0x49bfe2
inc esi
movzx eax, byte [edi]
push eax
push 0x4d3200
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [ebp + 0x78]
inc edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec esi
mov ecx, dword [ebp + 0x78]
lea ecx, [ecx + eax*2]
mov dword [ebp + 0x78], ecx
mov eax, ecx
jne 0x49bfb7
dec eax
dec eax
and word [eax], 0
test byte [ebp + 0x7f], 2
je 0x49c00b
mov ecx, dword [ebp + 0x60]
cmp dword [ecx], 0
je 0x49c00b
mov word [eax], 0x20
sub eax, dword [ebp + 0x68]
inc eax
inc eax
sar eax, 1
add ebx, eax
mov eax, ecx
jmp 0x49bf05
push dword [ebp + 0x64]
mov ecx, dword [ebp + 0x48]
push dword [ebp + 4]
call fcn.00445c44
lea ecx, [ebp + 0x64]
call fcn.0043fe25
lea ecx, [ebp + 0x4c]
call fcn.0043fe25
lea ecx, [ebp + 0x44]
call fcn.0043fe25
jmp 0x49bddc
cmp edi, 0xffffffff
mov dword [ebp + 0x30], ebx
jne 0x49c1ce
mov eax, dword [ebp + 0x78]
mov cx, word [eax]
and cx, 0xffdf
push 7
xor edx, edx
cmp cx, 0x57
mov dword [ebp + 0x60], 0x80000000
pop edi
jne 0x49c072
inc eax
inc eax
mov dword [ebp + 0x60], 0xc0000000
mov dword [ebp + 0x64], 4
mov dword [ebp + 0x78], eax
mov cx, word [eax]
and cx, 0xffdf
cmp cx, 0x45
jne 0x49c08c
inc eax
inc eax
mov dword [ebp + 0x64], 3
mov dword [ebp + 0x78], eax
cmp word [eax], 0x2d
jne 0x49c09c
xor edx, edx
xor edi, edi
inc edx
inc eax
inc eax
mov dword [ebp + 0x78], eax
xor ecx, ecx
jmp 0x49c0da
inc eax
inc eax
cmp cx, 0x2c
mov dword [ebp + 0x78], eax
je 0x49c0e2
cmp cx, 0x3b
je 0x49c0e2
and ecx, 0xffdf
cmp edx, ebx
je 0x49c0da
cmp cx, 0x52
jne 0x49c0c6
or edi, 1
jmp 0x49c0da
cmp cx, 0x57
jne 0x49c0d1
or edi, 2
jmp 0x49c0da
cmp cx, 0x44
jne 0x49c0da
or edi, 4
mov cx, word [eax]
cmp cx, bx
jne 0x49c0a0
lea ecx, [ebp + 0x20]
call fcn.0044658e
mov ecx, dword [ebp + 0x48]
push 0x3b
push 0x2c
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043afff
push dword [ebp + 0x20]
call fcn.004135f9
mov esi, eax
mov ax, word [esi]
cmp ax, bx
pop ecx
jne 0x49c135
lea ecx, [ebp + 0x20]
call fcn.0043fe25
cmp word [ebp + 0x40], bx
je 0x49ccab
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x49c12e
inc eax
mov esi, eax
jmp 0x49cf30
cmp dword [ebp + 0x64], 3
jne 0x49c18c
cmp edi, ebx
je 0x49c18c
cmp ax, 0x5c
jne 0x49c176
cmp word [esi + 2], ax
jne 0x49c176
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp + 0x60]
lea ecx, [ebp + 0x68]
push esi
mov dword [ebp + 0x68], ebx
call fcn.00405c6d
cmp dword [ebp + 0x68], ebx
lea ecx, [ebp + 0x68]
jne 0x49c16f
call fcn.00402d2b
jmp 0x49c1a5
call fcn.00402d2b
jmp 0x49c18c
push esi
call fcn.004b3b87
and eax, 0x10
and edx, 1
cmp eax, ebx
pop ecx
jne 0x49c1a5
cmp edx, 1
jne 0x49c1a5
push ebx
push ebx
push dword [ebp + 0x64]
lea ecx, [ebp + 0x68]
push ebx
push edi
push dword [ebp + 0x60]
mov dword [ebp + 0x68], ebx
push esi
call fcn.00405c6d
mov dword [ebp + 0x6c], eax
cmp word [ebp + 0x40], bx
je 0x49c1b3
lea ecx, [ebp + 0x20]
jmp 0x49ca51
cmp dword [ebp + 0x6c], ebx
jne 0x49c1c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x20]
jmp 0x49cc4e
lea ecx, [ebp + 0x20]
jmp 0x49cc5d
cmp edi, 0xfffffffe
jne 0x49c711
cmp byte [ebp + 0x2f], 0
push 4
pop eax
mov dword [ebp + 0x60], 2
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x54], 0x80000000
mov dword [ebp + 0x20], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
je 0x49c220
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x4c], 6
mov dword [ebp + 0x54], 0xc0000000
mov dword [ebp + 0x64], eax
lea ecx, [ebp + 0x34]
call fcn.0044658e
lea ecx, [ebp + 0x50]
call fcn.0044658e
mov ecx, dword [ebp + 0x48]
push 0x3b
push esi
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043afff
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x49c266
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00453c1f
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
pop ecx
je 0x49c266
add dword [ebp + 0x78], 2
push 4
push dword [ebp + 0x78]
push str._sm_
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
mov edi, eax
neg edi
sbb edi, edi
inc edi
je 0x49c283
add dword [ebp + 0x78], 8
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x49c2b6
mov ecx, dword [ebp + 0x48]
push 0x3b
push 0x2c
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043afff
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x49c2b6
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00453c1f
pop ecx
pop ecx
mov eax, dword [ebp + 0x34]
cmp word [eax], bx
je 0x49c701
cmp dword [ebp + 0xc], ebx
jl 0x49c701
mov esi, dword [ebp + 8]
jg 0x49c2d8
cmp esi, ebx
jb 0x49c701
cmp dword [ebp - 0xc], ebx
jl 0x49c701
jg 0x49c2ec
cmp dword [ebp - 0x10], ebx
jb 0x49c701
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x49c32e
add dword [ebp + 0x78], 2
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0047f1ca
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 0x20], eax
jle 0x49c317
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x49c32e
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0047f1ca
pop ecx
pop ecx
or dword [ebp + 0x6c], 0xffffffff
cmp edi, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
je 0x49c360
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x4c78c2
lea ecx, [ebp + 0x58]
call fcn.00446649
mov eax, str.pecmd2012.sm.
jmp 0x49c365
mov eax, str.pecmd2012.shm.
push eax
lea ecx, [ebp + 0x58]
call fcn.004465fa
push dword [ebp + 0x34]
lea ecx, [ebp + 0x58]
call fcn.004465fa
mov ecx, dword [ebp + 0x50]
mov si, word [ecx]
neg si
sbb esi, esi
and esi, 0xfffffffc
add esi, 4
mov eax, esi
cdq
add dword [ebp + 8], eax
mov ebx, dword [ebp + 8]
adc dword [ebp + 0xc], edx
add ebx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
adc eax, dword [ebp - 0xc]
test edi, edi
mov dword [ebp - 0x3c], eax
je 0x49c3f0
movsx edx, word [ebp + 0x40]
mov dword [ebp + 0x28], edx
lea edx, [ebp + 0x28]
push edx
push ecx
push eax
push ebx
push dword [ebp + 0x34]
call fcn.00453f3c
movzx ecx, byte [ebp + 0x28]
add esp, 0x14
cmp word [ebp + 0x40], 0
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x28], ecx
jne 0x49c464
test eax, eax
je 0x49c5d7
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x1c], 0xfffffffe
jmp 0x49c5d3
mov dx, word [ebp + 0x40]
neg dx
sbb edx, edx
and edx, 0x100
add edx, 0x200
mov dword [ebp + 0x28], edx
lea edx, [ebp + 0x28]
push edx
push ecx
push eax
push ebx
push dword [ebp + 0x34]
call fcn.00453f3c
movzx ecx, byte [ebp + 0x28]
add esp, 0x14
test eax, eax
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x28], ecx
je 0x49c444
cmp word [ebp + 0x40], 0
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x44], eax
je 0x49c43c
mov dword [ebp + 0x6c], eax
jmp 0x49c464
test eax, eax
jne 0x49c5ca
push dword [ebp + 0x58]
push 0
push dword [ebp + 0x4c]
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp word [ebp + 0x40], 0
je 0x49c479
mov dword [ebp + 0x6c], edi
lea ecx, [ebp + 0x50]
call fcn.0043fe25
lea ecx, [ebp + 0x34]
call fcn.0043fe25
jmp 0x49cd63
cmp dword [ebp + 0x68], 0
jne 0x49c49f
test edi, edi
je 0x49c48a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 0x50]
call fcn.0043fe25
lea ecx, [ebp + 0x34]
call fcn.0043fe25
jmp 0x49cd6d
test edi, edi
jne 0x49c571
mov eax, dword [ebp + 0x50]
cmp word [eax], di
je 0x49c502
push eax
call fcn.004135f9
pop ecx
push edi
push edi
push dword [ebp + 0x64]
lea ecx, [ebp - 0x18]
push edi
push 7
push dword [ebp + 0x54]
mov dword [ebp - 0x18], edi
push eax
call fcn.00405c6d
cmp eax, edi
mov dword [ebp + 0x6c], eax
jne 0x49c502
push 0x200
push dword [ebp + 0x68]
call fcn.00442cac
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, edi
jne 0x49c4f2
xor esi, esi
inc esi
lea ecx, [ebp + 0x50]
call fcn.0043fe25
lea ecx, [ebp + 0x34]
jmp 0x49cc50
xor eax, eax
mov byte [ebp - 0x64], 0
and dword [ebp - 0x1c], 0
lea edi, [ebp - 0x63]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x64]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0xc
call fcn.00442bf1
pop ecx
push dword [ebp + 0x58]
lea eax, [ebp - 0x24]
push ebx
push dword [ebp - 0x3c]
push dword [ebp + 0x60]
push eax
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x14], 0
mov dword [ebp + 0x28], 1
jg 0x49c56d
jl 0x49c561
cmp dword [ebp + 0x10], 0
ja 0x49c56d
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x14], eax
test edi, edi
je 0x49c596
push dword [ebp + 8]
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x10]
sar eax, 0x1f
mov eax, dword [ebp + 0x60]
push dword [ebp - 0xc]
and eax, 4
or eax, 8
shr eax, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp + 0x44], eax
cmp dword [ebp + 0x6c], 0xffffffff
je 0x49c5a5
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x44]
test ecx, ecx
mov edx, dword [eax]
mov dword [edx + 0xc], ecx
jne 0x49c5c6
test edi, edi
je 0x49c5ca
cmp edi, 0xffffffff
je 0x49c5ca
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x49c5ca
mov eax, dword [eax]
mov dword [eax], edi
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x44]
test eax, eax
jne 0x49c5e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jmp 0x49c4ed
cmp dword [ebp + 0x28], 0
je 0x49c601
test esi, esi
je 0x49c601
mov ecx, dword [ebp - 0x2c]
push esi
add ecx, eax
push 0
push ecx
call fcn.004b4520
add esp, 0xc
cmp dword [ebp + 0x28], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
je 0x49c6f1
cmp dword [ebp + 0x20], 0
jle 0x49c6f1
cmp dword [ebp + 0x14], 0
jl 0x49c6f1
jg 0x49c631
cmp dword [ebp + 0x10], 0
jbe 0x49c6f1
cmp dword [ebp], 1
jb 0x49c674
ja 0x49c63f
cmp dword [ebp - 4], 0
jb 0x49c674
push 0
push 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004b4580
dec eax
js 0x49c6f1
mov esi, dword [ebp + 0x44]
mov ecx, dword [ebp - 4]
mov dword [esi], ecx
mov ecx, dword [ebp]
mov dword [esi + 4], ecx
mov ecx, eax
and ecx, 0x1fffffff
shl ecx, 1
lea edi, [esi + 8]
rep movsd dword es:[edi], dword [esi]
jmp 0x49c6f1
xor eax, eax
cmp dword [ebp], eax
ja 0x49c684
cmp dword [ebp - 4], 0x10000
jb 0x49c6a2
push eax
push 4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004b4580
dec eax
js 0x49c6f1
mov edi, dword [ebp + 0x44]
lea ecx, [eax + 1]
mov eax, dword [ebp - 4]
rep stosd dword es:[edi], eax
jmp 0x49c6f1
cmp dword [ebp], eax
ja 0x49c6b0
cmp dword [ebp - 4], 0x100
jb 0x49c6e0
push eax
push 2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004b4580
dec eax
js 0x49c6f1
mov edi, dword [ebp + 0x44]
lea ecx, [eax + 1]
mov eax, dword [ebp - 4]
mov dx, ax
shl edx, 0x10
mov dx, ax
shr ecx, 1
mov eax, edx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
jmp 0x49c6f1
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 0x44]
call fcn.004b4520
add esp, 0xc
lea ecx, [ebp + 0x50]
call fcn.0043fe25
lea ecx, [ebp + 0x34]
jmp 0x49cc5d
lea ecx, [ebp + 0x50]
call fcn.0043fe25
lea ecx, [ebp + 0x34]
jmp 0x49cca6
cmp edi, 0xfffffffc
jne 0x49c853
lea ecx, [ebp + 0x54]
call fcn.0044658e
lea ecx, [ebp + 0x68]
call fcn.0044658e
mov ecx, dword [ebp + 0x48]
push 0x3b
push esi
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043afff
mov eax, dword [ebp + 0x54]
cmp word [eax], bx
jne 0x49c755
lea ecx, [ebp + 0x68]
call fcn.0043fe25
lea ecx, [ebp + 0x54]
jmp 0x49cca6
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x60], ebx
call fcn.00405c24
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00405c24
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00405c24
add esp, 0x18
push str.pecmd2012.event.
lea ecx, [ebp + 0x58]
call fcn.004465fa
push dword [ebp + 0x54]
lea ecx, [ebp + 0x58]
call fcn.004465fa
cmp word [ebp + 0x40], bx
jne 0x49c7ab
cmp dword [ebp + 0x64], ebx
jne 0x49c7d9
push dword [ebp + 0x58]
push dword [ebp + 0x60]
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenEventW]
cmp word [ebp + 0x40], bx
mov dword [ebp + 0x6c], eax
je 0x49c7d5
lea ecx, [ebp + 0x68]
call fcn.0043fe25
lea ecx, [ebp + 0x54]
jmp 0x49ca51
cmp eax, ebx
jne 0x49c843
xor eax, eax
mov byte [ebp - 0x64], 0
lea edi, [ebp - 0x63]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x64]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
xor esi, esi
push eax
mov dword [ebp - 0x24], 0xc
mov dword [ebp - 0x1c], esi
call fcn.00442bf1
xor eax, eax
cmp dword [ebp + 0x64], esi
pop ecx
push dword [ebp + 0x58]
setne al
push eax
xor eax, eax
cmp dword [ebp + 0x4c], esi
setne al
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [ebp + 0x6c], eax
jne 0x49c843
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x68]
mov esi, eax
call fcn.0043fe25
lea ecx, [ebp + 0x54]
jmp 0x49cc50
lea ecx, [ebp + 0x68]
call fcn.0043fe25
lea ecx, [ebp + 0x54]
jmp 0x49cc5d
cmp edi, 0xffffffe0
jne 0x49c9c0
lea ecx, [ebp + 0x4c]
call fcn.0044658e
lea ecx, [ebp + 0x68]
call fcn.0044658e
mov ecx, dword [ebp + 0x48]
push 0x3b
push esi
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043afff
mov eax, dword [ebp + 0x4c]
cmp word [eax], bx
jne 0x49c897
lea ecx, [ebp + 0x68]
call fcn.0043fe25
lea ecx, [ebp + 0x4c]
jmp 0x49cca6
lea eax, [ebp + 0x54]
push eax
xor edi, edi
lea eax, [ebp + 0x78]
inc edi
push eax
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x60], ebx
call fcn.00405c24
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00405c24
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00405c24
mov esi, dword [ebp + 0x64]
add esp, 0x18
cmp esi, edi
jge 0x49c8d6
mov esi, edi
cmp dword [ebp + 0x54], esi
jle 0x49c8de
mov dword [ebp + 0x54], esi
push str.pecmd2012.semaphore.
lea ecx, [ebp + 0x58]
call fcn.004465fa
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x58]
call fcn.004465fa
push dword [ebp + 0x58]
push ebx
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
cmp word [ebp + 0x40], bx
mov dword [ebp + 0x6c], eax
je 0x49c91e
lea ecx, [ebp + 0x68]
call fcn.0043fe25
lea ecx, [ebp + 0x4c]
jmp 0x49ca51
cmp eax, ebx
jne 0x49c9b0
xor eax, eax
mov byte [ebp - 0x98], 0
lea edi, [ebp - 0x97]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x98]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x28], edi
call fcn.00442bf1
cmp dword [ebp + 0x54], edi
pop ecx
jge 0x49c963
mov dword [ebp + 0x54], edi
mov eax, dword [ebp + 0x54]
cmp eax, edi
jg 0x49c96d
xor eax, eax
inc eax
push dword [ebp + 0x58]
push esi
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [ebp + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x6c], edi
mov esi, eax
mov dword [ebp + 0x30], esi
jne 0x49c99f
lea ecx, [ebp + 0x68]
call fcn.0043fe25
lea ecx, [ebp + 0x4c]
jmp 0x49cc50
cmp dword [ebp + 0x54], 1
jge 0x49c9b0
push 0xffffffffffffffff
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp + 0x68]
call fcn.0043fe25
lea ecx, [ebp + 0x4c]
jmp 0x49cc5d
cmp edi, 0xffffffc0
jne 0x49cae5
lea ecx, [ebp + 0x60]
call fcn.0044658e
lea ecx, [ebp + 0x64]
call fcn.0044658e
mov ecx, dword [ebp + 0x48]
push 0x3b
push esi
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043afff
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
jne 0x49ca04
lea ecx, [ebp + 0x64]
call fcn.0043fe25
lea ecx, [ebp + 0x60]
jmp 0x49cca6
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x68], ebx
call fcn.00405c24
pop ecx
pop ecx
push str.pecmd2012.mutex.
lea ecx, [ebp + 0x58]
call fcn.004465fa
push dword [ebp + 0x60]
lea ecx, [ebp + 0x58]
call fcn.004465fa
push dword [ebp + 0x58]
push ebx
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp word [ebp + 0x40], bx
mov dword [ebp + 0x6c], eax
je 0x49ca5b
lea ecx, [ebp + 0x64]
call fcn.0043fe25
lea ecx, [ebp + 0x60]
call fcn.0043fe25
jmp 0x49cd50
cmp eax, ebx
jne 0x49cad5
xor eax, eax
mov byte [ebp - 0xc0], 0
lea edi, [ebp - 0xbf]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
xor edi, edi
push eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0xc], edi
call fcn.00442bf1
cmp dword [ebp + 0x68], edi
pop ecx
jge 0x49ca9c
mov dword [ebp + 0x68], edi
push dword [ebp + 0x58]
xor eax, eax
cmp dword [ebp + 0x68], edi
setg al
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x6c], edi
mov esi, eax
mov dword [ebp + 0x30], esi
jne 0x49cad5
lea ecx, [ebp + 0x64]
call fcn.0043fe25
lea ecx, [ebp + 0x60]
jmp 0x49cc50
lea ecx, [ebp + 0x64]
call fcn.0043fe25
lea ecx, [ebp + 0x60]
jmp 0x49cc5d
cmp edi, 0xfffffff8
jne 0x49cc67
lea ecx, [ebp + 0x64]
call fcn.0044658e
mov ecx, dword [ebp + 0x48]
push 0x3b
push esi
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043afff
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
jne 0x49cb19
lea ecx, [ebp + 0x64]
jmp 0x49cca6
or dword [ebp + 0x60], 0xffffffff
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x68], ebx
call fcn.00405c24
cmp dword [ebp + 0x68], ebx
pop ecx
pop ecx
jne 0x49cb37
mov dword [ebp + 0x60], ebx
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00405c24
pop ecx
pop ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push str..mailslotpecmd2012.mailslot.
lea ecx, [ebp + 0x58]
call fcn.00446649
push dword [ebp + 0x64]
lea ecx, [ebp + 0x58]
call fcn.004465fa
xor eax, eax
mov byte [ebp - 0xac], 0
lea edi, [ebp - 0xab]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xac]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
xor esi, esi
push eax
mov dword [ebp - 0x44], 0xc
mov dword [ebp - 0x3c], esi
call fcn.00442bf1
cmp word [ebp + 0x40], si
pop ecx
jne 0x49cbc1
cmp dword [ebp + 0x68], esi
je 0x49cbc1
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x60]
push esi
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.dll_CreateMailslotW]
cmp eax, 0xffffffff
mov dword [ebp + 0x6c], eax
jne 0x49cc3f
jmp 0x49cc3c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov ebx, 0x80
push ebx
push 3
mov dword [ebp + 0x68], eax
lea eax, [ebp - 0x44]
push eax
push 1
mov edi, 0x40000000
push edi
push dword [ebp + 0x58]
call esi
cmp word [ebp + 0x40], 0
mov dword [ebp + 0x6c], eax
jne 0x49cc2d
cmp dword [ebp + 0x6c], 0xffffffff
jne 0x49cc3f
cmp dword [ebp + 0x60], 0xffffffff
je 0x49cc0f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x68]
cmp eax, dword [ebp + 0x60]
jae 0x49cc3a
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push ebx
push 3
lea eax, [ebp - 0x44]
push eax
push 1
push edi
push dword [ebp + 0x58]
call esi
mov dword [ebp + 0x6c], eax
jmp 0x49cbf5
lea ecx, [ebp + 0x64]
call fcn.0043fe25
jmp 0x49cd46
xor esi, esi
mov dword [ebp + 0x6c], esi
cmp dword [ebp + 0x6c], 0
jne 0x49cc5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x64]
mov esi, eax
call fcn.0043fe25
jmp 0x49cf30
lea ecx, [ebp + 0x64]
call fcn.0043fe25
jmp 0x49ce7c
cmp edi, 0xfffffff0
jne 0x49ce14
lea ecx, [ebp + 0x68]
call fcn.0044658e
lea ecx, [ebp + 0x64]
call fcn.0044658e
mov ecx, dword [ebp + 0x48]
push 0x3b
push esi
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043afff
mov eax, dword [ebp + 0x68]
cmp word [eax], bx
jne 0x49ccb5
lea ecx, [ebp + 0x64]
call fcn.0043fe25
lea ecx, [ebp + 0x68]
call fcn.0043fe25
mov esi, 0x80070057
jmp 0x49cf30
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00405c24
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00405c24
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00405c24
add esp, 0x18
push 0xffffffffffffffff
push 0xffffffffffffffff
push str..pipepecmd2012.pipe.
lea ecx, [ebp + 0x58]
call fcn.00446649
push dword [ebp + 0x68]
lea ecx, [ebp + 0x58]
call fcn.004465fa
or dword [ebp + 0x6c], 0xffffffff
cmp word [ebp + 0x40], bx
je 0x49cd09
xor ebx, ebx
jmp 0x49cd0c
mov ebx, dword [ebp + 0x54]
lea ecx, [ebp + 0x64]
call fcn.0043fe25
lea ecx, [ebp + 0x68]
call fcn.0043fe25
test bl, 4
jne 0x49cd74
mov eax, ebx
and eax, 3
sub al, 3
neg al
sbb eax, eax
inc eax
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x58]
call fcn.00442c10
add esp, 0xc
cmp word [ebp + 0x40], 0
mov dword [ebp + 0x6c], eax
je 0x49cd74
cmp dword [ebp + 0x6c], 0xffffffff
jne 0x49cd50
and dword [ebp + 0x6c], 0
cmp dword [ebp + 0x6c], 0
je 0x49c123
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x6c], 0
je 0x49c123
xor eax, eax
jmp 0x49c12e
xor eax, eax
mov byte [ebp - 0x78], 0
and dword [ebp], 0
lea edi, [ebp - 0x77]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x78]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 8], 0xc
call fcn.00442bf1
test bl, 2
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
pop ecx
jne 0x49cdf7
cmp dword [ebp + 0x6c], 0xffffffff
jne 0x49ce7c
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x4c]
push dword [ebp + 0x4c]
push 0xff
push 0
push 3
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
test bl, 1
mov dword [ebp + 0x6c], eax
je 0x49cdea
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x49cdea
call esi
cmp dword [ebp + 0x6c], 0xffffffff
je 0x49cdfd
mov dword [ebp + 0x3c], 0xffffffef
cmp dword [ebp + 0x6c], 0xffffffff
jne 0x49ce01
and dword [ebp + 0x6c], 0
cmp dword [ebp + 0x3c], 0xfffffff0
je 0x49ce7c
cmp dword [ebp + 0x6c], 0
jne 0x49ce7c
call esi
jmp 0x49c12e
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x49ce64
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00453e89
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
pop ecx
je 0x49ce64
add dword [ebp + 0x78], 2
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00453e89
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
pop ecx
je 0x49ce61
add dword [ebp + 0x78], 2
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00453e89
pop ecx
pop ecx
mov edi, dword [ebp + 0x3c]
push dword [ebp + 0x1c]
push edi
push dword [ebp + 0x44]
call dword [0x4e3300]
cmp eax, ebx
mov dword [ebp + 0x6c], eax
jle 0x49bde3
mov esi, dword [ebp - 0x38]
xor ebx, ebx
cmp esi, ebx
jne 0x49ceb9
mov al, byte [ebp + 0x3b]
mov esi, dword [ebp + 0x18]
neg al
sbb eax, eax
and eax, dword [ebp + 0x48]
push eax
push esi
call fcn.00412e85
mov esi, dword [esi + 0x28]
cmp esi, ebx
pop ecx
pop ecx
jne 0x49ceb9
cmp dword [ebp + 0x6c], ebx
je 0x49ccab
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x49ccab
cmp byte [ebp + 0x3b], 0
jne 0x49cecd
cmp byte [ebp + 0x27], 0
jne 0x49cecd
mov edi, dword [esi + 0x1a4]
jmp 0x49ced0
mov edi, dword [ebp + 0x18]
cmp word [ebp - 0x34], bx
je 0x49cf12
push 0x4d313c
lea ecx, [ebp + 0x48]
call fcn.004505eb
push dword [ebp + 4]
lea ecx, [ebp + 0x48]
call fcn.004465fa
push 0x4d312c
lea ecx, [ebp + 0x48]
call fcn.004465fa
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x18]
push ebx
push dword [ebp + 0x48]
call fcn.0049728f
lea ecx, [ebp + 0x48]
call fcn.0043fe25
push dword [ebp - 0x18]
lea eax, [ebp + 4]
push dword [ebp + 0x1c]
mov ecx, esi
push dword [ebp + 0x3c]
push dword [ebp + 0x44]
push dword [ebp + 0x6c]
push eax
push edi
call fcn.00446bbe
mov esi, dword [ebp + 0x30]
lea ecx, [ebp + 0x58]
call fcn.0043fe25
lea ecx, [ebp - 0x50]
call fcn.0043fe25
lea ecx, [ebp - 0x4c]
call fcn.0043fe25
lea ecx, [ebp - 0x48]
call fcn.0043fe25
lea ecx, [ebp + 4]
call fcn.0043fe25
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8