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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x526014]
xor eax, ebp
mov dword [esp + 0x138], eax
push 0xc
call fcn.00493d3d
add esp, 4
mov ebx, eax
mov ecx, eax
push esi
call fcn.004dbcd0
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x120]
movdqa xmmword [esi], xmm0
mov dword [esi + 0x10], 0xffffffff
mov ecx, esi
push 0
call fcn.004df260
mov ecx, esi
push dword [ebp + 0xc]
call fcn.004df920
test al, al
jne 0x41da87
mov eax, dword [edi + 0x70]
test eax, eax
je 0x41da87
lea ecx, [esp + 0x120]
push eax
call fcn.004df610
xor eax, eax
dec eax
lea esi, [esp + 0x114]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, edi
push dword [esp + 0x124]
push esi
call fcn.0041d750
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x41db17
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0x50]
push eax
push edi
call fcn.004c2100
add esp, 8
lea esi, [esp + 0xb8]
mov ecx, esi
push edi
push 0x352
push str.DownloadModule
push 1
call fcn.004c1f00
lea ecx, [esp + 0xf4]
push 0x50cb4d
push str.Setup_url_is_empty.
call fcn.004be8c0
mov ecx, esi
call fcn.004c1f40
cmp byte [edi + 0xb], 0
jns 0x41db0d
push dword [esp + 0x50]
call fcn.00493d6d
add esp, 4
mov edi, 2
jmp 0x41e134
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], ebx
lea esi, [esp + 0xb8]
mov ecx, esi
push 0x355
push str.DownloadModule
push 0
call fcn.0043bcc0
lea ecx, [esp + 0xf4]
push 0x50cb65
push str.Selected_download_urls:
call fcn.004be8c0
mov ecx, esi
call fcn.0043bef0
mov edi, dword [esp + 0x114]
mov esi, dword [esp + 0x118]
cmp edi, esi
je 0x41dbaf
lea ebx, [esp + 0xb8]
mov ecx, ebx
push 0x357
push str.DownloadModule
push 0
call fcn.0043bcc0
movzx eax, byte [edi + 0xb]
mov edx, edi
test al, al
jns 0x41db91
mov edx, dword [edi]
mov eax, dword [edi + 4]
add eax, edx
lea ecx, [esp + 0xf4]
push eax
push edx
call fcn.004be8c0
mov ecx, ebx
call fcn.0043bef0
add edi, 0xc
cmp edi, esi
jne 0x41db6f
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x68]
mov dword [esp + 0xb0], 0x509d50
mov dword [esp + 0xb4], eax
mov ecx, esi
call fcn.0041e270
xor eax, eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x118]
sub eax, dword [esp + 0x114]
mov ecx, eax
sar ecx, 2
cmp eax, 0xc
mov edi, 6
cmovne edi, ecx
test edi, edi
je 0x41e1c2
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], edi
push 0
push dword [esi + 0xc8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41e1c2
mov ecx, dword [esp + 0x114]
mov eax, dword [esp + 0x118]
sub eax, ecx
sar eax, 2
imul esi, eax, 0xaaaaaaab
mov eax, edi
xor edx, edx
div esi
mov esi, eax
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x34], esi
div esi
lea eax, [eax + eax*2]
lea esi, [ecx + eax*4]
mov al, byte [esp + 0xab]
test al, al
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
movzx edx, al
mov ebx, edx
mov dword [esp + 0x1c], ecx
cmovs ebx, ecx
movzx ecx, byte [esi + 0xb]
test cl, cl
mov edi, dword [esi + 4]
mov eax, ecx
mov dword [esp + 0x30], edi
cmovs eax, edi
mov dword [esp + 0x2c], eax
cmp ebx, eax
jne 0x41dcf3
mov edi, esi
test cl, cl
jns 0x41dca6
mov edi, dword [esi]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0xa0]
lea eax, [esp + 0xa0]
cmp byte [esp + 0x10], 0
mov dword [esp + 8], esi
cmovs eax, esi
js 0x41dd2a
xor ebx, ebx
cmp byte [esp + 0x10], 0
je 0x41dd7a
dec edx
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x28]
cmp al, byte [edi + ebx]
jne 0x41dcf3
cmp edx, ebx
je 0x41dd70
mov al, byte [esp + ebx + 0xa1]
inc ebx
jmp 0x41dcdc
lea eax, [esp + 0xa0]
cmp eax, esi
mov ebx, dword [esp + 0xc]
je 0x41dd9f
cmp byte [esp + 0x10], 0
js 0x41dd86
test cl, cl
js 0x41dd5c
mov eax, dword [esi + 8]
mov dword [esp + 0xa8], eax
movq xmm0, qword [esi]
movq qword [esp + 0xa0], xmm0
jmp 0x41dd9f
test ebx, ebx
je 0x41dd70
push ebx
push edi
push eax
call fcn.004960fd
add esp, 0xc
test eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
je 0x41ddbb
lea eax, [esp + 0xa0]
cmp eax, dword [esp + 0x28]
mov ebx, dword [esp + 0xc]
jne 0x41dd8e
jmp 0x41dd9f
lea ecx, [esp + 0xa0]
push dword [esp + 0x30]
push dword [esi]
call fcn.0046dcf0
jmp 0x41dd9f
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
jmp 0x41dd80
xor edx, edx
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x1c]
jmp 0x41ddbb
test cl, cl
jns 0x41dd8c
mov esi, dword [esi]
mov edi, esi
lea ecx, [esp + 0xa0]
push dword [esp + 0x2c]
push edi
call fcn.0046dc00
mov ecx, ebx
call fcn.004dbd50
mov dl, byte [esp + 0xab]
mov ecx, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
xor eax, eax
dec eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
test dl, dl
lea eax, [esp + 0xa0]
cmovns ecx, eax
movzx ebx, dl
cmovs ebx, esi
cmp ebx, 0x7ffffff0
mov edi, dword [esp + 0x14]
jae 0x41e261
mov dword [esp + 8], ecx
cmp ebx, 5
jae 0x41de16
mov byte [esp + 0x9f], bl
lea eax, [esp + 0x94]
test ebx, ebx
mov esi, dword [esp + 8]
jne 0x41de47
jmp 0x41de58
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.00493d3d
add esp, 4
mov dword [esp + 0x94], eax
or esi, 0x80000000
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov esi, dword [esp + 8]
xor ecx, ecx
movsx edx, byte [esi + ecx]
mov word [eax], dx
add eax, 2
inc ecx
cmp ebx, ecx
jne 0x41de49
mov word [eax], 0
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x74], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0x5c], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov ecx, edi
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x98]
push eax
mov ebx, dword [esp + 0x20]
push ebx
lea eax, [esp + 0xac]
push eax
call fcn.0041d9c0
test al, al
jne 0x41dedc
cmp dword [esp + 0x50], 0
jne 0x41e05b
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x74]
test al, al
je 0x41df4d
mov eax, esi
mov esi, dword [esp + 0x18]
lea ecx, [esi + 1]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x14]
lea ebx, [esp + 0x120]
push ebx
lea edx, [esp + 0x7c]
push edx
lea edx, [esp + 0x90]
push edx
push edi
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0xac]
push eax
push 1
call fcn.0041c000
xor eax, eax
cmp dword [esp + 0x34], esi
seta al
mov ecx, ebx
mov ebx, dword [esp + 0xc]
push eax
call fcn.004df850
mov dword [esp + 8], 0
mov dword [esp + 0x24], 0
mov edi, dword [esp + 0x20]
jmp 0x41dfc8
lea eax, [edi + edi]
lea eax, [eax + eax*4]
mov ecx, 0x51eb851f
mul ecx
shr edx, 5
cmp esi, edx
jae 0x41df6c
mov ecx, ebx
call fcn.004dbd50
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x18]
lea ebx, [eax + 1]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x90]
push eax
push edi
push esi
push ebx
lea eax, [esp + 0xac]
push eax
push 0
call fcn.0041c000
mov al, 1
mov dword [esp + 8], eax
mov edi, dword [esp + 0x20]
cmp ebx, edi
jae 0x41dfc4
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.0041e440
push eax
push dword [esi + 0xc8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [esp + 0xc]
cmp byte [esp + 0x6b], 0
jns 0x41dfdb
push dword [esp + 0x60]
call fcn.00493d6d
add esp, 4
cmp byte [esp + 0x5f], 0
mov esi, dword [esp + 0x14]
jns 0x41dff2
push dword [esp + 0x54]
call fcn.00493d6d
add esp, 4
cmp byte [esp + 0x83], 0
jns 0x41e008
push dword [esp + 0x78]
call fcn.00493d6d
add esp, 4
cmp byte [esp + 0x93], 0
jns 0x41e021
push dword [esp + 0x88]
call fcn.00493d6d
add esp, 4
cmp byte [esp + 0x9f], 0
jns 0x41e03a
push dword [esp + 0x94]
call fcn.00493d6d
add esp, 4
cmp byte [esp + 8], 0
je 0x41e117
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, edi
jne 0x41dc18
jmp 0x41e1c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea esi, [esp + 0x48]
push esi
call fcn.004c2100
add esp, 8
lea ecx, [esp + 0xb8]
push esi
push 0x376
push str.DownloadModule
push 1
call fcn.004c1f00
lea eax, [esp + 0x50]
push eax
lea esi, [esp + 0x3c]
push esi
call fcn.004deec0
add esp, 8
movzx eax, byte [esp + 0x43]
mov edx, esi
test al, al
jns 0x41e0ad
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add eax, edx
lea ecx, [esp + 0xf4]
push eax
push edx
call fcn.004be8c0
cmp byte [esp + 0x43], 0
mov edi, dword [esp + 0x20]
jns 0x41e0d4
push dword [esp + 0x38]
call fcn.00493d6d
add esp, 4
lea ecx, [esp + 0xb8]
call fcn.004c1f40
cmp byte [esp + 0x4f], 0
jns 0x41e0f3
push dword [esp + 0x44]
call fcn.00493d6d
add esp, 4
lea eax, [esp + 0x50]
push eax
call fcn.0044dee0
add esp, 4
movzx eax, al
or eax, 2
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0
jmp 0x41dfc8
mov edi, dword [esp + 0x24]
cmp byte [esp + 0xab], 0
jns 0x41e134
push dword [esp + 0xa0]
call fcn.00493d6d
add esp, 4
mov esi, dword [esp + 0x114]
test esi, esi
je 0x41e18f
mov eax, dword [esp + 0x118]
cmp eax, esi
je 0x41e25a
mov dword [esp + 0xc], ebx
mov ebx, edi
lea edi, [eax - 0xc]
cmp byte [eax - 1], 0
js 0x41e165
mov eax, edi
cmp edi, esi
jne 0x41e154
jmp 0x41e172
push dword [eax - 0xc]
call fcn.00493d6d
add esp, 4
jmp 0x41e15d
mov eax, dword [esp + 0x114]
mov edi, ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x118], esi
push eax
call fcn.00493d6d
add esp, 4
lea ecx, [esp + 0x120]
call fcn.004df290
test ebx, ebx
je 0x41e1a8
mov ecx, ebx
push 1
call fcn.004bf5b0
mov ecx, dword [esp + 0x138]
xor ecx, ebp
call fcn.004948c8
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 0x50]
push eax
push ebx
call fcn.004c2100
add esp, 8
lea ecx, [esp + 0xb8]
push ebx
push 0x38f
push str.DownloadModule
push 1
call fcn.004c1f00
lea esi, [esp + 0xc0]
lea ecx, [esp + 0xf4]
push 0x50cb84
push str.Max_download_attempts_failed__
call fcn.004be8c0
mov ecx, esi
push edi
call fcn.004bf0a0
mov ecx, eax
push 0x50cb86
call fcn.004bf020
lea ecx, [esp + 0xb8]
call fcn.004c1f40
cmp byte [ebx + 0xb], 0
jns 0x41e23e
push dword [esp + 0x50]
call fcn.00493d6d
add esp, 4
lea ecx, [esp + 0x120]
push 0
call fcn.004df850
mov edi, 2
mov ebx, dword [esp + 0xc]
jmp 0x41e11b
mov eax, esi
jmp 0x41e17f
lea ecx, [esp + 0x94]
call fcn.004d5dc0
int3