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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x10029170]
xor eax, esp
mov dword [esp + 0x138], eax
mov eax, dword [ebp + 0x20]
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov byte [esp + 0x13], cl
mov byte [esp + 0x12], cl
test edi, edi
je 0x10012044
test eax, eax
je 0x10012044
test ebx, ebx
je 0x10012044
movzx esi, word [ebx]
push 0x17
pop edx
push 2
pop eax
cmp si, ax
je 0x10011df9
cmp si, dx
jne 0x10012044
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10012028
push 0x38
push ecx
lea eax, [esp + 0x68]
push eax
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
push 0xa8
lea eax, [esp + 0xa8]
push 0
push eax
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
push 0x68
push 0
push edi
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
mov edi, dword [esp + 0x3c]
add esp, 0x24
mov edx, dword [ebp + 8]
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
test edx, edx
je 0x10012036
push 2
pop eax
lea ecx, [esp + 0x78]
cmp si, ax
jne 0x1001201c
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
push 0x17
pop ecx
cmp si, cx
jne 0x10011e99
xor eax, eax
cmp word [ebx + 8], ax
jne 0x10011e99
cmp word [ebx + 0xa], ax
jne 0x10011e99
cmp word [ebx + 0xc], ax
jne 0x10011e99
cmp word [ebx + 0xe], ax
jne 0x10011e99
cmp word [ebx + 0x10], ax
jne 0x10011e99
mov eax, 0xffff
cmp word [ebx + 0x12], ax
je 0x1001c94b
xor eax, eax
lea edx, [esp + 0x64]
cmp word [ebx], cx
mov ecx, esi
sete al
lea eax, [eax*4 + 4]
add eax, ebx
push eax
call fcn.10005093
cmp byte [esp + 0x12], 0
mov edi, dword [ebp + 0x10]
jne 0x1001c9bc
mov ecx, esi
call fcn.10006f16
mov dword [esp + 0x24], eax
xor eax, eax
push 2
pop ecx
cmp si, cx
sete al
dec eax
and eax, 0x18
add eax, 0x20
mov dword [esp + 0x20], eax
xor eax, eax
cmp si, cx
sete al
dec eax
and eax, 0x30
add eax, 0x78
mov dword [esp + 0x1c], eax
call sym.IPHLPAPI.DLL_GetCurrentThreadCompartmentId
push 0x17
mov dword [esp + 0x64], eax
xor edx, edx
pop eax
cmp word [ebx], ax
jne 0x10011fcd
mov eax, dword [ebx + 0x18]
push 2
pop ecx
cmp si, cx
lea ecx, [esp + 0x68]
je 0x10011f22
lea ecx, [esp + 0x74]
cmp byte [esp + 0x12], 0
mov dword [ecx], eax
jne 0x1001c9ed
push 2
pop edi
push edx
push edx
push dword [esp + 0x24]
lea eax, [esp + 0xa4]
push eax
push edx
push edx
push dword [esp + 0x38]
lea eax, [esp + 0x7c]
push eax
push edx
push dword [esp + 0x48]
push 1
call dword [sym.imp.NSI.dll_NsiGetAllParameters]
test eax, eax
jne 0x10011fb6
cmp si, di
jne 0x10011fd4
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0xec]
mov edx, ebx
push eax
lea eax, [esp + 0xd0]
mov ecx, edi
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.1000af10
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x108]
push ecx
push dword [esp + 0x108]
mov ecx, edi
push eax
call fcn.10005752
cmp byte [esp + 0x13], 0
jne 0x1001ca16
xor eax, eax
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10012ae0
mov esp, ebp
pop ebp
ret 0x1c
mov eax, edx
jmp 0x10011f12
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x104]
mov ecx, esi
push eax
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.1000af10
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x12c]
push ecx
push dword [esp + 0x12c]
mov ecx, esi
push eax
call fcn.10005752
jmp 0x10011fb4
lea ecx, [esp + 0x90]
jmp 0x10011e58
cmp word [eax], si
jne 0x10011e04
jmp 0x1001c918
cmp dword [ebp + 0xc], eax
je 0x10011e62
jmp 0x1001c922
push 0x57
pop eax
jmp 0x10011fb6
mov byte [esp + 0x12], 1
jmp 0x10011e04
push 2
pop eax
cmp si, ax
lea eax, [esp + 0x78]
je 0x1001c935
lea eax, [esp + 0x90]
push eax
push dword [ebp + 0xc]
call sym.IPHLPAPI.DLL_ConvertInterfaceIndexToLuid
test eax, eax
jne 0x10011fb6
jmp 0x10011e62
push 2
pop ecx
lea eax, [ebx + 0x14]
mov byte [esp + 0x13], 1
push eax
lea edx, [esp + 0x68]
mov esi, ecx
call fcn.10005093
cmp byte [esp + 0x12], 0
mov edi, dword [ebp + 0x10]
je 0x10011ec4
xor eax, eax
cmp word [edi + 8], ax
jne 0x10012044
cmp word [edi + 0xa], ax
jne 0x10012044
cmp word [edi + 0xc], ax
jne 0x10012044
cmp word [edi + 0xe], ax
jne 0x10012044
cmp word [edi + 0x10], ax
jne 0x10012044
mov eax, 0xffff
cmp word [edi + 0x12], ax
jne 0x10012044
lea eax, [edi + 0x14]
lea edx, [esp + 0x6c]
jmp 0x1001c9e2
push 0x17
xor eax, eax
lea edx, [esp + 0x70]
pop ecx
cmp word [edi], cx
push 2
sete al
pop ecx
lea eax, [eax*4 + 4]
add eax, edi
cmp si, cx
je 0x1001c9e0
lea edx, [esp + 0x78]
mov ecx, esi
push eax
call fcn.10005093
jmp 0x10011ec4
push 0x17
pop eax
cmp word [edi], ax
jne 0x1001c9fa
mov eax, dword [edi + 0x18]
jmp 0x1001c9fc
mov eax, edx
push 2
pop edi
lea ecx, [esp + 0x70]
cmp si, di
je 0x1001ca0f
lea ecx, [esp + 0x88]
mov dword [ecx], eax
jmp 0x10011f32
push 0x17
lea edi, [ebx + 0xc]
xor esi, esi
movzx edx, word [edi + 2]
pop eax
cmp word [edi], ax
jne 0x1001ca2c
mov eax, dword [edi + 0x18]
jmp 0x1001ca2e
mov eax, esi
push 0x17
xor ecx, ecx
pop ebx
cmp word [edi], bx
push edx
sete cl
push eax
lea ecx, [ecx*4 + 4]
lea edx, [ecx + edi]
lea ecx, [esp + 0x30]
call fcn.10024abf
mov ebx, dword [esp + 0x14]
add ebx, 0x2c
push 0x17
pop eax
movzx edx, word [ebx + 2]
cmp word [ebx], ax
jne 0x1001ca66
mov eax, dword [ebx + 0x18]
jmp 0x1001ca68
mov eax, esi
push 0x17
xor ecx, ecx
pop esi
cmp word [ebx], si
push edx
sete cl
push eax
lea ecx, [ecx*4 + 4]
lea edx, [ebx + ecx]
lea ecx, [esp + 0x4c]
call fcn.10024abf
mov edx, dword [esp + 0x14]
lea esi, [esp + 0x28]
push 7
pop ecx
rep movsd dword es:[edi], dword [esi]
add byte [edx + 0x28], 0x60
lea esi, [esp + 0x44]
push 7
pop ecx
xor eax, eax
lea edx, [esp + 0x108]
mov edi, ebx
push eax
push dword [esp + 0x108]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
call fcn.10024abf
jmp 0x10011fb4