Function at 0x419d30
Capabilities:
Delete file
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4be321
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x528], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x544]
mov dword fs:[0], eax
mov eax, dword [esp + 0x558]
mov ebp, dword [esp + 0x554]
mov dword [esp + 0x38], eax
or eax, 0xffffffff
xor ebx, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
cmp dword [ebp + 0x24], ebx
jne 0x419d97
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x20]
cmp dword [eax], ebx
je 0x419db5
push 0x4eb2dc
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x80800000
call fcn.004a1a26
push 0x206
lea eax, [esp + 0x33a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x340], dx
call fcn.0049ca10
lea ecx, [esp + 0x340]
add esp, 0xc
push ecx
mov ecx, 0x104
call fcn.00405180
mov ecx, dword [ebp + 0x30]
add esp, 4
lea edx, [esp + 0x3c]
push edx
mov edx, dword [ebp + 0x28]
lea edi, [esp + 0x338]
call fcn.00413400
mov dword [esp + 0x54c], ebx
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], 0
push 0x3f
lea eax, [esp + 0x2f9]
push ebx
mov byte [esp + 0x554], 1
push eax
mov byte [esp + 0x300], 0
call fcn.0049ca10
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 8]
add esp, 0xc
cmp ecx, ebx
jle 0x419ea3
push eax
lea ecx, [esp + 0xa8]
call fcn.00448a70
lea ecx, [esp + 0xa4]
push ecx
lea edi, [esp + 0x2f8]
call fcn.00408230
add esp, 4
cmp byte [esp + 0x1c0], 0
mov dword [esp + 0xa4], vtable.t_str.0
jne 0x419ea3
mov eax, dword [esp + 0xac]
lea edx, [esp + 0xb0]
cmp eax, edx
je 0x419ea3
push eax
call fcn.00498f5b
add esp, 4
lea eax, [esp + 0x88]
push eax
mov eax, dword [ebp + 0x34]
sub esp, 0x1c
mov esi, esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], cx
mov ecx, eax
mov dword [esp + 0x3c], esp
lea edx, [ecx + 2]
lea esp, [esp]
mov di, word [ecx]
add ecx, 2
cmp di, bx
jne 0x419ed0
sub ecx, edx
sar ecx, 1
push ecx
call fcn.00405e30
call fcn.0041a930
push 1
lea edx, [esp + 0x40]
push edx
mov ecx, str.p2p_ManualUpBegin1
call fcn.00413470
push ebp
call fcn.0041aa10
mov dword [esp + 0x2c], eax
xor eax, eax
mov word [esp + 0x70], ax
push 0x3a
mov eax, str.UpProduct::Download_bySgDownloaderSoda_ManualUp_sharetime:
lea esi, [esp + 0x70]
mov dword [esp + 0x34], edx
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
call fcn.00405e30
mov byte [esp + 0x54c], 2
mov eax, dword [ebp + 0x38]
mov ecx, eax
lea edx, [ecx + 2]
mov si, word [ecx]
add ecx, 2
cmp si, bx
jne 0x419f42
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [esp + 0x70]
call fcn.0041b8c0
call fcn.00410c20
mov eax, dword [ebp + 0x24]
xor edi, edi
cmp eax, ebx
je 0x419f6c
mov edi, dword [eax + 4]
push ebp
call fcn.0041ab20
mov ecx, dword [esp + 0x20]
push ecx
lea esi, [esp + 0xa8]
mov dword [esp + 0x20], eax
call fcn.00446ee0
mov byte [esp + 0x54c], 3
cmp byte [eax + 0x11c], 0
lea ebx, [eax + 0xc]
jne 0x419f9e
mov ebx, dword [eax + 8]
mov eax, dword [0x501bbc]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x419fc7
push 0x20a
call fcn.00498bee
add esp, 4
test eax, eax
je 0x419fc0
mov byte [eax], 0
jmp 0x419fc2
xor eax, eax
mov dword [0x501bbc], eax
mov edx, dword [esp + 0x1c]
push edx
push edi
push esi
lea edx, [esp + 0x300]
push edx
mov edx, dword [esp + 0x3c]
push edx
push 0xf
lea ecx, [ebx + 4]
push eax
mov edx, 0x41b600
call fcn.0045d680
cmp byte [esp + 0x1c0], 0
movzx esi, al
mov dword [esp + 0x2c], esi
mov dword [esp + 0xa4], vtable.t_str.0
jne 0x41a022
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xb0]
cmp eax, ecx
je 0x41a022
push eax
call fcn.00498f5b
add esp, 4
lea ecx, [esp + 0x1cc]
call fcn.00448930
mov byte [esp + 0x54c], 4
test esi, esi
je 0x41a124
mov ebx, str.p2p_ManualUp_dlok
xor edx, edx
cmp edx, ebx
jne 0x41a04e
mov ebx, 0x4d6464
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a053
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x1d4]
mov dword [esp + 0x1d0], eax
call fcn.004495a0
cmp byte [esp + 0x2e8], 0
lea eax, [esp + 0x1d8]
jne 0x41a092
mov eax, dword [esp + 0x1d4]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebx
push eax
call fcn.0049c670
add esp, 0xc
lea ecx, [esp + 0xa4]
call fcn.00448930
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
push ecx
push eax
push str.errcode_ddlmode_d
lea edi, [esp + 0xb0]
call fcn.00449010
add esp, 0xc
cmp byte [esp + 0x1c0], 0
lea eax, [esp + 0xb0]
jne 0x41a0e6
mov eax, dword [esp + 0xac]
add eax, 4
push eax
lea eax, [esp + 0x1d0]
call fcn.00448d00
cmp byte [esp + 0x1c0], 0
mov dword [esp + 0xa4], vtable.t_str.0
jne 0x41a211
mov eax, dword [esp + 0xac]
lea edx, [esp + 0xb0]
cmp eax, edx
jmp 0x41a206
call fcn.00418790
mov ebx, str.p2p_ManualUp_dlfail
xor eax, eax
cmp eax, ebx
jne 0x41a139
mov ebx, 0x4d6464
mov eax, ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a140
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x1d4]
mov dword [esp + 0x1d0], eax
call fcn.004495a0
cmp byte [esp + 0x2e8], 0
lea eax, [esp + 0x1d8]
jne 0x41a17f
mov eax, dword [esp + 0x1d4]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebx
push eax
call fcn.0049c670
add esp, 0xc
lea ecx, [esp + 0xa4]
call fcn.00448930
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + 0x30]
push 0xffffffffffffffff
push eax
push str.errcode_ddlmode_d
lea edi, [esp + 0xb0]
call fcn.00449010
add esp, 0xc
cmp byte [esp + 0x1c0], 0
lea eax, [esp + 0xb0]
jne 0x41a1d1
mov eax, dword [esp + 0xac]
add eax, 4
push eax
lea eax, [esp + 0x1d0]
call fcn.00448d00
cmp byte [esp + 0x1c0], 0
mov dword [esp + 0xa4], vtable.t_str.0
jne 0x41a211
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xb0]
cmp eax, ecx
je 0x41a211
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x55c], 0
je 0x41a391
mov esi, dword [esp + 0x2c]
xor eax, eax
cmp esi, eax
jne 0x41a539
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
jmp 0x41a240
mov ecx, dword [ebp + 0x20]
lea edi, [esp + 0x4c]
call fcn.0040f100
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x20]
push eax
lea esi, [esp + 0xa8]
call fcn.00446ee0
mov byte [esp + 0x54c], 6
cmp byte [eax + 0x11c], 0
mov edx, dword [ebp + 0xc]
je 0x41a286
add eax, 0xc
jmp 0x41a289
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 8]
push edx
add eax, 4
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.0041ba60
test al, al
sete bl
cmp byte [esp + 0x1c0], 0
mov dword [esp + 0xa4], vtable.t_str.0
jne 0x41a2d0
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xb0]
cmp eax, ecx
je 0x41a2d0
push eax
call fcn.00498f5b
add esp, 4
mov byte [esp + 0x54c], 4
mov eax, dword [esp + 0x4c]
test bl, bl
je 0x41a336
test eax, eax
je 0x41a2ed
push eax
call sym.PinyinUp.exe_curl_easy_cleanup
add esp, 4
mov eax, dword [esp + 0x50]
lea edx, [eax - 0xc]
mov dword [esp + 0x4c], 0
cmp edx, 0x4f9f74
je 0x41a322
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41a322
mov eax, dword [esp + 0x50]
add eax, 0xfffffff4
push eax
call fcn.00498b08
add esp, 4
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 3
mov dword [esp + 0x1c], eax
jl 0x41a240
jmp 0x41a380
mov dword [esp + 0x2c], 1
test eax, eax
je 0x41a34b
push eax
call sym.PinyinUp.exe_curl_easy_cleanup
add esp, 4
mov eax, dword [esp + 0x50]
lea ecx, [eax - 0xc]
mov dword [esp + 0x4c], 0
cmp ecx, 0x4f9f74
je 0x41a380
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41a380
mov eax, dword [esp + 0x50]
add eax, 0xfffffff4
push eax
call fcn.00498b08
add esp, 4
push str.sodabylibcurl
lea eax, [esp + 0x1d0]
call fcn.00448d00
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x41a539
cmp byte [esp + 0x2e8], 0
lea eax, [esp + 0x1d8]
jne 0x41a3b5
mov eax, dword [esp + 0x1d4]
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0x1c]
push 1
push 1
lea edx, [eax + 4]
push str.sgDownloader
lea eax, [esp + 0x48]
push eax
call fcn.004137c0
mov ecx, dword [ebp + 0x24]
mov edi, dword [ecx + 4]
test edi, edi
je 0x41a484
cmp dword [edi + 4], 0
je 0x41a484
mov edx, dword [edi + 0x94]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call ebp
mov ebx, 0x4dcfc4
lea esi, [esp + 0x1c]
call fcn.004035f0
mov eax, esi
mov esi, edi
mov byte [esp + 0x54c], 7
call fcn.0040ba10
mov byte [esp + 0x54c], 4
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x41a448
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41a448
push esi
call fcn.00498b08
add esp, 4
mov esi, edi
call fcn.0040b710
push str.quitevent
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x41a46c
mov dword [edi + 0xc0], esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [edi + 4]
push 0
push edx
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x2e8], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x41a4b4
mov eax, dword [esp + 0x1d4]
lea ecx, [esp + 0x1d8]
cmp eax, ecx
je 0x41a4b4
push eax
call fcn.00498f5b
add esp, 4
cmp dword [esp + 0x84], 8
jb 0x41a4cb
mov edx, dword [esp + 0x70]
push edx
call fcn.00498355
add esp, 4
xor esi, esi
xor eax, eax
cmp dword [esp + 0xa0], 0x10
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], esi
mov word [esp + 0x70], ax
jb 0x41a500
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00498355
add esp, 4
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], esi
mov byte [esp + 0x90], 0
mov dword [esp + 0x550], 0xffffffff
call fcn.00413b70
mov eax, 0xfffffffe
jmp 0x41a7f1
cmp byte [esp + 0x2e8], 0
lea eax, [esp + 0x1d8]
jne 0x41a551
mov eax, dword [esp + 0x1d4]
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebx + 0x1c]
push 1
push 1
lea edx, [eax + 4]
push str.sgDownloader
lea eax, [esp + 0x48]
push eax
call fcn.004137c0
test esi, esi
je 0x41a91c
mov edi, dword [ebp + 0xc]
sub esp, 0x124
mov esi, esp
mov ecx, esi
mov dword [esp + 0x140], esp
call fcn.00448930
mov eax, dword [esp + 0x144]
cmp byte [eax + 0x11c], 0
je 0x41a5a4
add eax, 0xc
jmp 0x41a5a7
mov eax, dword [eax + 8]
add eax, 4
mov edx, esi
call fcn.00448b50
mov byte [esp + 0x670], 4
call fcn.00409440
add esp, 0x124
test al, al
je 0x41a81b
mov ecx, fcn.0041ad20
test ecx, ecx
je 0x41a742
xor esi, esi
cmp dword [ebp + 0x24], esi
je 0x41a742
mov eax, ebx
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
call fcn.00421460
mov edx, dword [ebp + 0x24]
mov edi, dword [edx + 4]
cmp edi, esi
je 0x41a61a
cmp dword [edi + 4], esi
je 0x41a61a
mov eax, dword [edi + 0x94]
push esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, edi
call fcn.0040c580
mov ebx, 0x4d6464
lea esi, [esp + 0x20]
call fcn.004035f0
lea esi, [esp + 0x1c]
mov byte [esp + 0x54c], 0xb
call fcn.004035f0
mov eax, dword [esp + 0x28]
push 0
push 5
lea ecx, [esp + 0x28]
push ecx
mov edx, esi
push edx
mov byte [esp + 0x55c], 0xc
mov ecx, dword [esp + 0x48]
push eax
push ecx
mov ecx, ebp
call fcn.0041ad20
test al, al
sete bl
call fcn.004035c0
lea esi, [esp + 0x20]
mov byte [esp + 0x54c], 4
call fcn.004035c0
lea eax, [esp + 0x1cc]
test bl, bl
je 0x41a71a
push str.p2p_ManualUp_installfailed
call fcn.00448d00
test edi, edi
je 0x41a710
cmp dword [edi + 4], 0
je 0x41a710
mov esi, edi
call fcn.0040c5c0
mov ebx, 0x4dcc04
lea esi, [esp + 0x1c]
call fcn.004035f0
mov eax, esi
mov esi, edi
mov byte [esp + 0x54c], 0xd
call fcn.0040ba10
lea esi, [esp + 0x1c]
mov byte [esp + 0x54c], 4
call fcn.004035c0
mov esi, edi
call fcn.0040b710
push str.quitevent
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, edi
mov esi, eax
call fcn.0040c600
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [edi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x24], 0xfffffffe
jmp 0x41a742
push str.p2p_Manual_installok
call fcn.00448d00
mov ebp, dword [ebp + 0x24]
test ebp, ebp
je 0x41a73a
mov ebp, dword [ebp + 4]
mov eax, dword [ebp + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esp + 0x24], 0
cmp byte [esp + 0x2e8], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x41a772
mov eax, dword [esp + 0x1d4]
lea ecx, [esp + 0x1d8]
cmp eax, ecx
je 0x41a772
push eax
call fcn.00498f5b
add esp, 4
cmp dword [esp + 0x84], 8
jb 0x41a789
mov edx, dword [esp + 0x70]
push edx
call fcn.00498355
add esp, 4
xor esi, esi
xor eax, eax
cmp dword [esp + 0xa0], 0x10
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], esi
mov word [esp + 0x70], ax
jb 0x41a7be
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00498355
add esp, 4
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], esi
mov byte [esp + 0x90], 0
mov dword [esp + 0x550], 0xffffffff
call fcn.00413b70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x544]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x528]
xor ecx, esp
call fcn.00497c58
add esp, 0x53c
ret 0xc
mov ecx, dword [ebp + 0x24]
mov edi, dword [ecx + 4]
test edi, edi
je 0x41a8b3
cmp dword [edi + 4], 0
je 0x41a8b3
mov edx, dword [edi + 0x94]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 0x4dcfc4
lea esi, [esp + 0x1c]
call fcn.004035f0
mov eax, esi
mov esi, edi
mov byte [esp + 0x54c], 0xe
call fcn.0040ba10
lea esi, [esp + 0x1c]
mov byte [esp + 0x54c], 4
call fcn.004035c0
mov esi, edi
call fcn.0040b710
push str.quitevent
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, edi
mov esi, eax
call fcn.0040c600
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x28]
push str.p2p_Manual_md5checkfailed
lea eax, [esp + 0x1d0]
call fcn.00448d00
cmp byte [esp + 0x2e8], 0
lea eax, [esp + 0x1d8]
jne 0x41a8dc
mov eax, dword [esp + 0x1d4]
mov ecx, dword [ebx + 0x1c]
push 0xffffffffffffffff
push 1
lea edx, [eax + 4]
push str.p2p_ManualUp1
lea eax, [esp + 0x48]
push eax
call fcn.004137c0
push ebp
lea edi, [esp + 0x3c]
call fcn.00414140
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, edi
call fcn.004035c0
mov dword [esp + 0x24], 0xfffffffd
jmp 0x41a742
mov dword [esp + 0x24], 0xfffffffc
jmp 0x41a742