Function at 0x42b350
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51e148
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x569910]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x569910]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x574774]
test eax, eax
jne 0x42b3d9
push 0x5b8
call fcn.004e0231
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x78], 0
test esi, esi
je 0x42b3ca
push 0x5b8
push 0
push esi
call fcn.004eb090
add esp, 0xc
mov ecx, esi
call fcn.004091a0
jmp 0x42b3cc
xor eax, eax
mov dword [esp + 0x78], 0xffffffff
mov dword [0x574774], eax
add eax, 0x230
push eax
call fcn.0043f380
mov edx, dword [ebx]
lea ecx, [esp + 0x54]
add esp, 4
mov edx, dword [edx + 0x548]
call fcn.00406970
push 1
push 0x54a474
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], 1
call fcn.00404530
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x14]
call fcn.00406970
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 2
call fcn.00404610
mov byte [esp + 0x78], 1
cmp dword [esp + 0x28], 8
jb 0x42b44d
push dword [esp + 0x14]
call fcn.00489d40
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
mov eax, dword [0x574870]
mov dword [esp + 0x24], 0
test eax, eax
jne 0x42b499
push 0x58
call fcn.004e0231
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x78], 3
test eax, eax
je 0x42b48d
mov ecx, eax
call fcn.004022e0
jmp 0x42b48f
xor eax, eax
mov byte [esp + 0x78], 1
mov dword [0x574870], 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 0x42b4b5
xor ecx, ecx
jmp 0x42b4cf
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b4c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.00404530
mov eax, dword [0x574870]
test eax, eax
jne 0x42b50f
push 0x58
call fcn.004e0231
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x78], 4
test eax, eax
je 0x42b503
mov ecx, eax
call fcn.004022e0
jmp 0x42b505
xor eax, eax
mov byte [esp + 0x78], 1
mov dword [0x574870], eax
mov al, byte [eax + 0x3d]
mov edx, 0x54e51c
test al, al
mov ecx, str._Curl
cmove edx, ecx
cmp word [edx], 0
jne 0x42b52b
xor ecx, ecx
jmp 0x42b53f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b530
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.00404530
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.00404d10
mov byte [esp + 0x78], 5
mov eax, dword [0x574774]
test eax, eax
jne 0x42b5c0
push 0x5b8
call fcn.004e0231
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 6
test esi, esi
je 0x42b5b4
push 0x5b8
push 0
push esi
call fcn.004eb090
add esp, 0xc
mov ecx, esi
call fcn.004091a0
jmp 0x42b5b6
xor eax, eax
mov byte [esp + 0x78], 5
mov dword [0x574774], eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.0040be50
mov edi, eax
mov byte [esp + 0x78], 7
mov eax, dword [0x574774]
test eax, eax
jne 0x42b61d
push 0x5b8
call fcn.004e0231
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 8
test esi, esi
je 0x42b611
push 0x5b8
push 0
push esi
call fcn.004eb090
add esp, 0xc
mov ecx, esi
call fcn.004091a0
jmp 0x42b613
xor eax, eax
mov byte [esp + 0x78], 7
mov dword [0x574774], eax
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00411ab0
cmp dword [esp + 0x40], 8
jb 0x42b63d
push dword [esp + 0x2c]
call fcn.00489d40
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 0x42b66c
push dword [esp + 0x14]
call fcn.00489d40
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.00404950
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.004e0231
add esp, 4
test eax, eax
jne 0x42b6c5
call fcn.004de963
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.00433130
push str.cancel_download
mov ecx, 0x5747b0
mov dword [esi + 0x10], eax
mov byte [esp + 0x94], 9
call fcn.00425190
mov byte [esp + 0x78], 1
cmp dword [esp + 0x44], 8
jb 0x42b714
push dword [esp + 0x30]
call fcn.00489d40
add esp, 4
mov ecx, dword [ebx]
push 0
call fcn.0046e860
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [esp + 0x64], 8
jb 0x42b73f
push dword [esp + 0x50]
call fcn.00489d40
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.004e0222
mov esp, ebp
pop ebp
ret