Function at 0x422830
Capabilities:
Access peb ldr_data
Move file

Disassembly:
push 0xffffffffffffffff
push 0x487e78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push str.ListURL
lea eax, [esp + 0x20]
push str.UPDATEINFO
push eax
mov dword [esp + 0x44], 0
call fcn.0040d630
push str.9999999999
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x50], 1
call fcn.00403ce0
mov eax, dword [eax]
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x58], 2
call fcn.0040ad60
add esp, 0x20
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x38], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4228c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [esp + 0x18]
mov ebp, eax
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetPropW]
cmp eax, 0x3e0
jne 0x4228ff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x422a85
mov ecx, dword [esp + 0x18]
push 0x3e0
push ecx
push ebp
call dword [sym.imp.USER32.dll_SetPropW]
lea edx, [esp + 0x40]
push str.downparam1
push edx
call fcn.00408920
add esp, 8
test al, al
je 0x422930
mov dword [0x4ae384], 1
lea eax, [esp + 0x14]
push eax
call fcn.0040e150
push 0x4923e4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x48], 5
call fcn.00403ce0
push 0
mov bl, 6
push 0
mov byte [esp + 0x50], bl
call fcn.0043b2a0
add esp, 0x18
push 0
push 3
mov ecx, 0x4b1468
call fcn.00415250
call fcn.004363a0
mov eax, dword [esp + 0x14]
push eax
call fcn.0040c4d0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
push eax
call fcn.00401660
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
mov byte [esp + 0x44], 7
call fcn.00401660
add esp, 4
add eax, 0x10
push 0xffffffffffffffff
mov dword [esi], eax
push 0
mov byte [esp + 0x48], bl
call fcn.00412780
add esp, 0x10
test eax, eax
jne 0x422a14
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0040c4d0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 4
xor esi, esi
lea esp, [esp]
push 0x32
call edi
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push edx
push eax
call ebx
test eax, eax
jne 0x422a0a
inc esi
cmp esi, 0xa
jl 0x4229f0
push 0
call fcn.0043ada0
add esp, 4
mov ecx, dword [esp + 0x18]
push 0
push ecx
push ebp
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422a47
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 byte [esp + 0x38], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422a6c
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 + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422a91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x38], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422ab6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x38], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422ada
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret