Function at 0x42ded0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x522928
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x56e910]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x56e910]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x579ad4]
test eax, eax
jne 0x42df59
push 0x628
call fcn.004e45e1
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x78], 0
test esi, esi
je 0x42df4a
push 0x628
push 0
push esi
call fcn.004ef520
add esp, 0xc
mov ecx, esi
call fcn.00409790
jmp 0x42df4c
xor eax, eax
mov dword [esp + 0x78], 0xffffffff
mov dword [0x579ad4], eax
add eax, 0x288
push eax
call fcn.004433f0
mov edx, dword [ebx]
lea ecx, [esp + 0x54]
add esp, 4
mov edx, dword [edx + 0x548]
call fcn.00406d20
push 1
push 0x54e3ec
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], 1
call fcn.00404920
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x14]
call fcn.00406d20
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 2
call fcn.00404a00
mov byte [esp + 0x78], 1
cmp dword [esp + 0x28], 8
jb 0x42dfcd
push dword [esp + 0x14]
call fcn.00488e20
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
mov eax, dword [0x579bd0]
mov dword [esp + 0x24], 0
test eax, eax
jne 0x42e019
push 0x58
call fcn.004e45e1
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x78], 3
test eax, eax
je 0x42e00d
mov ecx, eax
call fcn.004023a0
jmp 0x42e00f
xor eax, eax
mov byte [esp + 0x78], 1
mov dword [0x579bd0], eax
mov al, byte [eax + 0x3c]
mov edx, str._res
test al, al
mov ecx, str._aws
cmove edx, ecx
cmp word [edx], 0
jne 0x42e035
xor ecx, ecx
jmp 0x42e04f
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e040
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.00404920
mov eax, dword [0x579bd0]
test eax, eax
jne 0x42e08f
push 0x58
call fcn.004e45e1
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x78], 4
test eax, eax
je 0x42e083
mov ecx, eax
call fcn.004023a0
jmp 0x42e085
xor eax, eax
mov byte [esp + 0x78], 1
mov dword [0x579bd0], eax
mov al, byte [eax + 0x3d]
mov edx, 0x552674
test al, al
mov ecx, str._Curl
cmove edx, ecx
cmp word [edx], 0
jne 0x42e0ab
xor ecx, ecx
jmp 0x42e0bf
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e0b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.00404920
push 0x1b
xor eax, eax
mov dword [esp + 0x2c], 7
push str.cancel_download_downloading
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00405110
mov byte [esp + 0x78], 5
mov eax, dword [0x579ad4]
test eax, eax
jne 0x42e140
push 0x628
call fcn.004e45e1
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 6
test esi, esi
je 0x42e134
push 0x628
push 0
push esi
call fcn.004ef520
add esp, 0xc
mov ecx, esi
call fcn.00409790
jmp 0x42e136
xor eax, eax
mov byte [esp + 0x78], 5
mov dword [0x579ad4], eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.0040c650
mov edi, eax
mov byte [esp + 0x78], 7
mov eax, dword [0x579ad4]
test eax, eax
jne 0x42e19d
push 0x628
call fcn.004e45e1
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 8
test esi, esi
je 0x42e191
push 0x628
push 0
push esi
call fcn.004ef520
add esp, 0xc
mov ecx, esi
call fcn.00409790
jmp 0x42e193
xor eax, eax
mov byte [esp + 0x78], 7
mov dword [0x579ad4], eax
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00413950
cmp dword [esp + 0x40], 8
jb 0x42e1bd
push dword [esp + 0x2c]
call fcn.00488e20
add esp, 4
xor eax, eax
mov byte [esp + 0x78], 1
cmp dword [esp + 0x28], 8
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
jb 0x42e1ec
push dword [esp + 0x14]
call fcn.00488e20
add esp, 4
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x38], ax
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
call fcn.00404d50
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x28], esi
mov dword [esi + 0x10], 0
push 0x24
mov byte [esp + 0x94], 0xa
call fcn.004e45e1
add esp, 4
test eax, eax
jne 0x42e245
call fcn.004e2d13
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x94], 0xc
push ecx
mov ecx, eax
call fcn.00436d50
push str.cancel_download
mov ecx, 0x579b10
mov dword [esi + 0x10], eax
mov byte [esp + 0x94], 9
call fcn.00427980
mov byte [esp + 0x78], 1
cmp dword [esp + 0x44], 8
jb 0x42e294
push dword [esp + 0x30]
call fcn.00488e20
add esp, 4
mov ecx, dword [ebx]
push 0
call fcn.00466750
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [esp + 0x64], 8
jb 0x42e2bf
push dword [esp + 0x50]
call fcn.00488e20
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004e45d2
mov esp, ebp
pop ebp
ret