Function at 0x10042320
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 0x100799cd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x10098128]
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 0x100423a4
push str.Check_for_updates_failed._Cannot_open_connection._n
call fcn.10011590
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.10054947
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.1000cb00
push 0x33
mov esi, eax
mov dword [ebp - 0x1c], 0x33
push 0
push esi
mov dword [ebp - 0x18], 0x3f
call fcn.10056950
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 0x1004242d
mov eax, str.Check_for_updates_failed._n
push eax
call fcn.10011590
mov esi, dword [ebp - 0x2c]
add esp, 4
jmp 0x100426d4
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 0x100424e3
add eax, 0xfffffff8
add eax, ecx
mov dword [ebp - 0x4c], eax
sub eax, ecx
push eax
push 0x22
push ecx
call fcn.10056ab0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100424dd
mov ecx, edi
mov edx, str._name_:_v
mov esi, 5
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10042491
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10042480
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100424b8
cmp esi, 0xfffffffd
je 0x100424b4
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100424b8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100424b8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100424b8
xor eax, eax
jmp 0x100424bd
sbb eax, eax
or eax, 1
test eax, eax
je 0x10042544
mov eax, dword [ebp - 0x4c]
inc edi
sub eax, edi
push eax
push 0x22
push edi
call fcn.10056ab0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10042472
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 0x1004270f
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 0x1004254f
push edi
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], edi
push eax
call fcn.100563d0
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 0x100425a2
sub edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
jmp 0x100424e6
cmp edi, 0x7fffffff
ja 0x10042714
mov esi, edi
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x1004256f
mov esi, 0x7fffffff
jmp 0x10042579
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x44]
call fcn.1000cb00
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.100563d0
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 0x100425d9
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100425cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042719
push edx
push ecx
call fcn.10054b98
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 0x10042617
push edi
push 0x22
push eax
call fcn.10056ab0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10042617
sub ecx, dword [ebp - 0x50]
jmp 0x1004261a
or ecx, 0xffffffff
cmp edi, ecx
jb 0x1004270f
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 0x1004264b
mov edx, esi
mov edi, esi
mov ecx, esi
jmp 0x10042650
mov ecx, edi
lea edx, [ebp - 0x2c]
add edx, dword [ebp - 0x1c]
cmp edi, edx
je 0x1004266a
mov al, byte [ecx]
cmp al, 0x30
jl 0x10042661
cmp al, 0x39
jle 0x10042665
cmp al, 0x2e
jne 0x100426ac
inc ecx
cmp ecx, edx
jne 0x10042657
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 0x10042680
sub edx, edi
mov eax, str.9.5.3
lea edi, [ecx + edx]
cmp ecx, edi
je 0x100426c5
mov dl, byte [eax]
mov dh, byte [ecx]
cmp dl, dh
jl 0x100426bf
cmp dh, dl
jl 0x100426d4
inc eax
inc ecx
cmp eax, 0x1008c209
jne 0x10042691
jmp 0x100426cc
mov eax, str.Check_for_updates_failed._Invalid_version_string._n
push eax
call fcn.10011590
mov esi, dword [ebp - 0x2c]
add esp, 4
jmp 0x100426d4
mov byte [ebp - 0x45], 1
jmp 0x100426d8
cmp eax, 0x1008c209
jne 0x100426d4
mov byte [ebp - 0x45], 1
cmp ecx, edi
jne 0x100426d8
mov byte [ebp - 0x45], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10042707
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100426fd
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10042719
push ecx
push esi
call fcn.10054b98
add esp, 8
mov al, byte [ebp - 0x45]
jmp 0x10042386
call fcn.1000d040
call fcn.10008e10
call fcn.1006014f
int3