Function at 0x11ce51f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x11fa2a6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
push edi
push 0xffffffffffffffdd
lea ecx, [esp + 0x28]
call fcn.11e15fa0
xor ebx, ebx
mov ecx, 0x1212b5c0
mov dword [esp + 0x68], ebx
call fcn.11d71190
test eax, eax
jne 0x11ce536e
push ebx
push 0x12118e98
call fcn.11c92320
add esp, 8
test eax, eax
jne 0x11ce536e
lea ecx, [esp + 0x24]
call fcn.11e16060
mov esi, dword [esp + 0x70]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x70]
push ecx
mov eax, dword [esi + 0x24]
mov edi, dword [esi + 0x1c]
mov ebp, dword [esi + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push edx
push eax
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x24], ebx
call fcn.11e15b00
mov eax, dword [esp + 0x80]
add esp, 0x10
cmp eax, ebx
je 0x11ce52fc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
mov ebx, dword [esi + 0xc]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x88]
push edx
push ecx
push esi
mov dword [esi + 0x20], eax
call eax
mov edx, dword [esp + 0x18]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], edx
mov dword [esi + 0xc], ebx
mov esi, dword [esi + 0x14]
jmp 0x11ce5669
mov edi, dword [esi + 0x18]
cmp edi, ebx
je 0x11ce5366
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push ecx
push edx
push eax
call edi
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
test eax, 0x800000
je 0x11ce5366
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
mov esi, dword [esi + 0x14]
jmp 0x11ce5669
push 2
lea ecx, [esp + 0x34]
call fcn.11e15fa0
mov ebp, dword [esp + 0x7c]
mov byte [esp + 0x68], 1
cmp ebp, ebx
je 0x11ce5452
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp ebp, eax
je 0x11ce5452
mov eax, dword [0x121349ec]
xor ecx, ecx
mov dword [esp + 0x4c], ecx
cmp eax, ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
je 0x11ce542e
push ebx
lea edx, [esp + 0x4c]
push 0x18
push edx
push ebx
push ebp
call eax
cmp eax, ebx
jne 0x11ce5483
cmp dword [0x12133f80], ebx
je 0x11ce53f6
mov ecx, dword [esp + 0x58]
mov eax, dword [0x12126854]
push ecx
push eax
push str.__s__CSafeDoc::OnDuplicateHandle___Target_PID__d__n
push 0x1204f488
push 4
call fcn.11ca5810
add esp, 0x14
mov edx, dword [esp + 0x58]
mov ecx, 0x1212b5c0
push edx
call fcn.11d7a2c0
test eax, eax
jne 0x11ce5483
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], al
call fcn.11e15fd0
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], 0xffffffff
call fcn.11e15fd0
xor eax, eax
jmp 0x11ce567c
cmp dword [0x12133f80], ebx
je 0x11ce5483
mov eax, dword [0x12126854]
push eax
push str.__s__CSafeDoc::OnDuplicateHandle___XNtdll::pfnNtQueryInformationProcess__NULL_n
push 0x1204f488
push 4
call fcn.11ca5810
add esp, 0x10
jmp 0x11ce5483
cmp dword [0x12133f80], ebx
je 0x11ce5483
cmp ebp, ebx
mov ecx, str.CurrentProc
jne 0x11ce5468
mov ecx, str.NULL
mov eax, dword [0x12126854]
push ecx
push eax
push str.__s__CSafeDoc::OnDuplicateHandle___Target_PID_Is__s_n
push 0x1204f488
push 4
call fcn.11ca5810
add esp, 0x14
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 0
call fcn.11e15fd0
lea ecx, [esp + 0x24]
call fcn.11e16060
mov esi, dword [esp + 0x70]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x28], ebx
call fcn.11e15b00
mov eax, dword [esp + 0x80]
add esp, 0x10
cmp eax, ebx
mov ebx, dword [esp + 0x74]
je 0x11ce5543
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x88]
mov ebp, dword [esi + 0xc]
push edx
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x88]
push edx
push ecx
push ebx
push esi
mov dword [esi + 0x20], eax
call eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov dword [esi + 0xc], ebp
jmp 0x11ce559f
mov edi, dword [esi + 0x18]
test edi, edi
je 0x11ce559f
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x80]
push eax
push ecx
push ebp
push edx
push ebx
call edi
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
test eax, 0x800000
je 0x11ce559f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
mov esi, dword [esi + 0x14]
test esi, esi
mov dword [esp + 0x8c], esi
jne 0x11ce55c5
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], 0xffffffff
call fcn.11e15fd0
xor eax, eax
jmp 0x11ce567c
lea ecx, [esp + 0x24]
call fcn.11e16040
test ebx, ebx
je 0x11ce55f4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp ebx, eax
je 0x11ce55f4
mov eax, dword [0x121348f8]
test eax, eax
je 0x11ce55f4
push ebx
call eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
jne 0x11ce5669
mov ebx, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x40]
lea eax, [ebx + 4]
push eax
call fcn.11e8c590
mov ebp, dword [ebx + 0x18]
xor edi, edi
test ebp, ebp
mov byte [esp + 0x68], 2
jle 0x11ce565b
mov ecx, ebx
mov ebx, dword [ecx + 0x14]
add ebx, 0x60
mov edx, dword [ebx]
xor esi, esi
test edx, edx
jle 0x11ce564c
mov eax, dword [ebx - 4]
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x11ce563a
mov ecx, dword [esp + 0x78]
cmp ecx, dword [eax]
je 0x11ce5691
jmp 0x11ce5644
cmp dword [esp + 0x78], ecx
je 0x11ce5736
inc esi
add eax, 0xc
cmp esi, edx
jl 0x11ce5628
inc edi
add ebx, 0x6c
cmp edi, ebp
jl 0x11ce561d
mov esi, dword [esp + 0x8c]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 0
call fcn.11e8c5f0
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], 0xffffffff
call fcn.11e15fd0
mov eax, esi
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x20
mov ebx, dword [esp + 0x7c]
test ebx, ebx
je 0x11ce56bb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp ebx, eax
je 0x11ce56bb
mov eax, dword [0x121348f8]
test eax, eax
je 0x11ce570b
push ebx
call eax
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp ebx, eax
jne 0x11ce570b
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x10]
lea eax, [edi + edi*2]
push 0xffffffffffffffff
mov ebp, dword [edx]
mov edx, dword [ecx + 0x14]
lea eax, [eax + eax*8]
or ebx, 0xffffffff
mov ecx, dword [edx + eax*4 + 0x5c]
lea edi, [edx + eax*4 + 0x5c]
lea eax, [esi + esi*2]
mov esi, dword [edi + 4]
mov edx, dword [ecx + eax*4 + 8]
mov ecx, edi
lea eax, [esi + 1]
mov dword [esp + 0x3c], edx
push eax
call fcn.11d1c240
mov edx, dword [edi]
lea ecx, [esi + esi*2]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x38]
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 0
call fcn.11e8c5f0
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], 0xffffffff
call fcn.11e15fd0
mov eax, dword [esp + 0x8c]
jmp 0x11ce567c
mov ebx, dword [esp + 0x7c]
test ebx, ebx
je 0x11ce5768
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp ebx, eax
je 0x11ce5768
mov eax, dword [0x121348f8]
test eax, eax
je 0x11ce59cd
push ebx
call eax
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp ebx, eax
jne 0x11ce59cd
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
lea eax, [edi + edi*2]
xor edi, edi
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x14]
mov edx, dword [eax + ecx*4 + 0x5c]
lea ebp, [eax + ecx*4 + 0x5c]
lea ecx, [esi + esi*2]
mov eax, dword [edx + ecx*4 + 8]
mov ecx, dword [ebp + 4]
mov esi, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x78], esi
lea ebx, [esi + 1]
cmp ebx, edi
jne 0x11ce57c4
mov eax, edx
cmp eax, edi
je 0x11ce57b9
push eax
call fcn.11e679b1
add esp, 4
mov dword [ebp], edi
mov dword [ebp + 8], edi
mov dword [ebp + 4], edi
jmp 0x11ce59b1
mov edx, dword [ebp]
cmp edx, edi
jne 0x11ce5838
lea esi, [ebx + ebx*2]
shl esi, 2
push esi
call fcn.11e679bc
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
mov dword [ebp], edx
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esp + 0x7c], edx
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x80], edx
cmp edx, eax
mov byte [esp + 0x68], 3
je 0x11ce5817
mov dword [edx], 0xffffffff
mov dword [edx + 4], 0xffffffff
mov dword [edx + 8], eax
add edx, 0xc
mov byte [esp + 0x68], 2
dec ebx
mov dword [esp + 0x7c], edx
jne 0x11ce57f7
mov esi, dword [esp + 0x78]
lea eax, [esi + 1]
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
jmp 0x11ce59b1
mov edi, dword [ebp + 8]
cmp ebx, edi
jg 0x11ce58b1
cmp ebx, ecx
jle 0x11ce58a6
sub ebx, ecx
lea ecx, [ecx + ecx*2]
xor eax, eax
lea edx, [edx + ecx*4]
lea ecx, [ebx + ebx*2]
shl ecx, 2
mov esi, ecx
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esp + 0x7c], edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, ebx
dec ebx
test eax, eax
je 0x11ce58a2
lea eax, [ebx + 1]
xor ecx, ecx
mov dword [esp + 0x80], edx
cmp edx, ecx
mov byte [esp + 0x68], 4
je 0x11ce5893
mov dword [edx], 0xffffffff
mov dword [edx + 4], 0xffffffff
mov dword [edx + 8], ecx
add edx, 0xc
mov byte [esp + 0x68], 2
dec eax
mov dword [esp + 0x7c], edx
jne 0x11ce5873
mov esi, dword [esp + 0x78]
lea eax, [esi + 1]
mov dword [ebp + 4], eax
jmp 0x11ce59b1
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x11ce58db
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x11ce58cf
mov eax, 4
jmp 0x11ce58db
cmp eax, 0x400
jle 0x11ce58db
mov eax, 0x400
add eax, edi
cmp ebx, eax
jl 0x11ce58e3
mov eax, ebx
lea ecx, [eax + eax*2]
mov dword [esp + 0x7c], eax
shl ecx, 2
push ecx
call fcn.11e679bc
mov ecx, dword [ebp + 4]
mov esi, dword [ebp]
mov edi, eax
mov dword [esp + 0x8c], eax
lea ecx, [ecx + ecx*2]
add esp, 4
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
sub edx, ecx
lea ecx, [ecx + ecx*2]
lea esi, [eax + ecx*4]
lea ecx, [edx + edx*2]
shl ecx, 2
mov ebx, ecx
xor eax, eax
mov edi, esi
mov dword [esp + 0x80], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x11ce5987
lea eax, [edx + 1]
mov dl, 5
mov cl, 2
mov dword [esp + 0x84], esi
test esi, esi
mov byte [esp + 0x68], dl
je 0x11ce5976
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
add esi, 0xc
mov byte [esp + 0x68], cl
dec eax
mov dword [esp + 0x80], esi
jne 0x11ce5953
mov eax, dword [ebp]
push eax
call fcn.11e679b1
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x80]
add esp, 4
lea eax, [esi + 1]
mov dword [ebp], ecx
mov dword [ebp + 4], eax
mov dword [ebp + 8], edx
mov ecx, dword [ebp]
lea eax, [esi + esi*2]
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 0
call fcn.11e8c5f0
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], 0xffffffff
call fcn.11e15fd0
mov eax, dword [esp + 0x8c]
jmp 0x11ce567c