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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x158
mov esi, esp
mov dword [esi + 0x140], ebp
lea eax, [esi + 0x148]
mov edi, dword [ebp + 8]
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x504940
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov ecx, 0x3b9aca00
mov eax, dword [edi]
mov dword [esi + 0x5c], eax
mul ecx
mov ebx, eax
mov eax, dword [edi + 4]
mov ecx, edx
mov edx, 0x3b9aca00
mov dword [esi + 0x58], eax
mul edx
add eax, ecx
mov ecx, dword [edi + 8]
adc edx, 0
add ebx, ecx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x34], ebx
mov ebx, dword [edi + 0x18]
adc eax, 0
adc edx, 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x44], edx
mov edx, dword [edi + 0x10]
setb cl
mov dword [esi + 0xa4], ebx
movzx ebx, byte [edi + 0x14]
mov dword [esi + 0x70], edx
mov edx, dword [edi + 0x1c]
movzx edi, cl
mov dword [esi + 0x4c], edi
mov dword [esi + 0x8c], ebx
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0xa0], edx
mov ecx, dword [esi + 0xa4]
mov edx, ebx
call fcn.004549bb
test al, al
je 0x470f81
mov edi, dword [esi + 0x70]
mov edx, ebx
mov ecx, edi
call fcn.004f14cc
test al, al
jne 0x470f69
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov edi, dword [edi + 0x10]
mov dword [esi + 0x18], eax
call fcn.004d0910
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], ebx
mov ecx, ebx
mov ebx, dword [esi + 0x18]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov edx, ebx
push 0x4c4b40
push 0
push 0
mov dword [esi + 0xc], edi
push edi
call fcn.004e5a90
add esp, 0x10
cmp dword [esi + 8], eax
mov edi, dword [esi + 4]
sbb edi, edx
jb 0x470731
xor eax, dword [esi + 8]
xor edx, dword [esi + 4]
or edx, eax
jne 0x47070a
cmp dword [esi + 0x14], ecx
jbe 0x470731
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x470731
cmp eax, 1
jne 0x4709e8
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push dword [esi + 0x54]
push dword [esi + 0x58]
push dword [esi + 0x5c]
push dword [esi + 0x14]
jmp 0x470742
mov ecx, dword [esi + 0x10]
mov edx, ebx
push dword [esi + 0x54]
push dword [esi + 0x58]
push dword [esi + 0x5c]
push dword [esi + 0xc]
call fcn.004e5a90
add esp, 0x10
mov ebx, edx
mov edi, ecx
mov ecx, dword [esi + 0x70]
mov edx, eax
push 0
push edi
push ebx
call fcn.004f1660
add esp, 0xc
mov ecx, dword [esi + 0xa0]
call fcn.0046edb6
test eax, eax
je 0x470f81
and dword [esi + 0x150], 0
mov dword [esi + 0x68], eax
add eax, 8
lea ecx, [esi + 0xfc]
mov edx, eax
call fcn.0045053e
cmp dword [esi + 0xfc], 0
mov ecx, dword [esi + 0x100]
movzx edx, byte [esi + 0x104]
jne 0x470f6d
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi + 0x2c], ecx
cmp eax, 0x3b9aca00
je 0x470faa
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [esi + 0x150], 1
mov dword [esi + 0x120], edi
mov dword [esi + 0x124], edx
mov dword [esi + 0x128], eax
call fcn.004d0910
mov edi, dword [esi + 0x2c]
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], edx
mov dword [esi + 0x138], ecx
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov eax, dword [edi + 0x44]
movdqa xmm0, xmmword [ecx]
lea edx, [edx + ecx + 1]
mov dword [esi + 0x108], ecx
add ecx, 0x10
mov dword [esi + 0x10c], ecx
mov dword [esi + 0x110], edx
pmovmskb ecx, xmm0
not ecx
mov word [esi + 0x114], cx
lea ecx, [edi + 0x38]
mov dword [esi + 0x118], eax
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x108]
call fcn.00471094
test eax, eax
je 0x4709bf
lea ecx, [eax - 0x24]
mov edx, eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x24], ecx
mov dword [esi + 0xac], ecx
lea ecx, [esi + 0xac]
add edx, 0xfffffff4
mov dword [esi + 0xb0], ecx
lea ecx, [esi + 0x130]
mov dword [esi + 0xb4], ecx
lea ecx, [esi + 0x120]
mov dword [esi + 0xb8], ecx
mov ecx, dword [eax - 4]
and dword [eax - 4], 0
mov dword [esi + 0x74], edx
and dword [esi + 0x78], 0
and dword [esi + 0x7c], 0
mov dword [esi + 0xc], ecx
mov dword [esi + 0x80], ecx
xor ecx, ecx
cmp ecx, dword [esi + 0xc]
je 0x4708ff
mov eax, dword [esi + 8]
mov dword [esi + 4], ecx
imul ecx, ecx, 0x30
mov dword [esi + 0x14], ecx
mov eax, dword [eax - 8]
mov dword [esi + 0x150], 2
lea edx, [eax + ecx]
lea ecx, [esi + 0xb0]
mov dword [esi + 0x18], eax
call fcn.004712ce
mov ecx, dword [esi + 4]
inc ecx
test al, al
mov dword [esi + 0x78], ecx
jne 0x4708a4
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x7c], 1
lea ecx, [eax + ecx + 0x10]
call fcn.0046e9d6
xor eax, eax
inc eax
mov dword [esi + 0x10], eax
jmp 0x470905
mov eax, dword [esi + 0xc]
mov dword [esi + 4], eax
mov edi, dword [esi + 4]
cmp edi, dword [esi + 0xc]
je 0x47098b
mov eax, dword [esi + 8]
imul ecx, edi, 0x30
mov dword [esi + 4], edi
mov dword [esi + 0x1c], ecx
mov eax, dword [eax - 8]
mov dword [esi + 0x150], 2
lea edx, [eax + ecx]
lea ecx, [esi + 0xb0]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edx
call fcn.004712ce
test al, al
je 0x470963
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
mov eax, edi
sub eax, dword [esi + 0x10]
imul eax, eax, 0x30
add eax, dword [ecx - 8]
push 0x30
push dword [esi + 0x18]
push eax
call fcn.005282a0
add esp, 0xc
inc edi
mov dword [esi + 0x78], edi
jmp 0x470908
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
inc eax
inc ecx
mov dword [esi + 0x78], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 4], eax
lea ecx, [edx + ecx + 0x10]
call fcn.0046e9d6
jmp 0x470905
lea ecx, [esi + 0x74]
call fcn.0047128b
mov edx, dword [esi + 8]
cmp dword [edx - 4], 0
jne 0x470835
mov ecx, dword [esi + 0x20]
call fcn.004710dc
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x150], 1
call fcn.004710f0
jmp 0x470835
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x38]
and dword [esi + 0x150], 0
call fcn.00462f94
or dword [esi + 0x150], 0xffffffff
lea ecx, [esi + 0x68]
call fcn.0046ede9
mov ebx, dword [ebp + 0xc]
jmp 0x47068f
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
or eax, dword [esi + 0x44]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x4c]
mov dword [esi + 0x1c], eax
push dword [esi + 0x54]
push dword [esi + 0x58]
push dword [esi + 0x5c]
mov edi, dword [esi + 0x14]
push edi
call fcn.004e5a90
add esp, 0x10
mov dword [esi + 0x84], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 4]
mov dword [esi + 0x50], eax
push dword [esi + 0xc]
push ebx
push dword [esi + 0x10]
push edi
call fcn.004f87b6
add esp, 0x10
mov edi, edx
mov edx, dword [esi + 0x24]
mov ebx, ecx
mov ecx, edx
or edx, dword [esi + 0x1c]
je 0x470f98
mov edx, 0x3b9aca00
mul edx
mov dword [esi + 4], edx
mov dword [esi + 0x30], eax
mov eax, edi
mov edx, 0x3b9aca00
mov edi, 0
mul edx
add eax, dword [esi + 4]
adc edx, edi
mov edi, dword [esi + 0x30]
add edi, ebx
mov ebx, 0
adc eax, ebx
mov dword [esi + 0x30], edi
mov ebx, eax
mov dword [esi + 0x48], eax
mov eax, 0
adc edx, eax
mov eax, edi
setb byte [esi + 4]
or ecx, dword [esi + 0x1c]
mov dword [esi + 0x40], edx
sete cl
or eax, edx
movzx edx, byte [esi + 4]
or ebx, edx
mov dword [esi + 0x3c], edx
or ebx, eax
mov ebx, dword [esi + 0x44]
sete al
or al, cl
mov ecx, dword [esi + 0x4c]
mov byte [esi + 8], al
bsr edx, ebx
xor edx, 0x1f
bsr edi, ecx
add edx, 0x20
xor edi, 0x1f
test ecx, ecx
cmovne edx, edi
bsr eax, dword [esi + 0x34]
bsr edi, dword [esi + 0x28]
xor eax, 0x1f
xor edi, 0x1f
add eax, 0x20
cmp dword [esi + 0x28], 0
cmovne eax, edi
add eax, 0x40
or ebx, ecx
cmovne eax, edx
bsr edi, dword [esi + 0x40]
bsr edx, dword [esi + 0x3c]
xor edi, 0x1f
xor edx, 0x1f
add edi, 0x20
cmp byte [esi + 4], 0
cmove edx, edi
bsr ecx, dword [esi + 0x30]
mov edi, dword [esi + 0x48]
bsr ebx, edi
xor ecx, 0x1f
xor ebx, 0x1f
add ecx, 0x20
test edi, edi
mov edi, dword [esi + 0x40]
cmovne ecx, ebx
mov ebx, 0
add ecx, 0x40
or edi, dword [esi + 0x3c]
mov edi, 0
cmovne ecx, edx
mov edx, 0
sub eax, ecx
sbb edx, edx
sbb ebx, ebx
sbb edi, edi
push 0x7f
pop ecx
cmp ecx, eax
mov ecx, 0
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edx
sbb ecx, edx
mov ecx, 0
mov edx, 0
sbb ecx, ebx
mov ecx, 0
mov ebx, dword [esi + 0x3c]
sbb ecx, edi
mov edi, dword [esi + 0x48]
setb cl
or cl, byte [esi + 8]
mov ecx, dword [esi + 0x40]
cmovne ebx, edx
cmovne ecx, edx
cmovne edi, edx
cmovne eax, edx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], eax
jne 0x470e58
mov eax, dword [esi + 0x1c]
mov edi, ecx
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x40]
xor eax, 0x7f
or ecx, dword [esi + 0x24]
or eax, dword [esi + 0x2c]
or ecx, eax
mov ecx, edi
je 0x470e58
mov eax, dword [esi + 0x30]
mov dword [esi + 0xec], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0xf4], edx
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0x3c]
and dword [esi + 0xe8], 0
and dword [esi + 0xe4], 0
and dword [esi + 0xe0], 0
and dword [esi + 0xdc], 0
mov dword [esi + 0xf8], eax
mov eax, dword [esi + 0x1c]
xor al, 0x7f
mov ch, al
shr al, 3
and al, 0xf
and ch, 7
neg al
mov cl, ch
movsx eax, al
mov edx, dword [esi + eax + 0xf4]
mov ebx, dword [esi + eax + 0xf8]
shld ebx, edx, cl
shl edx, cl
not cl
mov dword [esi + 0x10], ebx
mov ebx, dword [esi + eax + 0xf0]
mov edi, ebx
shr edi, 1
shr edi, cl
mov cl, ch
or edi, edx
xor edx, edx
mov dword [esi + 0x60], edi
mov edi, dword [esi + 0x20]
mov eax, dword [esi + eax + 0xec]
shld ebx, eax, cl
shl eax, cl
add dword [esi + 0x1c], 1
mov ecx, dword [esi + 0x24]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], eax
adc edi, edx
adc dword [esi + 0x2c], edx
adc ecx, edx
jae 0x470c69
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x38], 0
jmp 0x470e35
mov eax, dword [esi + 0x30]
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0xc0], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0xc4], eax
mov eax, dword [esi + 0x3c]
and dword [esi + 0xd8], 0
and dword [esi + 0xd4], 0
and dword [esi + 0xd0], 0
and dword [esi + 0xcc], 0
mov dword [esi + 0xc8], eax
mov dword [esi + 0x24], ecx
mov eax, dword [esi + 0x1c]
mov ch, al
shr al, 3
and al, 0xf
and ch, 7
movzx eax, al
mov cl, ch
mov dword [esi + 0x20], eax
mov ebx, dword [esi + eax + 0xc8]
mov dword [esi + 0x18], ebx
mov eax, dword [esi + eax + 0xc4]
mov edx, eax
add eax, eax
shrd edx, ebx, cl
mov dword [esi + 8], edx
mov edx, dword [esi + 0x20]
mov edx, dword [esi + edx + 0xc0]
mov ebx, edx
shr ebx, cl
not cl
shl eax, cl
mov cl, ch
or eax, ebx
mov ebx, dword [esi + 0x28]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
mov eax, dword [esi + eax + 0xbc]
shr dword [esi + 0x18], cl
mov dword [esi + 0x64], 0
mov dword [esi + 0x38], 0
shrd eax, edx, cl
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x4c]
add ecx, 0xffffffff
mov dword [esi + 0x9c], ecx
mov ecx, dword [esi + 0x44]
adc ebx, 0xffffffff
mov dword [esi + 0x98], ebx
adc ecx, 0xffffffff
mov dword [esi + 0x94], ecx
mov ecx, dword [esi + 0xc]
adc eax, 0xffffffff
mov dword [esi + 0x90], eax
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0x6c]
mov dword [esi + 0x20], edi
mov edi, dword [esi + 0x60]
shld dword [esi + 0x18], edx, 1
shld edx, eax, 1
shld eax, ebx, 1
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 8], edx
mov edx, dword [esi + 0x14]
shld ebx, eax, 1
shld eax, edi, 1
shld edi, ecx, 1
shld ecx, edx, 1
add edx, edx
or eax, dword [esi + 0x64]
or edx, dword [esi + 0x38]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0x14], edx
mov edx, dword [esi + 0x18]
or edi, eax
or ecx, eax
cmp dword [esi + 0x9c], ebx
mov eax, dword [esi + 0x98]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x90]
mov dword [esi + 0x60], edi
sbb eax, dword [esi + 4]
mov eax, dword [esi + 0x94]
sbb eax, dword [esi + 8]
sbb ecx, edx
sar ecx, 0x1f
mov eax, ecx
mov edi, ecx
and eax, 1
and edi, dword [esi + 0x28]
mov dword [esi + 0x38], eax
mov eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0xa8], eax
mov eax, ecx
and ecx, dword [esi + 0x34]
and eax, dword [esi + 0x44]
sub ebx, ecx
mov ecx, dword [esi + 0x1c]
sbb dword [esi + 4], edi
mov edi, dword [esi + 0x20]
mov dword [esi + 0x6c], ebx
mov ebx, dword [esi + 0x24]
sbb dword [esi + 8], eax
mov eax, edx
mov edx, dword [esi + 0x2c]
sbb eax, dword [esi + 0xa8]
add ecx, 0xffffffff
adc edi, 0xffffffff
mov dword [esi + 0x1c], ecx
adc edx, 0xffffffff
adc ebx, 0xffffffff
or ecx, edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x18], eax
mov eax, edi
mov dword [esi + 0x24], ebx
or eax, ebx
or ecx, eax
mov ecx, dword [esi + 0xc]
jne 0x470d49
mov edi, ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
mov ebx, dword [esi + 0x14]
shld eax, ecx, 1
shld ecx, edi, 1
or eax, edx
or ecx, edx
mov dword [esi + 0x10], eax
shld edi, ebx, 1
add ebx, ebx
or ebx, dword [esi + 0x38]
or edi, edx
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], ebx
mov edi, ecx
mov eax, ecx
mov ebx, dword [esi + 0x34]
mov ecx, dword [esi + 0x10]
imul edi, dword [esi + 0x28]
mul ebx
imul ecx, ebx
mov ebx, dword [esi + 0x14]
add edx, edi
mov dword [esi + 8], eax
mov edi, dword [esi + 0xc]
add ecx, edx
mov eax, ebx
mul dword [esi + 0x44]
imul edi, dword [esi + 0x44]
mov dword [esi + 4], eax
mov eax, ebx
imul eax, dword [esi + 0x4c]
add eax, edx
add edi, eax
mov eax, dword [esi + 8]
add dword [esi + 4], eax
mov eax, dword [esi + 0x34]
adc edi, ecx
mul ebx
mov dword [esi + 8], eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x18], edx
mul ebx
mov ecx, eax
mov eax, dword [esi + 0x34]
mov ebx, edx
add ecx, dword [esi + 0x18]
adc ebx, 0
mul dword [esi + 0xc]
add eax, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x28]
adc edx, ebx
setb cl
mov ebx, edx
movzx ecx, cl
mul dword [esi + 0xc]
add eax, ebx
mov ebx, dword [esi + 0x40]
adc edx, ecx
add eax, dword [esi + 4]
mov ecx, dword [esi + 0x48]
adc edx, edi
mov edi, dword [esi + 0x30]
sub edi, dword [esi + 8]
sbb ecx, dword [esi + 0x18]
sbb ebx, eax
mov eax, dword [esi + 0x3c]
sbb eax, edx
cmp ebx, 1
sbb eax, 0
jae 0x470fe2
push 0
push 0x3b9aca00
push ecx
push edi
call fcn.00527450
mov ecx, dword [esi + 0x50]
mov ebx, dword [esi + 0x88]
sub ecx, eax
sbb ebx, edx
mov edx, dword [esi + 0x84]
jb 0x470fc9
imul eax, eax, 0x3b9aca00
sub edi, eax
cmp edx, edi
jae 0x470f3f
mov eax, ecx
or eax, ebx
je 0x470fc9
add ecx, 0xffffffff
adc ebx, 0xffffffff
add edx, 0x3b9aca00
mov dword [esi + 0x50], ecx
sub edx, edi
mov ecx, 0x3b9aca00
mov eax, edx
xor edx, edx
div ecx
add eax, dword [esi + 0x50]
adc ebx, 0
jb 0x471007
or dword [esi + 0x150], 0xffffffff
mov edi, edx
jmp 0x47074e
mov al, 1
jmp 0x470f83
call fcn.00462f94
or dword [esi + 0x150], 0xffffffff
lea ecx, [esi + 0x68]
call fcn.0046ede9
xor eax, eax
mov ecx, dword [esi + 0x148]
mov dword fs:[0], ecx
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_zerothere_is_no_such_thing_as_a_release_load
push 0x5940f8
call fcn.005373b0
mov dword [esi + 0x150], 1
push 0x18
pop edx
mov ecx, str.interval_assumes_timeout_f
push 0x58b14c
call fcn.005376f0
pop eax
ud2
or dword [esi + 0x150], 0xffffffff
push 0x2f
pop edx
mov ecx, str.overflow_when_subtracting_duration_from_instant
push 0x58f89c
call fcn.005376f0
or dword [esi + 0x150], 0xffffffff
push 0x41
pop edx
mov ecx, str.too_much_time_has_elapsed_since_the_interval_was_supposed_to_tick
push 0x59414c
push 0x591828
lea eax, [esi + 0x108]
push eax
call fcn.00537670
lea ecx, [esi + 0x108]
or dword [esi + 0x150], 0xffffffff
mov edx, 0x58e568
mov dword [ecx], str.overflow_in_Duration::new
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], 0x5b9dc0
and dword [ecx + 0xc], 0
call fcn.00537260
push ebp
sub esp, 0x10
lea esi, [ebp - 0x154]
mov ebp, dword [esi + 0x140]
lea ecx, [esi + 0x74]
call fcn.0047128b
add esp, 0x10
pop ebp
ret