Function at 0x423d20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [0x540010]
xor eax, ebp
mov dword [esp + 0xe8], eax
push 0xc
call fcn.004dfb05
add esp, 4
mov dword [esp], eax
mov ecx, eax
push edi
call fcn.0049d120
lea eax, [esp + 0xe4]
mov dword [eax], 0
push eax
push esi
call fcn.004243c0
test al, al
jne 0x423d85
mov ecx, ebx
call fcn.004285a0
movzx eax, al
mov dword [esp + 0xe4], eax
jmp 0x423d8c
mov eax, dword [esp + 0xe4]
xor ecx, ecx
dec ecx
lea esi, [esp + 0xd8]
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esp + 4], ebx
mov ecx, ebx
push eax
push esi
call fcn.004233b0
call fcn.004d92f0
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x423ebc
lea esi, [esp + 0x80]
mov ecx, esi
push 0x3b8
push str.DownloadModule
push 0
call fcn.00455190
lea ecx, [esp + 0xbc]
push 0x5230dc
push str.Selected_download_urls:
call fcn.004147c0
mov ecx, esi
call fcn.004553c0
mov edi, dword [esp + 0xd8]
mov ebx, dword [esp + 0xdc]
cmp edi, ebx
je 0x423e4f
lea esi, [esp + 0x80]
jmp 0x423e30
mov edx, dword [edi]
mov eax, dword [edi + 4]
add eax, edx
lea ecx, [esp + 0xbc]
push eax
push edx
call fcn.004147c0
mov ecx, esi
call fcn.004553c0
add edi, 0x10
cmp edi, ebx
je 0x423e4f
mov ecx, esi
push 0x3ba
push str.DownloadModule
push 0
call fcn.00455190
movzx eax, byte [edi + 0xb]
mov edx, edi
test al, al
jns 0x423e12
jmp 0x423e0d
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x64]
mov dword [esp + 0x78], 0x51f398
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x548b80]
bt ecx, eax
jae 0x423eae
push esi
call fcn.004a0180
add esp, 4
mov edi, dword [esp]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 4]
mov ecx, esi
call fcn.00424540
mov ebx, dword [esp + 0xd8]
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x14], eax
cmp ebx, eax
je 0x423f2d
jmp 0x424336
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x550b80], 1
jmp 0x423e7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0x30]
push eax
push edi
call fcn.0050e3e0
add esp, 8
lea esi, [esp + 0x80]
mov ecx, esi
push edi
push 0x3b5
push str.DownloadModule
push 1
call fcn.00455540
lea ecx, [esp + 0xbc]
push 0x5230c4
push str.Setup_url_is_empty.
call fcn.004147c0
mov ecx, esi
call fcn.00455590
cmp byte [edi + 0xb], 0
jns 0x423f1a
push dword [esp + 0x30]
call fcn.004dfb35
add esp, 4
mov ebx, 2
mov edi, dword [esp]
jmp 0x423fbe
mov ebx, dword [esp + 0xc]
jmp 0x423f93
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0x30]
push eax
push edi
call fcn.0050e3e0
add esp, 8
lea esi, [esp + 0x80]
mov ecx, esi
push edi
push 0x3ec
push str.DownloadModule
push 1
call fcn.00455540
lea ecx, [esp + 0xbc]
push 0x52310e
push str.Max_download_attempts_failed
call fcn.004147c0
mov ecx, esi
call fcn.00455590
cmp byte [edi + 0xb], 0
jns 0x423f8b
push dword [esp + 0x30]
call fcn.004dfb35
add esp, 4
mov ebx, 2
mov edi, dword [esp]
mov dword [esp + 0x78], 0x51f398
mov eax, dword [esp + 0x7c]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x548b80]
bt edx, ecx
jae 0x423fbe
push eax
call fcn.004a02a0
add esp, 4
mov esi, dword [esp + 0xd8]
test esi, esi
je 0x424018
mov edi, dword [esp + 0xdc]
mov eax, esi
cmp edi, esi
je 0x424005
add edi, 0xfffffff0
jmp 0x423fee
push dword [edi]
call fcn.004dfb35
add esp, 4
lea eax, [edi - 0x10]
cmp edi, esi
mov edi, eax
je 0x423ffe
test edi, edi
je 0x424395
cmp byte [edi + 0xb], 0
jns 0x423fe5
jmp 0x423fdb
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xdc], esi
push eax
call fcn.004dfb35
add esp, 4
mov edi, dword [esp]
test edi, edi
je 0x424025
mov ecx, edi
push 1
call fcn.00432940
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea eax, [ebx + ebx]
lea eax, [eax + eax*4]
mov ecx, 0x51eb851f
mul ecx
shr edx, 5
cmp esi, edx
jae 0x42405e
mov ecx, edi
call fcn.0049d1a0
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 8]
inc eax
mov ecx, dword [esp + 4]
lea edx, [esp + 0xe4]
push edx
lea edx, [esp + 0x54]
push edx
lea edx, [esp + 0x68]
push edx
push ebx
push esi
mov esi, ecx
push eax
lea eax, [esp + 0x84]
push eax
push 0
call fcn.00421a30
mov ecx, esi
call fcn.00424670
push eax
push dword [esi + 0xc4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov bl, 1
jmp 0x42424b
mov esi, dword [edi + 4]
mov ebx, dword [esp + 0x4c]
test al, al
je 0x42403f
mov eax, dword [esp + 8]
inc eax
mov ecx, dword [esp + 4]
lea edx, [esp + 0xe4]
push edx
lea edx, [esp + 0x54]
push edx
lea edx, [esp + 0x68]
push edx
push ebx
push esi
mov esi, ecx
push eax
lea eax, [esp + 0x84]
push eax
push 1
call fcn.00421a30
xor ebx, ebx
mov dword [esp + 0xc], 0
jmp 0x42424b
mov edi, ebx
or edi, 3
inc edi
js 0x4243a4
lea eax, [edi + edi]
push eax
call fcn.004dfb05
add esp, 4
mov dword [esp + 0x6c], eax
or edi, 0x80000000
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov edi, dword [esp]
xor ecx, ecx
movsx edx, byte [esi + ecx]
mov word [eax], dx
add eax, 2
inc ecx
cmp ebx, ecx
jne 0x424120
mov word [eax], 0
xor eax, eax
mov dword [esp + 0x68], eax
xorps xmm0, xmm0
movsd qword [esp + 0x60], xmm0
mov dword [esp + 0x58], eax
movsd qword [esp + 0x50], xmm0
mov dword [esp + 0x4c], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x3c], xmm0
movaps xmmword [esp + 0x30], xmm0
mov esi, dword [esp + 4]
mov ecx, esi
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x70]
push eax
push edi
lea eax, [esp + 0x84]
push eax
call fcn.00423cd0
test al, al
jne 0x4240a8
cmp dword [esp + 0x30], 0
je 0x4240a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ebx, [esp + 0x28]
push ebx
call fcn.0050e3e0
add esp, 8
lea ecx, [esp + 0x80]
push ebx
push 0x3d3
push str.DownloadModule
push 1
call fcn.00455540
lea eax, [esp + 0x30]
push eax
lea ebx, [esp + 0x1c]
push ebx
call fcn.0049b6d0
add esp, 8
movzx eax, byte [esp + 0x23]
mov edx, ebx
test al, al
jns 0x4241f0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add eax, edx
lea ecx, [esp + 0xbc]
push eax
push edx
call fcn.004147c0
cmp byte [esp + 0x23], 0
jns 0x424213
push dword [esp + 0x18]
call fcn.004dfb35
add esp, 4
lea ecx, [esp + 0x80]
call fcn.00455590
cmp byte [esp + 0x2f], 0
jns 0x424232
push dword [esp + 0x24]
call fcn.004dfb35
add esp, 4
lea eax, [esp + 0x30]
push eax
call fcn.0049b820
add esp, 4
movzx eax, al
or eax, 2
mov dword [esp + 0xc], eax
xor ebx, ebx
cmp byte [esp + 0x4b], 0
jns 0x42425e
push dword [esp + 0x40]
call fcn.004dfb35
add esp, 4
cmp byte [esp + 0x3f], 0
jns 0x424271
push dword [esp + 0x34]
call fcn.004dfb35
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x424284
push dword [esp + 0x50]
call fcn.004dfb35
add esp, 4
cmp byte [esp + 0x6b], 0
jns 0x424297
push dword [esp + 0x60]
call fcn.004dfb35
add esp, 4
cmp byte [esp + 0x77], 0
jns 0x4242aa
push dword [esp + 0x6c]
call fcn.004dfb35
add esp, 4
test bl, bl
je 0x423f27
mov eax, dword [esp + 8]
inc eax
mov ebx, dword [esp + 0x10]
mov dword [esp + 8], eax
cmp eax, dword [ebx + 0xc]
jae 0x424329
push 0
push dword [esi + 0xc4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x424354
xor eax, eax
dec eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov esi, ebx
movzx ebx, byte [ebx + 0xb]
test bl, bl
jns 0x4242fb
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
mov ebx, dword [eax + 4]
cmp ebx, 0x7ffffff8
jae 0x4243a9
cmp ebx, 5
jae 0x4240f1
mov byte [esp + 0x77], bl
lea eax, [esp + 0x6c]
test ebx, ebx
jne 0x42411e
lea eax, [esp + 0x6c]
jmp 0x42412f
add ebx, 0x10
cmp ebx, dword [esp + 0x14]
je 0x423f2d
mov ecx, edi
call fcn.0049d1a0
cmp dword [ebx + 0xc], 0
je 0x424329
mov dword [esp + 8], 0
mov dword [esp + 0x10], ebx
jmp 0x4242c4
lea esi, [esp + 0x80]
mov ecx, esi
push 0x3c4
push str.DownloadModule
push 0
call fcn.00455190
lea ecx, [esp + 0xbc]
push 0x5230f1
push str.Installation_stopped
call fcn.004147c0
mov ecx, esi
call fcn.004553c0
mov ebx, 2
jmp 0x423f93
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
push 0x521354
call fcn.0044d640
call fcn.0050dc70
lea ecx, [esp + 0x6c]
call fcn.004147a0
int3