Function at 0x421270
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50e207
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.00455f10
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi]
lea ecx, [esp + 0x38]
mov edx, dword [edx + 0x4ac]
call fcn.00428a70
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.00428a70
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 0x421318
push dword [esp + 0x14]
call fcn.004d1390
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 0x421364
push 0x38
call fcn.004d1395
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x60], 2
test eax, eax
je 0x421358
mov ecx, eax
call fcn.00410df0
jmp 0x42135a
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 0x421380
xor ecx, ecx
jmp 0x421394
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421385
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 0x4213d4
push 0x38
call fcn.004d1395
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x60], 3
test eax, eax
je 0x4213c8
mov ecx, eax
call fcn.00410df0
jmp 0x4213ca
xor eax, eax
mov byte [esp + 0x60], 0
mov dword [0x5615f4], eax
mov al, byte [eax + 0x1d]
mov edx, 0x53ba44
test al, al
mov ecx, str._Curl
cmove edx, ecx
cmp word [edx], 0
jne 0x4213f0
xor ecx, ecx
jmp 0x421404
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4213f5
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.004d1395
add esp, 4
test eax, eax
jne 0x421465
call fcn.004cfab6
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.00426640
push str.ad_cancel_download
mov ecx, 0x5614f0
mov dword [esi + 0x10], eax
mov byte [esp + 0x7c], 4
call fcn.0041b6d0
mov byte [esp + 0x60], 0
cmp dword [esp + 0x2c], 8
jb 0x4214ae
push dword [esp + 0x18]
call fcn.004d1390
add esp, 4
mov ecx, dword [edi]
push 1
call fcn.00455d00
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [esp + 0x4c], 8
jb 0x4214d2
push dword [esp + 0x38]
call fcn.004d1390
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.004d1376
mov esp, ebp
pop ebp
ret