Function at 0x4032a0
Capabilities:
Check if file exists
Move file

Disassembly:
push 0xffffffffffffffff
push 0x58c476
mov eax, dword fs:[0]
push eax
sub esp, 0xa6c
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0xa68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0xa80]
mov dword fs:[0], eax
mov eax, dword [0x5ef5f8]
test eax, eax
jne 0x4032e9
call fcn.00404c10
mov ecx, dword [0x5ef5f8]
mov ebp, dword [ecx + 0x40]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x46e]
push eax
mov word [esp + 0x470], dx
call fcn.0052e300
add esp, 0xc
push 0x104
lea ecx, [esp + 0x468]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x464]
push 0x5c
push edx
call fcn.00527ab0
xor ecx, ecx
xor edx, edx
mov word [eax + 2], cx
push 0x206
push edx
lea eax, [esp + 0x66]
push eax
mov word [esp + 0x68], dx
call fcn.0052e300
add esp, 0x14
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x87e]
push edx
mov word [esp + 0x880], cx
call fcn.0052e300
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x676]
push ecx
mov word [esp + 0x678], ax
call fcn.0052e300
mov edi, 8
add esp, 0xc
cmp dword [ebp + 0x1b8], edi
jb 0x4033ab
mov eax, dword [ebp + 0x1a4]
jmp 0x4033b1
lea eax, [ebp + 0x1a4]
push eax
lea edx, [esp + 0x468]
push edx
lea eax, [esp + 0x5c]
push str._sChromeMini_s
push eax
call fcn.00527adc
lea ecx, [esp + 0x474]
push ecx
lea edx, [esp + 0x888]
push str._sChromeMinilibcef.dll
push edx
call fcn.00527adc
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x1c
lea eax, [esp + 0x54]
push eax
call esi
test eax, eax
jne 0x40341f
mov ecx, dword [0x5ef5f4]
test ecx, ecx
jne 0x403406
call fcn.00404b70
lea edx, [esp + 0x54]
push edx
push str.PopChromeMiNi_Err__s_
call fcn.0047b0e0
add esp, 8
xor eax, eax
jmp 0x403661
lea eax, [esp + 0x874]
push eax
call esi
test eax, eax
jne 0x403445
mov ecx, dword [0x5ef5f4]
test ecx, ecx
jne 0x40343c
call fcn.00404b70
lea edx, [esp + 0x874]
jmp 0x40340a
push 4
lea ebx, [ebp + 0x130]
push 0x59ace8
xor eax, eax
mov edx, ebx
call fcn.00403c00
cmp eax, 0xffffffff
jne 0x403490
cmp dword [ebx + 0x18], edi
jb 0x40346a
mov esi, dword [ebx + 4]
jmp 0x40346d
lea esi, [ebx + 4]
mov eax, dword [0x5ef5f4]
test eax, eax
jne 0x40347b
call fcn.00404b70
push esi
push str.PopChromeMiNi_Err__s_
call fcn.0047b0e0
add esp, 8
xor eax, eax
jmp 0x403661
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x266]
push edx
mov dword [esp + 0x20], 0
mov word [esp + 0x268], cx
call fcn.0052e300
add esp, 0xc
push 4
lea esi, [ebp + 0x184]
push str..exe
xor eax, eax
mov edx, esi
call fcn.00403c00
cmp eax, 0xffffffff
je 0x403542
cmp dword [esi + 0x18], edi
jb 0x4034dd
mov esi, dword [esi + 4]
jmp 0x4034e0
add esi, 4
push esi
lea eax, [esp + 0x468]
push eax
lea ecx, [esp + 0x264]
push str._sChromeMini_s
push ecx
call fcn.00527adc
add esp, 0x10
lea edi, [esp + 0x25c]
lea ecx, [esp + 0x54]
call fcn.00492200
mov edx, edi
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40353d
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [esp + eax + 0x25c]
mov word [esp + eax + 0x54], cx
add eax, 2
test cx, cx
jne 0x403520
mov dword [esp + 0x14], 1
mov edi, 8
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x34], esp
push eax
mov ecx, ebx
call fcn.004924e0
add esp, 4
lea esi, [esp + 0x38]
call fcn.0048f750
add esp, 0x1c
lea ecx, [esp + 0x38]
push ecx
xor ebx, ebx
mov ecx, eax
mov dword [esp + 0xa8c], ebx
call fcn.004923c0
add esp, 4
mov byte [esp + 0xa88], 2
cmp dword [esp + 0x34], 0x10
jb 0x403596
mov edx, dword [esp + 0x20]
push edx
call fcn.005273b8
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], 0
cmp dword [esp + 0x50], edi
jae 0x4035b5
lea eax, [esp + 0x3c]
push eax
xor eax, eax
cmp dword [ebp + 0xc], ebx
lea ecx, [esp + 0x58]
sete al
lea edx, [esp + 0x670]
push eax
push ecx
push str.__s___type:1__model:_d__cfg:_s
push edx
call fcn.00527adc
mov eax, dword [0x5ef5fc]
add esp, 0x14
test eax, eax
jne 0x4035e7
call fcn.00404cb0
lea ecx, [esp + 0x66c]
push ecx
call fcn.004802a0
mov esi, eax
cmp esi, ebx
jne 0x403608
lea ecx, [esp + 0x66c]
call fcn.00491680
mov esi, eax
cmp dword [esp + 0x14], ebx
je 0x403631
lea edx, [esp + 0x25c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403631
push 5
push ebx
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [0x5ef5f4]
test ecx, ecx
jne 0x403640
call fcn.00404b70
lea edx, [esp + 0x66c]
push edx
push esi
push str.PopChromeMiNi_Succ__d____s_
call fcn.0047b0e0
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.00406300
mov eax, esi
mov ecx, dword [esp + 0xa80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa68]
xor ecx, esp
call fcn.005273c3
add esp, 0xa78
ret