Function at 0x42c7b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51f6f8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x56b910]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x56b910]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x5767d4]
test eax, eax
jne 0x42c839
push 0x5b8
call fcn.004e1655
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x78], 0
test esi, esi
je 0x42c82a
push 0x5b8
push 0
push esi
call fcn.004ec520
add esp, 0xc
mov ecx, esi
call fcn.00409270
jmp 0x42c82c
xor eax, eax
mov dword [esp + 0x78], 0xffffffff
mov dword [0x5767d4], eax
add eax, 0x230
push eax
call fcn.004407d0
mov edx, dword [ebx]
lea ecx, [esp + 0x54]
add esp, 4
mov edx, dword [edx + 0x548]
call fcn.00406a40
push 1
push 0x54b57c
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], 1
call fcn.00404600
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x14]
call fcn.00406a40
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 2
call fcn.004046e0
mov byte [esp + 0x78], 1
cmp dword [esp + 0x28], 8
jb 0x42c8ad
push dword [esp + 0x14]
call fcn.0048b1b0
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
mov eax, dword [0x5768d0]
mov dword [esp + 0x24], 0
test eax, eax
jne 0x42c8f9
push 0x58
call fcn.004e1655
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x78], 3
test eax, eax
je 0x42c8ed
mov ecx, eax
call fcn.004022e0
jmp 0x42c8ef
xor eax, eax
mov byte [esp + 0x78], 1
mov dword [0x5768d0], 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 0x42c915
xor ecx, ecx
jmp 0x42c92f
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c920
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.00404600
mov eax, dword [0x5768d0]
test eax, eax
jne 0x42c96f
push 0x58
call fcn.004e1655
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x78], 4
test eax, eax
je 0x42c963
mov ecx, eax
call fcn.004022e0
jmp 0x42c965
xor eax, eax
mov byte [esp + 0x78], 1
mov dword [0x5768d0], eax
mov al, byte [eax + 0x3d]
mov edx, 0x54f79c
test al, al
mov ecx, str._Curl
cmove edx, ecx
cmp word [edx], 0
jne 0x42c98b
xor ecx, ecx
jmp 0x42c99f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c990
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.00404600
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.00404de0
mov byte [esp + 0x78], 5
mov eax, dword [0x5767d4]
test eax, eax
jne 0x42ca20
push 0x5b8
call fcn.004e1655
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 6
test esi, esi
je 0x42ca14
push 0x5b8
push 0
push esi
call fcn.004ec520
add esp, 0xc
mov ecx, esi
call fcn.00409270
jmp 0x42ca16
xor eax, eax
mov byte [esp + 0x78], 5
mov dword [0x5767d4], eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.0040bf30
mov edi, eax
mov byte [esp + 0x78], 7
mov eax, dword [0x5767d4]
test eax, eax
jne 0x42ca7d
push 0x5b8
call fcn.004e1655
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 8
test esi, esi
je 0x42ca71
push 0x5b8
push 0
push esi
call fcn.004ec520
add esp, 0xc
mov ecx, esi
call fcn.00409270
jmp 0x42ca73
xor eax, eax
mov byte [esp + 0x78], 7
mov dword [0x5767d4], eax
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00412db0
cmp dword [esp + 0x40], 8
jb 0x42ca9d
push dword [esp + 0x2c]
call fcn.0048b1b0
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 0x42cacc
push dword [esp + 0x14]
call fcn.0048b1b0
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.00404a20
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.004e1655
add esp, 4
test eax, eax
jne 0x42cb25
call fcn.004dfd86
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.00434580
push str.cancel_download
mov ecx, 0x576810
mov dword [esi + 0x10], eax
mov byte [esp + 0x94], 9
call fcn.004265f0
mov byte [esp + 0x78], 1
cmp dword [esp + 0x44], 8
jb 0x42cb74
push dword [esp + 0x30]
call fcn.0048b1b0
add esp, 4
mov ecx, dword [ebx]
push 0
call fcn.0046fc80
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [esp + 0x64], 8
jb 0x42cb9f
push dword [esp + 0x50]
call fcn.0048b1b0
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.004e1646
mov esp, ebp
pop ebp
ret