Function at 0x4214cf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5085e5
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x54b3f0]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x54b3f0]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
xor edi, edi
mov ebx, ecx
cmp dword [0x5500d4], edi
je 0x421534
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___WaeWnd_Download
call fcn.0042749e
pop ecx
pop ecx
mov eax, dword [ebx + 0x8d0]
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov esi, esp
call fcn.00403e56
add eax, 0x10
mov dword [esi], eax
push dword [ebx + 0x8cc]
call fcn.0042a8a7
pop ecx
test al, al
pop ecx
mov eax, 0x5324f8
jne 0x421569
mov eax, 0x5324fc
push eax
lea ecx, [esp + 0x90]
call fcn.0040ed9b
mov dword [esp + 0xb8], edi
push 0xc
push str.preinstalled
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
call fcn.004023d3
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x38]
mov byte [esp + 0xb8], 1
call fcn.0040f10d
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.0040248a
or dword [esp + 0xb8], 0xffffffff
push edi
push 1
lea ecx, [esp + 0x94]
call fcn.00403de3
mov ecx, dword [ebx + 0x7a4]
mov eax, dword [ecx]
push 1
call dword [eax + 0x104]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, 0x1f4
jmp 0x421603
cmp dword [ebx + 0x8a4], 0
jne 0x421a21
push edi
push dword [ebx + 0x8ac]
call esi
test eax, eax
jne 0x4215f6
cmp dword [0x5500d4], eax
je 0x421631
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___WaeWnd_Download__call_wae_mgr.
call fcn.0042749e
pop ecx
pop ecx
push dword [ebx + 0x8ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebx + 0x890]
and dword [ebx + 0x8ac], 0
call fcn.0041b8fc
mov eax, dword [ebx + 0x890]
call fcn.00417a4d
test al, al
je 0x42168a
mov ecx, dword [ebx + 0x78c]
call fcn.0044520d
mov ecx, dword [ebx + 0x890]
add ecx, 0x634
test al, al
je 0x421680
push 0x533c94
jmp 0x421685
push 0x533c98
call fcn.0040ed76
mov eax, dword [ebx + 0x894]
lea esi, [esp + 0x10]
call fcn.0041d3fa
mov dword [esp + 0xb8], 2
push eax
mov eax, dword [ebx + 0x894]
lea edi, [esp + 0x18]
call fcn.00402ddd
sub esp, 0x1c
mov byte [esp + 0xd4], 3
mov eax, dword [eax]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0040ed9b
mov ecx, dword [ebx + 0x890]
call fcn.004196c4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00403eb2
or dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00403eb2
xor esi, esi
push esi
push dword [ebx + 0x890]
call fcn.00414b16
push 1
push dword [ebx + 0x890]
call fcn.00414b16
push 2
push dword [ebx + 0x890]
call fcn.00414b16
mov edi, dword [ebx + 0x890]
call fcn.00418b4b
push 0x3e8
push 0x7be
push dword [ebx + 0x7dc]
lea ecx, [ebx + 0x30]
call fcn.0043b7ea
cmp dword [ebx + 0x8b4], esi
jne 0x421784
cmp dword [0x5500d4], esi
je 0x42176c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___WaeWnd_Download__create_install_thread.
call fcn.0042749e
pop ecx
pop ecx
push esi
push esi
push ebx
push 0x421c20
push esi
push esi
call fcn.004d8868
add esp, 0x18
mov dword [ebx + 0x8b4], eax
mov eax, dword [ebx + 0x890]
lea ecx, [esp + 0x54]
call fcn.0041d39a
mov dword [esp + 0xb8], 4
cmp dword [0x5500d4], esi
je 0x4217fa
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x58]
call fcn.00428151
pop ecx
mov byte [esp + 0xb8], 5
cmp dword [eax + 0x14], 0x10
jb 0x4217c8
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___WaeWnd_Download__banner_url__s_.
call fcn.0042749e
add esp, 0xc
push esi
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0xc0], 4
call fcn.0040248a
push 7
pop edi
xor eax, eax
push 0x5325c4
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0040ed76
mov byte [esp + 0xb8], 6
xor eax, eax
push 0x532610
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], ax
call fcn.0040ed76
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x38]
call fcn.004294b7
push esi
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], eax
call fcn.00403de3
push esi
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 4
call fcn.00403de3
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x64], esi
je 0x421978
mov byte [ebx + 0x80c], 0
mov byte [ebx + 0x8a8], 0
test eax, 0xa00
jne 0x421950
cmp dword [0x5500d4], esi
je 0x4218bc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___add_support_tls1.1__tls1.2.
call fcn.0042749e
pop ecx
pop ecx
mov esi, dword [esp + 0x10]
and dword [esp + 0x80], 0
xor eax, eax
or esi, 0xa00
push str.SecureProtocols
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], esi
mov dword [esp + 0x88], edi
mov word [esp + 0x74], ax
call fcn.0040ed76
mov byte [esp + 0xb8], 7
and dword [esp + 0x2c], 0
xor eax, eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], edi
mov word [esp + 0x20], ax
call fcn.0040ed76
push esi
lea esi, [esp + 0x74]
lea eax, [esp + 0x20]
call fcn.00429465
pop ecx
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.00403de3
push 0
push 1
mov ecx, esi
mov byte [esp + 0xc0], 4
call fcn.00403de3
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
jae 0x42195f
lea eax, [esp + 0x54]
mov ecx, dword [ebx + 0x7a0]
push eax
call fcn.00443538
mov ecx, dword [ebx + 0x7a0]
call fcn.0044384f
jmp 0x421999
mov byte [ebx + 0x80c], 1
mov byte [ebx + 0x8a8], 1
jmp 0x421999
cmp byte [ebx + 0x8a8], 0
jne 0x4219a3
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx + 0x8a4], esi
je 0x421988
jmp 0x421a13
cmp dword [ebx + 0x8c8], 2
jne 0x4219e8
cmp byte [ebx + 0x80c], 0
jne 0x4219d6
push esi
push esi
push 0x8068
mov ecx, ebx
call fcn.00442ad2
mov ecx, dword [ebx + 0x7a0]
mov eax, dword [ecx]
push 1
call dword [eax + 0x104]
push esi
jmp 0x4219d8
push 1
mov ebx, dword [ebx + 0x7a4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x104]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
je 0x421a13
cmp dword [0x5500d4], esi
je 0x421a13
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___recover_tls.
call fcn.0042749e
pop ecx
pop ecx
push esi
push 1
lea ecx, [esp + 0x5c]
call fcn.00403de3
jmp 0x421a43
cmp dword [0x5500d4], 0
je 0x421a43
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._WARN___d___WaeWnd_Download__stop.
call fcn.0042749e
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004d57db
mov esp, ebp
pop ebp
ret