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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x10029170]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x28], eax
lea edi, [esp + 0x38]
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x28]
push 8
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
pop ecx
mov dword [esp + 0x1c], eax
xor eax, eax
push 0x58
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x20], esi
push eax
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
xor eax, eax
mov byte [esp + 0x1f], 1
add esp, 0xc
mov dword [esp + 0x14], eax
mov ebx, eax
cmp esi, 0xffffffff
je 0x100150ba
test esi, esi
je 0x100150ba
cmp byte [esi + 4], al
jne 0x100150ba
cmp dword [ebp + 0xc], eax
jne 0x1000db22
cmp dword [ebp + 0x10], eax
jne 0x10014ff6
push eax
push eax
push eax
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_CreateEventW]
mov ebx, eax
test ebx, ebx
je 0x10014fef
mov byte [esp + 0x13], 0
push 0x24
pop ecx
call fcn.1000563a
mov edi, eax
mov dword [esp + 0x34], edi
test edi, edi
je 0x10015027
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
inc dword [esi + 0x24]
lea ecx, [esi + 0x28]
mov edx, dword [ecx + 4]
lea eax, [edi + 0x1c]
mov dword [esp + 0x30], eax
cmp dword [edx], ecx
jne 0x1000dcc1
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ecx + 4], eax
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x1001503b
mov dword [edi], ebx
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, dword [esp + 0x1c]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov eax, dword [esi]
mov dword [esp + 0x40], eax
movzx eax, word [ebp + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x70], 0x24
test ecx, ecx
je 0x10015042
mov al, byte [ecx]
mov byte [esp + 0x8c], al
mov al, byte [ecx + 2]
and al, 1
mov dword [esp + 0x7c], edx
mov byte [esp + 0x8d], al
movzx eax, byte [ecx + 3]
mov word [esp + 0x80], ax
mov eax, dword [ecx + 4]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x34]
lea edi, [esp + 0xa0]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x28]
push 0x58
lea esi, [eax + 8]
mov eax, dword [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x8c], eax
lea edi, [esp + 0x94]
mov eax, dword [esp + 0x30]
lea esi, [eax + 8]
mov eax, dword [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x5c]
push eax
push 0x20
lea eax, [esp + 0x44]
push eax
push 4
push dword [esi + 8]
push 6
push 1
call dword [sym.imp.NSI.dll_NsiSetAllParameters]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x10015056
cmp byte [esp + 0x13], al
jne 0x1001504f
push eax
push eax
push ebx
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
push ebx
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
push 0x24
push eax
call sym.IPHLPAPI.DLL_Icmp6ParseReplies
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10012ae0
mov esp, ebp
pop ebp
ret 0x30
push 3
pop ecx
int 0x29
int3
push dword [esp + 0x14]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
push 8
jmp 0x100150bc
push 2
push eax
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThread]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
push eax
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_DuplicateHandle]
test eax, eax
je 0x100150c2
jmp 0x1000db22
test ebx, ebx
je 0x10015032
push ebx
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
cmp dword [esp + 0x14], 0
je 0x10014fef
jmp 0x10014fe5
mov dword [edi], eax
jmp 0x1000db7b
mov byte [esp + 0x8c], 0xff
jmp 0x1000dc18
push 0x3e5
jmp 0x100150bc
lea edi, [esi + 0xc]
push edi
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
mov eax, dword [esp + 0x30]
dec dword [esi + 0x24]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
cmp dword [edx + 4], eax
jne 0x1000dcc1
cmp dword [ecx], eax
jne 0x1000dcc1
mov dword [ecx], edx
push edi
mov dword [edx + 4], ecx
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
test ebx, ebx
je 0x10015094
push ebx
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetLastError]
mov esi, dword [esp + 0x34]
cmp dword [esi + 4], 0
je 0x100150b1
push dword [esi + 4]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov ecx, esi
call fcn.1000bd1b
jmp 0x100150c2
push 0x57
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetLastError]
xor eax, eax
jmp 0x1000dcaa