Function at 0x472519
Capabilities:
Get number of processors
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], 0x5029b0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov ecx, 0x3b9aca00
mov eax, dword [edi]
mov dword [esi + 0x58], eax
mul ecx
mov ebx, eax
mov eax, dword [edi + 4]
mov ecx, edx
mov edx, 0x3b9aca00
mov dword [esi + 0x54], eax
mul edx
add eax, ecx
mov ecx, dword [edi + 8]
adc edx, 0
add ebx, ecx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x2c], ebx
mov ebx, dword [edi + 0x18]
adc eax, 0
adc edx, 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], edx
mov edx, dword [edi + 0x10]
setb cl
mov dword [esi + 0xa0], ebx
movzx ebx, byte [edi + 0x14]
mov dword [esi + 0x40], edx
mov edx, dword [edi + 0x1c]
movzx edi, cl
mov dword [esi + 0x48], edi
mov dword [esi + 0x88], ebx
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x9c], edx
mov ecx, dword [esi + 0xa0]
mov edx, ebx
call fcn.00453b57
test al, al
je 0x472ebe
mov edi, dword [esi + 0x40]
mov edx, ebx
mov ecx, edi
call fcn.004ef15b
test al, al
jne 0x472ead
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov edi, dword [edi + 0x10]
mov dword [esi + 8], eax
call fcn.004e3090
mov dword [esi + 4], edx
mov edx, dword [esi + 8]
mov dword [esi + 0x1c], ecx
mov ecx, ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], ebx
push 0x4c4b40
push 0
push 0
mov dword [esi + 0x10], edi
push edi
call fcn.004e32d0
add esp, 0x10
mov edi, dword [esi + 4]
mov dword [esi + 0xc], edx
mov dword [esi + 0x18], ecx
xor ecx, ecx
xor edi, edx
mov edx, dword [esi + 0x14]
mov ebx, edx
xor ebx, eax
or ebx, edi
mov ebx, dword [esi + 4]
setne cl
cmp edx, eax
mov eax, ebx
sbb eax, dword [esi + 0xc]
mov eax, 0xff
cmovb ecx, eax
test cl, cl
jne 0x472657
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x1c], eax
setne cl
jb 0x47268b
cmp cl, 1
jne 0x47268b
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x30]
mov edx, dword [esi + 0x28]
test ecx, ecx
je 0x47268b
cmp ecx, 1
jne 0x472915
mov ecx, dword [esi + 0x14]
mov edx, ebx
push dword [esi + 0x50]
push dword [esi + 0x54]
push dword [esi + 0x58]
push dword [esi + 0x1c]
jmp 0x47269d
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 8]
push dword [esi + 0x50]
push dword [esi + 0x54]
push dword [esi + 0x58]
push dword [esi + 0x10]
call fcn.004e32d0
add esp, 0x10
mov edi, ecx
mov ecx, dword [esi + 0x40]
mov ebx, edx
mov edx, eax
push 0
push edi
push ebx
call fcn.004ef2f2
add esp, 0xc
mov ecx, dword [esi + 0x9c]
call fcn.00470c44
test eax, eax
je 0x472ebe
mov dword [esi + 0x64], eax
add eax, 8
lea ecx, [esi + 0xfc]
mov edx, eax
call fcn.0044f40e
cmp dword [esi + 0xfc], 0
mov ecx, dword [esi + 0x100]
movzx edx, byte [esi + 0x104]
jne 0x472eb1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x34], edx
mov dword [esi + 0x18], ecx
cmp eax, 0x3b9aca00
je 0x472edf
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
and dword [esi + 0x150], 0
mov dword [esi + 0x120], edi
mov dword [esi + 0x124], edx
mov dword [esi + 0x128], eax
call fcn.004e3090
mov ebx, dword [esi + 0x18]
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], edx
mov dword [esi + 0x138], ecx
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x44]
movdqa xmm0, xmmword [ecx]
lea edx, [ecx + edx + 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, [ebx + 0x38]
mov dword [esi + 0x118], eax
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x108]
call fcn.00472fb1
test eax, eax
je 0x4728f3
lea ecx, [eax - 0x24]
mov edx, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], 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 + 0x14], ecx
mov dword [esi + 0x80], ecx
xor ecx, ecx
cmp ecx, dword [esi + 0x14]
je 0x472846
imul edx, ecx, 0x30
mov dword [esi + 4], ecx
lea ecx, [esi + 0xb0]
add edx, dword [eax - 8]
mov dword [esi + 0x150], 1
mov dword [esi + 8], edx
call fcn.004731eb
mov ecx, dword [esi + 4]
inc ecx
test al, al
mov eax, dword [esi + 0xc]
mov dword [esi + 0x78], ecx
jne 0x4727f5
mov dword [esi + 4], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 0x7c], 1
add ecx, 0x10
call fcn.0047087b
xor eax, eax
inc eax
mov dword [esi + 0x10], eax
jmp 0x47284c
mov eax, dword [esi + 0x14]
mov dword [esi + 4], eax
mov ebx, dword [esi + 0xc]
mov edi, dword [esi + 4]
cmp edi, dword [esi + 0x14]
je 0x4728c2
imul edx, edi, 0x30
lea ecx, [esi + 0xb0]
mov dword [esi + 4], edi
add edx, dword [ebx - 8]
mov dword [esi + 0x150], 1
mov dword [esi + 8], edx
call fcn.004731eb
test al, al
je 0x4728a1
mov edi, dword [esi + 4]
mov ebx, dword [esi + 0xc]
mov eax, edi
sub eax, dword [esi + 0x10]
imul eax, eax, 0x30
add eax, dword [ebx - 8]
push 0x30
push dword [esi + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
inc edi
mov dword [esi + 0x78], edi
jmp 0x472852
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
inc eax
inc ecx
mov dword [esi + 0x78], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
add ecx, 0x10
call fcn.0047087b
jmp 0x47284c
lea ecx, [esi + 0x74]
call fcn.004731a8
cmp dword [ebx - 4], 0
jne 0x472786
mov ecx, dword [esi + 0x1c]
mov edx, ebx
call fcn.00472ff9
and dword [esi + 0x150], 0
push dword [esi + 0x20]
call fcn.0047300d
pop eax
jmp 0x472786
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x34]
call fcn.00462660
or dword [esi + 0x150], 0xffffffff
lea ecx, [esi + 0x64]
call fcn.00470c77
mov ebx, dword [ebp + 0xc]
jmp 0x4725bd
or eax, edi
mov edi, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov eax, edx
mov edx, ebx
or eax, dword [esi + 0x48]
mov ecx, edi
mov dword [esi + 0xc], eax
push dword [esi + 0x50]
push dword [esi + 0x54]
push dword [esi + 0x58]
mov ebx, dword [esi + 0x1c]
push ebx
call fcn.004e32d0
add esp, 0x10
mov dword [esi + 0x84], edx
mov edx, dword [esi + 4]
mov dword [esi + 0x68], ecx
mov ecx, edi
mov dword [esi + 0x4c], eax
push dword [esi + 0x10]
push dword [esi + 8]
push dword [esi + 0x20]
push ebx
call fcn.004f6106
add esp, 0x10
mov ebx, dword [esi + 0x18]
mov edi, edx
or ebx, dword [esi + 0xc]
je 0x472ed5
mov edx, 0x3b9aca00
mul edx
mov dword [esi + 4], edx
mov ebx, eax
mov eax, edi
mov edx, 0x3b9aca00
mov edi, 0
mul edx
add eax, dword [esi + 4]
adc edx, edi
mov edi, ebx
add edi, ecx
mov ecx, 0
adc eax, ecx
mov dword [esi + 0x24], edi
mov ebx, eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x18]
adc edx, ecx
setb cl
mov dword [esi + 0x3c], edx
mov byte [esi + 8], cl
or eax, dword [esi + 0xc]
mov eax, edi
sete ch
or eax, edx
movzx edx, cl
or ebx, edx
mov dword [esi + 0x38], edx
or ebx, eax
mov ebx, dword [esi + 0x28]
sete al
bsr edx, dword [esi + 0x30]
or al, ch
mov ecx, dword [esi + 0x48]
mov byte [esi + 4], al
xor edx, 0x1f
bsr edi, ecx
add edx, 0x20
xor edi, 0x1f
test ecx, ecx
cmovne edx, edi
bsr eax, dword [esi + 0x2c]
bsr edi, ebx
xor edi, 0x1f
xor eax, 0x1f
add eax, 0x20
test ebx, ebx
cmovne eax, edi
mov edi, dword [esi + 0x30]
add eax, 0x40
or edi, ecx
cmovne eax, edx
bsr edi, dword [esi + 0x3c]
bsr edx, dword [esi + 0x38]
xor edi, 0x1f
xor edx, 0x1f
add edi, 0x20
cmp byte [esi + 8], 0
cmove edx, edi
bsr ecx, dword [esi + 0x24]
mov edi, dword [esi + 0x44]
bsr ebx, edi
xor ecx, 0x1f
xor ebx, 0x1f
add ecx, 0x20
test edi, edi
mov edi, dword [esi + 0x3c]
cmovne ecx, ebx
mov ebx, 0
add ecx, 0x40
or edi, dword [esi + 0x38]
mov edi, 0
cmovne ecx, edx
mov edx, 0
sub eax, ecx
sbb ebx, ebx
sbb edx, edx
sbb edi, edi
push 0x7f
pop ecx
cmp ecx, eax
mov ecx, 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x34], edi
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x18], edx
sbb ecx, ebx
mov ecx, 0
mov ebx, dword [esi + 0x38]
sbb ecx, edx
mov ecx, 0
mov edx, 0
sbb ecx, edi
mov edi, dword [esi + 0x44]
setb cl
or cl, byte [esi + 4]
mov ecx, 0
cmovne ebx, ecx
cmovne eax, ecx
cmovne edi, ecx
mov ecx, dword [esi + 0x24]
cmovne ecx, edx
mov dword [esi + 0x10], ecx
jne 0x472d79
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x20], ebx
mov ebx, dword [esi + 0x20]
xor edx, 0x7f
or ecx, dword [esi + 0x34]
or edx, dword [esi + 0x18]
or ecx, edx
mov edx, dword [esi + 0x3c]
je 0x472d79
mov eax, dword [esi + 0x24]
mov dword [esi + 0xec], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0xf4], edx
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0x38]
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 + 0xc]
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 + 0x20], ebx
mov ebx, dword [esi + eax + 0xf0]
mov edi, ebx
shr edi, 1
shr edi, cl
mov cl, ch
or edi, edx
mov dword [esi + 0x60], edi
mov edi, dword [esi + 0x1c]
mov edx, dword [esi + eax + 0xec]
xor eax, eax
shld ebx, edx, cl
shl edx, cl
add dword [esi + 0xc], 1
mov ecx, 0
mov dword [esi + 0x14], ebx
mov ebx, dword [esi + 0x18]
adc edi, eax
adc ebx, eax
adc dword [esi + 0x34], eax
jae 0x472b8d
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x20]
mov eax, dword [esi + 0x60]
mov dword [esi + 0x5c], 0
jmp 0x472d5f
mov eax, dword [esi + 0x24]
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0xc0], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0xc4], eax
mov eax, dword [esi + 0x38]
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 + 0x10], edx
mov eax, dword [esi + 0xc]
mov ch, al
shr al, 3
and al, 0xf
and ch, 7
movzx edx, al
mov cl, ch
mov dword [esi + 0x1c], edx
mov eax, dword [esi + edx + 0xc8]
mov dword [esi + 8], eax
mov eax, dword [esi + edx + 0xc4]
mov edx, dword [esi + 8]
mov dword [esi + 4], eax
shrd dword [esi + 4], edx, cl
mov edx, dword [esi + 0x1c]
add eax, eax
mov edx, dword [esi + edx + 0xc0]
mov dword [esi + 0x18], edx
shr edx, cl
not cl
shl eax, cl
mov cl, ch
or eax, edx
mov edx, dword [esi + 0x18]
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [esi + eax + 0xbc]
shr dword [esi + 8], cl
mov dword [esi + 0x5c], 0
shrd eax, edx, cl
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x2c]
add eax, 0xffffffff
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0x28]
adc eax, 0xffffffff
adc ecx, 0xffffffff
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x60]
mov dword [esi + 0x90], ecx
mov ecx, dword [esi + 0x48]
adc ecx, 0xffffffff
mov dword [esi + 0x8c], ecx
xor ecx, ecx
mov dword [esi + 0x18], ebx
mov edx, dword [esi + 4]
mov ebx, dword [esi + 0x70]
mov dword [esi + 0x1c], edi
mov edi, dword [esi + 0x20]
mov dword [esi + 0xa8], ecx
shld dword [esi + 8], edx, 1
shld edx, ebx, 1
mov dword [esi + 4], edx
mov edx, dword [esi + 0x6c]
shld ebx, edx, 1
shld edx, edi, 1
shld edi, eax, 1
or edi, ecx
mov dword [esi + 0x20], edi
mov edi, dword [esi + 0x14]
shld eax, edi, 1
or eax, ecx
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x10]
shld edi, eax, 1
add eax, eax
or eax, dword [esi + 0x5c]
or edi, ecx
cmp dword [esi + 0x98], edx
mov ecx, dword [esi + 0x8c]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x94]
sbb eax, ebx
mov eax, dword [esi + 0x90]
sbb eax, dword [esi + 4]
sbb ecx, dword [esi + 8]
sar ecx, 0x1f
mov eax, ecx
mov edi, ecx
and eax, 1
and edi, dword [esi + 0x28]
mov dword [esi + 0x5c], eax
mov eax, ecx
and eax, dword [esi + 0x48]
mov dword [esi + 0xa4], eax
mov eax, ecx
and ecx, dword [esi + 0x2c]
and eax, dword [esi + 0x30]
sub edx, ecx
mov ecx, dword [esi + 4]
sbb ebx, edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x34]
mov dword [esi + 0x70], ebx
mov ebx, dword [esi + 0x18]
sbb ecx, eax
mov eax, dword [esi + 0xa4]
mov dword [esi + 4], ecx
mov ecx, dword [esi + 0xc]
sbb dword [esi + 8], eax
add ecx, 0xffffffff
adc edi, 0xffffffff
mov dword [esi + 0xc], ecx
adc ebx, 0xffffffff
mov eax, edi
adc edx, 0xffffffff
or ecx, ebx
or eax, edx
mov dword [esi + 0x34], edx
or ecx, eax
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0xa8]
jne 0x472c6e
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x20]
mov edx, dword [esi + 0x10]
shld ebx, eax, 1
shld eax, edi, 1
shld edi, edx, 1
add edx, edx
or edx, dword [esi + 0x5c]
or ebx, ecx
or eax, ecx
or edi, ecx
mov dword [esi + 0x10], edx
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x14], edi
mov edi, eax
imul edi, dword [esi + 0x28]
mul ecx
imul ebx, ecx
mov ecx, dword [esi + 0x10]
add edx, edi
mov dword [esi + 8], eax
mov edi, dword [esi + 0x14]
add ebx, edx
mov eax, ecx
mul dword [esi + 0x30]
imul edi, dword [esi + 0x30]
mov dword [esi + 4], eax
mov eax, ecx
imul eax, dword [esi + 0x48]
add eax, edx
add edi, eax
mov eax, dword [esi + 8]
add dword [esi + 4], eax
mov eax, dword [esi + 0x2c]
adc edi, ebx
mul ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0xc], edx
mul ecx
mov ebx, eax
mov eax, dword [esi + 0x2c]
add ebx, dword [esi + 0xc]
adc edx, 0
mov dword [esi + 0x10], edx
mul dword [esi + 0x14]
add eax, ebx
mov ecx, edx
mov dword [esi + 0xc], eax
adc ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x28]
setb bl
mul dword [esi + 0x14]
add eax, ecx
movzx ecx, bl
mov ebx, dword [esi + 0x24]
adc edx, ecx
add eax, dword [esi + 4]
mov ecx, dword [esi + 0x44]
adc edx, edi
sub ebx, dword [esi + 8]
mov edi, dword [esi + 0x3c]
sbb ecx, dword [esi + 0xc]
sbb edi, eax
mov eax, dword [esi + 0x38]
sbb eax, edx
cmp edi, 1
sbb eax, 0
jae 0x472f14
push 0
push 0x3b9aca00
push ecx
push ebx
call fcn.00525200
mov dword [esi + 4], edx
mov edx, dword [esi + 0x4c]
mov edi, eax
cmp edx, eax
mov eax, dword [esi + 0x84]
mov ecx, eax
sbb ecx, dword [esi + 4]
jb 0x472efb
imul ecx, edi, 0x3b9aca00
sub ebx, ecx
sub edx, edi
mov edi, dword [esi + 0x68]
sbb eax, dword [esi + 4]
mov dword [esi + 0x24], ebx
cmp edi, ebx
mov ebx, eax
jae 0x472e72
mov eax, edx
or eax, ebx
je 0x472efb
mov edi, dword [esi + 0x68]
add edx, 0xffffffff
adc ebx, 0xffffffff
add edi, 0x3b9aca00
sub edi, dword [esi + 0x24]
mov eax, edx
cmp edi, 0x3b9aca00
jb 0x472e9e
mov dword [esi + 0x4c], eax
mov eax, edi
xor edx, edx
mov ecx, 0x3b9aca00
div ecx
add dword [esi + 0x4c], eax
mov eax, dword [esi + 0x4c]
adc ebx, 0
jb 0x472f39
mov edi, edx
mov ecx, dword [esi + 0x40]
or dword [esi + 0x150], 0xffffffff
jmp 0x4726ac
mov al, 1
jmp 0x472ec0
call fcn.00462660
lea ecx, [esi + 0x64]
call fcn.00470c77
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
mov ecx, 0x5828d4
call fcn.00526f00
and dword [esi + 0x150], 0
push 0x18
pop edx
mov ecx, str.interval_assumes_timeout
push 0x579d44
call fcn.00526cb0
pop eax
ud2
or dword [esi + 0x150], 0xffffffff
push 0x2f
pop edx
mov ecx, str.overflow_when_subtracting_duration_from_instant
push 0x57e2a8
call fcn.00526cb0
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 0x582928
push 0x580068
lea eax, [esi + 0x108]
push eax
call fcn.00526c20
lea ecx, [esi + 0x108]
or dword [esi + 0x150], 0xffffffff
mov edx, 0x57cfc8
mov dword [ecx], str.overflow_in_Duration::new
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], 4
and dword [ecx + 0xc], 0
call fcn.005268e0
push ebp
sub esp, 0x10
lea esi, [ebp - 0x154]
mov ebp, dword [esi + 0x140]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x34]
call fcn.00462660
lea ecx, [esi + 0x64]
call fcn.00470c77
add esp, 0x10
pop ebp
ret