Function at 0x476ed0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565158
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5b0514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
add eax, 0xffff7e0b
cmp eax, 3
ja case.default.0x476f0c
jmp dword [eax*4 + 0x477050]
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x740]
push eax
mov dword [esi + 0xc04], eax
call fcn.004679e0
jmp case.default.0x476f0c
lea ecx, [esi + 0x770]
call fcn.0042e370
push eax
push dword [esi + 0xc04]
lea ecx, [esi + 0x740]
push dword [esi + 0x95c]
push dword [esi + 0x958]
call fcn.00468530
jmp case.default.0x476f0c
lea eax, [esi + 0x8b0]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x476fa8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x476fa8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.localfilepath
push str.Software
call fcn.0043bc70
push 1
lea ecx, [esi + 0x740]
call fcn.00468170
push 3
mov ecx, esi
call fcn.004320c0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb case.default.0x476f0c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x476fea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477048
push edx
push ecx
call fcn.00497cc1
add esp, 8
jmp case.default.0x476f0c
push 0x1e
push str.Option
call fcn.0043b1e0
test eax, eax
je 0x477014
push ecx
lea ecx, [esi + 0x740]
call fcn.00467e10
jmp 0x477021
push 1
lea ecx, [esi + 0x740]
call fcn.00467be0
push 3
mov ecx, esi
call fcn.004320c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497cb0
mov esp, ebp
pop ebp
ret 8
call fcn.00524999
nop dword [eax]
adc ebp, dword [edi + 0x47]
add byte [1526744943], ch
outsd dx, dword [esi]
inc edi
add dh, dh
outsd dx, dword [esi]
inc edi
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560270
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5b0514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov al, byte [0x5baa40]
test al, al
je 0x477331
mov eax, dword [ebp + 0xc]
push 0x18
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
call fcn.00481041
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x477193
push 0xa8
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_std::packaged_task_void____cdecl___void___.0
call fcn.00481041
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
test edi, edi
je 0x477184
push 0xa8
push 0
push edi
call fcn.005219d0
mov dword [edi], vtable.std::_Associated_state_int_.0
lea eax, [edi + 0xc]
mov dword [edi + 4], 1
push eax
mov byte [ebp - 4], 2
call fcn.0049b118
lea eax, [edi + 0x14]
push 2
push eax
call fcn.0049a83b
lea eax, [edi + 0x44]
push eax
call fcn.0049a4c3
mov ecx, dword [ebp - 0x1c]
lea eax, [edi + 0x80]
mov byte [edi + 0x6c], 0
add esp, 0x1c
mov dword [edi + 0x70], 0
mov word [edi + 0x74], 0
mov byte [edi + 0x76], 0
mov dword [edi + 0x78], 0
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__class__lambda_e75339ded147996d1fd6a4430e557b1a______void___.0
mov dword [eax + 4], ecx
mov dword [eax + 0x24], eax
mov dword [esi + 0xc], edi
mov byte [esi + 0x10], 0
mov byte [esi + 0x14], 0
jmp 0x477195
xor edi, edi
mov byte [esi + 0x10], 0
mov dword [esi + 0xc], edi
mov byte [esi + 0x14], 0
jmp 0x477195
xor esi, esi
xorps xmm0, xmm0
mov dword [ebp - 0x20], 2
movlpd qword [ebp - 0x18], xmm0
lea edi, [esi + 0xc]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 3
mov ecx, edi
mov eax, dword [ebp - 0x24]
push eax
movq qword [eax], xmm0
call fcn.00436270
push 0x5ba9e8
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x28], 0x5ba9e8
call fcn.0049a85c
add esp, 4
test eax, eax
je 0x4771eb
push eax
call fcn.0049b224
add esp, 4
test esi, esi
je 0x4771f3
lock inc dword [esi + 4]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 5
mov edx, dword [0x5ba9e4]
mov ecx, dword [0x5ba9dc]
lea eax, [edx + 1]
cmp ecx, eax
ja 0x477227
push ecx
mov ecx, 0x5ba9d4
call fcn.00436300
mov edx, dword [0x5ba9e4]
mov ecx, dword [0x5ba9dc]
mov eax, dword [0x5ba9e0]
dec ecx
and eax, ecx
mov dword [0x5ba9e0], eax
add eax, edx
and eax, ecx
mov ecx, dword [0x5ba9d8]
shl eax, 2
mov dword [ebp - 0x1c], eax
cmp dword [eax + ecx], 0
jne 0x477269
push 0x28
call fcn.00481041
mov edx, dword [ebp - 0x1c]
mov ecx, eax
mov eax, dword [0x5ba9d8]
add esp, 4
mov dword [edx + eax], ecx
mov eax, edx
mov ecx, dword [0x5ba9d8]
mov eax, dword [eax + ecx]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_3251d549aa219c20661a5b4a494815ec___void___.0
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
inc dword [0x5ba9e4]
push 0x5ba9e8
mov byte [ebp - 4], 8
call fcn.0049a881
add esp, 4
test eax, eax
je 0x47729f
push eax
call fcn.0049b224
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [0x5baa44]
cmp eax, 1
jge 0x4772c7
mov eax, dword [0x5ba9cc]
sub eax, dword [0x5ba9c8]
sar eax, 3
cmp eax, 0x20
jae 0x4772c7
push 1
call fcn.00437a40
push 0x5baa18
mov byte [ebp - 4], 9
call fcn.0049a4c8
add esp, 4
test eax, eax
je 0x4772e5
push eax
call fcn.0049b224
add esp, 4
mov dword [ebp - 4], 0xa
test esi, esi
je 0x477311
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x477311
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x477311
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497cb0
mov esp, ebp
pop ebp
ret 8
push str.commit_on_ThreadPool_is_stopped.
lea ecx, [ebp - 0x40]
call fcn.0040a6e0
push 0x5ac41c
lea eax, [ebp - 0x40]
push eax
call fcn.00521b2a
int3