Function at 0x404d70
Capabilities:
Move file
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x449e77
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x464ca0]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push ebp
push esi
mov eax, dword [0x464ca0]
xor eax, esp
push eax
lea eax, [esp + 0x824]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0x30]
sub eax, 0x10
push eax
call fcn.004022e0
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push str.Update_version.ini
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x83c], 0
call fcn.00403590
add esp, 0x10
lea eax, [esi - 0x10]
mov byte [esp + 0x82c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404e05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00408230
push str.Update_version.ini
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x83c], 3
call fcn.00403590
add esp, 0x10
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x82c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x3fe
lea ecx, [esp + 0x26]
push 0
push ecx
mov word [esp + 0x2c], 0
call fcn.004317a0
push 0x3fe
lea edx, [esp + 0x432]
push 0
push edx
mov word [esp + 0x438], 0
call fcn.004317a0
mov eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x18
push eax
push 0x200
lea ecx, [esp + 0x28]
push ecx
push 0x44e9d8
push str.Version
push str.UpCfg
call esi
mov edx, dword [esp + 0x14]
push edx
push 0x200
lea eax, [esp + 0x428]
push eax
push 0x44e9d8
push str.Force
push str.UpCfg
call esi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
call fcn.004043e0
mov edx, dword [eax]
cmp dword [edx - 0xc], 0
mov eax, dword [esp + 0x10]
sete bl
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x405045
lea ecx, [esp + 0x420]
push ecx
lea ecx, [esp + 0x14]
call fcn.004043e0
mov edx, dword [eax]
cmp dword [edx - 0xc], 0
mov eax, dword [esp + 0x10]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x405045
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.004049e0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x405045
call fcn.0040c139
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404f96
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x18]
push 0x44e9e8
push eax
mov byte [esp + 0x83c], 6
call fcn.004033e0
mov esi, dword [esp + 0x20]
add esp, 0x10
push 0
push 0
push esi
call fcn.0040bf90
lea eax, [esi - 0x10]
mov byte [esp + 0x82c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404ffc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x82c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405024
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x82c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x405084
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x82c], 2
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40506c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x82c], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x405090
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.00432214
add esp, 0x820
ret