Function at 0x47d229
Capabilities:
Connect pipe

Disassembly:
cmp word [esi + 2], 0x2d
jne 0x47d17a
push 0xf
push esi
push str.__gethostbyname
call 0x4b5541
add esp, 0xc
test al, al
je 0x47d02e
add esi, 0x1e
xor ecx, ecx
mov dword [ebp + 0x78], esi
mov cx, word [esi]
cmp cx, di
je 0x47cfec
mov eax, ecx
call 0x4b4211
test al, al
je 0x47d01b
mov byte [ebp + 0x63], 1
jmp 0x47d01b
mov eax, ecx
call 0x4b4222
test al, al
jne 0x47d020
cmp cx, 0x2a
jne 0x47d009
or byte [ebp + 0x63], 2
jmp 0x47d013
cmp cx, 0x23
jne 0x47d013
or byte [ebp + 0x63], 4
add esi, ebx
mov dword [ebp + 0x78], esi
js 0x47d07f
mov ecx, dword [esi]
cmp cx, di
jne 0x47cff2
lea eax, [ebp + 0x78]
push eax
call 0x4b428a
jmp 0x47d16c
or esi, 0xffffffff
push esi
lea eax, [ebp + 0x78]
push eax
push str.__file
call 0x4bc039
add esp, 0xc
test al, al
je fcn.0047d04f
mov dword [ebp + 0x50], esi
jmp 0x47d16d
push esi
lea eax, [ebp + 0x78]
push eax
push str.__shm
dec ebx
add al, ch
stc
out dx, eax
add eax, dword [eax]
add esp, 0xc
test al, al
je 0x47d071
mov dword [ebp + 0x50], 0xfffffffe
jmp 0x47d16d
push esi
lea eax, [ebp + 0x78]
push eax
push str.__event
call 0x4bc079
add esp, 0xc
test al, al
je 0x47d093
mov dword [ebp + 0x50], 0xfffffffc
jmp 0x47d16d
push esi
lea eax, [ebp + 0x78]
push eax
push str.__semaphore
call 0x4bc09b
add esp, 0xc
test al, al
je 0x47d0b5
mov dword [ebp + 0x50], 0xffffffe0
jmp 0x47d16d
push esi
lea eax, [ebp + 0x78]
push eax
push str.__sem
call 0x4bc0bd
add esp, 0xc
test al, al
jne 0x47d0a9
push esi
lea eax, [ebp + 0x78]
push eax
push str.__mutex
call 0x4bc0d3
add esp, 0xc
test al, al
je 0x47d0ed
mov dword [ebp + 0x50], 0xffffffc0
jmp 0x47d16d
push esi
lea eax, [ebp + 0x78]
push eax
push str.__mailslot
call 0x4bc0f5
stc
out dx, eax
add eax, dword [eax]
add esp, 0xc
test al, al
je 0x47d10c
mov dword [ebp + 0x50], 0xfffffff8
jmp 0x47d16d
push esi
lea eax, [ebp + 0x78]
inc ebp
js 0x47d161
push str.__pipe
call 0x4bc114
add esp, 0xc
test al, al
je 0x47d12b
mov dword [ebp + 0x50], 0xfffffff0
jmp 0x47d16d
push esi
lea eax, [ebp + 0x78]
push eax
push 0x4b1708
call 0x4bc133
add esp, 0xc
les ecx, [esp + eax*4]
invalid
je 0x47d147
mov byte [ebp + 0x6f], 1
jmp 0x47d16d
push esi
lea eax, [ebp + 0x78]
push eax
push str.__only
call 0x4bc14f
add esp, 0xc
test al, al
je 0x47d163
mov byte [ebp + 0x3a], 1
jmp 0x47d16d
lea eax, [ebp + 0x78]
push eax
call fcn.004816fe
pop ecx
mov esi, dword [ebp + 0x78]
cmp word [esi], 0x2d
je 0x47cfb2
cmp word [esi], 0x2a
mov byte [ebp + 0x3b], 0
jne 0x47d19a
lea eax, [ebp + 0x78]
add esi, ebx
push eax
mov byte [ebp + 0x3b], 1
mov dword [ebp + 0x78], esi
call 0x4b43f7
mov esi, dword [ebp + 0x78]
pop ecx
mov eax, dword [ebp + 0x4c]
or dword [ebp + 0x5c], 0xffffffff
cmp word [esi], 0x3a
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp - 0x3c], eax
mov byte [ebp + 0x4b], 0
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x44], 0x100000
mov dword [ebp + 0x40], 0x80000001
jne 0x47d1e5
cmp word [esi + 2], 0x3a
jne 0x47d1e5
mov eax, dword [0x4c0fe0]
add esi, 4
mov dword [ebp + 0x78], esi
mov byte [ebp + 0x4b], 1
mov dword [ebp + 0x2c], 0x4c0fb8
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0x4c]
push 0x3b
push 0x2c
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x78]
push eax
call 0x4afcfc
mov esi, dword [ebp + 0x50]
xor bl, bl
cmp esi, 0xfffffffe
jne 0x47d237
mov ecx, dword [ebp + 0x78]
mov ax, word [ecx]
and ax, 0xffdf
cmp ax, 0x57
jne 0x47d22d
inc bl
inc ecx
inc ecx
mov dword [ebp + 0x78], ecx
jmp 0x47d22d
inc ecx
inc ecx
cmp ax, 0x2c
mov dword [ebp + 0x78], ecx
je 0x47d246
cmp ax, 0x3b
je 0x47d246
mov ax, word [ecx]
cmp ax, di
jne 0x47d21c
jmp 0x47d246
cmp esi, 0xfffffffc
je 0x47d246
cmp esi, 0xffffffe0
je 0x47d246
cmp esi, 0xffffffc0
jne 0x47d27c
mov eax, dword [ebp + 0x78]
mov ax, word [eax]
cmp ax, 0x2e
jne 0x47d261
add dword [ebp + 0x78], 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.Local_
jmp 0x47d274
cmp ax, 0x23
jne 0x47d26b
add dword [ebp + 0x78], 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x4b0fb4
lea ecx, [ebp + 0x54]
call 0x4ba4b1
cmp byte [ebp + 0x63], 0
je 0x47d43a
lea ecx, [ebp + 0x50]
call 0x4ba408
add byte [ebx + 0x3b6a4c4d], cl
push 0x2c
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x78]
push eax
call 0x4afda5
lea eax, [ebp + 0x50]
push eax
lea ecx, [ebp + 0x5c]
mov dword [ebp + 0x64], 4
xor ebx, ebx
call fcn.0047f270
lea ecx, [ebp + 0x3c]
call 0x4ba439
mov esi, dword [ebp + 0x5c]
test esi, esi
cmp esi, 0xffffffff
mov dword [ebp + 0xc], edi
jne 0x47d5fb
mov eax, dword [ebp + 0x78]
mov cx, word [eax]
and cx, 0xffdf
push 7
xor edx, edx
cmp cx, 0x57
mov dword [ebp + 0x5c], 0x80000000
pop ebx
jne 0x47d476
inc eax
inc eax
mov dword [ebp + 0x5c], 0xc0000000
mov dword [ebp + 0x58], 4
mov dword [ebp + 0x78], eax
cmp word [eax], 0x2d
jne 0x47d486
xor edx, edx
xor ebx, ebx
inc edx
inc eax
inc eax
mov dword [ebp + 0x78], eax
xor ecx, ecx
jmp 0x47d4c4
inc eax
inc eax
cmp cx, 0x2c
mov dword [ebp + 0x78], eax
je 0x47d4cc
cmp cx, 0x3b
je 0x47d4cc
and ecx, 0xffdf
cmp edx, edi
je 0x47d4c4
cmp cx, 0x52
jne 0x47d4b0
or ebx, 1
jmp 0x47d4c4
cmp cx, 0x57
jne 0x47d4bb
or ebx, 2
jmp 0x47d4c4
cmp cx, 0x44
jne 0x47d4c4
or ebx, 4
mov cx, word [eax]
cmp cx, di
jne 0x47d48a
lea ecx, [ebp + 0x34]
call 0x4ba64e
mov ecx, dword [ebp + 0x4c]
push 0x3b
push 0x2c
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x78]
push eax
call 0x4affeb
push dword [ebp + 0x34]
call fcn.0048df06
mov esi, eax
mov ax, word [esi]
cmp ax, di
pop ecx
jne 0x47d51f
lea ecx, [ebp + 0x34]
call 0x4b4719
cmp byte [ebp + 0x6f], 0
je 0x47dfb8
call dword [0x4a6498]
test eax, eax
jne 0x47d518
inc eax
mov esi, eax
jmp 0x47e203
cmp dword [ebp + 0x58], 3
jne 0x47d576
push ecx
cmp ebx, edi
je 0x47d576
cmp ax, 0x5c
jne 0x47d560
cmp word [esi + 2], ax
jne 0x47d560
push edi
push edi
push 3
push edi
push edi
push dword [ebp + 0x5c]
lea ecx, [ebp + 0x64]
push esi
mov dword [ebp + 0x64], edi
call fcn.00481b18
cmp dword [ebp + 0x64], edi
lea ecx, [ebp + 0x64]
jne 0x47d559
call fcn.0047f4ad
jmp 0x47d58f
call fcn.0047f4b4
jmp 0x47d576
push esi
call 0x50ef88
and eax, 0x10
and edx, 1
cmp eax, edi
pop ecx
jne 0x47d58f
cmp edx, 1
jne 0x47d58f
push edi
push edi
push dword [ebp + 0x58]
lea ecx, [ebp + 0x40]
push edi
push ebx
push dword [ebp + 0x5c]
mov dword [ebp + 0x40], edi
push esi
call fcn.00481b5a
mov dword [ebp + 0x68], eax
cmp byte [ebp + 0x6f], 0
je 0x47d59d
lea ecx, [ebp + 0x34]
jmp 0x47dd65
cmp dword [ebp + 0x68], edi
jne 0x47d5b0
call dword [0x4a6498]
lea ecx, [ebp + 0x34]
jmp 0x47dee7
lea ecx, [ebp + 0x34]
cmp esi, 0xfffffffe
jne 0x47da23
test bl, bl
push 4
pop eax
mov dword [ebp + 0x44], 2
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x30], 0x80000000
xor byte [eax], al
add byte [eax], al
or byte [ecx + 0x7d89407d], 0
mov dword [ebp + 4], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x18], edi
je 0x47d64b
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x64], 6
push es
add byte [eax], al
add bh, al
inc ebp
xor byte [eax], al
add byte [eax], al
invalid
mov dword [ebp + 0x58], eax
lea ecx, [ebp + 0x24]
call 0x4ba7cd
lea ecx, [ebp + 0x28]
call 0x4ba7d5
mov ecx, dword [ebp + 0x4c]
push 0x3b
push 0x2c
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x78]
push eax
call 0x4b0172
mov eax, dword [ebp + 0x78]
cmp word [eax], di
je 0x47d6bd
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x78]
push eax
call 0x4c5ea6
mov eax, dword [ebp + 0x78]
cmp word [eax], di
pop ecx
pop ecx
je 0x47d6bd
mov ecx, dword [ebp + 0x4c]
add dword [ebp + 0x78], 2
push 0x3b
push 0x2c
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp + 0x78]
js 0x47d6f1
call 0x4b01a9
mov eax, dword [ebp + 0x78]
cmp word [eax], di
je 0x47d6bd
lea eax, [ebp]
push eax
lea eax, [ebp + 0x78]
push eax
call 0x4c5edd
pop ecx
pop ecx
mov eax, dword [ebp + 0x24]
cmp word [eax], di
je 0x47da13
add byte [eax], al
mov esi, dword [ebp + 0x20]
lea ecx, [ebp + 0x28]
call 0x4b4c31
lea ecx, [ebp + 0x24]
jmp 0x47dfb3
cmp esi, 0xfffffffc
jne 0x47db66
lea ecx, [ebp + 0x30]
call 0x4babae
lea ecx, [ebp + 0x64]
call 0x4babb6
mov ecx, dword [ebp + 0x4c]
push 0x3b
push 0x2c
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x78]
push eax
call 0x4b0553
mov eax, dword [ebp + 0x30]
cmp word [eax], di
jne 0x47da68
lea ecx, [ebp + 0x64]
call 0x4b4c76
lea ecx, [ebp + 0x30]
jmp 0x47dfb3
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x58], edi
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x40], edi
call fcn.00482027
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00482034
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00482041
add esp, 0x18
push str.pecmd2012.event.
lea ecx, [ebp + 0x54]
call 0x4bac8e
push dword [ebp + 0x30]
lea ecx, [ebp + 0x54]
call 0x4bac99
cmp byte [ebp + 0x6f], 0
jne 0x47dabe
cmp dword [ebp + 0x58], edi
jne 0x47daec
push dword [ebp + 0x54]
xor eax, eax
mov byte [ebp - 0x5c], 0
lea edi, [ebp - 0x5b]
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 - 0x5c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
xor esi, esi
push eax
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x18], esi
call fcn.0043a99f
xor eax, eax
cmp dword [ebp + 0x58], esi
pop ecx
push dword [ebp + 0x54]
setne al
push eax
xor eax, eax
cmp dword [ebp + 0x5c], esi
setne al
push eax
lea eax, [ebp - 0x20]
push eax
call dword [0x4a64a4]
adc eax, 0x4a64a4
cmp eax, esi
mov dword [ebp + 0x68], eax
jne 0x47db56
call dword [0x4a6498]
lea ecx, [ebp + 0x64]
mov esi, eax
call 0x4b4d64
lea ecx, [ebp + 0x30]
jmp 0x47dee9
lea ecx, [ebp + 0x64]
call 0x4b4d74
lea ecx, [ebp + 0x30]
jmp 0x47d5b3
cmp esi, 0xffffffe0
jne 0x47dcd3
lea ecx, [ebp + 0x44]
call 0x4bacf1
lea ecx, [ebp + 0x64]
call 0x4bacf9
mov ecx, dword [ebp + 0x4c]
push 0x3b
push 0x2c
lea eax, [ebp + 0x44]
inc esp
push eax
lea eax, [ebp + 0x78]
push eax
call 0x4b0696
invalid
mov eax, dword [ebp + 0x44]
inc ebp
inc esp
cmp word [eax], di
jne 0x47dbab
lea ecx, [ebp + 0x64]
call 0x4b4db9
lea ecx, [ebp + 0x44]
jmp 0x47dfb3
lea eax, [ebp + 0x58]
push eax
xor ebx, ebx
lea eax, [ebp + 0x78]
inc ebx
push eax
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x5c], edi
call fcn.0048216d
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0048217a
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00482187
mov esi, dword [ebp + 0x40]
add esp, 0x18
cmp esi, ebx
jge 0x47dbea
mov esi, ebx
mov ebx, dword [ebp + 0x58]
cmp ebx, esi
jle 0x47dbf3
mov ebx, esi
push str.pecmd2012.semaphore.
lea ecx, [ebp + 0x54]
cmp esi, 0xffffffc0
jne 0x47ddf9
lea ecx, [ebp + 0x5c]
call 0x4bae5e
lea ecx, [ebp + 0x58]
call 0x4bae66
mov ecx, dword [ebp + 0x4c]
push 0x3b
push 0x2c
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call 0x4b0803
mov eax, dword [ebp + 0x5c]
cmp word [eax], di
jne 0x47dd18
lea ecx, [ebp + 0x58]
call 0x4b4f26
lea ecx, [ebp + 0x5c]
jmp 0x47dfb3
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x64], edi
call fcn.004822d1
pop ecx
pop ecx
push str.pecmd2012.mutex.
lea ecx, [ebp + 0x54]
call 0x4baf1d
push dword [ebp + 0x5c]
lea ecx, [ebp + 0x54]
call 0x4baf28
push dword [ebp + 0x54]
push edi
push 0x100002
call dword [0x4a6348]
cmp byte [ebp + 0x6f], 0
mov dword [ebp + 0x68], eax
je 0x47dd6f
lea ecx, [ebp + 0x58]
call 0x4b4f78
lea ecx, [ebp + 0x5c]
call 0x4b4f80
jmp 0x47e05c
cmp eax, edi
jne 0x47dde9
xor eax, eax
mov byte [ebp - 0xb8], 0
lea edi, [ebp - 0xb7]
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 - 0xb8]
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 0x4b7b42
cmp dword [ebp + 0x64], edi
pop ecx
jge 0x47ddb0
mov dword [ebp + 0x64], edi
push dword [ebp + 0x54]
xor eax, eax
cmp dword [ebp + 0x64], edi
setg al
push eax
lea eax, [ebp - 0x14]
push eax
call dword [0x4a64a0]
mov dword [ebp + 0x68], eax
call dword [0x4a6498]
cmp dword [ebp + 0x68], edi
mov esi, eax
mov dword [ebp + 0xc], esi
jne 0x47dde9
lea ecx, [ebp + 0x58]
call 0x4b4ff7
lea ecx, [ebp + 0x5c]
jmp 0x47dee9
lea ecx, [ebp + 0x58]
call 0x4b5007
lea ecx, [ebp + 0x5c]
jmp 0x47d5b3
cmp esi, 0xfffffff8
jne 0x47df73
invalid
lea ecx, [ebp + 0x58]
call 0x4baf84
mov esi, eax
cmp esi, 0xfffffff0
jne 0x47e11e
lea ecx, [ebp + 0x64]
call 0x4bb0fe
lea ecx, [ebp + 0x58]
call 0x4bb106
mov ecx, dword [ebp + 0x4c]
push 0x3b
push 0x2c
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x78]
push eax
call 0x4b0aa3
mov eax, dword [ebp + 0x64]
cmp word [eax], di
jne 0x47dfc2
lea ecx, [ebp + 0x58]
call 0x4b51c6
lea ecx, [ebp + 0x64]
call 0x4b51ce
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00482578
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00482585
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00482592
add esp, 0x18
push 0xffffffffffffffff
push 0xffffffffffffffff
push str..pipepecmd2012.pipe.
lea ecx, [ebp + 0x54]
call 0x4bb232
push dword [ebp + 0x64]
lea ecx, [ebp + 0x54]
push esp
call 0x4bb1ee
or dword [ebp + 0x68], 0xffffffff
cmp byte [ebp + 0x6f], 0
je 0x47e016
xor ebx, ebx
jmp 0x47e019
mov ebx, dword [ebp + 0x40]
lea ecx, [ebp + 0x58]
call 0x4b5237
lea ecx, [ebp + 0x64]
call 0x4b523f
test bl, 4
jne 0x47e076
mov eax, ebx
and eax, 3
sub al, 3
neg al
sbb eax, eax
inc eax
push eax
push dword [ebp + 0x5c]
push dword [ebp + 0x54]
call 0x4b7e00
add esp, 0xc
cmp byte [ebp + 0x6f], 0
mov dword [ebp + 0x68], eax
je 0x47e076
cmp dword [ebp + 0x68], 0xffffffff
jne 0x47e05c
and dword [ebp + 0x68], 0
cmp dword [ebp + 0x68], 0
je 0x47d50d
push dword [ebp + 0x68]
call dword [0x4a64ec]
xor eax, eax
jmp 0x47d518
xor eax, eax
mov byte [ebp - 0x70], 0
and dword [ebp + 4], 0
lea edi, [ebp - 0x6f]
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 - 0x70]
mov dword [ebp], eax
lea eax, [ebp]
push eax
mov dword [ebp - 4], 0xc
call 0x4b7e3b
test bl, 2
mov esi, dword [0x4a6498]
pop ecx
jne 0x47e0f9
cmp dword [ebp + 0x68], 0xffffffff
jne 0x47d5b8
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x5c]
push dword [ebp + 0x44]
push dword [ebp + 0x44]
push 0xff
push 0
push 3
push dword [ebp + 0x54]
call dword [0x4a6340]
test bl, 1
mov dword [ebp + 0x68], eax
je 0x47e0ec
push 0
push eax
call dword [0x4a6188]
test eax, eax
jne 0x47e0ec
call esi
cmp dword [ebp + 0x68], 0xffffffff
je 0x47e0ff
invalid