Function at 0x435630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560290
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5b0514]
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 esi, ecx
mov eax, dword [ebp + 8]
add eax, 0xffff7e0b
cmp eax, 3
ja case.default.0x43566e
jmp dword [eax*4 + 0x4358cc]
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x744]
push eax
mov dword [esi + 0xc08], eax
call fcn.00467a70
jmp case.default.0x43566e
lea ecx, [esi + 0x778]
call fcn.0042e370
push eax
push dword [esi + 0xc08]
lea ecx, [esi + 0x744]
push dword [esi + 0x964]
push dword [esi + 0x960]
call fcn.004685c0
jmp case.default.0x43566e
lea eax, [esi + 0x8b8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402a30
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x43570a
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 0x43570a
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 + 0x744]
call fcn.00468200
mov ecx, esi
call fcn.00432240
push 3
mov ecx, esi
call fcn.004320c0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb case.default.0x43566e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43575b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4358c2
push edx
push ecx
call fcn.00497d51
add esp, 8
jmp case.default.0x43566e
push str.UIBodyLayout3
lea ecx, [esi + 0x14]
call fcn.004aa330
push str.UIOpenFile
lea ecx, [esi + 0x14]
mov dword [ebp - 0x2c], eax
call fcn.004aa330
push str.UISearch
lea ecx, [esi + 0x14]
mov ebx, eax
call fcn.004aa330
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x435885
test ebx, ebx
je 0x435885
test eax, eax
je 0x435885
mov eax, dword [ecx]
push str.PNGpic_failed.png
push str.bkimage
call dword [eax + 0x13c]
push str.UICaption2
lea ecx, [esi + 0x14]
call fcn.004aa330
mov edi, eax
test edi, edi
je 0x43586c
push 0
push str.softname
push str.Software
lea eax, [ebp - 0x48]
push eax
call fcn.0043bdc0
mov ecx, eax
mov dword [ebp - 4], 1
cmp dword [ecx + 0x14], 8
jb 0x435803
mov ecx, dword [ecx]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x43584c
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435842
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4358c7
push edx
push ecx
call fcn.00497d51
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
mov ecx, edi
mov eax, dword [edi]
push 1
mov dword [ebp - 0x34], 7
call dword [eax + 0xf8]
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 0xf8]
mov ecx, dword [ebp - 0x30]
push 1
mov eax, dword [ecx]
call dword [eax + 0xf8]
push 1
lea ecx, [esi + 0x744]
call fcn.00467c70
mov ecx, esi
call fcn.00432240
push 3
mov ecx, esi
call fcn.004320c0
xor eax, eax
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.00497d40
mov esp, ebp
pop ebp
ret 8
call fcn.00524a29
call fcn.00524a29
jne 0x435924
inc ebx
add byte [edi - 0x42ffbcaa], cl
push esi
inc ebx
add byte [edx + 0x57], ch
inc ebx
add ah, cl
int3
pop ebx
add byte [eax + eax*8 + 0x283840f], al
add byte [eax], al
mov eax, dword [ebp + 0xc]
push 0x18
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
call fcn.004810d1
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x435a13
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.004810d1
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
test edi, edi
je 0x435a04
push 0xa8
push 0
push edi
call fcn.00521a60
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.0049b1a8
lea eax, [edi + 0x14]
push 2
push eax
call fcn.0049a8cb
lea eax, [edi + 0x44]
push eax
call fcn.0049a553
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_ed47a393ebf7e1ec5eee7c60bb278a54______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 0x435a15
xor edi, edi
mov byte [esi + 0x10], 0
mov dword [esi + 0xc], edi
mov byte [esi + 0x14], 0
jmp 0x435a15
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.0049a8ec
add esp, 4
test eax, eax
je 0x435a6b
push eax
call fcn.0049b2b4
add esp, 4
test esi, esi
je 0x435a73
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 0x435aa7
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 0x435ae9
push 0x28
call fcn.004810d1
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_1d4ac1c8a8ad42a26923b6326fcc0cf1___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.0049a911
add esp, 4
test eax, eax
je 0x435b1f
push eax
call fcn.0049b2b4
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [0x5baa44]
cmp eax, 1
jge 0x435b47
mov eax, dword [0x5ba9cc]
sub eax, dword [0x5ba9c8]
sar eax, 3
cmp eax, 0x20
jae 0x435b47
push 1
call fcn.00437a40
push 0x5baa18
mov byte [ebp - 4], 9
call fcn.0049a558
add esp, 4
test eax, eax
je 0x435b65
push eax
call fcn.0049b2b4
add esp, 4
mov dword [ebp - 4], 0xa
test esi, esi
je 0x435b91
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x435b91
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x435b91
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.00497d40
mov esp, ebp
pop ebp
ret 8