Function at 0x419060
Capabilities:
Delete file
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4be3f7
mov eax, dword fs:[0]
push eax
sub esp, 0x780
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x778], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x794]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7a8]
mov ebp, dword [esp + 0x7a4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7ac]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x7b0]
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], edx
cmp dword [ebp + 0x24], ebx
jne 0x4190f0
call fcn.00447720
push str.workthreadisnull
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
jmp 0x419cfe
mov eax, dword [ebp + 0x20]
cmp dword [eax], ebx
je 0x41910e
push 0x4eb2dc
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], 0x80800000
call fcn.004a1a26
push 0x206
lea eax, [esp + 0x58a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x590], dx
call fcn.0049ca10
lea ecx, [esp + 0x590]
add esp, 0xc
push ecx
mov ecx, 0x104
call fcn.00405180
mov ecx, dword [ebp + 0x30]
add esp, 4
lea edx, [esp + 0x38]
push edx
mov edx, dword [ebp + 0x28]
lea edi, [esp + 0x588]
call fcn.00413400
mov dword [esp + 0x79c], ebx
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], 0
push 0x3f
lea eax, [esp + 0x549]
push ebx
push eax
mov byte [esp + 0x550], 0
call fcn.0049ca10
mov eax, dword [ebp + 0xc]
add esp, 0xc
push eax
lea ecx, [esp + 0x420]
call fcn.00448a70
lea ecx, [esp + 0x41c]
push ecx
lea edi, [esp + 0x548]
mov byte [esp + 0x7a0], 2
call fcn.00408230
mov eax, dword [ebp + 0x34]
add esp, 4
lea edx, [esp + 0x68]
push edx
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 + 0x44], esp
lea edx, [ecx + 2]
mov di, word [ecx]
add ecx, 2
cmp di, bx
jne 0x4191e5
sub ecx, edx
sar ecx, 1
push ecx
call fcn.00405e30
call fcn.0041a930
lea ecx, [esp + 0x2f4]
call fcn.00448930
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x2f4]
push edx
push eax
mov byte [esp + 0x7a4], 3
call fcn.00416db0
push 1
lea ecx, [esp + 0x3c]
push ecx
mov ecx, str.p2p_AutoUpBegin1
call fcn.00413470
push ebp
call fcn.0041aa10
mov dword [esp + 0x28], edx
mov ebx, eax
xor edx, edx
push 0x38
mov eax, str.UpProduct::Download_bySgDownloaderSoda_AutoUp_sharetime:
lea esi, [esp + 0x50]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], dx
call fcn.00405e30
mov byte [esp + 0x79c], 4
mov eax, dword [ebp + 0x38]
mov ecx, eax
lea edx, [ecx + 2]
lea esp, [esp]
mov si, word [ecx]
add ecx, 2
test si, si
jne 0x419280
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [esp + 0x50]
call fcn.0041b8c0
call fcn.00410c20
lea ecx, [esp + 0xa4]
call fcn.00448930
mov byte [esp + 0x79c], 5
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jne 0x419463
mov ecx, dword [esp + 0x1c]
mov byte [ecx], 1
call fcn.00418790
mov ebx, 0x4dcdc4
xor edx, edx
cmp edx, ebx
jne 0x4192db
mov ebx, 0x4d6464
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4192e0
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0xac]
mov dword [esp + 0xa8], eax
call fcn.004495a0
cmp byte [esp + 0x1c0], 0
lea eax, [esp + 0xb0]
jne 0x41931f
mov eax, dword [esp + 0xac]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebx
push eax
call fcn.0049c670
add esp, 0xc
cmp byte [esp + 0x1c0], 0
lea eax, [esp + 0xb0]
jne 0x419348
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 0x1c]
push 1
push 1
lea edx, [eax + 4]
push str.UrlConfigError
lea eax, [esp + 0x44]
push eax
call fcn.004137c0
mov ecx, dword [esp + 0x20]
call fcn.00447720
push 0x4dcce8
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
cmp byte [esp + 0x1c0], 0
mov esi, vtable.t_str.0
mov dword [esp + 0xa4], esi
jne 0x4193b3
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xb0]
cmp eax, ecx
je 0x4193b3
push eax
call fcn.00498f5b
add esp, 4
cmp dword [esp + 0x64], 8
jb 0x4193c7
mov edx, dword [esp + 0x50]
push edx
call fcn.00498355
add esp, 4
xor eax, eax
xor edi, edi
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], edi
mov word [esp + 0x50], ax
mov dword [esp + 0x2f4], esi
cmp byte [esp + 0x410], al
jne 0x419407
mov eax, dword [esp + 0x2fc]
lea ecx, [esp + 0x300]
cmp eax, ecx
je 0x419407
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x538], 0
mov dword [esp + 0x41c], esi
jne 0x419433
mov eax, dword [esp + 0x424]
lea edx, [esp + 0x428]
cmp eax, edx
je 0x419433
push eax
call fcn.00498f5b
add esp, 4
cmp dword [esp + 0x80], 0x10
jb 0x41944a
mov eax, dword [esp + 0x6c]
push eax
call fcn.00498355
add esp, 4
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], edi
mov byte [esp + 0x6c], 0
jmp 0x419ce9
push ebp
call fcn.0041ab20
mov edx, dword [esp + 0x30]
push edx
lea esi, [esp + 0x1d0]
mov edi, eax
call fcn.00446ee0
mov byte [esp + 0x79c], 6
cmp byte [eax + 0x11c], 0
lea ecx, [eax + 0xc]
jne 0x419493
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 8]
push edi
push edx
push 0x41b810
add ecx, 4
push ecx
push eax
lea eax, [esp + 0x558]
push eax
push ebx
push 0xe
call fcn.0045e740
mov byte [esp + 0x7bc], 5
add esp, 0x20
cmp byte [esp + 0x2e8], 0
mov ebx, vtable.t_str.0
movzx esi, al
mov dword [esp + 0x1cc], ebx
jne 0x4194f4
mov eax, dword [esp + 0x1d4]
lea ecx, [esp + 0x1d8]
cmp eax, ecx
je 0x4194f4
push eax
call fcn.00498f5b
add esp, 4
push str.uptoDstVer
lea eax, [esp + 0xa8]
call fcn.00448d00
cmp byte [esp + 0x410], 0
lea eax, [esp + 0x300]
jne 0x41951d
mov eax, dword [esp + 0x2fc]
add eax, 4
push eax
lea eax, [esp + 0xa8]
call fcn.00448d00
test esi, esi
je 0x419577
push str.p2p_AutoUp_dlok
lea eax, [esp + 0xa8]
call fcn.00448d00
lea ecx, [esp + 0x1cc]
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 + 0x1d8]
call fcn.00449010
add esp, 0xc
lea edx, [esp + 0xa4]
push edx
jmp 0x4195be
call fcn.00418790
push str.p2p_AutoUp_dlfail
lea eax, [esp + 0xa8]
call fcn.00448d00
lea ecx, [esp + 0x1cc]
call fcn.00448930
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + 0x30]
push 0xffffffffffffffff
push eax
push str.errcode_ddlmode_d
lea edi, [esp + 0x1d8]
call fcn.00449010
add esp, 0xc
lea ecx, [esp + 0xa4]
push ecx
lea eax, [esp + 0x1d0]
call fcn.00448cd0
lea ecx, [esp + 0x1cc]
call fcn.004444f0
cmp byte [esp + 0x7b4], 0
je 0x4196ef
xor eax, eax
cmp esi, eax
jne 0x41983a
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
jmp 0x419600
mov ecx, dword [ebp + 0x20]
lea edi, [esp + 0x84]
call fcn.0040f100
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0x30]
push eax
lea esi, [esp + 0x1d0]
call fcn.00446ee0
mov byte [esp + 0x79c], 8
cmp byte [eax + 0x11c], 0
mov edx, dword [ebp + 0xc]
je 0x41964f
add eax, 0xc
jmp 0x419652
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 8]
push edx
add eax, 4
push eax
push ecx
lea ecx, [esp + 0x90]
call fcn.0041ba60
test al, al
sete bl
cmp byte [esp + 0x2e8], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x41969c
mov eax, dword [esp + 0x1d4]
lea ecx, [esp + 0x1d8]
cmp eax, ecx
je 0x41969c
push eax
call fcn.00498f5b
add esp, 4
mov byte [esp + 0x79c], 5
lea esi, [esp + 0x84]
test bl, bl
je 0x4196c8
call fcn.00416420
mov eax, dword [esp + 0x34]
inc eax
cmp eax, 3
mov dword [esp + 0x34], eax
jl 0x419600
jmp 0x4196d5
mov dword [esp + 0x24], 1
call fcn.00416420
push str.sodabylibcurl
lea eax, [esp + 0xa8]
call fcn.00448d00
mov esi, dword [esp + 0x24]
mov ebx, vtable.t_str.0
xor edi, edi
cmp esi, edi
jne 0x41983a
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
push edi
mov byte [edx], 1
call fcn.00444b40
cmp byte [esp + 0x1c0], 0
lea eax, [esp + 0xb0]
jne 0x419722
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x1c]
push 1
push 1
lea edx, [eax + 4]
push str.sgDownloader
lea eax, [esp + 0x44]
push eax
call fcn.004137c0
mov ecx, dword [esp + 0x20]
call fcn.00447720
push 0x4dcce8
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
cmp byte [esp + 0x1c0], 0
mov dword [esp + 0xa4], ebx
jne 0x419788
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xb0]
cmp eax, ecx
je 0x419788
push eax
call fcn.00498f5b
add esp, 4
cmp dword [esp + 0x64], 8
jb 0x41979c
mov edx, dword [esp + 0x50]
push edx
call fcn.00498355
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], edi
mov word [esp + 0x50], ax
mov dword [esp + 0x2f4], ebx
cmp byte [esp + 0x410], al
jne 0x4197da
mov eax, dword [esp + 0x2fc]
lea ecx, [esp + 0x300]
cmp eax, ecx
je 0x4197da
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x538], 0
mov dword [esp + 0x41c], ebx
jne 0x419806
mov eax, dword [esp + 0x424]
lea edx, [esp + 0x428]
cmp eax, edx
je 0x419806
push eax
call fcn.00498f5b
add esp, 4
cmp dword [esp + 0x80], 0x10
jb 0x41944a
mov eax, dword [esp + 0x6c]
push eax
call fcn.00498355
add esp, 4
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], edi
mov byte [esp + 0x6c], 0
jmp 0x419ce9
cmp byte [esp + 0x1c0], 0
lea eax, [esp + 0xb0]
jne 0x419852
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 0x1c]
push 1
push 1
lea edx, [eax + 4]
push str.sgDownloader
lea eax, [esp + 0x44]
push eax
call fcn.004137c0
xor bl, bl
test esi, esi
je 0x419c9e
lea ecx, [esp + 0x1cc]
call fcn.00448930
mov edi, dword [ebp + 0xc]
sub esp, 0x124
mov esi, esp
mov ecx, esi
mov dword [esp + 0x148], esp
call fcn.00448930
mov eax, dword [esp + 0x154]
cmp byte [eax + 0x11c], bl
je 0x4198b2
add eax, 0xc
jmp 0x4198b5
mov eax, dword [eax + 8]
add eax, 4
mov edx, esi
call fcn.00448b50
mov byte [esp + 0x8c0], 9
call fcn.00409440
add esp, 0x124
test al, al
jne 0x419991
mov ecx, dword [esp + 0x1c]
push ebp
lea edi, [esp + 0x28]
mov byte [ecx], 1
call fcn.00414140
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, edi
call fcn.004035c0
mov eax, str.FileMd5OK_CheckFailed
lea ecx, [esp + 0x84]
call fcn.00405520
mov byte [esp + 0x79c], 0xd
mov ebp, dword [ebp + 0x38]
lea edx, [esp + 0x84]
push edx
mov eax, ebp
call fcn.0041b890
call fcn.00410c20
mov ecx, dword [esp + 0x20]
push 0x4dccf4
call fcn.004032e0
lea esi, [esp + 0x84]
call fcn.00403250
lea ecx, [esp + 0x1cc]
call fcn.004444f0
lea ecx, [esp + 0xa4]
call fcn.004444f0
lea esi, [esp + 0x4c]
call fcn.00403250
lea ecx, [esp + 0x2f4]
call fcn.004444f0
lea ecx, [esp + 0x41c]
call fcn.004444f0
lea ecx, [esp + 0x68]
call fcn.004054d0
lea eax, [esp + 0x38]
push eax
jmp 0x419cee
call fcn.00405440
test al, al
jne 0x419a5f
mov ecx, fcn.00422e20
test ecx, ecx
je 0x419c6d
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x419c6d
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
push edi
push esi
push ebp
mov ebp, dword [esp + 0x2c]
push edx
push ebp
call fcn.00422e20
test al, al
jne 0x4199f3
mov byte [esi], 1
xor bl, bl
cmp dword [edi], 0
jne 0x419c71
push 0x4dc978
mov ecx, ebp
call fcn.004032e0
jmp 0x419945
mov byte [esi], 0
cmp dword [edi], 0
mov bl, 1
jne 0x419c71
lea ecx, [esp + 0x1cc]
call fcn.004444f0
lea ecx, [esp + 0xa4]
call fcn.004444f0
lea esi, [esp + 0x4c]
call fcn.00403250
lea ecx, [esp + 0x2f4]
call fcn.004444f0
lea ecx, [esp + 0x41c]
call fcn.004444f0
lea ecx, [esp + 0x68]
call fcn.004054d0
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x7a0], 0xffffffff
call fcn.00413b70
mov al, 1
jmp 0x419d00
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x419c6d
mov edi, dword [eax + 4]
mov edx, dword [edi + 4]
push 0
push 0
push 0x50a
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [ebp + 0x24]
call fcn.00413360
cmp byte [edi + 0x7e8], 0
je 0x419c08
mov eax, dword [esp + 0x1c]
mov esi, edi
mov byte [eax], 0
call fcn.0040c580
mov ebx, 0x4d6464
lea esi, [esp + 0x34]
call fcn.004035f0
lea esi, [esp + 0x24]
mov byte [esp + 0x79c], 0xe
call fcn.004035f0
mov eax, dword [esp + 0x2c]
push 0
push 5
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x2c]
mov edx, esi
push edx
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x7b4], 0xf
call fcn.0041ad20
test al, al
sete bl
call fcn.004035c0
lea esi, [esp + 0x34]
mov byte [esp + 0x79c], 9
call fcn.004035c0
test bl, bl
je 0x419bf2
mov esi, edi
call fcn.0040c5c0
mov edx, dword [esp + 0x1c]
mov byte [edx], 1
cmp dword [edi + 4], 0
je 0x419b98
mov eax, dword [edi + 0x94]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebp
mov ebx, 0x4dc814
lea esi, [esp + 0x24]
call fcn.004035f0
mov eax, esi
mov esi, edi
mov byte [esp + 0x79c], 0x10
call fcn.0040ba10
lea esi, [esp + 0x24]
mov byte [esp + 0x79c], 9
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 ecx, dword [edi + 4]
push 0
push ecx
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x20]
push 0x4dcbec
call fcn.004032e0
lea ecx, [esp + 0x1cc]
call fcn.004444f0
lea ecx, [esp + 0xa4]
call fcn.004444f0
lea esi, [esp + 0x4c]
call fcn.00403250
lea ecx, [esp + 0x2f4]
call fcn.004444f0
lea ecx, [esp + 0x41c]
call fcn.004444f0
lea ecx, [esp + 0x68]
call fcn.004054d0
lea edx, [esp + 0x38]
push edx
jmp 0x419cee
mov eax, 2
call fcn.0040e5b0
mov eax, dword [esp + 0x1c]
mov byte [eax], 0
jmp 0x419a01
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1cc]
mov byte [edx], 1
call fcn.004444f0
lea ecx, [esp + 0xa4]
call fcn.004444f0
lea esi, [esp + 0x4c]
call fcn.00403250
lea ecx, [esp + 0x2f4]
call fcn.004444f0
lea ecx, [esp + 0x41c]
call fcn.004444f0
lea ecx, [esp + 0x68]
call fcn.004054d0
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x7a0], 0xffffffff
call fcn.00413b70
mov al, 1
jmp 0x419d00
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x79c], 5
call fcn.004444f0
test bl, bl
jne 0x419a0d
push 0x4dc978
mov ecx, ebp
call fcn.004032e0
jmp 0x419bb2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 0x4dcd10
mov byte [eax], 1
call fcn.004032e0
lea ecx, [esp + 0xa4]
call fcn.004444f0
lea esi, [esp + 0x4c]
call fcn.00403250
lea ecx, [esp + 0x2f4]
call fcn.004444f0
lea ecx, [esp + 0x41c]
call fcn.004444f0
lea ecx, [esp + 0x68]
call fcn.004054d0
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x7a0], 0xffffffff
call fcn.00413b70
xor al, al
mov ecx, dword [esp + 0x794]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x778]
xor ecx, esp
call fcn.00497c58
add esp, 0x78c
ret 0x14