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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513f80
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x535008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 4]
mov esi, eax
mov edi, dword [ecx]
sub esi, edi
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x20], eax
sub ecx, edi
mov eax, 0x88888889
mov dword [ebp - 0x28], edi
imul esi
mov edi, dword [ebp + 8]
mov eax, 0x88888889
add edx, esi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
imul ecx
mov dword [ebp - 0x24], esi
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jbe 0x41996c
cmp edi, 0x2222222
ja 0x4199d2
mov edx, ecx
mov eax, 0x2222222
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x419718
mov eax, edi
mov dword [ebp - 0x20], edi
jmp 0x419723
lea eax, [ecx + edx]
cmp eax, edi
cmovb eax, edi
mov dword [ebp - 0x20], eax
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 3
mov dword [ebp - 0x28], ecx
cmp eax, 0x2222222
jbe 0x41973c
or ecx, 0xffffffff
jmp 0x419744
cmp ecx, 0x1000
jb 0x41976d
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.0051055c
add esp, 4
test eax, eax
je 0x419767
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x419786
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
test ecx, ecx
je 0x419784
push ecx
call fcn.0051055c
add esp, 4
mov dword [ebp - 0x18], eax
mov esi, eax
mov dword [ebp - 0x1c], eax
jmp 0x41978c
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x24]
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 - 0x24], edx
mov ecx, dword [ebp + 0xc]
push eax
push edx
call fcn.00418340
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov ecx, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
cmp edx, eax
je 0x4198c7
mov eax, dword [ebp - 0x18]
lea edi, [esi + 0x18]
sub eax, edx
lea esi, [edx + 0x14]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
nop dword [eax]
mov eax, dword [esi - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
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 0x419898
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 - 0x20]
mov edx, dword [ebp - 0x1c]
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 - 0x20], ecx
lea eax, [esi - 0x14]
cmp eax, edx
jne 0x4197e0
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp + 8]
push ecx
mov edx, ecx
call fcn.00416aa0
mov ecx, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ecx]
test eax, eax
je 0x419941
mov edx, dword [ecx + 4]
push ecx
mov ecx, eax
call fcn.00416aa0
mov ecx, dword [ebp - 0x14]
add esp, 4
mov eax, dword [ecx]
mov ecx, dword [ecx + 8]
sub ecx, eax
mov dword [ebp + 8], 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 + 8]
shl ecx, 3
cmp ecx, 0x1000
jb 0x419934
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419767
mov eax, edx
push ecx
push eax
call fcn.0051098e
mov ecx, dword [ebp - 0x14]
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 - 0x28]
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 0x41999b
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
sub edi, esi
push edi
push dword [ebp - 0x20]
call fcn.00418340
mov ecx, dword [ebp - 0x14]
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 0x4199be
mov ecx, dword [ebp - 0x28]
mov eax, edi
mov edx, dword [ebp - 0x20]
shl eax, 4
sub eax, edi
push ecx
lea esi, [ecx + eax*8]
mov ecx, esi
call fcn.00416aa0
mov ecx, dword [ebp - 0x14]
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.0041a250
mov eax, dword [ebp - 0x24]
push eax
push eax
call fcn.00415610
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call fcn.00415650
push 0
push 0
call sub.VCRUNTIME140.dll__CxxThrowException
int3