Function at 0x1009b55c
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.10041429
xor ebx, ebx
cmp dword [0x100e32f8], ebx
jne 0x1009b585
xor eax, eax
inc eax
jmp 0x1009cb3e
push esi
push edi
lea ecx, [ebp + 0x78]
call fcn.1004164d
lea ecx, [ebp + 4]
call fcn.10046123
lea ecx, [ebp - 0x48]
call fcn.10046123
lea ecx, [ebp - 0x4c]
call fcn.10046123
lea ecx, [ebp - 0x50]
call fcn.10046123
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.1003f9c4
pop ecx
push 3
pop edi
mov byte [ebp + 0x5f], 0
mov dword [ebp + 0x64], edi
jmp 0x1009b862
cmp word [esi + 2], 0x2d
jne 0x1009b86f
push 0xf
push esi
push str.__gethostbyname
call fcn.10040df5
add esp, 0xc
test al, al
je 0x1009b66e
add esi, 0x1e
xor ecx, ecx
mov dword [ebp + 0x78], esi
mov cx, word [esi]
cmp cx, bx
je 0x1009b62c
mov eax, ecx
call fcn.10002df6
test al, al
je 0x1009b65b
mov byte [ebp + 0x5f], 1
jmp 0x1009b65b
mov eax, ecx
call fcn.10002df6
test al, al
jne 0x1009b660
cmp cx, 0x2a
jne 0x1009b649
or byte [ebp + 0x5f], 2
jmp 0x1009b653
cmp cx, 0x23
jne 0x1009b653
or byte [ebp + 0x5f], 4
inc esi
inc esi
mov dword [ebp + 0x78], esi
mov cx, word [esi]
cmp cx, bx
jne 0x1009b632
lea eax, [ebp + 0x78]
push eax
call fcn.1003f9c4
jmp 0x1009b861
push 6
lea eax, [ebp + 0x78]
push eax
push str.__file
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009b68e
or dword [ebp + 0x3c], 0xffffffff
jmp 0x1009b862
push 5
lea eax, [ebp + 0x78]
push eax
push str.__shm
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009b6b1
mov dword [ebp + 0x3c], 0xfffffffe
jmp 0x1009b862
push 7
lea eax, [ebp + 0x78]
push eax
push str.__event
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009b6d4
mov dword [ebp + 0x3c], 0xfffffffc
jmp 0x1009b862
push 0xb
lea eax, [ebp + 0x78]
push eax
push str.__semaphore
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009b6f7
mov dword [ebp + 0x3c], 0xffffffe0
jmp 0x1009b862
push 5
lea eax, [ebp + 0x78]
push eax
push str.__sem
call fcn.10048195
add esp, 0xc
test al, al
jne 0x1009b6eb
push 7
lea eax, [ebp + 0x78]
push eax
push str.__mutex
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009b731
mov dword [ebp + 0x3c], 0xffffffc0
jmp 0x1009b862
push 0xa
lea eax, [ebp + 0x78]
push eax
push str.__mailslot
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009b754
mov dword [ebp + 0x3c], 0xfffffff8
jmp 0x1009b862
push 6
lea eax, [ebp + 0x78]
push eax
push str.__pipe
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009b777
mov dword [ebp + 0x3c], 0xfffffff0
jmp 0x1009b862
push 7
lea eax, [ebp + 0x78]
push eax
push str.__exist
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009b79a
mov dword [ebp + 0x40], 0x100
jmp 0x1009b862
push 6
lea eax, [ebp + 0x78]
push eax
push str.__only
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009b7bd
mov dword [ebp - 0x34], 1
jmp 0x1009b862
push 9
lea eax, [ebp + 0x78]
push eax
push str.__unknown
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009b7dc
mov dword [ebp + 0x50], edi
jmp 0x1009b862
push 8
lea eax, [ebp + 0x78]
push eax
mov esi, str.__BSTRVT
push esi
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009b7fd
mov dword [ebp + 0x50], 0x102
jmp 0x1009b862
push 6
lea eax, [ebp + 0x78]
push eax
push esi
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009b819
mov dword [ebp + 0x50], 0x100
jmp 0x1009b862
push edi
lea eax, [ebp + 0x78]
push eax
push 0x100d3280
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009b838
mov dword [ebp + 0x68], 4
jmp 0x1009b862
push 7
lea eax, [ebp + 0x78]
push eax
push str.__reset
call fcn.10048195
add esp, 0xc
test al, al
je 0x1009b858
mov dword [ebp + 0x30], 1
jmp 0x1009b862
lea eax, [ebp + 0x78]
push eax
call fcn.10008e60
pop ecx
mov esi, dword [ebp + 0x78]
cmp word [esi], 0x2d
je 0x1009b5f2
cmp word [esi], 0x2a
mov byte [ebp + 0x27], 0
jne 0x1009b88f
inc esi
lea eax, [ebp + 0x78]
inc esi
push eax
mov byte [ebp + 0x27], 1
mov dword [ebp + 0x78], esi
call fcn.1003f9c4
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 0x1009b8da
cmp word [esi + 2], 0x3a
jne 0x1009b8da
mov eax, dword [0x100e3130]
add esi, 4
mov dword [ebp + 0x78], esi
mov byte [ebp + 0x3b], 1
mov dword [ebp + 0x18], 0x100e3108
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.1003ac0c
cmp dword [ebp + 0x50], ebx
je 0x1009b9cd
test byte [ebp + 0x51], 1
mov esi, dword [ebp + 4]
mov dword [ebp + 0x7c], ebx
je 0x1009b994
cmp word [ebp + 0x30], bx
je 0x1009b919
call fcn.10044e90
jmp 0x1009b9be
cmp word [esi], bx
jne 0x1009b923
push 0xfffffffffffffffd
pop edi
jmp 0x1009b926
mov edi, dword [ebp + 0x68]
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2a
jne 0x1009b93e
cmp byte [ebp + 0x50], 0
jne 0x1009b939
or dword [ebp + 0x50], 1
inc eax
inc eax
mov dword [ebp + 0x78], eax
cmp word [eax], 0x2c
je 0x1009b949
cmp di, bx
jge 0x1009b994
call fcn.10044ecd
call fcn.10002e3e
cmp di, bx
jl 0x1009b9be
add dword [ebp + 0x78], 2
cmp di, bx
mov dword [ebp + 0x30], ebx
jle 0x1009b976
mov ecx, dword [ebp + 0x48]
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x78]
call fcn.1001ceac
mov dword [ebp + 0x78], eax
cmp dword [ebp + 0x78], ebx
je 0x1009b987
push dword [ebp + 0x78]
call dword [0x100e2be8]
mov dword [ebp + 0x7c], eax
lea ecx, [ebp + 0x30]
call fcn.1003f96c
mov esi, dword [ebp + 4]
jmp 0x1009b9a3
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.10049634
pop ecx
pop ecx
cmp word [esi], bx
je 0x1009b9c5
push dword [ebp + 0x50]
push esi
push dword [ebp + 0x7c]
push dword [ebp + 0x48]
call fcn.1002d173
add esp, 0x10
test eax, eax
je 0x1009b9c5
xor esi, esi
jmp 0x1009cb12
xor esi, esi
inc esi
jmp 0x1009cb12
mov edi, dword [ebp + 0x3c]
cmp edi, 0xfffffffe
mov byte [ebp + 0x2f], 0
jne 0x1009ba0e
mov ecx, dword [ebp + 0x78]
mov ax, word [ecx]
and ax, 0xffdf
cmp ax, 0x57
jne 0x1009ba04
inc ecx
inc ecx
mov byte [ebp + 0x2f], 1
mov dword [ebp + 0x78], ecx
jmp 0x1009ba04
inc ecx
inc ecx
cmp ax, si
mov dword [ebp + 0x78], ecx
je 0x1009ba1d
cmp ax, 0x3b
je 0x1009ba1d
mov ax, word [ecx]
cmp ax, bx
jne 0x1009b9f4
jmp 0x1009ba1d
cmp edi, 0xfffffffc
je 0x1009ba1d
cmp edi, 0xffffffe0
je 0x1009ba1d
cmp edi, 0xffffffc0
jne 0x1009ba53
mov eax, dword [ebp + 0x78]
mov ax, word [eax]
cmp ax, 0x2e
jne 0x1009ba38
add dword [ebp + 0x78], 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.Local_
jmp 0x1009ba4b
cmp ax, 0x23
jne 0x1009ba42
add dword [ebp + 0x78], 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x100d2dc4
lea ecx, [ebp + 0x58]
call fcn.100461de
cmp byte [ebp + 0x5f], 0
je 0x1009bc18
lea ecx, [ebp + 0x44]
call fcn.10046123
mov ecx, dword [ebp + 0x48]
push 0x3b
push 0x2c
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003ac0c
lea eax, [ebp + 0x44]
push eax
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x1c], 4
xor ebx, ebx
call fcn.1003a274
lea ecx, [ebp + 0x64]
call fcn.10046123
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 0x1009bafa
cmp byte [esi], bl
je 0x1009bac3
push esi
call dword [0x100e3340]
cmp eax, 0xffffffff
mov dword [ebp + 0x18], eax
jne 0x1009bafa
and dword [ebp + 0x18], ebx
push esi
call dword [0x100e3344]
test eax, eax
je 0x1009bafa
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 0x1009bafa
mov cl, byte [ebp + 0x5f]
mov byte [ebp + 0x7f], cl
mov eax, dword [eax]
test eax, eax
je 0x1009bbed
add dword [ebp + 0x60], 4
mov edi, eax
mov dword [ebp + 0x30], edi
test byte [ebp + 0x5f], 4
lea ecx, [ebp + 0x64]
je 0x1009bb76
lea eax, [ebx + 0x3e]
push eax
call fcn.10046168
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 0x1009bb39
push 0x20
pop eax
push eax
push dword [ebp + 0x30]
lea eax, [ebp - 0x84]
push eax
call fcn.100144ff
push str.0x_08I64X
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [ebp + 0x78]
call fcn.100a0df8
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 0x1009bbca
movsx esi, word [ebp + 0x1c]
lea eax, [esi + esi*2]
lea eax, [ebx + eax*2]
push eax
call fcn.10046168
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 0x1009bbc4
inc esi
movzx eax, byte [edi]
push eax
push 0x100d3270
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 0x1009bb99
dec eax
dec eax
and word [eax], 0
test byte [ebp + 0x7f], 2
je 0x1009bbed
mov ecx, dword [ebp + 0x60]
cmp dword [ecx], 0
je 0x1009bbed
mov word [eax], 0x20
sub eax, dword [ebp + 0x68]
inc eax
inc eax
sar eax, 1
add ebx, eax
mov eax, ecx
jmp 0x1009bae7
push dword [ebp + 0x64]
mov ecx, dword [ebp + 0x48]
push dword [ebp + 4]
call fcn.100457c2
lea ecx, [ebp + 0x64]
call fcn.1003f96c
lea ecx, [ebp + 0x4c]
call fcn.1003f96c
lea ecx, [ebp + 0x44]
call fcn.1003f96c
jmp 0x1009b9be
cmp edi, 0xffffffff
mov dword [ebp + 0x30], ebx
jne 0x1009bdb0
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 0x1009bc54
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 0x1009bc6e
inc eax
inc eax
mov dword [ebp + 0x64], 3
mov dword [ebp + 0x78], eax
cmp word [eax], 0x2d
jne 0x1009bc7e
xor edx, edx
xor edi, edi
inc edx
inc eax
inc eax
mov dword [ebp + 0x78], eax
xor ecx, ecx
jmp 0x1009bcbc
inc eax
inc eax
cmp cx, 0x2c
mov dword [ebp + 0x78], eax
je 0x1009bcc4
cmp cx, 0x3b
je 0x1009bcc4
and ecx, 0xffdf
cmp edx, ebx
je 0x1009bcbc
cmp cx, 0x52
jne 0x1009bca8
or edi, 1
jmp 0x1009bcbc
cmp cx, 0x57
jne 0x1009bcb3
or edi, 2
jmp 0x1009bcbc
cmp cx, 0x44
jne 0x1009bcbc
or edi, 4
mov cx, word [eax]
cmp cx, bx
jne 0x1009bc82
lea ecx, [ebp + 0x20]
call fcn.10046123
mov ecx, dword [ebp + 0x48]
push 0x3b
push 0x2c
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003ac0c
push dword [ebp + 0x20]
call fcn.100132bf
mov esi, eax
mov ax, word [esi]
cmp ax, bx
pop ecx
jne 0x1009bd17
lea ecx, [ebp + 0x20]
call fcn.1003f96c
cmp word [ebp + 0x40], bx
je 0x1009c88d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1009bd10
inc eax
mov esi, eax
jmp 0x1009cb12
cmp dword [ebp + 0x64], 3
jne 0x1009bd6e
cmp edi, ebx
je 0x1009bd6e
cmp ax, 0x5c
jne 0x1009bd58
cmp word [esi + 2], ax
jne 0x1009bd58
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.10005b9d
cmp dword [ebp + 0x68], ebx
lea ecx, [ebp + 0x68]
jne 0x1009bd51
call fcn.10002d56
jmp 0x1009bd87
call fcn.10002d56
jmp 0x1009bd6e
push esi
call fcn.100b3755
and eax, 0x10
and edx, 1
cmp eax, ebx
pop ecx
jne 0x1009bd87
cmp edx, 1
jne 0x1009bd87
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.10005b9d
mov dword [ebp + 0x6c], eax
cmp word [ebp + 0x40], bx
je 0x1009bd95
lea ecx, [ebp + 0x20]
jmp 0x1009c633
cmp dword [ebp + 0x6c], ebx
jne 0x1009bda8
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x20]
jmp 0x1009c830
lea ecx, [ebp + 0x20]
jmp 0x1009c83f
cmp edi, 0xfffffffe
jne 0x1009c2f3
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 0x1009be02
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.10046123
lea ecx, [ebp + 0x50]
call fcn.10046123
mov ecx, dword [ebp + 0x48]
push 0x3b
push esi
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003ac0c
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x1009be48
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1005381f
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
pop ecx
je 0x1009be48
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 0x1009be65
add dword [ebp + 0x78], 8
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x1009be98
mov ecx, dword [ebp + 0x48]
push 0x3b
push 0x2c
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003ac0c
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x1009be98
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1005381f
pop ecx
pop ecx
mov eax, dword [ebp + 0x34]
cmp word [eax], bx
je 0x1009c2e3
cmp dword [ebp + 0xc], ebx
jl 0x1009c2e3
mov esi, dword [ebp + 8]
jg 0x1009beba
cmp esi, ebx
jb 0x1009c2e3
cmp dword [ebp - 0xc], ebx
jl 0x1009c2e3
jg 0x1009bece
cmp dword [ebp - 0x10], ebx
jb 0x1009c2e3
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x1009bf10
add dword [ebp + 0x78], 2
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1007edb8
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 0x20], eax
jle 0x1009bef9
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 0x1009bf10
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1007edb8
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 0x1009bf42
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x100c78c2
lea ecx, [ebp + 0x58]
call fcn.100461de
mov eax, str.pecmd2012.sm.
jmp 0x1009bf47
mov eax, str.pecmd2012.shm.
push eax
lea ecx, [ebp + 0x58]
call fcn.1004618f
push dword [ebp + 0x34]
lea ecx, [ebp + 0x58]
call fcn.1004618f
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 0x1009bfd2
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.10053b3c
movzx ecx, byte [ebp + 0x28]
add esp, 0x14
cmp word [ebp + 0x40], 0
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x28], ecx
jne 0x1009c046
test eax, eax
je 0x1009c1b9
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x1c], 0xfffffffe
jmp 0x1009c1b5
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.10053b3c
movzx ecx, byte [ebp + 0x28]
add esp, 0x14
test eax, eax
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x28], ecx
je 0x1009c026
cmp word [ebp + 0x40], 0
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x44], eax
je 0x1009c01e
mov dword [ebp + 0x6c], eax
jmp 0x1009c046
test eax, eax
jne 0x1009c1ac
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 0x1009c05b
mov dword [ebp + 0x6c], edi
lea ecx, [ebp + 0x50]
call fcn.1003f96c
lea ecx, [ebp + 0x34]
call fcn.1003f96c
jmp 0x1009c945
cmp dword [ebp + 0x68], 0
jne 0x1009c081
test edi, edi
je 0x1009c06c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 0x50]
call fcn.1003f96c
lea ecx, [ebp + 0x34]
call fcn.1003f96c
jmp 0x1009c94f
test edi, edi
jne 0x1009c153
mov eax, dword [ebp + 0x50]
cmp word [eax], di
je 0x1009c0e4
push eax
call fcn.100132bf
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.10005b9d
cmp eax, edi
mov dword [ebp + 0x6c], eax
jne 0x1009c0e4
push 0x200
push dword [ebp + 0x68]
call fcn.1004282a
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, edi
jne 0x1009c0d4
xor esi, esi
inc esi
lea ecx, [ebp + 0x50]
call fcn.1003f96c
lea ecx, [ebp + 0x34]
jmp 0x1009c832
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.1004276f
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 0x1009c14f
jl 0x1009c143
cmp dword [ebp + 0x10], 0
ja 0x1009c14f
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x14], eax
test edi, edi
je 0x1009c178
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 0x1009c187
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 0x1009c1a8
test edi, edi
je 0x1009c1ac
cmp edi, 0xffffffff
je 0x1009c1ac
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1009c1ac
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 0x1009c1c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jmp 0x1009c0cf
cmp dword [ebp + 0x28], 0
je 0x1009c1e3
test esi, esi
je 0x1009c1e3
mov ecx, dword [ebp - 0x2c]
push esi
add ecx, eax
push 0
push ecx
call fcn.100b40f0
add esp, 0xc
cmp dword [ebp + 0x28], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
je 0x1009c2d3
cmp dword [ebp + 0x20], 0
jle 0x1009c2d3
cmp dword [ebp + 0x14], 0
jl 0x1009c2d3
jg 0x1009c213
cmp dword [ebp + 0x10], 0
jbe 0x1009c2d3
cmp dword [ebp], 1
jb 0x1009c256
ja 0x1009c221
cmp dword [ebp - 4], 0
jb 0x1009c256
push 0
push 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.100b4150
dec eax
js 0x1009c2d3
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 0x1009c2d3
xor eax, eax
cmp dword [ebp], eax
ja 0x1009c266
cmp dword [ebp - 4], 0x10000
jb 0x1009c284
push eax
push 4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.100b4150
dec eax
js 0x1009c2d3
mov edi, dword [ebp + 0x44]
lea ecx, [eax + 1]
mov eax, dword [ebp - 4]
rep stosd dword es:[edi], eax
jmp 0x1009c2d3
cmp dword [ebp], eax
ja 0x1009c292
cmp dword [ebp - 4], 0x100
jb 0x1009c2c2
push eax
push 2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.100b4150
dec eax
js 0x1009c2d3
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 0x1009c2d3
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 0x44]
call fcn.100b40f0
add esp, 0xc
lea ecx, [ebp + 0x50]
call fcn.1003f96c
lea ecx, [ebp + 0x34]
jmp 0x1009c83f
lea ecx, [ebp + 0x50]
call fcn.1003f96c
lea ecx, [ebp + 0x34]
jmp 0x1009c888
cmp edi, 0xfffffffc
jne 0x1009c435
lea ecx, [ebp + 0x54]
call fcn.10046123
lea ecx, [ebp + 0x68]
call fcn.10046123
mov ecx, dword [ebp + 0x48]
push 0x3b
push esi
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003ac0c
mov eax, dword [ebp + 0x54]
cmp word [eax], bx
jne 0x1009c337
lea ecx, [ebp + 0x68]
call fcn.1003f96c
lea ecx, [ebp + 0x54]
jmp 0x1009c888
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.1007ed98
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1007ed98
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1007ed98
add esp, 0x18
push str.pecmd2012.event.
lea ecx, [ebp + 0x58]
call fcn.1004618f
push dword [ebp + 0x54]
lea ecx, [ebp + 0x58]
call fcn.1004618f
cmp word [ebp + 0x40], bx
jne 0x1009c38d
cmp dword [ebp + 0x64], ebx
jne 0x1009c3bb
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 0x1009c3b7
lea ecx, [ebp + 0x68]
call fcn.1003f96c
lea ecx, [ebp + 0x54]
jmp 0x1009c633
cmp eax, ebx
jne 0x1009c425
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.1004276f
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 0x1009c425
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x68]
mov esi, eax
call fcn.1003f96c
lea ecx, [ebp + 0x54]
jmp 0x1009c832
lea ecx, [ebp + 0x68]
call fcn.1003f96c
lea ecx, [ebp + 0x54]
jmp 0x1009c83f
cmp edi, 0xffffffe0
jne 0x1009c5a2
lea ecx, [ebp + 0x4c]
call fcn.10046123
lea ecx, [ebp + 0x68]
call fcn.10046123
mov ecx, dword [ebp + 0x48]
push 0x3b
push esi
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003ac0c
mov eax, dword [ebp + 0x4c]
cmp word [eax], bx
jne 0x1009c479
lea ecx, [ebp + 0x68]
call fcn.1003f96c
lea ecx, [ebp + 0x4c]
jmp 0x1009c888
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.1007ed98
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1007ed98
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1007ed98
mov esi, dword [ebp + 0x64]
add esp, 0x18
cmp esi, edi
jge 0x1009c4b8
mov esi, edi
cmp dword [ebp + 0x54], esi
jle 0x1009c4c0
mov dword [ebp + 0x54], esi
push str.pecmd2012.semaphore.
lea ecx, [ebp + 0x58]
call fcn.1004618f
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x58]
call fcn.1004618f
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 0x1009c500
lea ecx, [ebp + 0x68]
call fcn.1003f96c
lea ecx, [ebp + 0x4c]
jmp 0x1009c633
cmp eax, ebx
jne 0x1009c592
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.1004276f
cmp dword [ebp + 0x54], edi
pop ecx
jge 0x1009c545
mov dword [ebp + 0x54], edi
mov eax, dword [ebp + 0x54]
cmp eax, edi
jg 0x1009c54f
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 0x1009c581
lea ecx, [ebp + 0x68]
call fcn.1003f96c
lea ecx, [ebp + 0x4c]
jmp 0x1009c832
cmp dword [ebp + 0x54], 1
jge 0x1009c592
push 0xffffffffffffffff
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp + 0x68]
call fcn.1003f96c
lea ecx, [ebp + 0x4c]
jmp 0x1009c83f
cmp edi, 0xffffffc0
jne 0x1009c6c7
lea ecx, [ebp + 0x60]
call fcn.10046123
lea ecx, [ebp + 0x64]
call fcn.10046123
mov ecx, dword [ebp + 0x48]
push 0x3b
push esi
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003ac0c
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
jne 0x1009c5e6
lea ecx, [ebp + 0x64]
call fcn.1003f96c
lea ecx, [ebp + 0x60]
jmp 0x1009c888
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x68], ebx
call fcn.1007ed98
pop ecx
pop ecx
push str.pecmd2012.mutex.
lea ecx, [ebp + 0x58]
call fcn.1004618f
push dword [ebp + 0x60]
lea ecx, [ebp + 0x58]
call fcn.1004618f
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 0x1009c63d
lea ecx, [ebp + 0x64]
call fcn.1003f96c
lea ecx, [ebp + 0x60]
call fcn.1003f96c
jmp 0x1009c932
cmp eax, ebx
jne 0x1009c6b7
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.1004276f
cmp dword [ebp + 0x68], edi
pop ecx
jge 0x1009c67e
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 0x1009c6b7
lea ecx, [ebp + 0x64]
call fcn.1003f96c
lea ecx, [ebp + 0x60]
jmp 0x1009c832
lea ecx, [ebp + 0x64]
call fcn.1003f96c
lea ecx, [ebp + 0x60]
jmp 0x1009c83f
cmp edi, 0xfffffff8
jne 0x1009c849
lea ecx, [ebp + 0x64]
call fcn.10046123
mov ecx, dword [ebp + 0x48]
push 0x3b
push esi
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003ac0c
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
jne 0x1009c6fb
lea ecx, [ebp + 0x64]
jmp 0x1009c888
or dword [ebp + 0x60], 0xffffffff
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x68], ebx
call fcn.1007ed98
cmp dword [ebp + 0x68], ebx
pop ecx
pop ecx
jne 0x1009c719
mov dword [ebp + 0x60], ebx
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1007ed98
pop ecx
pop ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push str..mailslotpecmd2012.mailslot.
lea ecx, [ebp + 0x58]
call fcn.100461de
push dword [ebp + 0x64]
lea ecx, [ebp + 0x58]
call fcn.1004618f
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.1004276f
cmp word [ebp + 0x40], si
pop ecx
jne 0x1009c7a3
cmp dword [ebp + 0x68], esi
je 0x1009c7a3
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 0x1009c821
jmp 0x1009c81e
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 0x1009c80f
cmp dword [ebp + 0x6c], 0xffffffff
jne 0x1009c821
cmp dword [ebp + 0x60], 0xffffffff
je 0x1009c7f1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x68]
cmp eax, dword [ebp + 0x60]
jae 0x1009c81c
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 0x1009c7d7
lea ecx, [ebp + 0x64]
call fcn.1003f96c
jmp 0x1009c928
xor esi, esi
mov dword [ebp + 0x6c], esi
cmp dword [ebp + 0x6c], 0
jne 0x1009c83c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x64]
mov esi, eax
call fcn.1003f96c
jmp 0x1009cb12
lea ecx, [ebp + 0x64]
call fcn.1003f96c
jmp 0x1009ca5e
cmp edi, 0xfffffff0
jne 0x1009c9f6
lea ecx, [ebp + 0x68]
call fcn.10046123
lea ecx, [ebp + 0x64]
call fcn.10046123
mov ecx, dword [ebp + 0x48]
push 0x3b
push esi
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003ac0c
mov eax, dword [ebp + 0x68]
cmp word [eax], bx
jne 0x1009c897
lea ecx, [ebp + 0x64]
call fcn.1003f96c
lea ecx, [ebp + 0x68]
call fcn.1003f96c
mov esi, 0x80070057
jmp 0x1009cb12
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1007ed98
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1007ed98
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1007ed98
add esp, 0x18
push 0xffffffffffffffff
push 0xffffffffffffffff
push str..pipepecmd2012.pipe.
lea ecx, [ebp + 0x58]
call fcn.100461de
push dword [ebp + 0x68]
lea ecx, [ebp + 0x58]
call fcn.1004618f
or dword [ebp + 0x6c], 0xffffffff
cmp word [ebp + 0x40], bx
je 0x1009c8eb
xor ebx, ebx
jmp 0x1009c8ee
mov ebx, dword [ebp + 0x54]
lea ecx, [ebp + 0x64]
call fcn.1003f96c
lea ecx, [ebp + 0x68]
call fcn.1003f96c
test bl, 4
jne 0x1009c956
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.1004278e
add esp, 0xc
cmp word [ebp + 0x40], 0
mov dword [ebp + 0x6c], eax
je 0x1009c956
cmp dword [ebp + 0x6c], 0xffffffff
jne 0x1009c932
and dword [ebp + 0x6c], 0
cmp dword [ebp + 0x6c], 0
je 0x1009bd05
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x6c], 0
je 0x1009bd05
xor eax, eax
jmp 0x1009bd10
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.1004276f
test bl, 2
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
pop ecx
jne 0x1009c9d9
cmp dword [ebp + 0x6c], 0xffffffff
jne 0x1009ca5e
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 0x1009c9cc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1009c9cc
call esi
cmp dword [ebp + 0x6c], 0xffffffff
je 0x1009c9df
mov dword [ebp + 0x3c], 0xffffffef
cmp dword [ebp + 0x6c], 0xffffffff
jne 0x1009c9e3
and dword [ebp + 0x6c], 0
cmp dword [ebp + 0x3c], 0xfffffff0
je 0x1009ca5e
cmp dword [ebp + 0x6c], 0
jne 0x1009ca5e
call esi
jmp 0x1009bd10
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x1009ca46
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.10053a89
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
pop ecx
je 0x1009ca46
add dword [ebp + 0x78], 2
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.10053a89
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
pop ecx
je 0x1009ca43
add dword [ebp + 0x78], 2
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.10053a89
pop ecx
pop ecx
mov edi, dword [ebp + 0x3c]
push dword [ebp + 0x1c]
push edi
push dword [ebp + 0x44]
call dword [0x100e32f8]
cmp eax, ebx
mov dword [ebp + 0x6c], eax
jle 0x1009b9c5
mov esi, dword [ebp - 0x38]
xor ebx, ebx
cmp esi, ebx
jne 0x1009ca9b
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.10012b49
mov esi, dword [esi + 0x28]
cmp esi, ebx
pop ecx
pop ecx
jne 0x1009ca9b
cmp dword [ebp + 0x6c], ebx
je 0x1009c88d
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1009c88d
cmp byte [ebp + 0x3b], 0
jne 0x1009caaf
cmp byte [ebp + 0x27], 0
jne 0x1009caaf
mov edi, dword [esi + 0x1a4]
jmp 0x1009cab2
mov edi, dword [ebp + 0x18]
cmp word [ebp - 0x34], bx
je 0x1009caf4
push 0x100d31ac
lea ecx, [ebp + 0x48]
call fcn.100501eb
push dword [ebp + 4]
lea ecx, [ebp + 0x48]
call fcn.1004618f
push 0x100d319c
lea ecx, [ebp + 0x48]
call fcn.1004618f
push dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x18]
push ebx
push dword [ebp + 0x48]
call fcn.10096e71
lea ecx, [ebp + 0x48]
call fcn.1003f96c
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.1004671b
mov esi, dword [ebp + 0x30]
lea ecx, [ebp + 0x58]
call fcn.1003f96c
lea ecx, [ebp - 0x50]
call fcn.1003f96c
lea ecx, [ebp - 0x4c]
call fcn.1003f96c
lea ecx, [ebp - 0x48]
call fcn.1003f96c
lea ecx, [ebp + 4]
call fcn.1003f96c
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8