Function at 0x10003040
Capabilities:
Create pipe
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000e658
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10013034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [0x100136a4]
mov dword [esi + 4], 0x1000fe80
mov dword [esi], 0x1000fe84
mov dword [esi + 4], 0x1000fe90
xor edi, edi
push 0x38
mov dword [ebp - 0x10], eax
mov dword [esi + 0x14], edi
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, edi
je 0x1000329a
mov dword [esi + 0x10], eax
mov dword [eax], eax
mov eax, dword [esi + 0x10]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x10]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x10]
mov byte [ecx + 0x30], 1
mov edx, dword [esi + 0x10]
mov byte [edx + 0x31], 1
mov dword [ebp - 4], edi
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
or eax, 0xffffffff
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x3c]
push edi
push eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call ebx
test eax, eax
jne 0x1000310b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x10003105
and eax, 0xffff
or eax, 0x80070000
push eax
call fcn.10001b80
mov dword [esi + 0x54], edi
lea eax, [esi + 0x58]
push edi
push eax
mov byte [ebp - 4], 1
call ebx
test eax, eax
jne 0x10003137
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x10003131
and eax, 0xffff
or eax, 0x80070000
push eax
call fcn.10001b80
mov byte [ebp - 4], 2
push 0x18
mov dword [esi + 0x78], edi
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, edi
je 0x10003275
mov dword [esi + 0x74], eax
mov dword [eax], eax
mov eax, dword [esi + 0x74]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x74]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x74]
mov byte [eax + 0x14], 1
mov ecx, dword [esi + 0x74]
mov byte [ecx + 0x15], 1
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10]
mov dword [esi + 0x1c], edx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, str..PipeSendSnotshopToWeibo
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x100031c0
mov ecx, eax
movzx ebx, cx
push ebx
call fcn.10001980
add esp, 4
cmp eax, edi
je 0x100031d3
push eax
mov eax, ebx
lea edi, [ebp - 0x10]
call fcn.10001590
xor edi, edi
jmp 0x100031d3
push str..PipeSendSnotshopToWeibo
lea edx, [ebp - 0x10]
push edx
mov ebx, 0x1c
call fcn.10007ca0
push edi
push 0x3e8
push edi
push edi
push 1
mov byte [ebp - 4], 3
lea eax, [esi + 4]
push edi
lea ebx, [esi + 0x2c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x10]
push 0x40000003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x10003228
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 4], eax
cmp eax, edi
je 0x10003228
push edi
push edi
push ebx
push 0x100010b0
push edi
push edi
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003247
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x10013644
push 0x100136d8
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov dword [esi + 0x80], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x1001041c
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], 0x1000f400
call sub.MSVCR100.dll__CxxThrowException
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x1001041c
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 0x1000f400
call sub.MSVCR100.dll__CxxThrowException
int3