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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
mov ebx, esi
sub ebx, dword [esp + 0x54]
movq xmm1, qword [esp + 0x74]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x78]
mov eax, ecx
sbb eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
mov eax, esi
sub eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, ecx
sbb eax, dword [esp + 0x68]
xor ebp, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x7c]
neg edx
mov dword [esp + 0x18], eax
mov eax, edx
mov dword [esp + 0x28], edx
bts ebp, eax
mov dword [esp + 0x34], ebx
push edi
xor edi, edi
movd xmm0, edx
cmp eax, 0x20
psrlq xmm1, xmm0
cmovae edi, ebp
xor ebp, edi
cmp eax, 0x40
mov dword [esp + 0x34], ebp
cmovae edi, ebp
add ebp, 0xffffffff
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x30]
adc edx, 0xffffffff
movd edi, xmm1
mov eax, edx
mov dword [esp + 0x40], ebp
and eax, ecx
mov dword [esp + 0x44], edx
and ebp, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], eax
cmp edi, 0x3b9aca00
jb 0x419db5
mov ecx, 0x3b9aca00
mov esi, 0xa
jmp 0x419e55
cmp edi, 0x5f5e100
jb 0x419dcc
mov ecx, 0x5f5e100
mov esi, 9
jmp 0x419e55
cmp edi, 0x989680
jb 0x419de0
mov ecx, 0x989680
mov esi, 8
jmp 0x419e55
cmp edi, 0xf4240
jb 0x419df4
mov ecx, 0xf4240
mov esi, 7
jmp 0x419e55
cmp edi, 0x186a0
jb 0x419e08
mov ecx, 0x186a0
mov esi, 6
jmp 0x419e55
cmp edi, 0x2710
jb 0x419e1c
mov ecx, 0x2710
mov esi, 5
jmp 0x419e55
cmp edi, 0x3e8
jb 0x419e30
mov ecx, 0x3e8
mov esi, 4
jmp 0x419e55
cmp edi, 0x64
jb 0x419e3f
mov ecx, 0x64
lea esi, [ecx - 0x61]
jmp 0x419e55
cmp edi, 0xa
jb 0x419e4e
mov ecx, 0xa
lea esi, [ecx - 8]
jmp 0x419e55
mov ecx, 1
mov esi, ecx
mov dword [esp + 0x14], ecx
nop dword [eax]
xor edx, edx
mov ebx, dword [esp + 0x20]
mov eax, edi
movd xmm0, dword [esp + 0x2c]
div ecx
dec esi
mov edi, edx
add al, 0x30
mov edx, dword [esp + 0x24]
mov edx, dword [edx]
mov byte [edx + ebx], al
inc edx
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x58], edi
movd xmm1, dword [esp + 0x58]
psllq xmm1, xmm0
movq xmm0, qword [esp + 0x48]
paddq xmm1, xmm0
mov dword [eax], edx
movq qword [esp + 0x58], xmm1
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x78], edx
cmp eax, dword [esp + 0x28]
jb 0x419fa0
ja 0x419ec5
cmp dword [esp + 0x58], ebx
jbe 0x419fa0
mov eax, 0xcccccccd
mul ecx
mov ecx, edx
shr ecx, 3
mov dword [esp + 0x14], ecx
test esi, esi
jg 0x419e60
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x14], 0
nop dword [eax]
mov eax, ebp
mov ecx, edi
shld ecx, eax, 2
shl eax, 2
add ebp, eax
adc edi, ecx
mov ecx, dword [esp + 0x2c]
shld edi, ebp, 1
add ebp, ebp
mov edx, edi
mov eax, ebp
call fcn.00495d80
mov edx, dword [esp + 0x78]
add al, 0x30
mov ecx, dword [esp + 0x20]
and ebp, dword [esp + 0x40]
and edi, dword [esp + 0x44]
inc dword [esp + 0x14]
mov byte [edx + ecx], al
mov eax, ebx
mov ecx, esi
inc edx
shld ecx, eax, 2
mov dword [esp + 0x78], edx
shl eax, 2
add ebx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
adc esi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
shld ecx, eax, 2
shld esi, ebx, 1
shl eax, 2
add ebx, ebx
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
adc eax, ecx
mov ecx, dword [esp + 0x18]
shld eax, ecx, 1
add ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp edi, esi
ja 0x419ef0
jb 0x419f8a
cmp ebp, ebx
ja 0x419ef0
mov eax, dword [esp + 0x24]
mov dword [eax], edx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
sub dword [eax], edx
mov edx, dword [esp + 0x78]
jmp 0x419fec
mov eax, dword [esp + 0x54]
movd xmm1, dword [esp + 0x14]
movd xmm0, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x5c]
psllq xmm1, xmm0
mov dword [esp + 0x20], eax
movq qword [esp + 0x78], xmm1
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x34], eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x24]
push dword [esp + 0x38]
push edi
push ebp
push esi
push ebx
push dword [esp + 0x34]
push ecx
mov ecx, eax
call fcn.00419c40
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret