Function at 0x4184da
Capabilities:
Move file

Disassembly:
push 0x54
mov eax, 0x466034
call fcn.0044584f
mov edi, ecx
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [edi + 0x190], ebx
test esi, esi
je 0x41872b
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404375
push esi
push ebx
mov dword [ebp - 4], ebx
call fcn.00429ff7
pop ecx
pop ecx
test eax, eax
jle 0x418527
push esi
push ebx
call fcn.00429ff7
pop ecx
pop ecx
call fcn.00448470
mov ebx, esp
push esi
push 0
call fcn.00429ff7
shr eax, 1
push eax
push ebx
push esi
xor ebx, ebx
push ebx
call fcn.00429fa9
add esp, 0x18
lea ecx, [ebp - 0x44]
push eax
call fcn.00401720
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404375
mov esi, str..filelist
mov byte [ebp - 4], 2
push esi
call fcn.004012f1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402a5c
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
xor esi, esi
inc esi
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x418608
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
push eax
cmovae edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push edx
cmovae ecx, dword [ebp - 0x44]
push ecx
push str.MoveFileEx___s________s__FAILED___d____
push ebx
push 8
push str.UpdateMgr.cpp
push 0x3d5
mov dword [ebp - 0x60], eax
call fcn.0042ab69
add esp, 0x20
mov dword [ebp - 0x60], 0x7535
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
push 4
push 0x1003
call fcn.0041874d
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401833
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00401833
push ebx
push esi
jmp 0x418721
lea eax, [edi + 0xe0]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404ee5
test eax, eax
jne 0x418631
lea ecx, [edi + 0x140]
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x418631
push 0xffffffffffffffff
push ebx
push eax
call fcn.00401bb1
lea eax, [edi + 0x140]
cmp dword [eax + 0x14], 8
jb 0x41863f
mov eax, dword [eax]
push eax
push str.GpcIniFile:___s_
push ebx
push 2
push str.UpdateMgr.cpp
push 0x3de
call fcn.0042ab69
mov ebx, 0x47fe2c
push ebx
call fcn.004012f1
add esp, 0x1c
lea ecx, [edi + 0x20]
push eax
push ebx
push dword [edi + 0x30]
xor ebx, ebx
push ebx
call fcn.00402823
test eax, eax
jne 0x4186c7
lea eax, [edi + 0xf8]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404ee5
test eax, eax
jne 0x4186c7
lea esi, [edi + 0x158]
lea eax, [ebp - 0x2c]
cmp esi, eax
je 0x4186a4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00401bb1
cmp dword [esi + 0x14], 8
jb 0x4186ac
mov esi, dword [esi]
push esi
push str._SC_SCC_FullGpcIniFile:___s_
push ebx
push 2
push str.UpdateMgr.cpp
push 0x3e2
call fcn.0042ab69
add esp, 0x18
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00418edd
push dword [edi + 0x194]
push str.There_are___s__file_s__need_to_be_updated___
push ebx
push 2
push str.UpdateMgr.cpp
push 0x3e5
call fcn.0042ab69
add esp, 0x18
cmp dword [edi + 0x194], ebx
jne 0x418708
push ebx
push ebx
push 0x1004
mov ecx, edi
call fcn.0041874d
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401833
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00401833
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00401833
jmp 0x418742
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x7535
push eax
push 4
push 0x1003
call fcn.0041874d
lea esp, [ebp - 0x70]
call fcn.004457fe
ret 8