Function at 0x10042820
Capabilities:
Download url
Receive data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079ecd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x10099128]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
lea eax, [ebp - 0x54]
push eax
push str.http:__api.github.com_repos_ViperJohnGR_ModelVariations_tags
push 0
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamA]
test eax, eax
je 0x100428a4
push str.Check_for_updates_failed._Cannot_open_connection._n
call fcn.10012000
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10054e57
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov dword [ebp - 0x2c], 0
push 0x40
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.1000d570
push 0x33
mov esi, eax
mov dword [ebp - 0x1c], 0x33
push 0
push esi
mov dword [ebp - 0x18], 0x3f
call fcn.10056e60
mov byte [esi + 0x33], 0
add esp, 0xc
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x54]
cmp dword [ebp - 0x18], 0x10
push 0
push 0x32
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0x2c]
cmovae eax, esi
push eax
push edx
call ecx
test eax, eax
je 0x1004292d
mov eax, str.Check_for_updates_failed._n
push eax
call fcn.10012000
mov esi, dword [ebp - 0x2c]
add esp, 4
jmp 0x10042bd4
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, edx
setae byte [ebp - 0x45]
mov dword [ebp - 0x50], ecx
cmp eax, 9
jb 0x100429e3
add eax, 0xfffffff8
add eax, ecx
mov dword [ebp - 0x4c], eax
sub eax, ecx
push eax
push 0x22
push ecx
call fcn.10056fc0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100429dd
mov ecx, edi
mov edx, str._name_:_v
mov esi, 5
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10042991
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10042980
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100429b8
cmp esi, 0xfffffffd
je 0x100429b4
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100429b8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100429b8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100429b8
xor eax, eax
jmp 0x100429bd
sbb eax, eax
or eax, 1
test eax, eax
je 0x10042a44
mov eax, dword [ebp - 0x4c]
inc edi
sub eax, edi
push eax
push 0x22
push edi
call fcn.10056fc0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10042972
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
or edi, 0xffffffff
lea ecx, [edi + 9]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 4], 1
cmp eax, ecx
jb 0x10042c0f
sub eax, ecx
mov edi, 0xa
cmp eax, edi
cmovb edi, eax
cmp byte [ebp - 0x45], 0
lea eax, [ebp - 0x2c]
cmovne eax, edx
add eax, ecx
mov dword [ebp - 0x50], eax
cmp edi, 0xf
ja 0x10042a4f
push edi
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], edi
push eax
call fcn.100568e0
mov byte [ebp + edi - 0x44], 0
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
jmp 0x10042aa2
sub edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
jmp 0x100429e6
cmp edi, 0x7fffffff
ja 0x10042c14
mov esi, edi
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x10042a6f
mov esi, 0x7fffffff
jmp 0x10042a79
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x44]
call fcn.1000d570
push edi
push dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
push eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
call fcn.100568e0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov byte [eax + edi], 0
mov edx, dword [ebp - 0x18]
add esp, 0xc
cmp edx, 0x10
jb 0x10042ad9
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10042acf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042c19
push edx
push ecx
call fcn.100550a8
add esp, 8
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [ebp - 0x1c], xmm0
cmp esi, 0x10
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
test edi, edi
je 0x10042b17
push edi
push 0x22
push eax
call fcn.10056fc0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10042b17
sub ecx, dword [ebp - 0x50]
jmp 0x10042b1a
or ecx, 0xffffffff
cmp edi, ecx
jb 0x10042c0f
cmp esi, 0x10
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x4c]
lea edi, [ebp - 0x2c]
mov byte [eax + ecx], 0
cmp dword [ebp - 0x18], 0x10
mov esi, dword [ebp - 0x2c]
setae byte [ebp - 0x45]
jb 0x10042b4b
mov edx, esi
mov edi, esi
mov ecx, esi
jmp 0x10042b50
mov ecx, edi
lea edx, [ebp - 0x2c]
add edx, dword [ebp - 0x1c]
cmp edi, edx
je 0x10042b6a
mov al, byte [ecx]
cmp al, 0x30
jl 0x10042b61
cmp al, 0x39
jle 0x10042b65
cmp al, 0x2e
jne 0x10042bac
inc ecx
cmp ecx, edx
jne 0x10042b57
cmp byte [ebp - 0x45], 0
lea ecx, [ebp - 0x2c]
cmovne ecx, esi
mov edx, ecx
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10042b80
sub edx, edi
mov eax, str.9.4.7
lea edi, [ecx + edx]
cmp ecx, edi
je 0x10042bc5
mov dl, byte [eax]
mov dh, byte [ecx]
cmp dl, dh
jl 0x10042bbf
cmp dh, dl
jl 0x10042bd4
inc eax
inc ecx
cmp eax, 0x1008d205
jne 0x10042b91
jmp 0x10042bcc
mov eax, str.Check_for_updates_failed._Invalid_version_string._n
push eax
call fcn.10012000
mov esi, dword [ebp - 0x2c]
add esp, 4
jmp 0x10042bd4
mov byte [ebp - 0x45], 1
jmp 0x10042bd8
cmp eax, 0x1008d205
jne 0x10042bd4
mov byte [ebp - 0x45], 1
cmp ecx, edi
jne 0x10042bd8
mov byte [ebp - 0x45], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10042c07
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10042bfd
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042c19
push ecx
push esi
call fcn.100550a8
add esp, 8
mov al, byte [ebp - 0x45]
jmp 0x10042886
call fcn.1000dab0
call fcn.10009870
call fcn.1006065f
int3