Function at 0x406ad0
Capabilities:
Move file

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
push ebp
lea ecx, [esp + 0x1c]
call fcn.00405170
push 0
call dword [0x4181f4]
mov eax, dword [esp + 0x30]
add eax, 8
push eax
mov dword [esp + 0x2c], eax
call dword [0x4180f8]
lea esi, [esp + 0x10]
call fcn.00409470
push 0xd
push str.alicupsrv.exe
mov ecx, esi
call fcn.004040f0
push str..new
mov eax, esi
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00404580
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
push eax
call fcn.00401c70
mov esi, eax
add esi, 0x10
push 0
push esi
call fcn.0040b9e3
add esp, 0x18
cmp eax, 0xffffffff
lea eax, [esi - 0x10]
setne bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406b67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x406c2e
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00404de0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
call fcn.00404de0
add esp, 8
lea edi, [esp + 0x34]
call fcn.00406370
test al, al
je 0x406be3
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00405940
add esp, 8
cmp eax, 1
je 0x406bc6
lea edi, [esp + 0x10]
call fcn.00406370
test al, al
je 0x406bc6
mov edx, dword [esp + 0x34]
push edx
jmp 0x406be8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
push 1
push eax
push ecx
call dword [0x418070]
test eax, eax
je 0x406bee
mov edx, dword [esp + 0x34]
push edx
jmp 0x406be8
mov eax, dword [esp + 0x34]
push eax
call dword [0x41806c]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c0e
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
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
call fcn.00404520
mov eax, dword [eax]
push str.lock
push eax
call fcn.0040b197
add esp, 8
test eax, eax
je 0x406dd2
lea ecx, [esp + 0x18]
call fcn.00404520
mov eax, dword [eax]
push str.unlock
push eax
call fcn.0040b197
add esp, 8
test eax, eax
je 0x406dd2
push str.alicbiz.dll
lea esi, [esp + 0x24]
call fcn.00409470
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00404580
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406cac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x14]
call fcn.004037e0
test al, al
je 0x406e2a
lea edi, [esp + 0x14]
call fcn.00406370
test al, al
je 0x406e2a
push 0
call dword [0x418294]
push str.1719CF0C_4C82_42BB_B58B_85ECE1D382A5
lea ecx, [esp + 0x28]
call fcn.00405890
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
add edi, 0x24
push edx
mov ecx, edi
call fcn.00406680
mov dword [esp + 0x1c], 0
test eax, eax
je 0x406d60
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x41848c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jne 0x406dae
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push ebp
push eax
call edx
push ebp
lea ecx, [esp + 0x34]
call fcn.00405890
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x3c]
call fcn.00405890
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x38]
call fcn.00402300
jmp 0x406da5
lea ecx, [esp + 0x30]
call fcn.00402b20
push 0x68
lea eax, [esp + 0x34]
push str.status_dmsgalicbiz.dll_is_downloading.version1serviceupdatefilenamealicbiz.dll
push eax
call fcn.00404960
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
lea ecx, [esp + 0x24]
call fcn.00401e70
lea ecx, [esp + 0x20]
call fcn.00401ea0
mov edx, dword [esp + 0x38]
mov dword [edx], eax
mov eax, dword [esp + 0x20]
push eax
call dword [0x4181f4]
lea ecx, [esp + 0x30]
call fcn.00402300
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.004067f0
call dword [0x418290]
lea ecx, [esp + 0x24]
call fcn.00402300
lea ecx, [esp + 0x14]
call fcn.00402300
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406df2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406e12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x4180f4]
push 0
call dword [0x4181f4]
jmp 0x406f23
mov edx, dword [0x41f8e8]
mov eax, dword [edx + 0xc]
mov ecx, 0x41f8e8
call eax
push 0x68
lea ecx, [esp + 0x34]
add eax, 0x10
push str.status_dmsgalicbiz.dll_is_downloading.version1serviceupdatefilenamealicbiz.dll
push ecx
mov dword [esp + 0x3c], eax
call fcn.00404960
mov edi, dword [esp + 0x3c]
add esp, 0xc
test edi, edi
jne 0x406e63
xor esi, esi
xor eax, eax
jmp 0x406e89
push edi
call dword [0x4181fc]
mov esi, eax
test esi, esi
jne 0x406e7a
push 0x8007000e
call fcn.00401050
push esi
call dword [0x418204]
push eax
push esi
call dword [0x418200]
mov edx, dword [esp + 0x38]
push esi
mov esi, dword [0x4181f4]
mov dword [edx], eax
call esi
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406eb4
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
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ed4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ef4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406f14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x4180f4]
push 0
call esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406f43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 0xc