Function at 0x100421e0
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 0x1007988d
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 0x10042264
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.10054817
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.10056820
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 0x100422ed
mov eax, str.Check_for_updates_failed._n
push eax
call fcn.10011590
mov esi, dword [ebp - 0x2c]
add esp, 4
jmp 0x10042594
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 0x100423a3
add eax, 0xfffffff8
add eax, ecx
mov dword [ebp - 0x4c], eax
sub eax, ecx
push eax
push 0x22
push ecx
call fcn.10056980
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1004239d
mov ecx, edi
mov edx, str._name_:_v
mov esi, 5
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10042351
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10042340
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10042378
cmp esi, 0xfffffffd
je 0x10042374
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10042378
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10042378
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10042378
xor eax, eax
jmp 0x1004237d
sbb eax, eax
or eax, 1
test eax, eax
je 0x10042404
mov eax, dword [ebp - 0x4c]
inc edi
sub eax, edi
push eax
push 0x22
push edi
call fcn.10056980
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10042332
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 0x100425cf
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 0x1004240f
push edi
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], edi
push eax
call fcn.100562a0
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 0x10042462
sub edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
jmp 0x100423a6
cmp edi, 0x7fffffff
ja 0x100425d4
mov esi, edi
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x1004242f
mov esi, 0x7fffffff
jmp 0x10042439
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.100562a0
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 0x10042499
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004248f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100425d9
push edx
push ecx
call fcn.10054a68
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 0x100424d7
push edi
push 0x22
push eax
call fcn.10056980
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x100424d7
sub ecx, dword [ebp - 0x50]
jmp 0x100424da
or ecx, 0xffffffff
cmp edi, ecx
jb 0x100425cf
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 0x1004250b
mov edx, esi
mov edi, esi
mov ecx, esi
jmp 0x10042510
mov ecx, edi
lea edx, [ebp - 0x2c]
add edx, dword [ebp - 0x1c]
cmp edi, edx
je 0x1004252a
mov al, byte [ecx]
cmp al, 0x30
jl 0x10042521
cmp al, 0x39
jle 0x10042525
cmp al, 0x2e
jne 0x1004256c
inc ecx
cmp ecx, edx
jne 0x10042517
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 0x10042540
sub edx, edi
mov eax, 0x1008c1c0
lea edi, [ecx + edx]
cmp ecx, edi
je 0x10042585
mov dl, byte [eax]
mov dh, byte [ecx]
cmp dl, dh
jl 0x1004257f
cmp dh, dl
jl 0x10042594
inc eax
inc ecx
cmp eax, 0x1008c1c3
jne 0x10042551
jmp 0x1004258c
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 0x10042594
mov byte [ebp - 0x45], 1
jmp 0x10042598
cmp eax, 0x1008c1c3
jne 0x10042594
mov byte [ebp - 0x45], 1
cmp ecx, edi
jne 0x10042598
mov byte [ebp - 0x45], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100425c7
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100425bd
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100425d9
push ecx
push esi
call fcn.10054a68
add esp, 8
mov al, byte [ebp - 0x45]
jmp 0x10042246
call fcn.1000d040
call fcn.10008e10
call fcn.1006001f
int3