Function at 0x421360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50e057
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.004559e0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi]
lea ecx, [esp + 0x38]
mov edx, dword [edx + 0x4ac]
call fcn.004288c0
push 1
push 0x53702c
lea ecx, [esp + 0x40]
mov dword [esp + 0x68], 0
call fcn.0040e560
mov edx, dword [edi + 4]
lea ecx, [esp + 0x14]
call fcn.004288c0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 1
call fcn.0040e640
mov byte [esp + 0x60], 0
cmp dword [esp + 0x28], 8
jb 0x421408
push dword [esp + 0x14]
call fcn.004d11f0
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
mov eax, dword [0x561154]
mov dword [esp + 0x24], 0
test eax, eax
jne 0x421454
push 0x38
call fcn.004d11f5
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x60], 2
test eax, eax
je 0x421448
mov ecx, eax
call fcn.00410fa0
jmp 0x42144a
xor eax, eax
mov byte [esp + 0x60], 0
mov dword [0x561154], 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 0x421470
xor ecx, ecx
jmp 0x421484
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421475
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.0040e560
mov eax, dword [0x561154]
test eax, eax
jne 0x4214c4
push 0x38
call fcn.004d11f5
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x60], 3
test eax, eax
je 0x4214b8
mov ecx, eax
call fcn.00410fa0
jmp 0x4214ba
xor eax, eax
mov byte [esp + 0x60], 0
mov dword [0x561154], eax
mov al, byte [eax + 0x1d]
mov edx, 0x53bbe8
test al, al
mov ecx, str._Curl
cmove edx, ecx
cmp word [edx], 0
jne 0x4214e0
xor ecx, ecx
jmp 0x4214f4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4214e5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.0040e560
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.00403e50
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.004d11f5
add esp, 4
test eax, eax
jne 0x421555
call fcn.004cf916
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.00426ca0
push str.ad_cancel_download
mov ecx, 0x561050
mov dword [esi + 0x10], eax
mov byte [esp + 0x7c], 4
call fcn.0041b880
mov byte [esp + 0x60], 0
cmp dword [esp + 0x2c], 8
jb 0x42159e
push dword [esp + 0x18]
call fcn.004d11f0
add esp, 4
mov ecx, dword [edi]
push 1
call fcn.00455b40
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [esp + 0x4c], 8
jb 0x4215c2
push dword [esp + 0x38]
call fcn.004d11f0
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.004d11d6
mov esp, ebp
pop ebp
ret