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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x130
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edi, 0x3b9aca00
mov dword [esp + 0x50], eax
mul edi
mov ebx, eax
mov ecx, edx
mov eax, dword [esi + 4]
mov dword [esp + 0x4c], eax
mul edi
mov edi, ebx
mov ebx, edx
add eax, ecx
adc ebx, 0
mov ecx, dword [esi + 8]
mov dword [esp + 0x48], ecx
add edi, ecx
adc eax, 0
mov dword [esp + 0x1c], eax
adc ebx, 0
lea eax, [esi + 0x18]
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x6c], eax
movzx eax, byte [esi + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x8c], eax
setb al
movzx esi, al
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x90]
mov edx, eax
call fcn.004440bf
test al, al
je 0x496498
mov esi, dword [esp + 0x6c]
mov ecx, esi
mov edx, dword [ebp + 0xc]
call fcn.004e4382
test al, al
jne 0x496484
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esp + 4], eax
mov esi, dword [esi + 0x10]
call fcn.004c8910
mov edi, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov ecx, ebx
mov ebx, edx
mov edx, dword [esp + 4]
push 0x4c4b40
push 0
push 0
mov dword [esp + 0xc], esi
push esi
call fcn.004dd4e0
add esp, 0x10
mov dword [esp + 0x10], edi
cmp edi, eax
mov esi, ebx
sbb esi, edx
jb 0x495c21
xor eax, dword [esp + 0x10]
xor edx, ebx
or edx, eax
jne 0x495bf8
cmp dword [esp + 0xc], ecx
jbe 0x495c21
mov eax, dword [esp + 0x78]
test eax, eax
je 0x495c21
cmp eax, 1
jne 0x495e94
mov ecx, dword [esp + 0x10]
mov edx, ebx
push dword [esp + 0x48]
push dword [esp + 0x50]
push dword [esp + 0x58]
push dword [esp + 0x18]
jmp 0x495c39
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push dword [esp + 0x48]
push dword [esp + 0x50]
push dword [esp + 0x58]
push dword [esp + 0xc]
call fcn.004dd4e0
add esp, 0x10
mov dword [esp + 0x14], edx
mov esi, ecx
mov ecx, dword [esp + 0x6c]
mov edx, eax
push 0
push esi
push dword [esp + 0x1c]
call fcn.004e7e38
add esp, 0xc
mov ecx, dword [esp + 0x8c]
call fcn.00480a50
test eax, eax
je 0x496498
mov dword [esp + 0x70], eax
add eax, 8
lea ecx, [esp + 0xa4]
mov edx, eax
call fcn.0046a36a
cmp dword [esp + 0xa4], 0
mov esi, dword [esp + 0xa8]
movzx edx, byte [esp + 0xac]
jne 0x496488
mov dword [esp + 0x24], edx
mov eax, dword [esi + 0x10]
cmp eax, 0x3b9aca00
je 0x4964b7
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], eax
call fcn.004c8910
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], edx
mov dword [esp + 0x120], ecx
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
lea ecx, [ecx + eax + 1]
movdqa xmm0, xmmword [eax]
mov edx, dword [esi + 0x44]
mov dword [esp + 0xb0], eax
add eax, 0x10
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
pmovmskb eax, xmm0
not eax
mov word [esp + 0xbc], ax
mov dword [esp + 0xc0], edx
mov dword [esp + 0x20], esi
lea eax, [esi + 0x38]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xb0]
call fcn.0045dd9f
test eax, eax
je 0x495e76
mov ecx, eax
add eax, 0xffffffdc
mov dword [esp + 0x10], eax
mov dword [esp + 0x94], eax
lea eax, [esp + 0x94]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x108]
mov dword [esp + 0xa0], eax
mov eax, dword [ecx - 4]
mov dword [esp + 0x14], eax
mov dword [esp], ecx
and dword [ecx - 4], 0
mov dword [esp + 8], 0
xor esi, esi
xor ecx, ecx
cmp dword [esp + 0x14], ecx
je 0x495dde
mov ebx, ecx
mov eax, dword [esp]
mov eax, dword [eax - 0xc]
mov edi, eax
lea edx, [eax + esi]
lea ecx, [esp + 0x98]
call fcn.0048d4ac
lea ecx, [ebx + 1]
add esi, 0x30
test al, al
jne 0x495d9a
imul eax, ebx, 0x30
mov esi, ecx
lea ecx, [edi + eax]
add ecx, 0x10
call fcn.00480965
mov ecx, esi
xor eax, eax
inc eax
mov dword [esp + 8], eax
jmp 0x495de2
mov ecx, dword [esp + 0x14]
mov edx, dword [esp]
imul esi, ecx, 0x30
cmp dword [esp + 0x14], ecx
je 0x495e4e
mov dword [esp + 4], ecx
mov edi, dword [edx - 0xc]
lea ebx, [edi + esi]
lea ecx, [esp + 0x98]
mov edx, ebx
call fcn.0048d4ac
test al, al
je 0x495e32
imul eax, dword [esp + 8], 0xffffffd0
mov edx, dword [esp]
add eax, dword [edx - 0xc]
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [esi + eax + 0x20], xmm0
movdqu xmm0, xmmword [ebx]
movups xmm1, xmmword [ebx + 0x10]
movups xmmword [esi + eax + 0x10], xmm1
movdqu xmmword [esi + eax], xmm0
jmp 0x495e44
inc dword [esp + 8]
lea ecx, [edi + esi]
add ecx, 0x10
call fcn.00480965
mov edx, dword [esp]
mov ecx, dword [esp + 4]
inc ecx
add esi, 0x30
jmp 0x495de8
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 8]
mov dword [edx - 4], eax
jne 0x495d32
mov ecx, dword [esp + 0xc]
call fcn.0047d781
mov ecx, dword [esp + 0x10]
call fcn.0047cf44
jmp 0x495d32
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
call fcn.004814f0
lea ecx, [esp + 0x70]
call fcn.0048151b
mov eax, dword [ebp + 0xc]
jmp 0x495b76
mov esi, dword [esp + 0x28]
or esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
or edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov edx, ebx
push dword [esp + 0x48]
push dword [esp + 0x50]
push dword [esp + 0x58]
push dword [esp + 0x18]
call fcn.004dd4e0
add esp, 0x10
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x10]
mov edx, ebx
mov ebx, esi
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x10]
push dword [esp + 0x18]
call fcn.004eb541
add esp, 0x10
mov esi, edx
mov edx, ebx
mov dword [esp], edi
or edx, edi
je 0x4964a2
mov edx, 0x3b9aca00
mul edx
mov dword [esp + 4], edx
mov edi, eax
mov eax, esi
mov edx, 0x3b9aca00
mul edx
add eax, dword [esp + 4]
mov esi, 0
adc edx, esi
mov esi, edi
add esi, ecx
mov dword [esp + 0x18], esi
mov ecx, 0
adc eax, ecx
mov edi, eax
mov dword [esp + 0x34], eax
adc edx, ecx
mov dword [esp + 0x30], edx
setb byte [esp + 4]
or ebx, dword [esp]
sete bl
mov eax, esi
or eax, edx
movzx ecx, byte [esp + 4]
mov esi, edi
or esi, ecx
mov edi, ecx
or esi, eax
sete al
or al, bl
mov byte [esp], al
mov ebx, dword [esp + 0x38]
bsr esi, ebx
xor esi, 0x1f
bsr edx, dword [esp + 0x2c]
xor edx, 0x1f
add edx, 0x20
test ebx, ebx
cmovne edx, esi
mov ecx, dword [esp + 0x1c]
bsr esi, ecx
xor esi, 0x1f
bsr eax, dword [esp + 0x28]
xor eax, 0x1f
add eax, 0x20
test ecx, ecx
cmovne eax, esi
add eax, 0x40
mov esi, dword [esp + 0x2c]
or esi, ebx
cmovne eax, edx
bsr esi, dword [esp + 0x30]
xor esi, 0x1f
add esi, 0x20
bsr edx, edi
xor edx, 0x1f
cmp byte [esp + 4], 0
cmove edx, esi
mov ebx, dword [esp + 0x34]
bsr esi, ebx
xor esi, 0x1f
bsr ecx, dword [esp + 0x18]
xor ecx, 0x1f
add ecx, 0x20
test ebx, ebx
cmovne ecx, esi
add ecx, 0x40
mov ebx, dword [esp + 0x30]
mov esi, ebx
mov dword [esp + 0x40], edi
or esi, edi
cmovne ecx, edx
sub eax, ecx
mov edi, 0
sbb edi, edi
mov esi, 0
sbb esi, esi
mov edx, 0
sbb edx, edx
push 0x7f
pop ecx
mov dword [esp + 0xc], eax
cmp ecx, eax
mov ecx, 0
sbb ecx, edi
mov ecx, 0
mov dword [esp + 0x24], esi
sbb ecx, esi
mov esi, edx
mov ecx, 0
sbb ecx, edx
setb cl
or cl, byte [esp]
mov edx, dword [esp + 0x40]
mov eax, 0
cmovne edx, eax
mov ecx, ebx
cmovne ecx, eax
mov ebx, dword [esp + 0x34]
cmovne ebx, eax
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x18]
cmovne ebx, eax
jne 0x496334
mov eax, dword [esp + 0xc]
xor eax, 0x7f
or eax, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x5c], esi
or edi, esi
or edi, eax
mov ecx, dword [esp + 0x20]
pxor xmm0, xmm0
je 0x496334
mov eax, dword [esp + 0x18]
mov dword [esp + 0xf8], eax
movdqu xmmword [esp + 0xe8], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0xc]
xor al, 0x7f
mov ch, al
and ch, 7
shr al, 3
and al, 0xf
neg al
movsx eax, al
mov edx, dword [esp + eax + 0x100]
mov edi, dword [esp + eax + 0x104]
mov cl, ch
shld edi, edx, cl
mov dword [esp + 0x58], edi
shl edx, cl
not cl
mov ebx, dword [esp + eax + 0xf8]
mov eax, dword [esp + eax + 0xfc]
mov esi, eax
shr esi, 1
shr esi, cl
mov cl, ch
shld eax, ebx, cl
shl ebx, cl
mov ecx, esi
or ecx, edx
add dword [esp + 0xc], 1
mov esi, dword [esp + 0x3c]
adc esi, 0
mov edx, dword [esp + 0x24]
adc edx, 0
adc dword [esp + 0x5c], 0
jae 0x496125
mov dword [esp + 0x54], 0
xor esi, esi
mov edx, dword [esp + 0x58]
jmp 0x496318
movdqu xmmword [esp + 0xd8], xmm0
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc8], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0xcc], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0xd0], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0xd4], edi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov ch, dl
and ch, 7
mov dword [esp + 8], eax
mov eax, edx
shr al, 3
and al, 0xf
movzx eax, al
mov edi, dword [esp + eax + 0xd4]
mov edx, dword [esp + eax + 0xd0]
mov dword [esp + 0x3c], esi
mov esi, edx
mov cl, ch
shrd esi, edi, cl
mov dword [esp + 4], esi
mov dword [esp + 0x10], ebx
mov esi, dword [esp + eax + 0xc8]
mov eax, dword [esp + eax + 0xcc]
mov ebx, eax
shr ebx, cl
mov dword [esp], ebx
not cl
add edx, edx
shl edx, cl
mov cl, ch
shr edi, cl
mov ebx, edi
shrd esi, eax, cl
mov dword [esp + 0x64], esi
or edx, dword [esp]
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x28]
add eax, 0xffffffff
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1c]
adc eax, 0xffffffff
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x2c]
adc eax, 0xffffffff
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
adc eax, 0xffffffff
mov dword [esp + 0x7c], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x54], 0
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 4]
shld ebx, eax, 1
mov dword [esp], ebx
mov edi, dword [esp + 0x68]
shld eax, edi, 1
mov dword [esp + 4], eax
mov esi, dword [esp + 0x64]
shld edi, esi, 1
shld esi, edx, 1
mov eax, dword [esp + 0x20]
shld edx, eax, 1
mov ebx, dword [esp + 0x60]
or edx, ebx
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 8]
shld eax, ecx, 1
mov edx, dword [esp + 0x10]
shld ecx, edx, 1
or eax, ebx
mov dword [esp + 0x20], eax
or ecx, ebx
mov dword [esp + 8], ecx
add edx, edx
or edx, dword [esp + 0x54]
mov dword [esp + 0x10], edx
cmp dword [esp + 0x88], esi
mov eax, dword [esp + 0x84]
sbb eax, edi
mov eax, dword [esp + 0x80]
sbb eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
sbb ecx, dword [esp]
sar ecx, 0x1f
mov eax, ecx
and eax, 1
mov dword [esp + 0x54], eax
mov eax, ecx
and eax, dword [esp + 0x38]
mov edx, ecx
and edx, dword [esp + 0x2c]
mov ebx, ecx
and ebx, dword [esp + 0x1c]
and ecx, dword [esp + 0x28]
sub esi, ecx
mov dword [esp + 0x64], esi
sbb edi, ebx
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x3c]
sbb dword [esp + 4], edx
mov ebx, dword [esp]
sbb ebx, eax
mov ecx, dword [esp + 0xc]
add ecx, 0xffffffff
adc edi, 0xffffffff
mov edx, dword [esp + 0x24]
adc edx, 0xffffffff
mov esi, dword [esp + 0x5c]
adc esi, 0xffffffff
mov eax, edi
mov dword [esp + 0x5c], esi
or eax, esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], edx
or ecx, edx
mov edx, dword [esp + 0x58]
or ecx, eax
jne 0x496216
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x60]
shld edx, ecx, 1
or edx, esi
shld ecx, eax, 1
shld eax, ebx, 1
or ecx, esi
or eax, esi
mov dword [esp + 8], eax
add ebx, ebx
or ebx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
mov esi, ecx
imul esi, dword [esp + 0x1c]
mov eax, ecx
mov edi, edx
mov ebx, dword [esp + 0x28]
mul ebx
mov dword [esp], eax
mov ecx, edx
add ecx, esi
imul edi, ebx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mul ebx
mov dword [esp + 4], eax
add edi, ecx
mov esi, dword [esp + 8]
imul esi, ebx
add esi, edx
mov ecx, dword [esp + 0x10]
mov eax, ecx
imul eax, dword [esp + 0x38]
add esi, eax
mov eax, dword [esp]
add dword [esp + 4], eax
adc esi, edi
mov edi, dword [esp + 0x28]
mov eax, edi
mul ecx
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mul ecx
mov ebx, edx
mov ecx, eax
add ecx, dword [esp + 0xc]
adc ebx, 0
mov eax, edi
mul dword [esp + 8]
mov edi, edx
add eax, ecx
mov dword [esp + 0x10], eax
adc edi, ebx
setb cl
mov eax, dword [esp + 0x1c]
mul dword [esp + 8]
add eax, edi
movzx ecx, cl
adc edx, ecx
add eax, dword [esp + 4]
adc edx, esi
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp]
mov esi, dword [esp + 0x34]
sbb esi, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
sbb edi, eax
mov eax, dword [esp + 0x40]
sbb eax, edx
cmp edi, 1
sbb eax, 0
jae 0x4964da
push 0
push 0x3b9aca00
push esi
mov dword [esp + 0x24], ecx
push ecx
call fcn.004f7220
mov esi, dword [esp + 0x44]
sub esi, eax
mov ecx, dword [esp + 0x14]
sbb ecx, edx
mov edx, ecx
mov ecx, dword [esp + 0x74]
jb 0x4964cb
mov dword [esp + 0x14], edx
imul eax, eax, 0x3b9aca00
mov edx, dword [esp + 0x18]
sub edx, eax
mov dword [esp + 0x18], edx
cmp ecx, edx
jae 0x496455
mov eax, esi
mov edx, dword [esp + 0x14]
or eax, edx
je 0x4964cb
add esi, 0xffffffff
mov dword [esp + 0x44], esi
adc edx, 0xffffffff
add ecx, 0x3b9aca00
mov esi, edx
jmp 0x49645d
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x14]
sub ecx, dword [esp + 0x18]
mov eax, ecx
xor edx, edx
mov ecx, 0x3b9aca00
div ecx
add eax, dword [esp + 0x44]
adc esi, 0
jb 0x4964fe
mov dword [esp + 0x14], esi
mov esi, edx
jmp 0x495c47
mov al, 1
jmp 0x49649a
mov ecx, esi
call fcn.004814f0
lea ecx, [esp + 0x70]
call fcn.0048151b
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x39
pop edx
mov ecx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zeromark_pending_called_when_the_timer_entry_is_in_an_invalid_state
push 0x54cd84
call fcn.00506cd0
pop eax
ud2
push 0x18
pop edx
mov ecx, str.interval_assumes_timeout_
push 0x53f81c
call fcn.00507030
jmp 0x4964b4
push 0x2f
pop edx
mov ecx, str.overflow_when_subtracting_duration_from_instant
push 0x548cd8
jmp 0x4964c4
push 0x41
pop edx
mov ecx, str.too_much_time_has_elapsed_since_the_interval_was_supposed_to_tick
push 0x54cdd8
push 0x54bef0
lea eax, [esp + 0xb8]
push eax
call fcn.00506fb0
add esp, 0xc
ud2
lea ecx, [esp + 0xb0]
mov dword [ecx], str.overflow_in_Duration::new
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], str.OutOfRangeImpossibleNotEnoughInvalidTooShortTooLongBadFormat__NonexhaustiveEmpty
and dword [ecx + 0xc], 0
mov edx, 0x547a24
call fcn.00506b50
ud2