Function at 0x479e2a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x537cb4
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x596700]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov edi, ecx
and dword [esp + 0x18], 0
cmp dword [0x59d50c], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
je 0x479e98
call ebx
push eax
push str._INFO___d___WaeWnd_Download
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
push ecx
mov ecx, dword [edi + 0x8c4]
mov esi, esp
sub ecx, 0x10
call fcn.00450c82
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [edi + 0x8c0]
call fcn.004897ad
pop ecx
test al, al
mov edx, 0x56f934
mov ecx, 0x56f930
cmove ecx, edx
push ecx
lea ecx, [esp + 0x6c]
call fcn.00450dd2
xor esi, esi
lea ecx, [esp + 0xb0]
push str.preinstalled
mov dword [esp + 0xf4], esi
call fcn.0044ea5a
lea eax, [esp + 0x68]
mov byte [esp + 0xf0], 1
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.004637e8
push esi
push 1
lea ecx, [esp + 0xb8]
call fcn.0044ea87
or dword [esp + 0xf0], 0xffffffff
lea ecx, [esp + 0x68]
push esi
push 1
call fcn.00451108
jmp 0x479f4d
push 0x1f4
push dword [edi + 0x8a4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x479f55
cmp dword [edi + 0x89c], esi
jne 0x479fdb
cmp dword [edi + 0x8a4], esi
jne 0x479f2c
cmp dword [0x59d50c], 0
je 0x479f76
call ebx
push eax
push str._INFO___d___WaeWnd_Download__call_wae_mgr.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
push dword [edi + 0x8a4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x888]
mov dword [edi + 0x8a4], esi
mov al, byte [eax + 0x754]
test al, al
je 0x47a005
mov ecx, edi
call fcn.0047c89c
test al, al
jne 0x47a005
cmp dword [0x59d50c], 0
je 0x479fc4
call ebx
push eax
push str._WARN___d___WaeWnd_Download__stop_resume.
push 2
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
mov ecx, edi
call fcn.00478afa
mov ecx, dword [edi + 0x888]
call fcn.0046da89
jmp 0x47a6d6
cmp dword [0x59d50c], 0
je 0x47a6d6
call ebx
push eax
push str._WARN___d___WaeWnd_Download__stop.
push 2
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
jmp 0x47a6d6
mov ecx, dword [edi + 0x888]
call fcn.0046c4ef
test al, al
je 0x47a05a
mov ecx, dword [edi + 0x780]
call fcn.004bfc71
mov esi, dword [edi + 0x888]
test al, al
je 0x47a03c
push 0x56c5ec
call fcn.00450dae
pop ecx
push eax
push 0x56c5ec
jmp 0x47a04d
push 0x56c5f0
call fcn.00450dae
pop ecx
push eax
push 0x56c5f0
lea ecx, [esi + 0x610]
call fcn.00450d41
xor esi, esi
mov ecx, dword [edi + 0x88c]
lea eax, [esp + 0x68]
push eax
call fcn.00473cfe
lea eax, [esp + 0x68]
mov dword [esp + 0xf0], 2
mov ecx, dword [edi + 0x88c]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.0044f80c
mov byte [esp + 0xf0], 3
cmp dword [0x59d50c], 0
je 0x47a119
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x38]
call fcn.004869e0
mov esi, eax
lea edx, [esp + 0x68]
mov byte [esp + 0xf0], 4
lea ecx, [esp + 0x20]
call fcn.004869e0
mov byte [esp + 0xf0], 5
cmp dword [esi + 0x14], 0x10
jb 0x47a0d5
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x47a0dd
mov eax, dword [eax]
push esi
push eax
call ebx
push eax
push str._INFO___d___lang_name__s___lang_code__s_
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x18
lea ecx, [esp + 0x20]
xor esi, esi
push esi
push 1
call fcn.0044ea87
push esi
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xf8], 3
call fcn.0044ea87
mov ecx, dword [edi + 0xcb4]
lea edx, [esp + 0x68]
call fcn.00467b27
neg al
sbb al, al
inc al
je 0x47a21e
push 0x56f9cc
lea ecx, [esp + 0x3c]
call fcn.0044ea5a
push str.UA_Wae_Web
lea ecx, [esp + 0x54]
mov byte [esp + 0xf4], 6
call fcn.0044ea5a
lea eax, [esp + 0x38]
mov byte [esp + 0xf0], 7
mov ecx, dword [edi + 0x888]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00470feb
push esi
push 1
lea ecx, [esp + 0x58]
call fcn.0044ea87
push esi
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xf8], 3
call fcn.0044ea87
push 0x568507
lea ecx, [esp + 0x24]
call fcn.0044ea5a
push 0x56850e
lea ecx, [esp + 0x54]
mov byte [esp + 0xf4], 8
call fcn.0044ea5a
push str.language_changed
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf4], 9
call fcn.0044ea5a
lea eax, [esp + 0x20]
mov byte [esp + 0xf0], 0xa
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0045fc50
mov ecx, eax
call fcn.0046007e
push esi
push 1
lea ecx, [esp + 0x40]
call fcn.0044ea87
push esi
push 1
lea ecx, [esp + 0x58]
call fcn.0044ea87
push esi
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xf8], 3
call fcn.0044ea87
mov eax, dword [edi + 0x888]
lea ecx, [esp + 0xc8]
add eax, 0x5f8
push eax
call fcn.0044f86d
lea eax, [esp + 0x98]
mov byte [esp + 0xf0], 0xb
mov ecx, dword [edi + 0x888]
push eax
call fcn.00473c9e
mov byte [esp + 0xf0], 0xc
lea eax, [esp + 0x98]
cmp dword [esp + 0xac], 8
push dword [esp + 0xa8]
cmovae eax, dword [esp + 0x9c]
push eax
push dword [esp + 0xe0]
push ecx
lea ecx, [esp + 0xd8]
call fcn.0044ffbe
test eax, eax
je 0x47a2c5
push 0x56f9f8
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x24]
call fcn.00454143
pop ecx
mov edx, eax
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc8]
call fcn.0044ff65
mov byte [esp + 0x17], 1
test al, al
je 0x47a2ca
mov byte [esp + 0x17], 0
test byte [esp + 0x18], 1
je 0x47a2de
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.00451108
cmp byte [esp + 0x17], 0
je 0x47a397
cmp dword [0x59d50c], 0
je 0x47a30a
call ebx
push eax
push str._INFO___d___install_folder_changed_1.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
push 0x56850f
lea ecx, [esp + 0x54]
call fcn.0044ea5a
push 0x568515
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf4], 0xd
call fcn.0044ea5a
push str.installation_folder_changed
lea ecx, [esp + 0x24]
mov byte [esp + 0xf4], 0xe
call fcn.0044ea5a
lea eax, [esp + 0x50]
mov byte [esp + 0xf0], 0xf
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0045fc50
mov ecx, eax
call fcn.0046007e
xor esi, esi
lea ecx, [esp + 0x20]
push esi
push 1
call fcn.0044ea87
push esi
push 1
lea ecx, [esp + 0x40]
call fcn.0044ea87
push esi
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0xf8], 0xc
call fcn.0044ea87
jmp 0x47a399
xor esi, esi
sub esp, 0x18
lea eax, [esp + 0xc8]
mov ecx, esp
push eax
call fcn.0044f86d
mov ecx, dword [edi + 0x888]
call fcn.0046e90e
mov ecx, dword [edi + 0x888]
push esi
call fcn.004691bd
mov ecx, dword [edi + 0x888]
push 1
call fcn.004691bd
mov ecx, dword [edi + 0x888]
push 2
call fcn.004691bd
push esi
push 1
lea ecx, [esp + 0xa0]
call fcn.00451108
push esi
push 1
lea ecx, [esp + 0xd0]
call fcn.00451108
push esi
push 1
lea ecx, [esp + 0xb8]
call fcn.00451108
or dword [esp + 0xf0], 0xffffffff
lea ecx, [esp + 0x68]
push esi
push 1
call fcn.00451108
mov ecx, dword [edi + 0x888]
call fcn.0046d91d
push 0x3e8
push 0x7be
push dword [edi + 0x7c8]
lea ecx, [edi + 0x30]
call fcn.004a4c09
xor eax, eax
cmp dword [edi + 0x8ac], eax
jne 0x47a484
cmp dword [0x59d50c], eax
je 0x47a46c
call ebx
push eax
push str._INFO___d___WaeWnd_Download__create_install_thread.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
xor eax, eax
push eax
push eax
push edi
push 0x47a8b6
push eax
push eax
call fcn.0050ae66
add esp, 0x18
mov dword [edi + 0x8ac], eax
mov ecx, dword [edi + 0x888]
lea eax, [esp + 0x80]
push eax
call fcn.00473c7e
push 0x10
pop esi
mov dword [esp + 0xf0], esi
cmp dword [0x59d50c], 0
je 0x47a4f7
lea edx, [esp + 0x80]
lea ecx, [esp + 0x20]
call fcn.004869e0
mov byte [esp + 0xf0], 0x11
cmp dword [eax + 0x14], esi
jb 0x47a4c9
mov eax, dword [eax]
push eax
call ebx
push eax
push str._INFO___d___WaeWnd_Download__banner_url__s_.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x14
mov byte [esp + 0xf0], 0x10
lea ecx, [esp + 0x20]
push 0
push 1
call fcn.0044ea87
push 0x56fac8
lea ecx, [esp + 0x3c]
call fcn.00450dd2
push 0x56fae8
lea ecx, [esp + 0x24]
mov byte [esp + 0xf4], 0x12
call fcn.00450dd2
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0x24]
call fcn.0048809f
pop ecx
push 0
mov esi, eax
lea ecx, [esp + 0x24]
push 1
mov dword [esp + 0x20], esi
call fcn.00451108
push 0
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xf8], 0x10
call fcn.00451108
cmp dword [esp + 0x90], 0
je 0x47a638
mov eax, esi
mov byte [edi + 0x82c], 0
mov byte [edi + 0x8a0], 0
test eax, 0xa00
jne 0x47a608
cmp dword [0x59d50c], 0
je 0x47a59e
call ebx
push eax
push str._INFO___d___add_support_tls1.1__tls1.2.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
mov eax, esi
mov esi, eax
lea ecx, [esp + 0x38]
push str.SecureProtocols
or esi, 0xa00
call fcn.00450dd2
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [esp + 0x24]
mov byte [esp + 0xf4], 0x13
call fcn.00450dd2
lea eax, [esp + 0x38]
push esi
push eax
lea edx, [esp + 0x28]
call fcn.0048804c
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.00451108
push 0
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xf8], 0x10
call fcn.00451108
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x94], 8
lea eax, [esp + 0x80]
mov ecx, dword [edi + 0x78c]
cmovae eax, dword [esp + 0x80]
push eax
call fcn.004bf6af
mov ecx, dword [edi + 0x78c]
call fcn.004bf299
jmp 0x47a659
mov byte [edi + 0x82c], 1
mov byte [edi + 0x8a0], 1
jmp 0x47a659
cmp byte [edi + 0x8a0], 0
jne 0x47a664
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x89c], 0
je 0x47a648
jmp 0x47a6c6
mov ecx, dword [edi + 0x7e0]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x47a69f
cmp byte [edi + 0x82c], 0
jne 0x47a69f
push 0
push 0
push 0x8068
mov ecx, edi
call fcn.004a5580
mov ecx, dword [edi + 0x78c]
push 1
mov eax, dword [ecx]
call dword [eax + 0x104]
cmp dword [esp + 0x18], esi
je 0x47a6c6
cmp dword [0x59d50c], 0
je 0x47a6c6
call ebx
push eax
push str._INFO___d___recover_tls.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
push 0
push 1
lea ecx, [esp + 0x88]
call fcn.00451108
xor eax, eax
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00508163
mov esp, ebp
pop ebp
ret