Function at 0x421dd7
Capabilities:
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x508d8b
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 ebx, ebx
mov edi, ecx
mov dword [esp + 0x18], edi
cmp dword [0x550334], ebx
je 0x421e40
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___WaeWnd_Download
call fcn.00427dfb
pop ecx
pop ecx
mov eax, dword [edi + 0x8d0]
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov esi, esp
call fcn.00404311
add eax, 0x10
mov dword [esi], eax
push dword [edi + 0x8cc]
call fcn.0042b02e
pop ecx
test al, al
pop ecx
mov eax, 0x5324e8
jne 0x421e75
mov eax, 0x5324ec
push eax
lea ecx, [esp + 0x58]
call fcn.00404466
mov dword [esp + 0xb8], ebx
push 0xc
push str.preinstalled
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
call fcn.004023bf
lea edx, [esp + 0x54]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 1
call fcn.0040f9af
push ebx
push 1
lea ecx, [esp + 0x24]
call fcn.00402476
or dword [esp + 0xb8], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x5c]
call fcn.0040476f
mov ecx, dword [edi + 0x7a4]
mov eax, dword [ecx]
push 1
call dword [eax + 0x104]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, 0x1f4
jmp 0x421f06
cmp dword [edi + 0x8a4], 0
jne 0x4223b9
push ebx
push dword [edi + 0x8ac]
call esi
test eax, eax
jne 0x421ef9
cmp dword [0x550334], eax
je 0x421f34
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___WaeWnd_Download__call_wae_mgr.
call fcn.00427dfb
pop ecx
pop ecx
push dword [edi + 0x8ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x890]
and dword [edi + 0x8ac], 0
call fcn.0041c1b8
mov eax, dword [edi + 0x890]
call fcn.0041830a
test al, al
je 0x421f8d
mov ecx, dword [edi + 0x78c]
call fcn.004458e5
mov ecx, dword [edi + 0x890]
add ecx, 0x634
test al, al
je 0x421f83
push 0x533bcc
jmp 0x421f88
push 0x533bd0
call fcn.00404441
push dword [edi + 0x894]
lea eax, [esp + 0x58]
call fcn.0041dcb6
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0xbc], 2
mov ebx, dword [edi + 0x894]
push eax
call fcn.004030e5
xor ebx, ebx
mov byte [esp + 0xb8], 3
cmp dword [0x550334], ebx
je 0x42204a
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
call fcn.00428a57
pop ecx
mov esi, eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xbc], 4
call fcn.00428a57
pop ecx
mov byte [esp + 0xb8], 5
cmp dword [esi + 0x14], 0x10
jb 0x422006
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x42200e
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___lang_name__s___lang_code__s_
call fcn.00427dfb
add esp, 0x10
push ebx
push 1
lea ecx, [esp + 0x78]
call fcn.00402476
push ebx
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xc0], 3
call fcn.00402476
sub esp, 0x1c
lea eax, [esp + 0x38]
mov esi, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00404734
mov ecx, dword [edi + 0x890]
call fcn.00419f80
push ebx
push dword [edi + 0x890]
call fcn.004153e7
xor esi, esi
inc esi
push esi
push dword [edi + 0x890]
call fcn.004153e7
push 2
push dword [edi + 0x890]
call fcn.004153e7
push ebx
push esi
lea ecx, [esp + 0x24]
call fcn.0040476f
or dword [esp + 0xb8], 0xffffffff
push ebx
push esi
lea ecx, [esp + 0x5c]
call fcn.0040476f
mov edi, dword [edi + 0x890]
call fcn.00419408
mov edi, dword [esp + 0x18]
push 0x3e8
push 0x7be
push dword [edi + 0x7dc]
lea ecx, [edi + 0x30]
call fcn.0043be4a
cmp dword [edi + 0x8b4], ebx
jne 0x422116
cmp dword [0x550334], ebx
je 0x4220fe
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___WaeWnd_Download__create_install_thread.
call fcn.00427dfb
pop ecx
pop ecx
push ebx
push ebx
push edi
push 0x4225b8
push ebx
push ebx
call fcn.004d8e98
add esp, 0x18
mov dword [edi + 0x8b4], eax
mov eax, dword [edi + 0x890]
lea ecx, [esp + 0x8c]
call fcn.0041dc56
mov dword [esp + 0xb8], 6
cmp dword [0x550334], ebx
je 0x42218b
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x90]
call fcn.00428a57
pop ecx
mov byte [esp + 0xb8], 7
cmp dword [eax + 0x14], 0x10
jb 0x42215d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___WaeWnd_Download__banner_url__s_.
call fcn.00427dfb
add esp, 0xc
push ebx
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc0], 6
call fcn.00402476
push 7
pop esi
xor eax, eax
push 0x5325e0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
call fcn.00404441
mov byte [esp + 0xb8], 8
xor eax, eax
push 0x532600
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.00404441
lea ecx, [esp + 0x38]
lea eax, [esp + 0x1c]
call fcn.00429dbd
push ebx
push 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.0040476f
push ebx
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xc0], 6
call fcn.0040476f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x9c], ebx
je 0x42230f
mov byte [edi + 0x80c], bl
mov byte [edi + 0x8a8], bl
test eax, 0xa00
jne 0x4222de
cmp dword [0x550334], ebx
je 0x42224e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___add_support_tls1.1__tls1.2.
call fcn.00427dfb
pop ecx
pop ecx
mov eax, dword [esp + 0x18]
or eax, 0xa00
mov dword [esp + 0x14], eax
xor eax, eax
push str.SecureProtocols
lea ecx, [esp + 0x74]
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], ax
call fcn.00404441
mov byte [esp + 0xb8], 9
xor eax, eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
call fcn.00404441
push dword [esp + 0x14]
lea esi, [esp + 0x74]
lea eax, [esp + 0x3c]
call fcn.00429d6b
pop ecx
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.0040476f
push ebx
push 1
mov ecx, esi
mov byte [esp + 0xc0], 6
call fcn.0040476f
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x4222f6
lea eax, [esp + 0x8c]
mov ecx, dword [edi + 0x7a0]
push eax
call fcn.00443c09
mov ecx, dword [edi + 0x7a0]
call fcn.00443f20
jmp 0x42232f
mov byte [edi + 0x80c], 1
mov byte [edi + 0x8a8], 1
jmp 0x42232f
cmp byte [edi + 0x8a8], bl
jne 0x422339
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x8a4], ebx
je 0x42231f
jmp 0x4223a8
cmp dword [edi + 0x8c8], 2
jne 0x42237d
cmp byte [edi + 0x80c], bl
jne 0x42236b
push ebx
push ebx
push 0x8068
mov ecx, edi
call fcn.004431ab
mov ecx, dword [edi + 0x7a0]
mov eax, dword [ecx]
push 1
call dword [eax + 0x104]
push ebx
jmp 0x42236d
push 1
mov edi, dword [edi + 0x7a4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x104]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x18], eax
je 0x4223a8
cmp dword [0x550334], ebx
je 0x4223a8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___recover_tls.
call fcn.00427dfb
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x94]
call fcn.0040476f
jmp 0x4223db
cmp dword [0x550334], 0
je 0x4223db
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._WARN___d___WaeWnd_Download__stop.
call fcn.00427dfb
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.004d5e0b
mov esp, ebp
pop ebp
ret