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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, ecx
xor eax, eax
mov dword [esp + 0x24], edi
lea ebx, [edi + 0x20]
mov word [ebx], ax
lea esi, [edi + 0x1c]
movzx eax, word [edi + 0x18]
cmp eax, 2
jbe 0x75dfb477
mov eax, dword [esi]
cmp word [eax + 2], 0x3a
je 0x75dfb495
jmp 0x75dfb47c
test ax, ax
je 0x75dfb4e9
push 0x75e2a63c
push dword [esi]
call dword [0x75e21fcc]
pop ecx
pop ecx
movzx ecx, word [edi + 0x18]
shr ecx, 1
cmp eax, ecx
je 0x75dfb4e9
lea eax, [esp + 0x28]
push eax
push dword [edi + 0x24]
movzx eax, word [edi + 0x22]
shr eax, 1
push eax
push dword [esi]
call dword [0x75e21200]
movzx ecx, word [edi + 0x22]
shr ecx, 1
cmp eax, ecx
jbe 0x75dfb4c0
mov edi, 0xc0000023
jmp 0x75dfb98c
test eax, eax
je 0x75dfb4df
add eax, eax
mov word [ebx], ax
call dword [0x75e20cf0]
add eax, 8
push eax
push ebx
call sym.KERNEL32.dll_TermsrvConvertSysRootToUserDir
xor ebx, ebx
mov esi, ebx
jmp 0x75dfb54c
mov edi, 0xc0000001
jmp 0x75dfb98c
mov esi, dword [0x75e50af8]
lea eax, [edi + 0x10]
mov dword [esp + 0x20], eax
test esi, esi
je 0x75dfb50c
push eax
push ebx
mov ecx, esi
call dword [0x75e22218]
call esi
mov edi, eax
test edi, edi
jns 0x75dfb53c
call dword [0x75e20cf0]
add eax, 8
push eax
push ebx
call dword [0x75e22048]
push 0x75e2a638
push ebx
call dword [0x75e21df8]
mov edi, eax
test edi, edi
js 0x75dfb53c
push dword [esp + 0x20]
push ebx
call dword [0x75e21e0c]
mov edi, eax
xor ebx, ebx
mov esi, ebx
test edi, edi
js 0x75dfb667
mov edi, dword [esp + 0x24]
push ebx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x50]
push eax
push dword [edi + 0x24]
call dword [0x75e2203c]
test al, al
je 0x75dfb707
lea eax, [esp + 0x48]
push eax
lea eax, [edi + 0x20]
push eax
call dword [0x75e22048]
lea eax, [esp + 0x48]
push eax
call dword [0x75e21e9c]
call dword [0x75e20cf0]
mov ecx, dword [eax]
movzx eax, word [edi + 0x22]
add eax, 0x78
push eax
lea eax, reloc.ntdll.dll_NtClose
or eax, 8
push eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [0x75e221e0]
mov esi, eax
test esi, esi
jne 0x75dfb5bb
mov eax, 0xc0000017
jmp 0x75dfb98e
lea eax, [esi + 0x78]
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
mov ax, word [edi + 0x22]
mov word [esi + 0xa], ax
lea eax, [edi + 0x20]
push eax
push ecx
call dword [0x75e22048]
mov eax, dword [edi + 8]
mov dword [esi + 0x10], eax
mov al, byte [edi + 4]
lea edi, [esi + 8]
mov byte [esi + 0x18], al
mov eax, dword [0x75e50af0]
mov dword [esp + 0x20], eax
test eax, eax
je 0x75dfb600
push edi
mov ecx, eax
call dword [0x75e22218]
call dword [esp + 0x24]
mov dword [esp + 0x50], 0x18
lea eax, [esi + 0x14]
mov dword [esp + 0x54], ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x5c], 0x40
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
cmp byte [esi + 0x18], 0
je 0x75dfb64f
push ebx
push ebx
push 0x60
push 3
push 7
push 0x80
push ebx
push ecx
lea ecx, [esp + 0x70]
push ecx
push 0xc0100000
push eax
call dword [0x75e21cc4]
jmp 0x75dfb665
push 0x60
push 7
push ecx
lea ecx, [esp + 0x5c]
push ecx
push 0x80100000
push eax
call dword [0x75e21e6c]
mov edi, eax
mov eax, esi
test edi, edi
js 0x75dfb6bd
mov byte [esi + 0x1a], bl
or dword [esp + 0x30], 0xffffffff
or dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
movzx eax, byte [esi + 0x18]
push eax
push ebx
push dword [0x75e502a8]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
push ebx
push ebx
push ebx
push dword [esi + 0x14]
call dword [0x75e22044]
test eax, eax
jns 0x75dfb70e
lea edi, reloc.ntdll.dll_NtClose
neg edi
sbb edi, edi
and edi, eax
jge 0x75dfb712
mov eax, esi
test esi, esi
je 0x75dfb98c
cmp byte [esi + 0x1a], 0
je 0x75dfb96b
push dword [0x75e502a8]
or dword [esp + 0x34], 0xffffffff
lea eax, [esp + 0x34]
or dword [esp + 0x38], 0xffffffff
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x40], ebx
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], ebx
push eax
push dword [esi + 0x14]
call dword [0x75e22038]
lea eax, [esi + 0x14]
jmp 0x75dfb96e
mov edi, 0xc000003a
jmp 0x75dfb6bb
mov byte [esi + 0x1a], 1
push 5
push 0x18
lea eax, [esi + 0x60]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esi + 0x14]
call dword [0x75e21e80]
mov edi, eax
cmp edi, 0x80000005
je 0x75dfb736
test edi, edi
js 0x75dfb6bb
mov ecx, dword [esi + 0x68]
lea edi, [esi + 0x20]
xor eax, eax
mov dword [esi + 0x1c], ecx
cmp byte [esi + 0x19], al
push 4
setne al
push 0x2000
lea eax, [eax*4 + 4]
add eax, ecx
lea ecx, [esi + 0x28]
push ecx
push ebx
mov dword [esi + 0x24], eax
add eax, 0x100000
push edi
push 0xffffffffffffffff
mov dword [ecx], eax
call dword [0x75e22050]
mov dword [esp + 0x14], eax
test eax, eax
js 0x75dfb92c
push 4
push 0x1000
lea eax, [esi + 0x24]
push eax
push ebx
push edi
push 0xffffffffffffffff
call dword [0x75e22050]
mov dword [esp + 0x14], eax
test eax, eax
js 0x75dfb92c
push 0x75e502a8
push ebx
push dword [esi + 0x1c]
lea eax, [esp + 0x4c]
push dword [edi]
push eax
push ebx
push ebx
push ebx
push dword [esi + 0x14]
call dword [0x75e22040]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
test eax, eax
js 0x75dfb92c
mov eax, dword [esi + 0x1c]
cmp dword [esp + 0x44], eax
je 0x75dfb7db
mov edi, 0xc0000011
jmp 0x75dfb930
or dword [esp + 0x2c], reloc.ntdll.dll_NtClose
lea ecx, [esp + 0x2c]
push ecx
mov edi, esi
push eax
push dword [esi + 0x20]
or dword [edi + 0x2c], 0xffffffff
mov dword [edi + 0x30], ebx
call dword [0x75e2204c]
mov edx, dword [esi + 0x20]
test al, al
mov ecx, dword [esi + 0x1c]
mov byte [esi + 0x19], al
mov eax, edx
mov dword [esp + 0x20], ecx
lea ebx, [edx + ecx]
je 0x75dfb8a3
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
mov edi, esi
mov dword [esp + 0x1c], edi
cmp ebx, edx
jbe 0x75dfb877
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], edi
mov edi, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
lea eax, [ebx - 2]
mov ecx, edi
mov ebx, eax
movzx eax, word [eax]
mov dword [esp + 0x18], eax
mov eax, edx
cmp word [esp + 0x18], 0x20
ja 0x75dfb875
push 0xd
pop edx
cmp word [esp + 0x18], dx
mov edx, dword [esi + 0x20]
je 0x75dfb875
mov eax, edx
push 0xa
pop edx
cmp word [esp + 0x18], dx
mov edx, eax
je 0x75dfb875
lea ecx, [edi - 2]
mov dword [esi + 0x1c], ecx
mov edi, ecx
cmp ebx, edx
ja 0x75dfb836
mov edi, esi
add ecx, eax
cmp ecx, eax
jbe 0x75dfb91b
push 0xa
pop eax
cmp word [ecx - 2], ax
je 0x75dfb91b
push 0xd
pop edx
mov word [ecx], dx
mov word [ecx + 2], ax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x2c], eax
add eax, 4
jmp 0x75dfb915
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], edi
cmp ebx, edx
jbe 0x75dfb8fb
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], edi
mov edi, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
lea eax, [ebx - 1]
mov ecx, edi
mov ebx, eax
mov al, byte [eax]
mov byte [esp + 0x13], al
mov eax, edx
cmp byte [esp + 0x13], 0x20
ja 0x75dfb8f9
cmp byte [esp + 0x13], 0xd
je 0x75dfb8f9
cmp byte [esp + 0x13], 0xa
je 0x75dfb8f9
lea ecx, [edi - 1]
mov dword [esi + 0x1c], ecx
mov edi, ecx
cmp ebx, edx
ja 0x75dfb8c9
mov edi, esi
add ecx, eax
cmp ecx, eax
jbe 0x75dfb91b
cmp byte [ecx - 1], 0xa
je 0x75dfb91b
mov word [ecx], 0xa0d
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x2c], eax
add eax, 2
mov dword [esi + 0x1c], eax
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
jmp 0x75dfb98c
mov edi, dword [esp + 0x14]
cmp byte [esi + 0x1a], 0
je 0x75dfb966
push dword [0x75e502a8]
or dword [esp + 0x34], 0xffffffff
lea eax, [esp + 0x34]
or dword [esp + 0x38], 0xffffffff
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x40], ebx
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], ebx
push eax
push dword [esi + 0x14]
call dword [0x75e22038]
push dword [esi + 0x14]
jmp 0x75dfb975
add eax, 0x14
cmp dword [eax], 0
je 0x75dfb97b
push dword [eax]
call dword [0x75e21e74]
mov eax, dword fs:[0x30]
push esi
push ebx
push dword [eax + 0x18]
call dword [0x75e221d0]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret