Function at 0x421477
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x508529
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 0x4214dc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___WaeWnd_Download
call fcn.00427581
pop ecx
pop ecx
mov eax, dword [ebx + 0x8d0]
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov esi, esp
call fcn.00403e21
add eax, 0x10
mov dword [esi], eax
push dword [ebx + 0x8cc]
call fcn.0042a972
pop ecx
test al, al
pop ecx
mov eax, 0x532528
jne 0x421511
mov eax, 0x53252c
push eax
lea ecx, [esp + 0x90]
call fcn.0040edaa
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.00402366
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x38]
mov byte [esp + 0xb8], 1
call fcn.0040f11c
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.0040241d
or dword [esp + 0xb8], 0xffffffff
push edi
push 1
lea ecx, [esp + 0x94]
call fcn.00403da4
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 0x4215ab
cmp dword [ebx + 0x8a4], 0
jne 0x4219c9
push edi
push dword [ebx + 0x8ac]
call esi
test eax, eax
jne 0x42159e
cmp dword [0x5500d4], eax
je 0x4215d9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___WaeWnd_Download__call_wae_mgr.
call fcn.00427581
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.0041b8d5
mov eax, dword [ebx + 0x890]
call fcn.00417ab2
test al, al
je 0x421632
mov ecx, dword [ebx + 0x78c]
call fcn.00445193
mov ecx, dword [ebx + 0x890]
add ecx, 0x634
test al, al
je 0x421628
push 0x533cc4
jmp 0x42162d
push 0x533cc8
call fcn.0040ed85
mov eax, dword [ebx + 0x894]
lea esi, [esp + 0x10]
call fcn.0041d3d3
mov dword [esp + 0xb8], 2
push eax
mov eax, dword [ebx + 0x894]
lea edi, [esp + 0x18]
call fcn.00402d66
sub esp, 0x1c
mov byte [esp + 0xd4], 3
mov eax, dword [eax]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0040edaa
mov ecx, dword [ebx + 0x890]
call fcn.00419729
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00403e7d
or dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00403e7d
xor esi, esi
push esi
push dword [ebx + 0x890]
call fcn.00414b7b
push 1
push dword [ebx + 0x890]
call fcn.00414b7b
push 2
push dword [ebx + 0x890]
call fcn.00414b7b
mov edi, dword [ebx + 0x890]
call fcn.00418bb0
push 0x3e8
push 0x7be
push dword [ebx + 0x7dc]
lea ecx, [ebx + 0x30]
call fcn.0043b77c
cmp dword [ebx + 0x8b4], esi
jne 0x42172c
cmp dword [0x5500d4], esi
je 0x421714
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___WaeWnd_Download__create_install_thread.
call fcn.00427581
pop ecx
pop ecx
push esi
push esi
push ebx
push 0x421bc8
push esi
push esi
call fcn.004d87d8
add esp, 0x18
mov dword [ebx + 0x8b4], eax
mov eax, dword [ebx + 0x890]
lea ecx, [esp + 0x54]
call fcn.0041d373
mov dword [esp + 0xb8], 4
cmp dword [0x5500d4], esi
je 0x4217a2
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x58]
call fcn.00428265
pop ecx
mov byte [esp + 0xb8], 5
cmp dword [eax + 0x14], 0x10
jb 0x421770
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.00427581
add esp, 0xc
push esi
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0xc0], 4
call fcn.0040241d
push 7
pop edi
xor eax, eax
push 0x5325f4
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0040ed85
mov byte [esp + 0xb8], 6
xor eax, eax
push 0x532640
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], ax
call fcn.0040ed85
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x38]
call fcn.004295cb
push esi
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], eax
call fcn.00403da4
push esi
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 4
call fcn.00403da4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x64], esi
je 0x421920
mov byte [ebx + 0x80c], 0
mov byte [ebx + 0x8a8], 0
test eax, 0xa00
jne 0x4218f8
cmp dword [0x5500d4], esi
je 0x421864
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.00427581
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.0040ed85
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.0040ed85
push esi
lea esi, [esp + 0x74]
lea eax, [esp + 0x20]
call fcn.00429579
pop ecx
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.00403da4
push 0
push 1
mov ecx, esi
mov byte [esp + 0xc0], 4
call fcn.00403da4
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
jae 0x421907
lea eax, [esp + 0x54]
mov ecx, dword [ebx + 0x7a0]
push eax
call fcn.004434ca
mov ecx, dword [ebx + 0x7a0]
call fcn.004437e1
jmp 0x421941
mov byte [ebx + 0x80c], 1
mov byte [ebx + 0x8a8], 1
jmp 0x421941
cmp byte [ebx + 0x8a8], 0
jne 0x42194b
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx + 0x8a4], esi
je 0x421930
jmp 0x4219bb
cmp dword [ebx + 0x8c8], 2
jne 0x421990
cmp byte [ebx + 0x80c], 0
jne 0x42197e
push esi
push esi
push 0x8068
mov ecx, ebx
call fcn.00442a64
mov ecx, dword [ebx + 0x7a0]
mov eax, dword [ecx]
push 1
call dword [eax + 0x104]
push esi
jmp 0x421980
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 0x4219bb
cmp dword [0x5500d4], esi
je 0x4219bb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___recover_tls.
call fcn.00427581
pop ecx
pop ecx
push esi
push 1
lea ecx, [esp + 0x5c]
call fcn.00403da4
jmp 0x4219eb
cmp dword [0x5500d4], 0
je 0x4219eb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._WARN___d___WaeWnd_Download__stop.
call fcn.00427581
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.004d574b
mov esp, ebp
pop ebp
ret