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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e36a4
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x59da54]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xac], edi
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x28]
push 0x10
push str.Downloading_step
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004071c0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0040edd0
mov edx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x419b1e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419b14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x419b14
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00493424
add esp, 8
push 0x17
push str.Downloading_new_version
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004071c0
mov ecx, dword [edi + 0x24]
lea eax, [ebp - 0x28]
push 1
push 1
push eax
mov dword [ebp - 4], 1
call fcn.0040d7b0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x419b93
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419b89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x419b89
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00493424
add esp, 8
lea eax, [ebp - 0xa8]
mov dword [edi + 0x7c], 0
push eax
lea ecx, [edi + 8]
mov byte [ebp - 0x75], 0
call fcn.0048b140
lea eax, [ebp - 0x88]
push eax
lea ecx, [edi + 8]
call fcn.0048b360
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0048b7c0
test al, al
jne 0x41a0c2
nop word [eax + eax]
lea ecx, [ebp - 0xa8]
call fcn.0048b1c0
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push str.filename
mov ecx, esi
call fcn.0048a440
mov ecx, eax
call fcn.0048ae00
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 2
push eax
push 0x4e8270
mov ecx, esi
call fcn.0048a440
mov ecx, eax
call fcn.0048ae00
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
mov esi, dword [ebp - 0x70]
push 0
push 0x4e7c53
push dword [ebp - 0x60]
cmovae eax, esi
mov byte [ebp - 4], 3
push eax
call fcn.00418110
add esp, 0x10
test al, al
jne 0x419e69
mov ecx, dword [edi + 0x30]
lea eax, [ebp - 0x40]
push eax
call fcn.0041d2a0
mov ecx, eax
mov edx, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x419c66
mov edx, dword [ecx]
push dword [ecx + 0x10]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push edx
push esi
push eax
mov dword [ebp - 0x74], esi
call fcn.00418110
mov edx, dword [ebp - 0x2c]
add esp, 0x10
mov byte [ebp - 0x75], al
cmp edx, 0x10
jb 0x419cc5
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419cb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b0e
push edx
push ecx
call fcn.00493424
mov esi, dword [ebp - 0x18]
add esp, 8
mov al, byte [ebp - 0x75]
mov dword [ebp - 0x74], esi
test al, al
jne 0x419f17
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x80], eax
cmp esi, 0x10
jae 0x419cf3
movups xmm0, xmmword [eax]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0xf
movups xmmword [ebp - 0x58], xmm0
jmp 0x419d2d
or esi, 0xf
lea ecx, [ebp - 0x58]
cmp esi, 0x7fffffff
mov eax, accept
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00407000
mov ecx, dword [ebp - 0x74]
inc ecx
mov dword [ebp - 0x58], eax
push ecx
push dword [ebp - 0x80]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x74]
add esp, 0xc
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], esi
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], ecx
cmp eax, 0x10
jae 0x419d68
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x2c], 0xf
movups xmmword [ebp - 0x40], xmm0
jmp 0x419da1
mov esi, eax
lea ecx, [ebp - 0x40]
or esi, 0xf
mov eax, accept
cmp esi, 0x7fffffff
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00407000
mov ecx, dword [ebp - 0x74]
inc ecx
mov dword [ebp - 0x40], eax
push ecx
push dword [ebp - 0x80]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x74]
add esp, 0xc
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x48]
lea ecx, [edi + 0x38]
inc eax
mov byte [ebp - 4], 8
cmp dword [edi + 0x40], eax
ja 0x419dbb
push 1
call fcn.004187c0
mov ecx, dword [edi + 0x40]
lea eax, [ecx - 1]
and dword [edi + 0x44], eax
lea esi, [ecx - 1]
mov eax, dword [edi + 0x48]
add eax, dword [edi + 0x44]
and esi, eax
mov eax, dword [edi + 0x3c]
cmp dword [eax + esi*4], 0
jne 0x419de8
push 0x30
call fcn.004933f4
mov ecx, dword [edi + 0x3c]
add esp, 4
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 0x3c]
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [eax + esi*4]
call fcn.00418250
inc dword [edi + 0x48]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x419e32
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419e28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b0e
push edx
push ecx
call fcn.00493424
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x419e66
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419e5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b0e
push edx
push ecx
call fcn.00493424
add esp, 8
mov esi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x419ea0
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x419e96
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b0e
push ecx
push esi
call fcn.00493424
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x419eed
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419ee3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b0e
push edx
push ecx
call fcn.00493424
add esp, 8
lea ecx, [ebp - 0xa8]
call fcn.0048b7a0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0048b7c0
test al, al
je 0x419be0
jmp 0x41a0c2
push 0x17
push str.Need_to_update_launcher
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004071c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.0040edd0
mov edx, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x419f82
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419f78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x419f78
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00493424
add esp, 8
xorps xmm0, xmm0
push 8
movups xmmword [ebp - 0x38], xmm0
call fcn.004933f4
lea ecx, [ebp - 0x3c]
add esp, 4
lea esi, [edi + 0x38]
mov dword [eax + 4], 0
mov dword [ebp - 0x3c], eax
mov dword [eax], ecx
mov eax, ecx
cmp esi, eax
je 0x419fed
mov ecx, esi
call fcn.00418b40
mov ecx, dword [ebp - 0x3c]
mov eax, dword [esi]
mov dword [esi], ecx
mov dword [ebp - 0x3c], eax
test ecx, ecx
je 0x419fc5
mov dword [ecx], esi
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x419fce
lea ecx, [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
xorps xmm0, xmm0
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x10], eax
movups xmmword [ebp - 0x38], xmm0
lea ecx, [ebp - 0x3c]
call fcn.00418b40
mov eax, dword [ebp - 0x3c]
push 8
push eax
mov dword [ebp - 0x3c], 0
call fcn.00493424
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.00408600
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x40]
call fcn.00408600
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.0041ab90
lea ecx, [ebp - 0x58]
call fcn.00418500
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x41a075
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a06b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b0e
push edx
push ecx
call fcn.00493424
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x41a0c2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a0b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b0e
push edx
push ecx
call fcn.00493424
add esp, 8
push dword [edi + 0x48]
mov ecx, dword [edi + 0x34]
call fcn.0041e630
mov eax, dword [edi + 0x34]
push 8
mov byte [eax + 0x12c], 1
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
call fcn.004933f4
lea ecx, [ebp - 0xa0]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0xa0], eax
mov dword [eax], ecx
xor esi, esi
mov dword [ebp - 4], 9
mov dword [ebp - 0x74], esi
cmp dword [edi + 0x48], esi
jbe 0x41a2e0
nop dword [eax]
cmp esi, 0x28
jae 0x41a2e0
push 0xb0
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x84], 0x419750
call fcn.004933f4
add esp, 4
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x41a18a
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
call fcn.00417bd0
mov esi, eax
jmp 0x41a18c
xor esi, esi
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0xc
test esi, esi
je 0x41a740
mov byte [ebp - 0x2c], 1
lea ecx, [esi + 4]
lock inc dword [ecx]
or dword [ebp - 0x7c], 1
mov dword [ebp - 0xb4], esi
mov byte [ebp - 0xb0], 1
mov byte [ebp - 4], 0xd
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x41a1df
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x41a1d7
mov eax, dword [ecx]
push esi
jmp 0x41a1dd
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x90]
mov byte [ebp - 4], 0xa
lea eax, [edx + ecx]
test al, 1
jne 0x41a218
lea eax, [edx + 2]
mov edx, dword [ebp - 0x98]
shr eax, 1
cmp edx, eax
ja 0x41a21e
push 1
lea ecx, [ebp - 0xa0]
call fcn.00418960
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x98]
lea eax, [edx*2 - 1]
and ecx, eax
mov eax, dword [ebp - 0x90]
add eax, ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x8c], eax
lea ecx, [edx - 1]
shr eax, 1
and ecx, eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x80], ecx
cmp dword [eax + ecx*4], 0
jne 0x41a26f
push 0x10
call fcn.004933f4
mov ecx, dword [ebp - 0x9c]
add esp, 4
mov edx, dword [ebp - 0x80]
mov dword [ecx + edx*4], eax
mov ecx, edx
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x8c]
mov eax, dword [eax + ecx*4]
and edx, 1
lea eax, [eax + edx*8]
lea ecx, [ebp - 0xb4]
mov dword [eax], 0
cmp eax, ecx
je 0x41a298
mov dword [eax], esi
xor esi, esi
mov dword [ebp - 0xb4], esi
mov byte [eax + 4], 1
inc dword [ebp - 0x90]
and dword [ebp - 0x7c], 0xfffffffe
mov byte [ebp - 4], 0xf
test esi, esi
je 0x41a2cc
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x41a2cc
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x41a2c4
mov eax, dword [ecx]
push esi
jmp 0x41a2ca
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov esi, dword [ebp - 0x74]
inc esi
mov byte [ebp - 4], 9
mov dword [ebp - 0x74], esi
cmp esi, dword [edi + 0x48]
jb 0x41a140
push 0x18
push str.Downloading_threads_:_
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004071c0
mov byte [ebp - 4], 0x10
lea edi, [ebp - 0x2b]
mov eax, 0xcccccccd
dec edi
mul esi
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
mov esi, edx
add cl, al
mov eax, dword [ebp - 0x74]
add cl, cl
sub al, cl
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x74], eax
test eax, eax
jne 0x41a308
lea eax, [ebp - 0x2b]
mov dword [ebp - 0x8c], edi
cmp edi, eax
mov dword [ebp - 0x18], 0
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
je 0x41a369
mov ecx, dword [ebp - 0x8c]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004071c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004030a0
mov edx, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0x10
cmp edx, 0x10
jb 0x41a3b1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a3a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a3ed
push edx
push ecx
call fcn.00493424
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x41a3fd
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a3f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41a3f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00493424
add esp, 8
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x41a46a
lea esi, [ebp - 0xa0]
nop dword [eax]
mov eax, dword [ebp - 0x94]
add eax, ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0xb8], eax
dec ecx
lea edx, [eax - 1]
mov eax, edx
and edx, 1
shr eax, 1
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + edx*8]
test ecx, ecx
je 0x41a740
cmp byte [eax + edx*8 + 4], 0
je 0x41a450
cmp byte [ecx + 0x6c], 0
jne 0x41a740
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xa0]
call fcn.0041ab00
mov ecx, dword [ebp - 0x90]
test ecx, ecx
jne 0x41a410
cmp dword [edi + 0x7c], 0x64
jle 0x41a6c8
push 0x30
push str.Failed_to_download_too_much_files__abort_mission
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004071c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x12
push eax
call fcn.0040edd0
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x41a4df
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a4d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41a4d5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00493424
add esp, 8
push 0x21
push str.Failed_to_download_too_much_files
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004071c0
mov ecx, dword [edi + 0x24]
lea eax, [ebp - 0x28]
push 0
push 1
push eax
mov byte [ebp - 4], 0x13
call fcn.0040d7b0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x41a54e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a544
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41a544
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00493424
add esp, 8
lea eax, [ebp - 0xbc]
push eax
call fcn.0040cbf0
add esp, 4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, 0xee6b2800
mov dword [ebp - 0x80], ecx
adc eax, 0
mov dword [ebp - 0xa4], eax
call sub.MSVCP140.dll__Query_perf_frequency
mov edi, eax
mov esi, edx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x8c], esi
call sub.MSVCP140.dll__Query_perf_counter
push ebx
push esi
push edi
push edx
push eax
call fcn.00493a00
mov edi, ebx
pop ebx
push 0
push 0x3b9aca00
push edx
push eax
mov esi, ecx
call fcn.00493ae0
push 0
push 0x3b9aca00
push edi
push esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x84], edx
call fcn.00493ae0
push dword [ebp - 0x8c]
push dword [ebp - 0x7c]
push edx
push eax
call fcn.00493950
mov ecx, eax
mov eax, edx
add ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0xa4]
adc eax, dword [ebp - 0x84]
mov dword [ebp - 0x84], eax
cmp eax, edx
jg 0x41a6a1
mov eax, dword [ebp - 0x80]
jl 0x41a5fd
cmp ecx, eax
jae 0x41a6a1
mov edi, eax
mov esi, edx
sub edi, ecx
sbb esi, dword [ebp - 0x84]
mov dword [ebp - 0x84], esi
call sub.MSVCP140.dll__Xtime_get_ticks
push 0
push 0x64
push edx
push eax
call fcn.00493ae0
mov dword [ebp - 0x7c], edx
mov ecx, edi
mov edx, esi
mov dword [ebp - 0x74], eax
call fcn.00493e70
comisd xmm0, xmmword [0x4e7f80]
mov edx, dword [ebp - 0x74]
jbe 0x41a657
mov eax, dword [ebp - 0x7c]
mov esi, edx
add esi, 0xad160000
mov edi, 0xad160000
mov ecx, 0x311cd
adc eax, 0x311cd
jmp 0x41a666
mov ecx, dword [ebp - 0x84]
mov esi, edi
add esi, edx
mov eax, ecx
adc eax, dword [ebp - 0x7c]
add edi, edx
mov dword [ebp - 0x84], eax
push 0
adc ecx, dword [ebp - 0x7c]
push 0x3b9aca00
push ecx
push edi
call fcn.00493950
mov dword [ebp - 0x38], eax
imul eax, eax, 0x3b9aca00
mov dword [ebp - 0x34], edx
sub esi, eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x30], esi
call sub.MSVCP140.dll__Thrd_sleep
add esp, 4
jmp 0x41a574
push 0
lea ecx, [ebp - 0x28]
call fcn.004898c0
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0x28]
push eax
push 0
mov byte [ebp - 4], 0x14
mov ecx, dword [ecx + 0x20]
call fcn.0040e400
lea ecx, [ebp - 0x28]
jmp 0x41a714
mov ecx, dword [edi + 0x30]
call fcn.0041d670
cmp byte [ebp - 0x75], 0
push 0
je 0x41a6f7
lea ecx, [ebp - 0x28]
call fcn.004898c0
mov ecx, dword [edi + 0x20]
lea eax, [ebp - 0x28]
push eax
push 4
mov byte [ebp - 4], 0x15
call fcn.0040e400
lea ecx, [ebp - 0x28]
jmp 0x41a714
lea ecx, [ebp - 0x40]
call fcn.004898c0
mov ecx, dword [edi + 0x20]
lea eax, [ebp - 0x40]
push eax
push 3
mov byte [ebp - 4], 0x16
call fcn.0040e400
lea ecx, [ebp - 0x40]
call fcn.00489ba0
lea ecx, [ebp - 0xa0]
call fcn.004183d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493440
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xbc]
push 4
push eax
call fcn.0040cae0
add esp, 8
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_future_error_class_std::error_code_const__
int3