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

Disassembly:
push 0x110
push 0x7ddf92f0
call fcn.7dd725e8
mov esi, dword [ebp + 8]
xor edi, edi
cmp esi, edi
jne 0x7ddf8ade
push 4
push 0x10009
push edi
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.ntdll.dll_CsrClientCallServer]
cmp eax, edi
jl 0x7ddf92da
mov eax, dword [ebp - 0xd4]
jmp 0x7ddf92e2
movzx ebx, word [esi + 0x98]
cmp bx, di
jne 0x7ddf8afb
mov eax, dword [0x7de40064]
movzx eax, byte [eax + 0x745]
jmp 0x7ddf92e2
test ebx, 0xd000
je 0x7ddf8c58
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 0x7ddf8b9a
cmp eax, edi
je 0x7ddf8b53
add eax, 3
and eax, 0xfffffffc
jmp 0x7ddf8b56
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 0x7ddf8b75
push 0xc0000017
jmp 0x7ddf92db
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 0x7ddf8bbf
mov edi, dword [ebp - 0xdc]
test edi, edi
jge 0x7ddf8bd0
test ebx, ebx
je 0x7ddf8bca
push ebx
call dword [sym.imp.ntdll.dll_CsrFreeCaptureBuffer]
push edi
jmp 0x7ddf92db
and dword [ebp - 4], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x7ddf8bed
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 0x7ddf8c10
push ebx
call dword [sym.imp.ntdll.dll_CsrFreeCaptureBuffer]
xor eax, eax
inc eax
jmp 0x7ddf92e2
cmp bx, 0x10
je 0x7ddf929f
cmp bx, 0x20
je 0x7ddf929f
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 0x7ddf8c96
mov eax, dword [esi]
mov dword [ebp - 0xd4], eax
jmp 0x7ddf8c9d
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 0x7ddf8d2a
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 0x7ddf8d49
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 0x7ddf8d68
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 0x7ddf8da0
inc ebx
test ecx, ecx
je 0x7ddf8d7b
add ecx, 3
and ecx, 0xfffffffc
jmp 0x7ddf8d7e
push 4
pop ecx
lea edx, [ebp - 0x110]
push edx
push ecx
push eax
call fcn.7dd836d6
test eax, eax
jge 0x7ddf8d9a
push 0xc0000095
jmp 0x7ddf92db
mov eax, dword [ebp - 0x110]
xor edx, edx
cmp di, dx
jne 0x7ddf8daf
mov dword [ebp - 0xa4], edx
jmp 0x7ddf8dbb
movzx ecx, di
add ecx, 3
and ecx, 0xfffffffc
add eax, ecx
inc ebx
mov ecx, dword [esi + 0x7c]
cmp ecx, edx
jne 0x7ddf8dca
mov dword [ebp - 0x94], edx
jmp 0x7ddf8dd3
add ecx, 3
and ecx, 0xfffffffc
add eax, ecx
inc ebx
mov ecx, dword [esi + 0x84]
cmp ecx, edx
jne 0x7ddf8de5
mov dword [ebp - 0x8c], edx
jmp 0x7ddf8dee
add ecx, 3
and ecx, 0xfffffffc
add eax, ecx
inc ebx
mov ecx, dword [esi + 0x8c]
cmp ecx, edx
jne 0x7ddf8e00
mov dword [ebp - 0x84], edx
jmp 0x7ddf8e09
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 0x7ddf8b6b
mov edi, dword [sym.imp.ntdll.dll_CsrAllocateMessagePointer]
cmp dword [esi + 0x1c], 0
je 0x7ddf8e41
lea eax, [ebp - 0xb0]
push eax
movzx eax, word [esi + 0x90]
push eax
push ebx
call edi
jmp 0x7ddf8e48
and dword [ebp - 0xb0], 0
movzx eax, word [esi + 0x92]
test ax, ax
je 0x7ddf8e64
lea ecx, [ebp - 0xac]
push ecx
movzx eax, ax
push eax
push ebx
call edi
jmp 0x7ddf8e6b
and dword [ebp - 0xac], 0
movzx eax, word [esi + 0x94]
test ax, ax
je 0x7ddf8e87
lea ecx, [ebp - 0xa8]
push ecx
movzx eax, ax
push eax
push ebx
call edi
jmp 0x7ddf8e8e
and dword [ebp - 0xa8], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x7ddf8ea2
lea ecx, [ebp - 0xa0]
push ecx
push eax
push ebx
call edi
jmp 0x7ddf8ea9
and dword [ebp - 0xa0], 0
movzx eax, word [esi + 0x96]
test ax, ax
je 0x7ddf8ec5
lea ecx, [ebp - 0xa4]
push ecx
movzx eax, ax
push eax
push ebx
call edi
jmp 0x7ddf8ecc
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 0x7ddf8eec
lea ecx, [ebp - 0x94]
push ecx
push eax
push ebx
call edi
jmp 0x7ddf8ef3
and dword [ebp - 0x94], 0
mov eax, dword [esi + 0x84]
test eax, eax
je 0x7ddf8f0a
lea ecx, [ebp - 0x8c]
push ecx
push eax
push ebx
call edi
jmp 0x7ddf8f11
and dword [ebp - 0x8c], 0
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x7ddf8f28
lea ecx, [ebp - 0x84]
push ecx
push eax
push ebx
call edi
jmp 0x7ddf8f2f
and dword [ebp - 0x84], 0
mov ebx, 0x10010007
mov edi, dword [sym.imp.ntdll.dll_CsrClientCallServer]
jmp 0x7ddf8f65
push 0
push 0
push dword [ebp - 0xcc]
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [ebp - 0x114], eax
test eax, eax
jne 0x7ddf8ff9
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 0x7ddf8f3c
mov ebx, eax
xor edi, edi
cmp ebx, edi
jl 0x7ddf8f9c
mov ebx, dword [ebp - 0xdc]
cmp ebx, edi
jge 0x7ddf9052
cmp ebx, 0xc000000d
jne 0x7ddf9010
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 0x7ddf9040
push dword [ebp - 0x110]
call dword [sym.imp.ntdll.dll_CsrFreeCaptureBuffer]
push dword [ebp - 0x114]
jmp 0x7ddf92db
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 0x7ddf92db
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
cmp word [esi + 0x90], di
je 0x7ddf907f
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 0x7ddf909e
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 0x7ddf90bd
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 0x7ddf90d9
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push eax
call sub.ntdll.dll_memmove
add esp, 0xc
cmp word [esi + 0x96], di
je 0x7ddf90f8
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 0x7ddf9116
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 0x7ddf9138
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 0x7ddf9163
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 0x7ddf9189
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 0x7ddf91c1
mov word [esi + 0x98], bx
jmp 0x7ddf91ca
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.7ddf9254
mov dword [ebp - 0x118], 1
jmp 0x7ddf9290
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x118]
jmp 0x7ddf92e2
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 0x7ddf8c10
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
call fcn.7dd72630
ret 4