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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 8]
mov ecx, dword [eax]
mov al, 1
mov dword [ebp - 0x14], eax
mov edx, ebx
mov dword [ebp - 0x10], ecx
call fcn.1019db20
movzx eax, byte [ebp + 0x18]
cmp ebx, 2
jb 0x101b3308
mov ecx, dword [ebp - 0x10]
dec ebx
mov edx, 1
lea esi, [ecx + 0xc]
jmp 0x101b32a7
movsd xmm0, qword [esi]
mov eax, dword [esi + 8]
inc edx
mov dword [ecx + edi*4 + 8], eax
movsd qword [ecx + edi*4], xmm0
add esi, 0xc
dec ebx
je 0x101b32fe
mov eax, dword [esi + 8]
lea edi, [edx + edx*2]
cmp eax, dword [ecx + edi*4 - 4]
jne 0x101b3290
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx + edi*4 - 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
mov dword [ebp - 0x50], ecx
push ecx
mov dword [ebp - 0x14], edx
call sub.msvcrt.dll_memcmp
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
jne 0x101b3290
mov eax, dword [ebp - 0x50]
cmp dword [esi + 4], 0
je 0x101b32a1
push eax
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
jmp 0x101b32a1
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], edx
movzx eax, byte [ebp + 0x18]
mov edi, dword [ebp + 0xc]
test al, al
je 0x101b355d
mov eax, dword [edi + 8]
movsd xmm0, qword [edi]
mov esi, dword [0x1035648c]
mov dword [ebp - 0x54], eax
mov eax, dword [0x103564a0]
movsd qword [ebp - 0x5c], xmm0
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x101b3345
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101b371f
mov dword [esi], eax
push 0x90
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101b371f
mov dword [eax], 0x10352e98
mov dword [eax + 4], 3
mov dword [eax + 8], 0x10352764
mov dword [eax + 0xc], 4
mov dword [eax + 0x10], 0x10352758
mov dword [eax + 0x14], 9
mov dword [eax + 0x18], 0x10352df0
mov dword [eax + 0x1c], 0xf
mov dword [eax + 0x20], 0x10352dff
mov dword [eax + 0x24], 0xd
mov dword [eax + 0x28], 0x10352e0c
mov dword [eax + 0x2c], 0x12
mov dword [eax + 0x30], 0x10352e1e
mov dword [eax + 0x34], 0xc
mov dword [eax + 0x38], 0x10352e2a
mov dword [eax + 0x3c], 0xd
mov dword [eax + 0x40], 0x10352e37
mov dword [eax + 0x44], 0xc
mov dword [eax + 0x48], 0x10352e43
mov dword [eax + 0x4c], 7
mov dword [eax + 0x50], 0x10352e4a
mov dword [eax + 0x54], 7
mov dword [eax + 0x58], 0x10352e51
mov dword [eax + 0x5c], 0xa
mov dword [eax + 0x60], 0x10352e5b
mov dword [eax + 0x64], 6
mov dword [eax + 0x68], 0x10352e61
mov dword [eax + 0x6c], 9
mov dword [eax + 0x70], 0x10352e6a
mov dword [eax + 0x74], 9
mov dword [eax + 0x78], 0x10352e73
mov dword [eax + 0x7c], 0x11
mov dword [eax + 0x80], 0x10352e84
mov dword [eax + 0x84], 0xb
mov dword [eax + 0x88], 0x10352e8f
mov dword [eax + 0x8c], 9
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x12
mov dword [ebp - 0x18], 0x12
mov dword [ebp - 0x14], 0
mov ecx, dword [edi + 8]
movsd xmm0, qword [edi]
mov dword [ebp - 0x3c], ecx
movsd qword [ebp - 0x44], xmm0
lea edi, [ebp - 0x44]
lea ebx, [ebp - 0x20]
lea ecx, [ebp - 0x38]
mov edx, edi
push ebx
call fcn.101b37a0
add esp, 4
mov eax, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x38]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 0x1019f080
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
movsd qword [ebp - 0x44], xmm0
movsd xmm0, qword [ebp - 0x2c]
mov dword [ebp - 0x38], 0x10352ec8
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x4c]
movsd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x38]
push eax
call fcn.1005f950
add esp, 4
mov ebx, dword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
test ebx, ebx
movsd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], ecx
je 0x101b3539
mov eax, dword [ebp - 0x10]
lea edi, [eax + 4]
jmp 0x101b3526
add edi, 0xc
dec ebx
je 0x101b3539
cmp dword [edi], 0
je 0x101b3520
push dword [edi - 4]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
jmp 0x101b3520
cmp dword [ebp - 0x1c], 0
je 0x101b354b
push dword [ebp - 0x10]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp + 0xc]
movsd xmm0, qword [ebp - 0x38]
mov dword [edi + 8], eax
movsd qword [edi], xmm0
cmp byte [ebp + 0x1c], 0
je 0x101b36ed
mov eax, dword [edi + 8]
movsd xmm0, qword [edi]
mov esi, dword [0x1035648c]
mov dword [ebp - 0x54], eax
mov eax, dword [0x103564a0]
movsd qword [ebp - 0x5c], xmm0
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x101b3599
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101b3730
mov dword [esi], eax
push 0x28
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101b3730
mov dword [eax], 0x10352ef4
mov dword [eax + 4], 7
mov dword [eax + 8], str.WinTargetMSiSCSISrmSvcStorageReplicaClusSvc_DEBUGSRV__Cluster_services_excluded:
mov dword [eax + 0xc], 9
mov dword [eax + 0x10], 0x10352ed9
mov dword [eax + 0x14], 7
mov dword [eax + 0x18], 0x10352ee0
mov dword [eax + 0x1c], 6
mov dword [eax + 0x20], 0x10352ee6
mov dword [eax + 0x24], 0xe
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x14], 0
mov ecx, dword [edi + 8]
movsd xmm0, qword [edi]
mov dword [ebp - 0x3c], ecx
movsd qword [ebp - 0x44], xmm0
lea edi, [ebp - 0x44]
lea ebx, [ebp - 0x20]
lea ecx, [ebp - 0x38]
mov edx, edi
push ebx
call fcn.101b37a0
add esp, 4
mov eax, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x38]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 0x1019f080
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
movsd qword [ebp - 0x44], xmm0
movsd xmm0, qword [ebp - 0x2c]
mov dword [ebp - 0x38], 0x10352f24
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x4c]
movsd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x38]
push eax
call fcn.1005f950
add esp, 4
mov ebx, dword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
test ebx, ebx
movsd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], ecx
je 0x101b36c9
mov eax, dword [ebp - 0x10]
lea edi, [eax + 4]
jmp 0x101b36b6
add edi, 0xc
dec ebx
je 0x101b36c9
cmp dword [edi], 0
je 0x101b36b0
push dword [edi - 4]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
jmp 0x101b36b0
cmp dword [ebp - 0x1c], 0
je 0x101b36db
push dword [ebp - 0x10]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp + 0xc]
movsd xmm0, qword [ebp - 0x38]
mov dword [edi + 8], eax
movsd qword [edi], xmm0
mov eax, dword [ebp + 8]
mov edx, dword [edi + 8]
movsd xmm0, qword [edi]
movzx ecx, byte [ebp + 0x14]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x10]
movsd qword [eax], xmm0
movsd xmm0, qword [edx]
mov edx, dword [edx + 8]
movsd qword [eax + 0xc], xmm0
mov dword [eax + 0x14], edx
mov byte [eax + 0x18], cl
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x90
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x101b373c
push 0x28
push 4
call fcn.1001a7e0
add esp, 8
ud2