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

Disassembly:
push 0x110
push 0x7ddf9528
call fcn.7dd725e8
mov esi, dword [ebp + 8]
xor edi, edi
cmp esi, edi
jne 0x7ddf8d13
push 4
push 0x10009
push edi
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.ntdll.dll_CsrClientCallServer]
cmp eax, edi
jl 0x7ddf9514
mov eax, dword [ebp - 0xd4]
jmp 0x7ddf951c
movzx ebx, word [esi + 0x98]
cmp bx, di
jne 0x7ddf8d30
mov eax, dword [0x7de40064]
movzx eax, byte [eax + 0x745]
jmp 0x7ddf951c
test ebx, 0xd000
je 0x7ddf8e8d
push 0x68
push edi
lea eax, [ebp - 0xd4]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov eax, dword [esi]
mov dword [ebp - 0xd4], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x9c], eax
mov ecx, dword [esi + 0x88]
mov dword [ebp - 0x84], ecx
mov word [ebp - 0x72], bx
xor ebx, ebx
mov dword [ebp - 0x110], ebx
cmp dword [esi + 0x2c], edi
je 0x7ddf8dcf
cmp eax, edi
je 0x7ddf8d88
add eax, 3
and eax, 0xfffffffc
jmp 0x7ddf8d8b
push 4
pop eax
push eax
push 1
call dword [sym.imp.ntdll.dll_CsrAllocateCaptureBuffer]
mov ebx, eax
mov dword [ebp - 0x110], ebx
cmp ebx, edi
jne 0x7ddf8daa
push 0xc0000017
jmp 0x7ddf9515
lea eax, [ebp - 0xa0]
push eax
push dword [esi + 0x30]
push ebx
call dword [sym.imp.ntdll.dll_CsrAllocateMessagePointer]
push dword [esi + 0x30]
push dword [esi + 0x2c]
push dword [ebp - 0xa0]
call sub.ntdll.dll_memmove
add esp, 0xc
push 0x68
push 0x10010007
push ebx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.ntdll.dll_CsrClientCallServer]
mov edi, eax
test edi, edi
jl 0x7ddf8df4
mov edi, dword [ebp - 0xdc]
test edi, edi
jge 0x7ddf8e05
test ebx, ebx
je 0x7ddf8dff
push ebx
call dword [sym.imp.ntdll.dll_CsrFreeCaptureBuffer]
push edi
jmp 0x7ddf9515
and dword [ebp - 4], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x7ddf8e22
push dword [esi + 0x30]
push dword [ebp - 0xa0]
push eax
call sub.ntdll.dll_memmove
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0xd4]
mov dword [esi], eax
mov eax, dword [ebp - 0x9c]
mov dword [esi + 0x30], eax
test ebx, ebx
je 0x7ddf8e45
push ebx
call dword [sym.imp.ntdll.dll_CsrFreeCaptureBuffer]
xor eax, eax
inc eax
jmp 0x7ddf951c
cmp bx, 0x10
je 0x7ddf94d9
cmp bx, 0x20
je 0x7ddf94d9
movzx edi, bx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xd0], eax
test ebx, 0x100
je 0x7ddf8ecb
mov eax, dword [esi]
mov dword [ebp - 0xd4], eax
jmp 0x7ddf8ed2
and dword [ebp - 0xd4], 0
movzx eax, word [esi + 0x92]
mov word [ebp - 0x78], ax
movzx eax, word [esi + 0x94]
mov word [ebp - 0x76], ax
movzx edx, word [esi + 0x90]
mov word [ebp - 0x7a], dx
mov ecx, dword [esi + 0x30]
mov dword [ebp - 0x9c], ecx
mov eax, dword [esi + 8]
mov dword [ebp - 0xb4], eax
mov word [ebp - 0x72], di
and dword [ebp - 0xcc], 0
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x90], eax
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x8c]
mov dword [ebp - 0x80], eax
movzx edi, word [esi + 0x96]
mov word [ebp - 0x74], di
push 0x44
pop eax
mov dword [ebp - 0x110], eax
xor ebx, ebx
inc ebx
test dx, dx
je 0x7ddf8f5f
movzx eax, dx
add eax, 3
and eax, 0xfffffffc
add eax, 0x44
mov dword [ebp - 0x110], eax
push 2
pop ebx
movzx edx, word [esi + 0x92]
test dx, dx
je 0x7ddf8f7e
movzx edx, word [ebp - 0x78]
add edx, 3
and edx, 0xfffffffc
add eax, edx
mov dword [ebp - 0x110], eax
inc ebx
movzx edx, word [esi + 0x94]
test dx, dx
je 0x7ddf8f9d
movzx edx, word [ebp - 0x76]
add edx, 3
and edx, 0xfffffffc
add eax, edx
mov dword [ebp - 0x110], eax
inc ebx
cmp dword [esi + 0x2c], 0
je 0x7ddf8fd5
inc ebx
test ecx, ecx
je 0x7ddf8fb0
add ecx, 3
and ecx, 0xfffffffc
jmp 0x7ddf8fb3
push 4
pop ecx
lea edx, [ebp - 0x110]
push edx
push ecx
push eax
call fcn.7dd836a6
test eax, eax
jge 0x7ddf8fcf
push 0xc0000095
jmp 0x7ddf9515
mov eax, dword [ebp - 0x110]
xor edx, edx
cmp di, dx
jne 0x7ddf8fe4
mov dword [ebp - 0xa4], edx
jmp 0x7ddf8ff0
movzx ecx, di
add ecx, 3
and ecx, 0xfffffffc
add eax, ecx
inc ebx
mov ecx, dword [esi + 0x7c]
cmp ecx, edx
jne 0x7ddf8fff
mov dword [ebp - 0x94], edx
jmp 0x7ddf9008
add ecx, 3
and ecx, 0xfffffffc
add eax, ecx
inc ebx
mov ecx, dword [esi + 0x84]
cmp ecx, edx
jne 0x7ddf901a
mov dword [ebp - 0x8c], edx
jmp 0x7ddf9023
add ecx, 3
and ecx, 0xfffffffc
add eax, ecx
inc ebx
mov ecx, dword [esi + 0x8c]
cmp ecx, edx
jne 0x7ddf9035
mov dword [ebp - 0x84], edx
jmp 0x7ddf903e
add ecx, 3
and ecx, 0xfffffffc
add eax, ecx
inc ebx
push eax
push ebx
call dword [sym.imp.ntdll.dll_CsrAllocateCaptureBuffer]
mov ebx, eax
mov dword [ebp - 0x110], ebx
test ebx, ebx
je 0x7ddf8da0
mov edi, dword [sym.imp.ntdll.dll_CsrAllocateMessagePointer]
cmp dword [esi + 0x1c], 0
je 0x7ddf9076
lea eax, [ebp - 0xb0]
push eax
movzx eax, word [esi + 0x90]
push eax
push ebx
call edi
jmp 0x7ddf907d
and dword [ebp - 0xb0], 0
movzx eax, word [esi + 0x92]
test ax, ax
je 0x7ddf9099
lea ecx, [ebp - 0xac]
push ecx
movzx eax, ax
push eax
push ebx
call edi
jmp 0x7ddf90a0
and dword [ebp - 0xac], 0
movzx eax, word [esi + 0x94]
test ax, ax
je 0x7ddf90bc
lea ecx, [ebp - 0xa8]
push ecx
movzx eax, ax
push eax
push ebx
call edi
jmp 0x7ddf90c3
and dword [ebp - 0xa8], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x7ddf90d7
lea ecx, [ebp - 0xa0]
push ecx
push eax
push ebx
call edi
jmp 0x7ddf90de
and dword [ebp - 0xa0], 0
movzx eax, word [esi + 0x96]
test ax, ax
je 0x7ddf90fa
lea ecx, [ebp - 0xa4]
push ecx
movzx eax, ax
push eax
push ebx
call edi
jmp 0x7ddf9101
and dword [ebp - 0xa4], 0
lea eax, [ebp - 0x98]
push eax
push 0x44
push ebx
call edi
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x7ddf9121
lea ecx, [ebp - 0x94]
push ecx
push eax
push ebx
call edi
jmp 0x7ddf9128
and dword [ebp - 0x94], 0
mov eax, dword [esi + 0x84]
test eax, eax
je 0x7ddf913f
lea ecx, [ebp - 0x8c]
push ecx
push eax
push ebx
call edi
jmp 0x7ddf9146
and dword [ebp - 0x8c], 0
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x7ddf915d
lea ecx, [ebp - 0x84]
push ecx
push eax
push ebx
call edi
jmp 0x7ddf9164
and dword [ebp - 0x84], 0
mov ebx, 0x10010007
mov edi, dword [sym.imp.ntdll.dll_CsrClientCallServer]
jmp 0x7ddf919a
push 0
push 0
push dword [ebp - 0xcc]
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [ebp - 0x114], eax
test eax, eax
jne 0x7ddf922e
or word [ebp - 0x72], 8
and dword [ebp - 0xb4], eax
push 0x68
push ebx
push dword [ebp - 0x110]
lea eax, [ebp - 0x10c]
push eax
call edi
cmp dword [ebp - 0xcc], 0
mov dword [ebp - 0x114], eax
jne 0x7ddf9171
mov ebx, eax
xor edi, edi
cmp ebx, edi
jl 0x7ddf91d1
mov ebx, dword [ebp - 0xdc]
cmp ebx, edi
jge 0x7ddf9287
cmp ebx, 0xc000000d
jne 0x7ddf9245
mov ax, word [ebp - 0x7a]
mov word [esi + 0x90], ax
mov ax, word [ebp - 0x78]
mov word [esi + 0x92], ax
mov ax, word [ebp - 0x76]
mov word [esi + 0x94], ax
mov eax, dword [ebp - 0x9c]
mov dword [esi + 0x30], eax
mov ax, word [ebp - 0x74]
mov word [esi + 0x96], ax
mov eax, dword [ebp - 0x90]
mov dword [esi + 0x7c], eax
mov eax, dword [ebp - 0x88]
mov dword [esi + 0x84], eax
mov eax, dword [ebp - 0x80]
mov dword [esi + 0x8c], eax
jmp 0x7ddf9275
push dword [ebp - 0x110]
call dword [sym.imp.ntdll.dll_CsrFreeCaptureBuffer]
push dword [ebp - 0x114]
jmp 0x7ddf9515
xor eax, eax
mov word [esi + 0x90], ax
mov word [esi + 0x92], ax
mov word [esi + 0x94], ax
mov dword [esi + 0x30], edi
mov word [esi + 0x96], ax
mov dword [esi + 0x7c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x8c], edi
push dword [ebp - 0x110]
call dword [sym.imp.ntdll.dll_CsrFreeCaptureBuffer]
push ebx
jmp 0x7ddf9515
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
cmp word [esi + 0x90], di
je 0x7ddf92b4
movzx eax, word [ebp - 0x7a]
push eax
push dword [ebp - 0xb0]
push dword [esi + 0x1c]
call sub.ntdll.dll_memmove
add esp, 0xc
cmp word [esi + 0x92], di
je 0x7ddf92d3
movzx eax, word [ebp - 0x78]
push eax
push dword [ebp - 0xac]
push dword [esi + 0x20]
call sub.ntdll.dll_memmove
add esp, 0xc
cmp word [esi + 0x94], di
je 0x7ddf92f2
movzx eax, word [ebp - 0x76]
push eax
push dword [ebp - 0xa8]
push dword [esi + 0x24]
call sub.ntdll.dll_memmove
add esp, 0xc
mov eax, dword [esi + 0x2c]
cmp eax, edi
je 0x7ddf930e
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push eax
call sub.ntdll.dll_memmove
add esp, 0xc
cmp word [esi + 0x96], di
je 0x7ddf932d
movzx eax, word [ebp - 0x74]
push eax
push dword [ebp - 0xa4]
push dword [esi + 0x28]
call sub.ntdll.dll_memmove
add esp, 0xc
mov ebx, 0x200
test dword [ebp - 0x72], ebx
je 0x7ddf934b
push 0x44
push dword [ebp - 0x98]
lea eax, [esi + 0x34]
push eax
call sub.ntdll.dll_memmove
add esp, 0xc
cmp dword [esi + 0x7c], edi
je 0x7ddf936d
push dword [ebp - 0x90]
push dword [ebp - 0x94]
push dword [esi + 0x78]
call sub.ntdll.dll_memmove
add esp, 0xc
mov eax, dword [esi + 0x78]
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x84], edi
je 0x7ddf9398
lea edi, [esi + 0x80]
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
push dword [edi]
call sub.ntdll.dll_memmove
add esp, 0xc
mov eax, dword [edi]
mov dword [esi + 0x40], eax
xor edi, edi
cmp dword [esi + 0x8c], edi
je 0x7ddf93be
lea edi, [esi + 0x88]
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [edi]
call sub.ntdll.dll_memmove
add esp, 0xc
mov eax, dword [edi]
mov dword [esi + 0x38], eax
mov ax, word [ebp - 0x7a]
mov word [esi + 0x90], ax
mov ax, word [ebp - 0x78]
mov word [esi + 0x92], ax
mov ax, word [ebp - 0x76]
mov word [esi + 0x94], ax
mov eax, dword [ebp - 0x9c]
mov dword [esi + 0x30], eax
test dword [ebp - 0x72], ebx
je 0x7ddf93f6
mov word [esi + 0x98], bx
jmp 0x7ddf93ff
xor eax, eax
mov word [esi + 0x98], ax
mov ax, word [ebp - 0x7c]
mov word [esi + 0x9a], ax
mov eax, dword [ebp - 0xc8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xc4]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc0]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0xd4]
mov dword [esi], eax
mov eax, dword [ebp - 0xbc]
mov dword [esi + 0xc], eax
mov ax, word [ebp - 0x74]
mov word [esi + 0x96], ax
mov eax, dword [ebp - 0x90]
mov dword [esi + 0x7c], eax
mov eax, dword [ebp - 0x88]
mov dword [esi + 0x84], eax
mov eax, dword [ebp - 0x80]
mov dword [esi + 0x8c], eax
mov eax, dword [ebp - 0xb8]
mov dword [esi + 4], eax
mov al, byte [ebp - 0x70]
mov byte [esi + 0x9c], al
mov dword [ebp - 4], 1
call fcn.7ddf948e
mov dword [ebp - 0x118], 1
jmp 0x7ddf94ca
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x118]
jmp 0x7ddf951c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xd4], eax
movzx eax, bx
mov dword [ebp - 0xd0], eax
push 8
push 0x1001000b
push edi
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.ntdll.dll_CsrClientCallServer]
cmp eax, edi
jge 0x7ddf8e45
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
call fcn.7dd72630
ret 4