Function at 0x42cbc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51f78d
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 edx, dword [ebx]
lea ecx, [esp + 0x50]
mov edx, dword [edx + 0x548]
call fcn.00406a40
push 1
push 0x54b57c
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], 0
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], 1
call fcn.004046e0
mov byte [esp + 0x78], 0
cmp dword [esp + 0x28], 8
jb 0x42cc5f
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 0x42ccab
push 0x58
call fcn.004e1655
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x78], 2
test eax, eax
je 0x42cc9f
mov ecx, eax
call fcn.004022e0
jmp 0x42cca1
xor eax, eax
mov byte [esp + 0x78], 0
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 0x42ccc7
xor ecx, ecx
jmp 0x42ccdf
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ccd0
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 0x42cd1f
push 0x58
call fcn.004e1655
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x78], 3
test eax, eax
je 0x42cd13
mov ecx, eax
call fcn.004022e0
jmp 0x42cd15
xor eax, eax
mov byte [esp + 0x78], 0
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 0x42cd3b
xor ecx, ecx
jmp 0x42cd4f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cd40
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], 4
mov eax, dword [0x5767d4]
test eax, eax
jne 0x42cdd0
push 0x5b8
call fcn.004e1655
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 5
test esi, esi
je 0x42cdc4
push 0x5b8
push 0
push esi
call fcn.004ec520
add esp, 0xc
mov ecx, esi
call fcn.00409270
jmp 0x42cdc6
xor eax, eax
mov byte [esp + 0x78], 4
mov dword [0x5767d4], eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.0040bf30
mov edi, eax
mov byte [esp + 0x78], 6
mov eax, dword [0x5767d4]
test eax, eax
jne 0x42ce2d
push 0x5b8
call fcn.004e1655
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 7
test esi, esi
je 0x42ce21
push 0x5b8
push 0
push esi
call fcn.004ec520
add esp, 0xc
mov ecx, esi
call fcn.00409270
jmp 0x42ce23
xor eax, eax
mov byte [esp + 0x78], 6
mov dword [0x5767d4], eax
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00412db0
cmp dword [esp + 0x40], 8
jb 0x42ce4d
push dword [esp + 0x2c]
call fcn.0048b1b0
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov byte [esp + 0x78], al
cmp dword [esp + 0x28], 8
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
jb 0x42ce7b
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], 9
call fcn.004e1655
add esp, 4
test eax, eax
jne 0x42ced4
call fcn.004dfd86
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x94], 0xb
push ecx
mov ecx, eax
call fcn.004346c0
push str.cancel_download
mov ecx, 0x576810
mov dword [esi + 0x10], eax
mov byte [esp + 0x94], 8
call fcn.004265f0
mov byte [esp + 0x78], 0
cmp dword [esp + 0x44], 8
jb 0x42cf23
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 0x42cf4e
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