Function at 0x4211b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50e1a7
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5557a0]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x5557a0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi]
push 0
call fcn.00455e90
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi]
lea ecx, [esp + 0x38]
mov edx, dword [edx + 0x4ac]
call fcn.004289b0
push 1
push 0x53702c
lea ecx, [esp + 0x40]
mov dword [esp + 0x68], 0
call fcn.0040e3b0
mov edx, dword [edi + 4]
lea ecx, [esp + 0x14]
call fcn.004289b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 1
call fcn.0040e490
mov byte [esp + 0x60], 0
cmp dword [esp + 0x28], 8
jb 0x421258
push dword [esp + 0x14]
call fcn.004d1340
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
mov eax, dword [0x5615f4]
mov dword [esp + 0x24], 0
test eax, eax
jne 0x4212a4
push 0x38
call fcn.004d1345
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x60], 2
test eax, eax
je 0x421298
mov ecx, eax
call fcn.00410df0
jmp 0x42129a
xor eax, eax
mov byte [esp + 0x60], 0
mov dword [0x5615f4], eax
mov al, byte [eax + 0x1c]
mov edx, str._res
test al, al
mov ecx, str._aws
cmove edx, ecx
cmp word [edx], 0
jne 0x4212c0
xor ecx, ecx
jmp 0x4212d4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4212c5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.0040e3b0
mov eax, dword [0x5615f4]
test eax, eax
jne 0x421314
push 0x38
call fcn.004d1345
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x60], 3
test eax, eax
je 0x421308
mov ecx, eax
call fcn.00410df0
jmp 0x42130a
xor eax, eax
mov byte [esp + 0x60], 0
mov dword [0x5615f4], eax
mov al, byte [eax + 0x1d]
mov edx, 0x53b804
test al, al
mov ecx, str._Curl
cmove edx, ecx
cmp word [edx], 0
jne 0x421330
xor ecx, ecx
jmp 0x421344
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421335
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.0040e3b0
mov eax, dword [edi]
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
call fcn.00403d80
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x28], esi
mov dword [esi + 0x10], 0
push 0x24
mov byte [esp + 0x7c], 5
call fcn.004d1345
add esp, 4
test eax, eax
jne 0x4213a5
call fcn.004cfa65
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 7
push ecx
mov ecx, eax
call fcn.00426580
push str.ad_cancel_download
mov ecx, 0x5614f0
mov dword [esi + 0x10], eax
mov byte [esp + 0x7c], 4
call fcn.0041b600
mov byte [esp + 0x60], 0
cmp dword [esp + 0x2c], 8
jb 0x4213ee
push dword [esp + 0x18]
call fcn.004d1340
add esp, 4
mov ecx, dword [edi]
push 1
call fcn.00455c80
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [esp + 0x4c], 8
jb 0x421412
push dword [esp + 0x38]
call fcn.004d1340
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004d1326
mov esp, ebp
pop ebp
ret