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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x508d5b
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 0x421e6c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___WaeWnd_Download
call fcn.00427e2f
pop ecx
pop ecx
mov eax, dword [edi + 0x8d0]
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov esi, esp
call fcn.004043d1
add eax, 0x10
mov dword [esi], eax
push dword [edi + 0x8cc]
call fcn.0042afe5
pop ecx
test al, al
pop ecx
mov eax, 0x532518
jne 0x421ea1
mov eax, 0x53251c
push eax
lea ecx, [esp + 0x58]
call fcn.00404526
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.004024af
lea edx, [esp + 0x54]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 1
call fcn.0040fb38
push ebx
push 1
lea ecx, [esp + 0x24]
call fcn.00402566
or dword [esp + 0xb8], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x5c]
call fcn.0040482f
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 0x421f32
cmp dword [edi + 0x8a4], 0
jne 0x4223e5
push ebx
push dword [edi + 0x8ac]
call esi
test eax, eax
jne 0x421f25
cmp dword [0x550334], eax
je 0x421f60
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___WaeWnd_Download__call_wae_mgr.
call fcn.00427e2f
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.0041c1b3
mov eax, dword [edi + 0x890]
call fcn.00418306
test al, al
je 0x421fb9
mov ecx, dword [edi + 0x78c]
call fcn.00445762
mov ecx, dword [edi + 0x890]
add ecx, 0x634
test al, al
je 0x421faf
push 0x533bfc
jmp 0x421fb4
push 0x533c00
call fcn.00404501
push dword [edi + 0x894]
lea eax, [esp + 0x58]
call fcn.0041dcb1
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0xbc], 2
mov ebx, dword [edi + 0x894]
push eax
call fcn.004031df
xor ebx, ebx
mov byte [esp + 0xb8], 3
cmp dword [0x550334], ebx
je 0x422076
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
call fcn.00428aca
pop ecx
mov esi, eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xbc], 4
call fcn.00428aca
pop ecx
mov byte [esp + 0xb8], 5
cmp dword [esi + 0x14], 0x10
jb 0x422032
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x42203a
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.00427e2f
add esp, 0x10
push ebx
push 1
lea ecx, [esp + 0x78]
call fcn.00402566
push ebx
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xc0], 3
call fcn.00402566
sub esp, 0x1c
lea eax, [esp + 0x38]
mov esi, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004047f4
mov ecx, dword [edi + 0x890]
call fcn.00419f7b
push ebx
push dword [edi + 0x890]
call fcn.004153e3
xor esi, esi
inc esi
push esi
push dword [edi + 0x890]
call fcn.004153e3
push 2
push dword [edi + 0x890]
call fcn.004153e3
push ebx
push esi
lea ecx, [esp + 0x24]
call fcn.0040482f
or dword [esp + 0xb8], 0xffffffff
push ebx
push esi
lea ecx, [esp + 0x5c]
call fcn.0040482f
mov edi, dword [edi + 0x890]
call fcn.00419404
mov edi, dword [esp + 0x18]
push 0x3e8
push 0x7be
push dword [edi + 0x7dc]
lea ecx, [edi + 0x30]
call fcn.0043bdf0
cmp dword [edi + 0x8b4], ebx
jne 0x422142
cmp dword [0x550334], ebx
je 0x42212a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___WaeWnd_Download__create_install_thread.
call fcn.00427e2f
pop ecx
pop ecx
push ebx
push ebx
push edi
push 0x4225e4
push ebx
push ebx
call fcn.004d8e68
add esp, 0x18
mov dword [edi + 0x8b4], eax
mov eax, dword [edi + 0x890]
lea ecx, [esp + 0x8c]
call fcn.0041dc51
mov dword [esp + 0xb8], 6
cmp dword [0x550334], ebx
je 0x4221b7
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x90]
call fcn.00428aca
pop ecx
mov byte [esp + 0xb8], 7
cmp dword [eax + 0x14], 0x10
jb 0x422189
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.00427e2f
add esp, 0xc
push ebx
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc0], 6
call fcn.00402566
push 7
pop esi
xor eax, eax
push 0x532610
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
call fcn.00404501
mov byte [esp + 0xb8], 8
xor eax, eax
push 0x532630
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.00404501
lea ecx, [esp + 0x38]
lea eax, [esp + 0x1c]
call fcn.00429e30
push ebx
push 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.0040482f
push ebx
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xc0], 6
call fcn.0040482f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x9c], ebx
je 0x42233b
mov byte [edi + 0x80c], bl
mov byte [edi + 0x8a8], bl
test eax, 0xa00
jne 0x42230a
cmp dword [0x550334], ebx
je 0x42227a
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.00427e2f
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.00404501
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.00404501
push dword [esp + 0x14]
lea esi, [esp + 0x74]
lea eax, [esp + 0x3c]
call fcn.00429dde
pop ecx
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.0040482f
push ebx
push 1
mov ecx, esi
mov byte [esp + 0xc0], 6
call fcn.0040482f
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x422322
lea eax, [esp + 0x8c]
mov ecx, dword [edi + 0x7a0]
push eax
call fcn.00443b46
mov ecx, dword [edi + 0x7a0]
call fcn.00443e5d
jmp 0x42235b
mov byte [edi + 0x80c], 1
mov byte [edi + 0x8a8], 1
jmp 0x42235b
cmp byte [edi + 0x8a8], bl
jne 0x422365
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x8a4], ebx
je 0x42234b
jmp 0x4223d4
cmp dword [edi + 0x8c8], 2
jne 0x4223a9
cmp byte [edi + 0x80c], bl
jne 0x422397
push ebx
push ebx
push 0x8068
mov ecx, edi
call fcn.004430e0
mov ecx, dword [edi + 0x7a0]
mov eax, dword [ecx]
push 1
call dword [eax + 0x104]
push ebx
jmp 0x422399
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 0x4223d4
cmp dword [0x550334], ebx
je 0x4223d4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___recover_tls.
call fcn.00427e2f
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x94]
call fcn.0040482f
jmp 0x422407
cmp dword [0x550334], 0
je 0x422407
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._WARN___d___WaeWnd_Download__stop.
call fcn.00427e2f
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.004d5ddb
mov esp, ebp
pop ebp
ret