Function at 0x419480
Capabilities:
Copy file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5acbc7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1028
call fcn.0053f090
mov eax, dword [0x677e70]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1030], edi
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x1024]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x1038], eax
mov eax, dword [ecx]
push edx
mov dword [ebp - 0x1034], ecx
call dword [eax + 0x10]
lea eax, [ebp - 0x102c]
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x50]
push eax
call fcn.0042b610
mov ecx, dword [edi + 0x50]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x818]
push 0x400
push ecx
push dword [eax]
push 0x6505cc
push str.AutoUpdate
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x102c]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419539
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x818]
lea edx, [edi + 0x44]
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419545
sub ecx, edi
lea eax, [ebp - 0x818]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00404b60
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x419578
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1028], eax
mov ecx, dword [ebp - 0x1034]
lea edx, [ebp - 0x1028]
mov byte [ebp - 4], 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edi, eax
test edi, edi
jns 0x419601
push 0
push 0
push 0x76
push str.updaterUpdateInfoMgr.cpp
call fcn.0043bc90
mov byte [ebp - 4], 0
add esp, 0x10
mov edx, dword [ebp - 0x1028]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4195d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1024]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4197f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4197f4
push dword [ebp - 0x1028]
lea eax, [ebp - 0x1020]
push 0x651b48
push eax
call fcn.0040cfa0
add esp, 8
mov byte [ebp - 4], 2
push dword [eax]
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1018]
mov eax, dword [ebp - 0x1020]
cmp eax, ecx
je 0x41964c
push eax
call fcn.0053eac5
add esp, 4
push dword [ebp - 0x1024]
lea eax, [ebp - 0x1020]
push 0x651b5c
push eax
call fcn.0040cfa0
add esp, 8
mov byte [ebp - 4], 3
push dword [eax]
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov eax, dword [ebp - 0x1020]
lea ecx, [ebp - 0x1018]
cmp eax, ecx
je 0x419693
push eax
call fcn.0053eac5
add esp, 4
push 0x650bd4
lea eax, [ebp - 0x1024]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x102c]
push eax
call fcn.00413ba0
add esp, 0xc
push 0
mov byte [ebp - 4], 5
push dword [ebp - 0x102c]
push dword [ebp - 0x1024]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test ebx, ebx
jne 0x41973c
mov byte [ebp - 4], 4
mov eax, esi
mov edx, dword [ebp - 0x102c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4196ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x1028]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419710
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1024]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x419732
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0x80004005
jmp 0x4197f6
push dword [ebp - 0x1038]
mov ecx, dword [ebp - 0x1030]
push dword [ebp - 0x1028]
mov eax, dword [ebx]
push dword [ebp - 0x1024]
push dword [ecx + 0x44]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edi, eax
mov edx, dword [ebp - 0x102c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419781
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 0x80004005
mov eax, 0x81e60003
cmove edi, eax
jmp 0x4197aa
mov dword [ebp - 4], 1
mov eax, esi
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1028]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4197d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1024]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4197f4
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret 0xc