Function at 0x42a210
Capabilities:
Delete file
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d5a1
mov eax, dword fs:[0]
push eax
sub esp, 0x4fc
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x500], ebx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x4fc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4d8], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x4e0], edi
cmp dword [eax], 0
je 0x42a284
push 0x5c080c
lea eax, [ebp - 0x4d8]
mov dword [ebp - 0x4d8], 0x80800000
push eax
call fcn.004da58d
push 0x208
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.004d9fe0
add esp, 0xc
lea ecx, [ebp - 0x258]
call fcn.0041ecd0
mov eax, dword [0x5c6ad0]
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x28]
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x258]
push eax
mov dword [ebp - 0x4f4], ecx
mov dword [ebp - 0x4f0], edx
mov word [ebp - 0x4ec], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea ecx, [ebp - 0x4f8]
push esi
mov dword [ebp - 0x4dc], esi
call fcn.00413c20
test eax, eax
je 0x42a326
lea edi, [esi + esi]
mov esi, dword [ebp - 0x4f8]
push edi
lea eax, [ebp - 0x258]
push eax
push esi
call fcn.004d9a60
mov eax, dword [ebp - 0x4dc]
add esp, 0xc
mov dword [esi - 8], eax
xor eax, eax
mov word [esi + edi], ax
mov edi, dword [ebp - 0x4e0]
mov dword [ebp - 0x4e8], 0
mov dword [ebp - 0x4e4], 0
push 0x40
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004d9fe0
mov eax, dword [ebx + 0xc]
add esp, 0xc
cmp dword [eax - 8], 0
jle 0x42a3a0
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0044fe90
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x4d0]
call fcn.00436db0
cmp byte [ebp - 0x3b4], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x42a3a0
mov eax, dword [ebp - 0x4c8]
lea ecx, [ebp - 0x4c4]
cmp eax, ecx
je 0x42a3a0
push eax
call fcn.004e1b56
add esp, 4
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], 0
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 2
mov esi, dword [ebx + 0x34]
mov ecx, esi
push eax
sub esp, 0x18
xor eax, eax
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x4dc], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a3f0
sub ecx, dword [ebp - 0x4dc]
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00413520
call fcn.0042ae70
push 1
push str.p2p_ManualUpBegin1
lea ecx, [ebp - 0x4f8]
call fcn.00423b10
mov ecx, ebx
call fcn.0042af40
mov dword [ebp - 0x4dc], eax
lea ecx, [ebp - 0x288]
push 0x3a
xor eax, eax
mov dword [ebp - 0x278], 0
push str.UpProduct::Download_bySgDownloaderSoda_ManualUp_sharetime:
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
call fcn.00413520
mov byte [ebp - 4], 3
mov edx, dword [ebx + 0x38]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a470
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x288]
call fcn.0042c750
call fcn.00420710
mov ecx, ebx
call fcn.0042b080
lea ecx, [ebp - 0x3ac]
mov esi, eax
call fcn.0044fd40
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4d8]
cmp byte [eax + 0x11c], 0
je 0x42a4bd
add eax, 0xc
jmp 0x42a4c0
mov eax, dword [eax + 8]
push esi
push dword [ebp - 0x4dc]
lea ecx, [ebp - 0x50]
add eax, 4
push ecx
push eax
push dword [ebx + 8]
call fcn.0048b0f0
mov ecx, eax
call fcn.0048bdd0
mov byte [ebp - 0x4d2], al
test al, al
je 0x42a539
push 0x12
lea ecx, [ebp - 0x3a4]
mov dword [ebp - 0x3a8], 0x11
call fcn.00450b00
cmp byte [ebp - 0x290], 0
lea eax, [ebp - 0x3a0]
push 0x24
cmove eax, dword [ebp - 0x3a4]
add eax, 4
push str.p2p_ManualUp_dlok
push eax
call fcn.004d9a60
add esp, 0xc
lea ecx, [ebp - 0x4d0]
call fcn.0044fd40
mov eax, dword [ebx + 0x24]
push dword [eax + 0x38]
jmp 0x42a58c
call fcn.00429b00
push 0x14
lea ecx, [ebp - 0x3a4]
mov dword [ebp - 0x3a8], 0x13
call fcn.00450b00
cmp byte [ebp - 0x290], 0
lea eax, [ebp - 0x3a0]
push 0x28
cmove eax, dword [ebp - 0x3a4]
add eax, 4
push str.p2p_ManualUp_dlfail
push eax
call fcn.004d9a60
add esp, 0xc
lea ecx, [ebp - 0x4d0]
call fcn.0044fd40
mov eax, dword [ebx + 0x24]
push 0xffffffffffffffff
push dword [eax + 0x30]
lea eax, [ebp - 0x4d0]
push str.errcode_ddlmode_d
push eax
call fcn.004505a0
add esp, 0x10
lea eax, [ebp - 0x4c4]
cmp byte [ebp - 0x3b4], 0
lea ecx, [ebp - 0x3ac]
cmove eax, dword [ebp - 0x4c8]
add eax, 4
push eax
call fcn.00450150
cmp byte [ebp - 0x3b4], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x42a5f2
mov eax, dword [ebp - 0x4c8]
lea ecx, [ebp - 0x4c4]
cmp eax, ecx
je 0x42a5f2
push eax
call fcn.004e1b56
add esp, 4
cmp byte [ebp + 0x24], 0
je 0x42a6d8
cmp byte [ebp - 0x4d2], 0
jne 0x42a8d7
xor esi, esi
mov byte [ebp - 0x4d2], 0
push ecx
push dword [ebx + 0x20]
lea ecx, [ebp - 0x30]
call fcn.0041a1b0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0
push dword [ebp - 0x4d8]
lea ecx, [ebp - 0x4d0]
call fcn.0044fdf0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x4c4]
cmp byte [ebp - 0x3b4], 0
lea ecx, [ebp - 0x30]
push dword [ebx + 0xc]
cmove eax, dword [ebp - 0x4c8]
add eax, 4
push eax
push dword [ebx + 8]
call fcn.0042c890
test al, al
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
sete cl
cmp byte [ebp - 0x3b4], 0
mov byte [ebp - 0x4d1], cl
jne 0x42a6a0
mov eax, dword [ebp - 0x4c8]
lea edx, [ebp - 0x4c4]
cmp eax, edx
je 0x42a6a0
push eax
call fcn.004e1b56
mov cl, byte [ebp - 0x4d1]
add esp, 4
test cl, cl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
je 0x42a6bc
call fcn.00426e60
inc esi
cmp esi, 3
jl 0x42a612
jmp 0x42a6c8
mov byte [ebp - 0x4d2], 1
call fcn.00426e60
push str.sodabylibcurl
lea ecx, [ebp - 0x3ac]
call fcn.00450150
cmp byte [ebp - 0x4d2], 0
jne 0x42a8d7
cmp byte [ebp - 0x290], 0
lea eax, [ebp - 0x3a0]
push 1
cmove eax, dword [ebp - 0x3a4]
lea ecx, [ebp - 0x4f8]
push 1
add eax, 4
push eax
push dword [edi + 0x140]
push str.sgDownloader
call fcn.00423e70
mov eax, dword [ebx + 0x24]
mov edi, dword [eax + 4]
test edi, edi
je 0x42a82f
cmp dword [edi + 4], 0
je 0x42a82f
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x94]
call ebx
mov esi, dword [0x5c6ad0]
mov ecx, 0x595edc
mov eax, ecx
mov dword [ebp - 0x4dc], esi
shr eax, 0x10
test eax, eax
jne 0x42a770
movzx eax, cx
lea ecx, [ebp - 0x4dc]
push eax
call fcn.00413df0
mov esi, dword [ebp - 0x4dc]
jmp 0x42a7b0
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x595edc
call eax
mov ebx, eax
test ebx, ebx
je 0x42a7aa
push ebx
lea ecx, [ebp - 0x4dc]
call fcn.00413af0
mov esi, dword [ebp - 0x4dc]
test eax, eax
je 0x42a7aa
lea eax, [ebx + ebx]
push eax
push 0x595edc
push esi
call fcn.004d9a60
add esp, 0xc
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x4dc]
mov byte [ebp - 4], 7
push eax
mov ecx, edi
call fcn.00417150
lea eax, [esi - 0xc]
mov byte [ebp - 4], 4
cmp eax, 0x5c6ad4
je 0x42a7e7
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42a7e7
push esi
call fcn.004d71b8
add esp, 4
mov ecx, edi
call fcn.00417100
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42a82f
push str.quitevent
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x42a818
mov dword [edi + 0xc0], esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push dword [edi + 4]
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x290], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x42a85b
mov eax, dword [ebp - 0x3a4]
lea ecx, [ebp - 0x3a0]
cmp eax, ecx
je 0x42a85b
push eax
call fcn.004e1b56
add esp, 4
lea ecx, [ebp - 0x288]
call fcn.004134c0
mov eax, dword [ebp - 0x25c]
cmp eax, 0x10
jb 0x42a8a2
mov ecx, dword [ebp - 0x270]
inc eax
cmp eax, 0x1000
jb 0x42a899
test cl, 0x1f
jne 0x42a8d2
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x42a8d2
sub ecx, eax
cmp ecx, 4
jb 0x42a8d2
cmp ecx, 0x23
ja 0x42a8d2
mov ecx, eax
push ecx
call fcn.004d6cf8
add esp, 4
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], 0
call fcn.00424270
mov eax, 0xfffffffe
jmp 0x42ae45
call fcn.004e1d90
cmp byte [ebp - 0x290], 0
lea eax, [ebp - 0x3a0]
push 1
cmove eax, dword [ebp - 0x3a4]
lea ecx, [ebp - 0x4f8]
push 1
add eax, 4
push eax
push dword [edi + 0x140]
push str.sgDownloader
call fcn.00423e70
xor al, al
mov byte [ebp - 0x4d1], al
cmp byte [ebp - 0x4d2], al
je 0x42ad83
mov esi, dword [ebx + 0xc]
sub esp, 0x124
mov ecx, esp
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x4d8]
call fcn.00451900
mov ecx, esi
call fcn.00439320
add esp, 0x124
test al, al
je 0x42abfa
cmp dword [ebx + 0x24], 0
je 0x42ad8a
mov ecx, edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0043a770
mov eax, dword [ebx + 0x24]
mov edi, dword [eax + 4]
test edi, edi
je 0x42a9a3
cmp dword [edi + 4], 0
je 0x42a9a3
push 0
push dword [edi + 0x94]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00417c70
mov eax, dword [0x5c6ad0]
mov ecx, 0x5920ac
mov dword [ebp - 0x4d8], eax
mov eax, ecx
shr eax, 0x10
test eax, eax
jne 0x42a9cd
movzx eax, cx
lea ecx, [ebp - 0x4d8]
push eax
call fcn.00413df0
jmp 0x42aa06
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5920ac
call eax
mov esi, eax
test esi, esi
je 0x42aa06
push esi
lea ecx, [ebp - 0x4d8]
call fcn.00413af0
test eax, eax
je 0x42aa06
lea eax, [esi + esi]
push eax
push 0x5920ac
push dword [ebp - 0x4d8]
call fcn.004d9a60
add esp, 0xc
mov byte [ebp - 4], 8
mov ecx, str._S__M
mov eax, dword [0x5c6ad0]
mov dword [ebp - 0x4dc], eax
mov eax, ecx
shr eax, 0x10
test eax, eax
jne 0x42aa34
movzx eax, cx
lea ecx, [ebp - 0x4dc]
push eax
call fcn.00413df0
jmp 0x42aa6c
push str._S__M
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x42aa6c
push esi
lea ecx, [ebp - 0x4dc]
call fcn.00413af0
test eax, eax
je 0x42aa6c
lea eax, [esi + esi]
push eax
push str._S__M
push dword [ebp - 0x4dc]
call fcn.004d9a60
add esp, 0xc
push 0
push 5
lea eax, [ebp - 0x4d8]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x4dc]
mov ecx, ebx
push eax
mov eax, dword [ebp - 0x4e0]
push eax
push dword [ebp - 0x4fc]
call fcn.0042b2c0
lea ecx, [ebp - 0x4dc]
mov bl, al
call fcn.00413c80
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 4], 4
call fcn.00413c80
lea ecx, [ebp - 0x3ac]
test bl, bl
jne 0x42abc1
push str.p2p_ManualUp_installfailed
mov byte [ebp - 0x4d1], bl
call fcn.00450150
test edi, edi
je 0x42abb7
cmp dword [edi + 4], 0
je 0x42abb7
mov ecx, edi
call fcn.00417cb0
mov eax, dword [0x5c6ad0]
mov ecx, 0x595d24
mov dword [ebp - 0x4d8], eax
mov eax, ecx
shr eax, 0x10
test eax, eax
jne 0x42ab13
movzx eax, cx
lea ecx, [ebp - 0x4d8]
push eax
call fcn.00413df0
jmp 0x42ab4b
push 0x595d24
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x42ab4b
push esi
lea ecx, [ebp - 0x4d8]
call fcn.00413af0
test eax, eax
je 0x42ab4b
lea eax, [esi + esi]
push eax
push 0x595d24
push dword [ebp - 0x4d8]
call fcn.004d9a60
add esp, 0xc
lea eax, [ebp - 0x4d8]
mov byte [ebp - 4], 0xa
push eax
mov ecx, edi
call fcn.00417150
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 4], 4
call fcn.00413c80
mov ecx, edi
call fcn.00417100
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42abb7
push str.quitevent
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
mov ecx, edi
push esi
call fcn.00417cf0
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 4]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xfffffffe
jmp 0x42ad8d
push str.p2p_Manual_installok
call fcn.00450150
mov eax, dword [ebp - 0x500]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x42abf0
mov eax, dword [eax + 4]
test eax, eax
je 0x42abf0
mov eax, dword [eax + 4]
test eax, eax
je 0x42abf0
push 0
push eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
mov al, 1
or ecx, 0xffffffff
jmp 0x42ad93
mov eax, dword [ebx + 0x24]
mov edi, dword [eax + 4]
test edi, edi
je 0x42aced
cmp dword [edi + 4], 0
je 0x42aced
push 0
push dword [edi + 0x94]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5c6ad0]
mov ecx, 0x595edc
mov dword [ebp - 0x4d8], eax
mov eax, ecx
shr eax, 0x10
test eax, eax
jne 0x42ac4a
movzx eax, cx
lea ecx, [ebp - 0x4d8]
push eax
call fcn.00413df0
jmp 0x42ac82
push 0x595edc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x42ac82
push esi
lea ecx, [ebp - 0x4d8]
call fcn.00413af0
test eax, eax
je 0x42ac82
lea eax, [esi + esi]
push eax
push 0x595edc
push dword [ebp - 0x4d8]
call fcn.004d9a60
add esp, 0xc
lea eax, [ebp - 0x4d8]
mov byte [ebp - 4], 0xb
push eax
mov ecx, edi
call fcn.00417150
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 4], 4
call fcn.00413c80
mov ecx, edi
call fcn.00417100
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42aced
push str.quitevent
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
mov ecx, edi
push esi
call fcn.00417cf0
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.p2p_Manual_md5checkfailed
lea ecx, [ebp - 0x3ac]
call fcn.00450150
cmp byte [ebp - 0x290], 0
lea eax, [ebp - 0x3a0]
push 0xffffffffffffffff
cmove eax, dword [ebp - 0x3a4]
lea ecx, [ebp - 0x4f8]
push 1
add eax, 4
push eax
mov eax, dword [ebp - 0x4e0]
push dword [eax + 0x140]
push str.p2p_ManualUp1
call fcn.00423e70
lea eax, [ebp - 0x4e0]
mov ecx, ebx
push eax
call fcn.00424940
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x4e0]
lea ecx, [eax - 0xc]
cmp ecx, 0x5c6ad4
je 0x42ad7c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42ad7c
mov eax, dword [ebp - 0x4e0]
add eax, 0xfffffff4
push eax
call fcn.004d71b8
add esp, 4
mov ecx, 0xfffffffd
jmp 0x42ad8d
mov ecx, 0xfffffffc
jmp 0x42ad93
or ecx, 0xffffffff
mov al, byte [ebp - 0x4d1]
xor esi, esi
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
test al, al
cmove esi, ecx
cmp byte [ebp - 0x290], 0
jne 0x42adc6
mov eax, dword [ebp - 0x3a4]
lea ecx, [ebp - 0x3a0]
cmp eax, ecx
je 0x42adc6
push eax
call fcn.004e1b56
add esp, 4
lea ecx, [ebp - 0x288]
call fcn.004134c0
mov eax, dword [ebp - 0x25c]
cmp eax, 0x10
jb 0x42ae1d
mov ecx, dword [ebp - 0x270]
inc eax
cmp eax, 0x1000
jb 0x42ae14
test cl, 0x1f
jne 0x42a8d2
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x42a8d2
sub ecx, eax
cmp ecx, 4
jb 0x42a8d2
cmp ecx, 0x23
ja 0x42a8d2
mov ecx, eax
push ecx
call fcn.004d6cf8
add esp, 4
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], 0
call fcn.00424270
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 0x20