Function at 0x43c520
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x615340
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x6b1a94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 1
or edi, 0xffffffff
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x43c83e
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x43c83e
lea eax, [ebx + 0x64]
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x18], eax
push ecx
mov ecx, eax
call fcn.00407890
mov edx, str.repair_cache_
lea ecx, [ebp - 0x10]
call fcn.0046c5b0
push eax
lea ecx, [ebx + 0x68]
mov byte [ebp - 4], 2
call fcn.00407890
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c5ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx + 0x68]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x43c5d1
push dword [ebx + 0x68]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [ebp - 0x14]
push eax
call fcn.0043c890
push ecx
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407830
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0043c8c0
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c6d4
mov ecx, dword [ebp - 0x20]
cmp dword [ecx - 0xc], 0
je 0x43c6d4
mov eax, dword [ebp + 8]
test eax, eax
jne 0x43c630
push 0x80004005
call fcn.00403d40
push eax
push ecx
call fcn.005eb5a9
add esp, 8
test eax, eax
jns 0x43c785
lea ecx, [ebx + 0x68]
call fcn.0044b0e0
lea ecx, [ebp - 0x10]
call fcn.00404090
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
push str.config.json
push dword [eax]
lea eax, [ebp - 0x10]
push 0x67d2dc
push eax
call fcn.00403390
add esp, 0xc
mov esi, esp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00407830
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.config.json
call fcn.00407490
push ecx
mov byte [ebp - 4], 0xa
mov esi, esp
mov dword [ebp - 0x28], esi
mov ecx, dword [ebx + 0x68]
sub ecx, 0x10
call fcn.00407830
mov ecx, dword [ebp - 0x1c]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 8
call fcn.0043da20
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004032d0
jmp 0x43c785
call fcn.00403fe0
mov ecx, eax
test ecx, ecx
jne 0x43c6e9
push 0x80004005
call fcn.00403d40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
push str.config.json
push dword [eax]
lea eax, [ebp - 0x10]
push 0x67d2dc
push eax
call fcn.00403390
add esp, 0xc
mov esi, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00407830
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.config.json
call fcn.00407490
push ecx
mov byte [ebp - 4], 7
mov esi, esp
mov ecx, dword [ebx + 0x68]
sub ecx, 0x10
mov dword [ebp - 0x2c], esi
call fcn.00407830
mov ecx, dword [ebp - 0x1c]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 5
call fcn.0043da20
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x18]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c785
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00403fe0
mov ecx, eax
test ecx, ecx
jne 0x43c79a
push 0x80004005
call fcn.00403d40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str.dll_config_version:_s
push eax
call fcn.00403390
mov esi, dword [ebp - 0x10]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x43c7d4
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00403630
mov esi, dword [ebp - 0x10]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00405020
call fcn.0047c640
add esp, 0x18
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43c802
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c820
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c83e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c85c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x43c87b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8