Function at 0x40a18c
Capabilities:
Check if file exists
Copy file
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov eax, dword [0x433eb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x298]
push ebx
push eax
mov dword [ebp - 0x268], ebx
call fcn.00409ca0
lea eax, [ebp - 0x29c]
push ebx
push eax
call fcn.00409baa
add esp, 0x10
push 0x42b554
lea ecx, [ebp - 0x2a8]
call fcn.00409815
mov eax, dword [ebp - 0x298]
mov eax, dword [eax - 0xc]
mov ecx, dword [ebp - 0x2a8]
sub eax, dword [ecx - 0xc]
lea ecx, [ebp - 0x298]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.0040879d
push dword [0x4333d4]
lea ecx, [ebp - 0x25c]
call fcn.004094d1
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.00408a67
mov ecx, dword [ebp - 0x25c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00407b82
push dword [0x4333e0]
lea ecx, [ebp - 0x25c]
call fcn.004094d1
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.00408a67
mov ecx, dword [ebp - 0x25c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00407b82
mov esi, 0x433e8c
push esi
lea ecx, [ebp - 0x24c]
call fcn.0040820a
push esi
lea ecx, [ebp - 0x290]
call fcn.0040820a
mov byte [ebp - 0x25d], 1
mov byte [ebp - 0x24d], bl
mov byte [ebp - 0x245], bl
xor edi, edi
push dword [0x4333d4]
lea ecx, [ebp - 0x25c]
call fcn.004094d1
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00408a67
mov eax, dword [eax]
add esp, 0xc
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00407b82
mov ecx, dword [ebp - 0x25c]
add ecx, 0xfffffff0
call fcn.00407b82
cmp esi, 0xffffffff
jne 0x40a370
cmp edi, 0xa
jne 0x40a35c
push dword [0x4333d4]
lea ecx, [ebp - 0x288]
call fcn.00406f70
push ebx
push ebx
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00405b70
pop ecx
pop ecx
push eax
call fcn.004059a0
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.00402b00
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x14
jl 0x40a2af
jmp 0x40a37e
push esi
mov byte [ebp - 0x245], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov dword [ebp - 0x264], eax
mov edi, 0x42b530
cmp dword [ebp + 8], eax
jle 0x40a426
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x264]
lea esi, [eax + ecx*4]
mov eax, dword [esi]
mov ecx, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a3ce
cmp dx, bx
je 0x40a3ca
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a3ce
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x40a3a8
xor eax, eax
jmp 0x40a3d3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40a3df
mov byte [ebp - 0x25d], bl
jmp 0x40a411
push 0x43048c
call fcn.00407d9c
pop ecx
push eax
push 0x43048c
lea ecx, [ebp - 0x290]
call fcn.004087df
mov esi, dword [esi]
push esi
call fcn.00407d9c
pop ecx
push eax
push esi
lea ecx, [ebp - 0x290]
call fcn.004087df
inc dword [ebp - 0x264]
mov eax, dword [ebp - 0x264]
cmp eax, dword [ebp + 8]
jl 0x40a395
mov esi, 0x42b6a0
cmp byte [ebp - 0x245], bl
je 0x40acee
call fcn.00409d08
test al, al
je 0x40acee
call fcn.004090c6
test al, al
jne 0x40a6d4
cmp byte [ebp - 0x25d], bl
je 0x40a6d4
push dword [ebp - 0x254]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a5aa
push ebx
push str.UCBrowserSvc
call fcn.00407c95
pop ecx
pop ecx
test al, al
je 0x40a5aa
push str.____hide
lea eax, [ebp - 0x290]
push eax
push edi
push 0x42b8a4
lea eax, [ebp - 0x29c]
push eax
push str.____run__
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x274]
push esi
push eax
call fcn.00408add
add esp, 0xc
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.00408aa0
add esp, 0xc
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00408a67
add esp, 0xc
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00408aa0
add esp, 0xc
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00408aa0
add esp, 0xc
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00408a67
add esp, 0xc
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00408aa0
add esp, 0xc
push eax
lea ecx, [ebp - 0x24c]
call fcn.00408b18
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x25c]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x280]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x2a4]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00407b82
push 1
push ebx
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00407f92
add esp, 0x10
test eax, eax
je 0x40b0d1
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.00404f10
cmp eax, 3
jl 0x40a607
call fcn.00401d00
test al, al
je 0x40a607
push str.task.ini
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x274]
push eax
mov dword [ebp - 0x268], 1
call fcn.00408aa0
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00408080
add esp, 0x14
mov byte [ebp - 0x245], 1
test al, al
jne 0x40a60d
mov byte [ebp - 0x245], bl
test byte [ebp - 0x268], 1
je 0x40a62b
mov ecx, dword [ebp - 0x274]
and dword [ebp - 0x268], 0xfffffffe
add ecx, 0xfffffff0
call fcn.00407b82
cmp byte [ebp - 0x245], bl
je 0x40a6d4
push str.task.ini
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.00408aa0
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004080e3
mov ecx, dword [ebp - 0x274]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.00407b82
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x274]
push edi
push eax
call fcn.00408add
add esp, 0xc
push eax
lea ecx, [ebp - 0x24c]
call fcn.00408b18
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00407b82
mov edi, dword [ebp - 0x24c]
push ebx
push ebx
push edi
push dword [ebp - 0x29c]
push str.runas
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x40a6d4
mov ecx, dword [ebp - 0x290]
add ecx, 0xfffffff0
call fcn.00407b82
lea ecx, [edi - 0x10]
jmp 0x40b0e8
call fcn.004090c6
test al, al
je 0x40acee
push ecx
lea eax, [ebp - 0x279]
mov dword [ebp - 0x284], esp
push eax
lea ecx, [ebp - 0x21c]
call fcn.00408647
call fcn.0040b797
mov dword [ebp - 0x284], eax
mov byte [ebp - 0x245], bl
mov dword [ebp - 0x25c], ebx
cmp eax, ebx
jle 0x40a91e
mov edi, dword [ebp - 0x25c]
lea edi, [edi*4 + 0x4333ec]
push dword [edi]
lea ecx, [ebp - 0x270]
call fcn.004094d1
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00408a67
mov ecx, dword [ebp - 0x270]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00407b82
push dword [edi]
lea ecx, [ebp - 0x26c]
call fcn.004094d1
lea eax, [ebp - 0x26c]
push eax
push str.new_
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.00408aa0
add esp, 0xc
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00408a67
mov ecx, dword [ebp - 0x274]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00407b82
lea eax, [ebp - 0x280]
push eax
call fcn.0040802e
pop ecx
test al, al
je 0x40a8b9
mov eax, dword [str.UCService.exe]
mov edi, dword [edi]
mov cl, byte [edi]
cmp cl, byte [eax]
jne 0x40a7f5
cmp cl, bl
je 0x40a7f1
mov cl, byte [edi + 1]
cmp cl, byte [eax + 1]
jne 0x40a7f5
add edi, 2
add eax, 2
cmp cl, bl
jne 0x40a7d5
xor eax, eax
jmp 0x40a7fa
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
lea eax, [ebp - 0x280]
push eax
jne 0x40a85b
lea eax, [ebp - 0x2ac]
push eax
call fcn.0040965a
pop ecx
pop ecx
push dword [eax]
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.0040965a
pop ecx
pop ecx
mov ecx, eax
call fcn.00408195
mov ecx, dword [ebp - 0x2a4]
test eax, eax
setne byte [ebp - 0x245]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x2ac]
add ecx, 0xfffffff0
call fcn.00407b82
jmp 0x40a8ea
lea eax, [ebp - 0x278]
push eax
call fcn.0040965a
pop ecx
pop ecx
push dword [eax]
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.0040965a
pop ecx
pop ecx
mov ecx, eax
call fcn.00408195
mov ecx, dword [ebp - 0x294]
neg eax
sbb al, al
inc al
add ecx, 0xfffffff0
mov byte [ebp - 0x279], al
call fcn.00407b82
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.00407b82
cmp byte [ebp - 0x279], bl
jne 0x40a8ea
jmp 0x40a8ca
lea eax, [ebp - 0x280]
push eax
call fcn.00408057
pop ecx
test al, al
je 0x40a8ea
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040a0ec
lea ecx, [ebp - 0x280]
push ecx
mov ecx, eax
call fcn.00408b18
mov ecx, dword [ebp - 0x280]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.00407b82
inc dword [ebp - 0x25c]
mov eax, dword [ebp - 0x25c]
cmp eax, dword [ebp - 0x284]
jl 0x40a719
cmp dword [ebp - 0x214], ebx
jbe 0x40aadd
lea ecx, [ebp - 0x21c]
call fcn.00408f6e
test al, al
je 0x40aad2
mov byte [ebp - 0x24d], 1
cmp byte [ebp - 0x245], bl
je 0x40aad2
push dword [0x4333e0]
lea ecx, [ebp - 0x26c]
call fcn.004094d1
lea eax, [ebp - 0x26c]
push eax
push str.new_
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00408aa0
add esp, 0xc
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00408a67
mov ecx, dword [ebp - 0x284]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00407b82
push dword [ebp - 0x254]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, str..bak
test eax, eax
je 0x40a9fe
or dword [ebp - 0x268], 2
push edi
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00408aa0
mov eax, dword [eax]
add esp, 0xc
push 9
push eax
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 0x245], 1
test eax, eax
je 0x40aa04
mov byte [ebp - 0x245], bl
test byte [ebp - 0x268], 2
je 0x40aa1b
mov ecx, dword [ebp - 0x284]
add ecx, 0xfffffff0
call fcn.00407b82
cmp byte [ebp - 0x245], bl
jne 0x40aab3
push ebx
push dword [ebp - 0x254]
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x40aac4
push edi
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00408aa0
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x284]
add ecx, 0xfffffff0
mov dword [ebp - 0x278], eax
call fcn.00407b82
cmp dword [ebp - 0x278], ebx
je 0x40aab3
push edi
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00408aa0
mov eax, dword [eax]
add esp, 0xc
push 9
push dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x284]
add ecx, 0xfffffff0
call fcn.00407b82
lea ecx, [ebp - 0x21c]
call fcn.00408ba2
mov byte [ebp - 0x24d], bl
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.00407b82
lea ecx, [ebp - 0x21c]
call fcn.00408f96
lea ecx, [ebp - 0x21c]
call fcn.0040a167
cmp byte [ebp - 0x24d], bl
je 0x40acee
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004137b0
lea eax, [ebp - 0x20c]
push eax
push str.UC_assistant_Service
call fcn.00407c95
add esp, 0x14
test al, al
je 0x40acee
push esi
call fcn.00407d9c
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24c]
call fcn.004088a7
lea eax, [ebp - 0x20c]
push eax
call fcn.00407d9c
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004087df
mov edi, str.___uninstall
push edi
call fcn.00407d9c
pop ecx
push eax
push edi
lea ecx, [ebp - 0x24c]
call fcn.004087df
push 1
push ebx
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00407f92
add esp, 0x10
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x40acee
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00409815
mov edi, 0x42b61c
push edi
call fcn.00407d9c
pop ecx
push eax
push edi
lea ecx, [ebp - 0x268]
call fcn.004087df
mov edi, str.monconfig.xml
push edi
call fcn.00407d9c
pop ecx
push eax
push edi
lea ecx, [ebp - 0x268]
call fcn.004087df
push dword [ebp - 0x268]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ac11
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 7
pop edi
xor eax, eax
push str.adevicehelpermon.exe
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], ebx
mov word [ebp - 0x228], ax
call fcn.00402a10
push ebx
lea eax, [ebp - 0x228]
push ebx
push eax
call fcn.004059a0
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.00402b00
xor eax, eax
push str.adevicehelpersvr.exe
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], ebx
mov word [ebp - 0x228], ax
call fcn.00402a10
push ebx
lea eax, [ebp - 0x228]
push ebx
push eax
call fcn.004059a0
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.00402b00
xor eax, eax
push str.PPAdbServer.exe
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], ebx
mov word [ebp - 0x228], ax
call fcn.00402a10
push ebx
lea eax, [ebp - 0x228]
push ebx
push eax
call fcn.004059a0
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.00402b00
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00407b82
push dword [ebp - 0x2a0]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x40adb2
lea eax, [ebp - 0x290]
push eax
push esi
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x294]
push esi
push eax
call fcn.00408add
add esp, 0xc
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00408aa0
add esp, 0xc
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00408a67
add esp, 0xc
push eax
lea ecx, [ebp - 0x24c]
call fcn.00408b18
mov ecx, dword [ebp - 0x284]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x294]
add ecx, 0xfffffff0
call fcn.00407b82
lea eax, [ebp - 0x258]
cmp byte [ebp - 0x25d], bl
je 0x40ad99
push ebx
push 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00407f92
jmp 0x40adaf
push 1
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.004090ec
add esp, 0x10
cmp byte [ebp - 0x24d], bl
je 0x40b0d1
push dword [ebp - 0x254]
call edi
test eax, eax
je 0x40ae9a
push str..bak
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.00408aa0
push ebx
push str.UCBrowserSvc
call fcn.00407c95
add esp, 0x14
test al, al
lea eax, [ebp - 0x254]
je 0x40ae05
push str.____update
jmp 0x40ae0a
push str.____install___start
push eax
lea eax, [ebp - 0x278]
push esi
push eax
call fcn.00408add
add esp, 0xc
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00408aa0
add esp, 0xc
push eax
lea ecx, [ebp - 0x24c]
call fcn.00408b18
mov ecx, dword [ebp - 0x284]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.00407b82
push 1
push ebx
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00407f92
mov edi, dword [ebp - 0x294]
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ae92
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40ae92
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [edi - 0x10]
call fcn.00407b82
call fcn.0040b7ad
xor edi, edi
mov dword [ebp - 0x2a4], eax
cmp eax, ebx
jle 0x40afcf
push dword [edi*4 + 0x4333e4]
lea ecx, [ebp - 0x26c]
call fcn.004094d1
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x294]
push 0x42b61c
push eax
call fcn.00408ed1
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00408a67
add esp, 0x10
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00408aa0
add esp, 0xc
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00408a67
mov ecx, dword [ebp - 0x284]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x294]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00407b82
push str.____update
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x274]
push esi
push eax
call fcn.00408add
add esp, 0xc
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.00408aa0
add esp, 0xc
push eax
lea ecx, [ebp - 0x24c]
call fcn.00408b18
mov ecx, dword [ebp - 0x2ac]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00407b82
push ebx
push ebx
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00407f92
mov ecx, dword [ebp - 0x270]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00407b82
inc edi
cmp edi, dword [ebp - 0x2a4]
jl 0x40aeaf
lea eax, [ebp - 0x284]
push eax
call fcn.00408ed1
push dword [eax]
lea eax, [ebp - 0x24c]
push str.ver:_s_url:http:__mmstat.ucweb.com_bluesky.1.2.1.1.15
push eax
call fcn.00408b8e
mov ecx, dword [ebp - 0x284]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00407b82
push dword [ebp - 0x24c]
lea eax, [ebp - 0x244]
push eax
call fcn.0040d79a
mov esi, eax
mov eax, dword [esi + 0x10]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041208e
mov edi, eax
mov eax, dword [esi + 0x10]
lea eax, [eax + eax + 2]
push eax
push ebx
push edi
call fcn.004137b0
mov eax, dword [esi + 0x10]
add esp, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x40b04a
mov esi, dword [esi]
lea ecx, [eax + eax + 2]
push ecx
push edi
inc eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
lea ecx, [ebp - 0x228]
call fcn.00406f20
push edi
call fcn.00413bdb
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x244]
call fcn.004012b0
cmp dword [ebp - 0x218], ebx
je 0x40b0c3
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x28c], str.stats_uploader.exe
mov dword [ebp - 0x288], str.normal_stats
jae 0x40b0ad
lea eax, [ebp - 0x228]
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x28c]
push eax
push 3
call fcn.0040b4f1
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.00402b00
mov ecx, dword [ebp - 0x290]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x24c]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x254]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x2a0]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x258]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x2a8]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x29c]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 0x298]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004134fa
leave
ret