Function at 0x10020472
Capabilities:
Check http status code
Move file

Disassembly:
mov eax, 0x100cd219
call fcn.10030644
push ecx
mov eax, 0x10dd4
call fcn.10031830
mov eax, dword [0x100fd4c0]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x2a], bl
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push 0xd1c
push eax
mov byte [ebp - 4], 1
call fcn.10020290
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.100c11ae
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.100c1067
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.100c0dd4
lea eax, [ebp - 0x18]
push eax
call fcn.100218c0
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.100c11ae
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.100c1067
push str.about:blank
push dword [ebp - 0x14]
call fcn.10030823
pop ecx
cmp eax, ebx
pop ecx
je 0x10020e98
mov ecx, dword [0x10109918]
cmp ecx, ebx
jle 0x10020557
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 8]
cmp eax, 5
jge 0x10020557
push ecx
lea eax, [ebp - 0x14]
push str.http:__update.mobilesp.com_readfile.asp_spid_dfnewlist.txt
push eax
call fcn.100baf9f
push dword [0x10109918]
lea eax, [ebp - 0x24]
push str.http:__update.mobilesp.com_readfile.asp_spid_d
push eax
call fcn.100baf9f
add esp, 0x18
jmp 0x10020595
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 5
jl 0x10020e98
push 0x2f
lea ecx, [ebp - 0x14]
call fcn.100bac09
inc eax
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100bab91
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.100c11ae
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.100c1067
lea eax, [ebp - 0x38]
mov ecx, 0x10109850
push eax
call fcn.100c6099
push str._newlist.tmp
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.100c1458
push ebx
lea ecx, [ebp - 0x38]
call fcn.100c14ac
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xac]
push eax
call fcn.10028d24
fld qword [eax]
push 0x400
push ebx
fstp qword [ebp - 0xa0]
mov eax, dword [eax + 8]
push 0x10109648
push ecx
mov esi, str.LastUpdate
fldz
mov ecx, esp
mov dword [ebp - 0x28], esp
fstp qword [ebp - 0x78]
push esi
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x70], ebx
mov byte [ebp - 4], 6
call fcn.10002736
mov ecx, dword [0x1010992c]
lea eax, [ebp - 0x18]
push eax
call fcn.100088c7
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.10003ab9
push eax
lea ecx, [ebp - 0x78]
call fcn.10028eb5
mov ecx, dword [ebp - 0x18]
cmp eax, ebx
sete byte [ebp - 0x29]
cmp ecx, ebx
mov byte [ebp - 4], 6
je 0x1002063e
call fcn.10002801
cmp byte [ebp - 0x29], bl
je 0x100206c8
lea eax, [ebp - 0x18]
push str._Y__m__d
push eax
lea ecx, [ebp - 0xa0]
call fcn.10028f42
push ebx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.100c14ac
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push esi
call fcn.10002736
mov ecx, dword [0x1010992c]
call fcn.100089d4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.100c1067
lea eax, [ebp - 0xac]
push eax
call fcn.10028d24
fld qword [eax]
fstp qword [ebp - 0x78]
mov eax, dword [eax + 8]
mov dword [ebp - 0x70], eax
jmp 0x100206c8
cmp dword [0x10109918], ebx
mov dword [ebp - 4], 5
jle 0x1002073d
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.10028e2b
fld qword [eax]
fcomp qword [0x100d83c8]
fnstsw ax
sahf
jae 0x1002073d
mov al, byte [ebp + 0xf]
sub esp, 0x10
mov edi, esp
mov dword [ebp - 0x28], esp
push ebx
mov ecx, edi
mov byte [edi], al
call fcn.10002424
mov esi, 0x10109650
push esi
call fcn.10030730
pop ecx
push eax
push esi
mov ecx, edi
call fcn.100036bc
call fcn.10020ec0
mov ecx, dword [ebp - 0x20]
add esp, 0x10
push eax
push dword [ebp + 0xc]
call fcn.100203a3
jmp 0x10020e8c
lea eax, [ebp - 0x18]
push str._Y__m__d
push eax
lea ecx, [ebp - 0xa0]
call fcn.10028f42
push ebx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.100c14ac
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push esi
call fcn.10002736
mov ecx, dword [0x1010992c]
call fcn.100089d4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.100c1067
mov al, byte [ebp + 0xf]
sub esp, 0x10
mov edi, esp
mov dword [ebp - 0x28], esp
push ebx
mov ecx, edi
mov byte [edi], al
call fcn.10002424
mov esi, 0x100fcbd8
push esi
call fcn.10030730
pop ecx
push eax
push esi
mov ecx, edi
call fcn.100036bc
call fcn.10020ec0
mov ecx, dword [ebp - 0x20]
add esp, 0x10
push eax
push dword [ebp + 0xc]
call fcn.100203a3
lea ecx, [ebp - 0x8d5c]
call fcn.10061ccd
push dword [ebp - 0x30]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
push ebx
call fcn.100c14ac
push eax
lea ecx, [ebp - 0x8d5c]
call fcn.10062ae9
test al, al
jne 0x10020811
push dword [ebp - 0x30]
call fcn.1003238b
mov al, byte [ebp + 0xf]
sub esp, 0xc
mov edi, esp
mov dword [ebp - 0x28], esp
push ebx
mov ecx, edi
mov byte [edi], al
call fcn.10002424
mov esi, 0x100fcbc8
jmp 0x100208c1
mov al, byte [ebp + 0xf]
sub esp, 0x10
mov edi, esp
mov dword [ebp - 0x28], esp
push ebx
mov ecx, edi
mov byte [edi], al
call fcn.10002424
mov esi, 0x100fcbb8
push esi
call fcn.10030730
pop ecx
push eax
push esi
mov ecx, edi
call fcn.100036bc
call fcn.10020ec0
mov ecx, dword [ebp - 0x20]
add esp, 0x10
push eax
push dword [ebp + 0xc]
call fcn.100203a3
lea ecx, [ebp - 0x8d5c]
call fcn.10062985
push dword [ebp - 0x30]
cmp eax, 0xc8
je 0x10020885
call fcn.1003238b
mov al, byte [ebp + 0xf]
sub esp, 0xc
mov edi, esp
mov dword [ebp - 0x28], esp
push ebx
mov ecx, edi
mov byte [edi], al
call fcn.10002424
mov esi, 0x100fcba8
jmp 0x100208c1
push str.AutoUpdate
push ebx
push 0x100fcb84
call fcn.100049d5
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x28], eax
jg 0x100208ea
push dword [ebp - 0x30]
call fcn.1003238b
mov al, byte [ebp + 0xf]
sub esp, 0xc
mov dword [ebp - 0x28], esp
mov edi, esp
push ebx
mov ecx, edi
mov byte [edi], al
call fcn.10002424
mov esi, 0x100fcb74
push esi
call fcn.10030730
pop ecx
push eax
push esi
mov ecx, edi
call fcn.100036bc
call fcn.10020ec0
mov ecx, dword [ebp - 0x20]
add esp, 0x10
push eax
push dword [ebp + 0xc]
call fcn.100203a3
jmp 0x10020e7d
cmp eax, ebx
mov dword [ebp - 0x3c], ebx
jle 0x10020dc8
mov edi, 0x100fb530
lea eax, [ebp - 0x48]
mov ecx, 0x10109850
push eax
call fcn.100c6099
push dword [ebp - 0x3c]
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0xc
push str.Item_d
push eax
call fcn.10030f8c
push dword [ebp - 0x30]
lea eax, [ebp - 0xd4]
mov esi, 0x10109648
push eax
push esi
lea eax, [ebp - 0x80]
push str.FileName
push eax
call fcn.100049ec
add esp, 0x20
push ebx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.100c14ac
push eax
lea eax, [ebp - 0x4d4]
push eax
call fcn.10031161
pop ecx
mov byte [ebp - 4], 0xc
pop ecx
lea ecx, [ebp - 0x80]
call fcn.100c1067
push dword [ebp - 0x30]
lea eax, [ebp - 0xd4]
push eax
push esi
lea eax, [ebp - 0x84]
push str.LastEdit
push eax
call fcn.100049ec
add esp, 0x14
push ebx
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.100c14ac
push eax
lea eax, [ebp - 0x8d4]
push eax
call fcn.10031161
pop ecx
mov byte [ebp - 4], 0xc
pop ecx
lea ecx, [ebp - 0x84]
call fcn.100c1067
push esi
push ecx
lea eax, [ebp - 0x4d4]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
call fcn.100039ab
mov ecx, dword [0x1010992c]
lea eax, [ebp - 0x64]
push eax
call fcn.100088c7
mov eax, dword [eax]
cmp eax, ebx
je 0x100209dd
mov eax, dword [eax]
jmp 0x100209df
xor eax, eax
push eax
lea eax, [ebp - 0xcd4]
push eax
call fcn.10031161
pop ecx
pop ecx
mov ecx, dword [ebp - 0x64]
cmp ecx, ebx
je 0x100209fd
call fcn.10002801
mov dword [ebp - 0x64], ebx
lea eax, [ebp - 0xcd4]
push eax
lea eax, [ebp - 0x8d4]
push eax
call fcn.10030823
pop ecx
test eax, eax
pop ecx
jle 0x10020dad
lea eax, [ebp - 0x4d4]
push eax
lea eax, [ebp - 0x29]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
push 0x100fcb2c
call fcn.10003536
call fcn.10020ec0
add esp, 0x10
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100598b6
add esp, 0xc
mov eax, dword [eax]
mov byte [ebp - 4], 0xf
cmp eax, ebx
je 0x10020a5a
mov eax, dword [eax]
jmp 0x10020a5c
xor eax, eax
mov ecx, dword [ebp - 0x20]
push eax
push dword [ebp + 0xc]
call fcn.100203a3
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 0xc
cmp ecx, ebx
je 0x10020a7b
call fcn.10002801
mov dword [ebp - 0x58], ebx
push dword [ebp - 0x30]
lea eax, [ebp - 0xd4]
push eax
push esi
lea eax, [ebp - 0x1c]
push str.Path
push eax
call fcn.100049ec
add esp, 0x14
mov eax, dword [0x100fd4c0]
mov dword [ebp - 0x34], eax
cmp dword [0x10109918], ebx
mov byte [ebp - 4], 0x11
jle 0x10020afa
push 0x100fcb28
lea ecx, [ebp - 0x6c]
call fcn.100c1130
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.100c12a6
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x13
call fcn.100c11ae
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x12
call fcn.100c1067
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x11
call fcn.100c1067
jmp 0x10020b06
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x34]
push eax
call fcn.100c11ae
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 8], ebx
jle 0x10020c09
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
push eax
call fcn.100c1494
push 0x100fcb24
lea ecx, [ebp - 0x68]
call fcn.100c1130
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x14
call fcn.100c1494
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x11
call fcn.100c1067
lea eax, [ebp - 0x4d4]
lea ecx, [ebp - 0x34]
push eax
call fcn.100c1458
push edi
lea ecx, [ebp - 0x60]
call fcn.100c1130
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.100c12a6
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.100c12a6
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x17
call fcn.100c11ae
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x16
call fcn.100c1067
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x15
call fcn.100c1067
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x11
call fcn.100c1067
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
call fcn.100c0dd4
call fcn.10004a7c
pop ecx
push edi
lea ecx, [ebp - 0x5c]
call fcn.100c1130
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x18
call fcn.100c1494
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x11
call fcn.100c1067
lea eax, [ebp - 0x4d4]
lea ecx, [ebp - 0x1c]
push eax
jmp 0x10020c7d
push edi
lea ecx, [ebp - 0x50]
call fcn.100c1130
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.100c12a6
lea ecx, [ebp - 0x4d4]
mov byte [ebp - 4], 0x1a
push ecx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100c130c
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1b
call fcn.100c11ae
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1a
call fcn.100c1067
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x19
call fcn.100c1067
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x11
call fcn.100c1067
lea eax, [ebp - 0x4d4]
lea ecx, [ebp - 0x34]
push eax
call fcn.100c1458
push str..tmp
lea ecx, [ebp - 0x54]
call fcn.100c1130
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100c12a6
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1e
call fcn.100c1067
push str..bak
lea ecx, [ebp - 0x18]
call fcn.100c1130
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100c12a6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x21
call fcn.100c1067
lea ecx, [ebp - 0x10de4]
call fcn.10061ccd
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x22
call fcn.100c14ac
push eax
push ebx
lea ecx, [ebp - 0x34]
call fcn.100c14ac
push eax
lea ecx, [ebp - 0x10de4]
call fcn.10062ae9
test al, al
je 0x10020d6e
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0xb
push dword [ebp - 0x1c]
push dword [ebp - 0x44]
call esi
test eax, eax
setne al
cmp al, bl
jne 0x10020d4a
push dword [ebp - 0x4c]
mov byte [ebp - 0x2a], 1
call fcn.1003238b
pop ecx
push 0xb
push dword [ebp - 0x4c]
push dword [ebp - 0x1c]
call esi
push 0xb
push dword [ebp - 0x1c]
push dword [ebp - 0x44]
call esi
lea eax, [ebp - 0x8d4]
push eax
push ecx
lea eax, [ebp - 0x4d4]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
call fcn.100039ab
mov ecx, dword [0x1010992c]
call fcn.100089d4
lea ecx, [ebp - 0x10de4]
mov byte [ebp - 4], 0x21
call fcn.1006252f
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1e
call fcn.100c1067
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x11
call fcn.100c1067
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x10
call fcn.100c1067
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.100c1067
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.100c1067
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x28]
jl 0x100208fa
push dword [ebp - 0x30]
call fcn.1003238b
cmp byte [ebp - 0x2a], bl
pop ecx
jne 0x10020de6
mov al, byte [ebp + 0xf]
sub esp, 0x10
mov dword [ebp + 8], esp
mov edi, esp
jmp 0x100208b2
mov al, byte [ebp + 0xf]
sub esp, 0x10
mov edi, esp
mov dword [ebp - 0x40], esp
push ebx
mov ecx, edi
mov byte [edi], al
call fcn.10002424
mov esi, 0x100fcaf0
push esi
call fcn.10030730
pop ecx
push eax
push esi
mov ecx, edi
call fcn.100036bc
call fcn.10020ec0
mov ecx, dword [ebp - 0x20]
add esp, 0x10
push eax
push dword [ebp + 0xc]
call fcn.100203a3
mov eax, dword [ebp + 8]
push ebx
push 2
push 0x111
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp + 8]
push eax
call fcn.100c6099
mov esi, dword [eax]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x23
push eax
call fcn.100203d7
mov eax, dword [eax]
push 5
push esi
push ebx
push eax
push 0x100fb344
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 0xc]
call fcn.100c1067
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.100c1067
lea ecx, [ebp - 0x8d5c]
mov byte [ebp - 4], 5
call fcn.1006252f
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.100c1067
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.100c1067
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100c1067
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8