Function at 0x43f5c0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5a09b0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x6285c4
mov dword [0x660258], 1
call edx
add eax, 0x10
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], 0
mov eax, dword [ebp + 0x3c]
push str.SoftUpdateM.dll
push eax
push 0x5d7f74
lea edi, [esp + 0x58]
call fcn.00407710
mov ebx, dword [esp + 0x58]
add ebx, 0xfffffff0
add esp, 0xc
mov eax, ebx
mov dword [esp + 0x18], ebx
call fcn.004073f0
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push esi
mov byte [esp + 0x48], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43f662
mov byte [esp + 0x44], al
lea eax, [esi - 0x10]
jmp 0x43f7df
mov eax, esi
call fcn.004044c0
mov edi, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f68c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x43f7f8
push ecx
mov eax, ebx
mov dword [esp + 0x18], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
call fcn.0049daa1
mov dword [ebp + 0x44], eax
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x48], 2
call fcn.0048dda0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
mov esi, ebp
mov byte [esp + 0x4c], 3
call fcn.00440710
call fcn.00440320
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x43f79e
mov ecx, dword [esp + 0x30]
sub ecx, eax
sar ecx, 2
xor edi, edi
test ecx, ecx
jle 0x43f79e
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp edi, ecx
jb 0x43f725
call fcn.004f825e
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + edi*4]
push eax
call ebx
test eax, eax
je 0x43f767
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
sar ecx, 2
cmp edi, ecx
jb 0x43f743
call fcn.004f825e
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + edi*4]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.00440370
jmp 0x43f788
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
sar eax, 2
cmp edi, eax
jb 0x43f77b
call fcn.004f825e
mov ecx, dword [esp + 0x2c]
lea esi, [ecx + edi*4]
push ebp
call fcn.00440170
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
sub ecx, eax
inc edi
sar ecx, 2
cmp edi, ecx
jl 0x43f71a
mov ebx, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
je 0x43f7ba
mov edi, dword [esp + 0x30]
call fcn.004075a0
mov edx, dword [esp + 0x2c]
push edx
call fcn.004f6734
add esp, 4
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.004f6734
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x18]
add esp, 4
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f7f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x44], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f819
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4