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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10074450
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100a800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx + 4]
mov esi, eax
mov edx, dword [ecx]
sub esi, edx
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x14], edx
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, 0x88888889
imul esi
mov edi, dword [ebp + 8]
mov eax, 0x88888889
add edx, esi
mov dword [ebp - 0x28], edi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
imul ecx
mov dword [ebp - 0x20], esi
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jbe 0x1001f93f
cmp edi, 0x2222222
ja 0x1001f9a5
mov edx, ecx
mov eax, 0x2222222
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x1001f6ec
mov eax, edi
mov dword [ebp - 0x14], edi
jmp 0x1001f6f7
lea eax, [ecx + edx]
cmp eax, edi
cmovb eax, edi
mov dword [ebp - 0x14], eax
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 3
mov dword [ebp - 0x2c], ecx
cmp eax, 0x2222222
jbe 0x1001f710
or ecx, 0xffffffff
jmp 0x1001f718
cmp ecx, 0x1000
jb 0x1001f742
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call dword [sym.imp.mfc140u.dll_operator_1]
add esp, 4
test eax, eax
je 0x1001f73c
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1001f75c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
test ecx, ecx
je 0x1001f75a
push ecx
call dword [sym.imp.mfc140u.dll_operator_1]
add esp, 4
mov dword [ebp - 0x24], eax
mov esi, eax
mov dword [ebp - 0x18], eax
jmp 0x1001f762
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
lea edx, [esi + eax*8]
mov eax, edi
sub eax, ecx
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp + 0xc]
push eax
push edx
call fcn.1001f470
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
cmp edx, eax
je 0x1001f89a
mov eax, dword [ebp - 0x24]
lea edi, [esi + 0x18]
sub eax, edx
lea esi, [edx + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [esi - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
mov dword [edi], 0
mov dword [eax + esi], 0
xor eax, eax
movups xmm0, xmmword [esi - 0x10]
movups xmmword [edi - 0x14], xmm0
movq xmm0, qword [esi]
movq qword [edi - 4], xmm0
mov dword [esi], 0
mov dword [esi + 4], 7
mov word [esi - 0x10], ax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
movups xmm0, xmmword [esi + 8]
movups xmmword [edi + 4], xmm0
movq xmm0, qword [esi + 0x18]
movq qword [edi + 0x14], xmm0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 7
mov word [esi + 8], ax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x2c], eax
mov ax, word [esi + 0x34]
mov word [edi + 0x30], ax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x3c], eax
mov byte [edi + 0x40], 0
cmp byte [esi + 0x44], 0
je 0x1001f86b
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x4c]
mov dword [edi + 0x48], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
mov byte [edi + 0x40], 1
mov eax, dword [esi + 0x54]
add ecx, 0x78
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x5c]
add esi, 0x78
mov dword [edi + 0x58], eax
add edi, 0x78
mov dword [ebp - 0x14], ecx
lea eax, [esi - 0x14]
cmp eax, edx
jne 0x1001f7b3
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
push ecx
mov edx, ecx
call fcn.1001f5a0
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov eax, dword [ecx]
test eax, eax
je 0x1001f914
mov edx, dword [ecx + 4]
push ecx
mov ecx, eax
call fcn.1001f5a0
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov eax, dword [ecx]
mov ecx, dword [ecx + 8]
sub ecx, eax
mov dword [ebp - 0x14], eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov eax, dword [ebp - 0x14]
shl ecx, 3
cmp ecx, 0x1000
jb 0x1001f907
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f73c
mov eax, edx
push ecx
push eax
call fcn.100702e7
mov ecx, dword [ebp - 0x1c]
add esp, 8
mov eax, edi
mov dword [ecx], esi
shl eax, 4
sub eax, edi
lea eax, [esi + eax*8]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x2c]
add eax, esi
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, esi
jbe 0x1001f96e
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
sub edi, esi
push edi
push dword [ebp - 0x18]
call fcn.1001f470
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
je 0x1001f991
mov ecx, dword [ebp - 0x14]
mov eax, edi
mov edx, dword [ebp - 0x18]
shl eax, 4
sub eax, edi
push ecx
lea esi, [ecx + eax*8]
mov ecx, esi
call fcn.1001f5a0
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov dword [ecx + 4], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.100091f0
mov eax, dword [ebp - 0x20]
push eax
push eax
call fcn.1001f630
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.1001f410
push 0
push 0
call sub.VCRUNTIME140.dll__CxxThrowException
int3