Function at 0x1012a550
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012f325
mov eax, dword fs:[0]
push eax
mov eax, 0x1254
call fcn.1010be30
mov eax, dword [0x101870dc]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
jne 0x1012a5b2
push 0
push str..esmgmt.cpp
mov ecx, 0x1019d688
call fcn.101281f0
push str._gmf__Invalid_Parameter__NULL
push 0x1019d688
call fcn.10128830
add esp, 8
mov eax, 0x57
jmp 0x1012a934
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1012a5ed
push 0
push str..esmgmt.cpp
mov ecx, 0x1019d688
call fcn.101281f0
push str._gmf__Invalid_Parameter__size_0
push 0x1019d688
call fcn.10128830
add esp, 8
mov eax, 0x57
jmp 0x1012a934
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.10001c20
mov dword [ebp - 4], 0
push 1
lea edx, [ebp - 0x1254]
push edx
lea ecx, [ebp - 0x14]
call fcn.10002170
mov dword [ebp - 0x1260], eax
mov eax, dword [ebp - 0x1260]
push eax
push 0x5c
call fcn.100022c0
add esp, 8
mov byte [ebp - 0x124d], al
lea ecx, [ebp - 0x1254]
call fcn.10001ca0
movzx ecx, byte [ebp - 0x124d]
test ecx, ecx
je 0x1012a64e
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.10001d00
mov dword [ebp - 0x10], 0
xor edx, edx
mov word [ebp - 0x81c], dx
push 0x7fe
push 0
lea eax, [ebp - 0x81a]
push eax
call fcn.10108c60
add esp, 0xc
push str.MUpdate2mfl.dat
mov ecx, dword [ebp - 0x14]
push ecx
push str._s_s
push 0x400
lea edx, [ebp - 0x81c]
push edx
call fcn.10001b00
add esp, 0x14
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1012a6fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
push 0
push str..esmgmt.cpp
mov ecx, 0x1019d688
call fcn.101281f0
mov ecx, dword [ebp - 0x10]
push ecx
push str._gmf__mfl.dat_is_not_exist__u_
push 0x1019d688
call fcn.10128830
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1258], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10001ca0
mov eax, dword [ebp - 0x1258]
jmp 0x1012a934
mov dword [ebp - 0x820], 0
jmp 0x1012a715
mov eax, dword [ebp - 0x820]
add eax, 1
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 4
jae 0x1012a916
lea ecx, [ebp - 0x81c]
push ecx
push 0
push str.COUNT
mov edx, dword [ebp - 0x820]
mov eax, dword [edx*8 + 0x10194a94]
push eax
call fcn.1001db90
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x828], 0
jmp 0x1012a764
mov ecx, dword [ebp - 0x828]
add ecx, 1
mov dword [ebp - 0x828], ecx
mov edx, dword [ebp - 0x828]
cmp edx, dword [ebp - 0x824]
jge 0x1012a911
push 0x20c
push 0
lea eax, [ebp - 0xa44]
push eax
call fcn.10108c60
add esp, 0xc
mov ecx, dword [ebp - 0x820]
mov edx, dword [ecx*8 + 0x10194a98]
mov dword [ebp - 0x83c], edx
lea ecx, [ebp - 0x82c]
call fcn.10001be0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x828]
push eax
push str.file__02d
lea ecx, [ebp - 0x82c]
push ecx
call fcn.100031b0
add esp, 0xc
lea ecx, [ebp - 0xa48]
call fcn.10001be0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x81c]
push edx
push 0x104
push 0x104
lea ecx, [ebp - 0xa48]
call fcn.10002370
push eax
push 0x10179db4
lea ecx, [ebp - 0x82c]
call fcn.10003960
push eax
mov eax, dword [ebp - 0x820]
mov ecx, dword [eax*8 + 0x10194a94]
push ecx
call fcn.1001d7f0
mov dword [ebp - 0x830], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0xa48]
call fcn.100023d0
cmp dword [ebp - 0x830], 1
jne 0x1012a8ad
lea ecx, [ebp - 0xa48]
call fcn.100023b0
movzx edx, al
test edx, edx
jne 0x1012a8ab
xor eax, eax
mov word [ebp - 0x124c], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x124a]
push ecx
call fcn.10108c60
add esp, 0xc
mov edx, dword [ebp - 0xa48]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str._sMUpdate2_s
push 0x400
lea ecx, [ebp - 0x124c]
push ecx
call fcn.10001b00
add esp, 0x14
mov edx, dword [ebp - 0x820]
mov eax, dword [edx*8 + 0x10194a98]
push eax
lea ecx, [ebp - 0x124c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10129260
add esp, 0xc
jmp 0x1012a8ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
push 0
push str..esmgmt.cpp
mov ecx, 0x1019d688
call fcn.101281f0
mov eax, dword [ebp - 0x82c]
push eax
mov ecx, dword [ebp - 0x820]
mov edx, dword [ecx*8 + 0x10194a94]
push edx
push str._gfl__fail_gsps_sec__s___key__s_
push 0x1019d688
call fcn.10128830
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa48]
call fcn.10001ca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x82c]
call fcn.10001ca0
jmp 0x1012a755
jmp 0x1012a706
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x125c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10001ca0
mov eax, dword [ebp - 0x125c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10108bbf
mov esp, ebp
pop ebp
ret