Function at 0x4136c0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d92e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
push edi
mov edi, ecx
mov ecx, 0x5101ed
mov dword [ebp - 0x14], edi
call fcn.004b532d
mov eax, dword [ebp + 8]
mov ecx, edi
mov dword [edi + 4], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00411020
mov esi, eax
lea eax, [edi + 0x24]
cmp eax, esi
je 0x41372f
mov ecx, eax
call fcn.004031b0
movups xmm0, xmmword [esi]
movups xmmword [edi + 0x24], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x34], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x413763
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413759
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413bff
push edx
push ecx
call fcn.004b531f
add esp, 8
mov ecx, edi
call fcn.0040f150
movq xmm0, qword [0x4e1c90]
mov ecx, 0xf
mov ax, word [0x4e1c98]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], 0xa
movq qword [ebp - 0x48], xmm0
mov word [ebp - 0x40], ax
mov byte [ebp - 0x3e], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x48]
push eax
mov eax, dword [edi + 4]
push 0
push 0x469
mov dword [ebp - 4], 0
push dword [eax]
call esi
mov eax, dword [edi + 4]
push 0
push 1
push 0x46a
push dword [eax]
call esi
push 0
call fcn.004096f0
push 0x4e1c9c
call fcn.00406890
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4e1cc4
call fcn.00408d20
add esp, 4
xor esi, esi
mov eax, dword [edi + 4]
add eax, 4
push eax
call fcn.004068b0
mov eax, dword [edi + 4]
add esp, 4
push dword [eax + 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413816
inc esi
cmp esi, 0x14
jl 0x4137f1
mov edx, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x413851
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413847
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413c04
push edx
push ecx
call fcn.004b531f
add esp, 8
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
cmp byte [eax + 6], 0
je 0x413967
push 0x4e1e50
call fcn.00403680
mov eax, dword [edi + 4]
add eax, 4
mov dword [ebp - 4], 1
push 0x4e1e60
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00403e00
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403d50
add esp, 0x18
mov edx, dword [ebp - 0x24]
or esi, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4138bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4138da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 4]
push 0
push 0
push 0x46d
push dword [eax]
call dword [sym.imp.USER32.dll_PostMessageW]
push ecx
mov esi, esp
mov dword [ebp + 8], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.004043f0
add esp, 4
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.004104e0
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41393a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.00410760
mov eax, dword [edi + 4]
push 0
push 0
push 0x46c
push dword [eax]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push str.GInstallerPkg
call fcn.00403680
mov eax, dword [edi + 4]
add eax, 4
mov dword [ebp - 4], 6
push 0x4e1e74
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00403e00
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403d50
add esp, 0x18
mov edx, dword [ebp - 0x24]
or esi, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4139c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4139e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4e1e78
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403e00
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
push eax
call fcn.00407f00
mov eax, dword [edi + 4]
add eax, 4
mov byte [ebp - 4], 0xc
push 0x4e1e90
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403e00
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00403d50
push 0x4e1e84
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xe
push eax
call fcn.00403e00
add esp, 0x34
mov edx, dword [ebp - 0x28]
mov eax, esi
mov byte [ebp - 4], 0x10
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413a5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413a7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [ebp + 8]
call esi
push dword [ebp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x413af0
push 0x4e1e94
lea ecx, [ebp + 8]
call fcn.0040ec90
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 8]
call esi
test eax, eax
je 0x413af0
push 0x4e1ea0
lea ecx, [ebp + 8]
call fcn.0040ec90
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 8]
call esi
test eax, eax
je 0x413af0
push str..exe
lea ecx, [ebp + 8]
call fcn.0040ec90
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x30], esi
call fcn.004043f0
add esp, 4
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.0040fbc0
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x46d
push dword [eax]
call edi
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x30], esi
call fcn.004043f0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.004101f0
mov eax, dword [esi + 4]
push 0
push 0
push 0x46c
mov dword [eax + 8], 1
mov eax, dword [esi + 4]
push dword [eax]
call edi
mov edx, dword [ebp + 8]
or esi, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413b92
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413bb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413bce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x413bed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.004bba0f
call fcn.004bba0f
int3