Function at 0x10019d20
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bfdbd
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x1010b570]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.MapEditor_json_versioninfo.json
mov dword [ebp - 0xfc], 0
call fcn.1000d7b0
add esp, 4
push 0
push 0
push eax
push str.https:__api.github.com_repos_user_grinch_Map_Editor_tags
push 0
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, 0x8007000e
je 0x1001a0f5
cmp eax, 0x800c0008
je 0x1001a0f5
push str.versioninfo
lea ecx, [ebp - 0xd8]
call fcn.1003ef80
movzx eax, byte [ebp - 0xc0]
mov dword [ebp - 4], 0
sub eax, 0
je 0x10019fcd
sub eax, 1
je 0x10019dc9
sub eax, 1
jne 0x10019dde
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jmp 0x10019dd3
mov eax, dword [ebp - 0xb8]
cmp dword [eax + 4], 0
sete al
test al, al
jne 0x10019fcd
lea edx, [ebp - 0xc0]
mov dword [ebp - 0x1c], 0
movzx ecx, byte [edx]
xor edi, edi
mov eax, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xf8], 0x80000000
mov dword [ebp - 0xfc], ecx
sub eax, 1
je 0x10019e60
mov esi, 0x80000000
sub eax, 1
je 0x10019e54
mov eax, ecx
sub eax, edi
je 0x10019e41
sub eax, 1
je 0x10019e60
sub eax, 1
je 0x10019e54
xor esi, esi
mov dword [ebp - 0xf8], edi
xor eax, eax
jmp 0x10019e6f
mov dword [ebp - 0xf8], 1
mov esi, 1
xor eax, eax
jmp 0x10019e6f
mov eax, dword [edx + 8]
mov edi, dword [eax]
xor eax, eax
mov dword [ebp - 0x18], edi
jmp 0x10019e6f
mov eax, dword [edx + 8]
mov esi, 0x80000000
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
movq xmm0, qword [ebp - 0x1c]
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xb0], edx
movq qword [ebp - 0xac], xmm0
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], 1
mov word [ebp - 0x98], 0x30
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
mov ecx, dword [ebp - 0xfc]
mov byte [ebp - 4], 4
sub ecx, 0
je 0x1001a1ac
sub ecx, 1
je 0x10019f0d
sub ecx, 1
je 0x10019f09
test esi, esi
jne 0x1001a123
jmp 0x10019f10
mov edx, edi
jmp 0x10019f10
lea edx, [eax + 0x28]
push str.name
mov ecx, edx
call fcn.10013df0
mov dword [ebp - 0x40], 0
cmp byte [eax], 3
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 7
mov dword [ebp - 0xfc], 1
jne 0x1001a15d
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x10019f6b
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x10019f61
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.1000d880
mov ecx, dword [0x10109020]
cmp ecx, 0x10
jb 0x10019fa4
mov eax, dword [0x1010900c]
inc ecx
cmp ecx, 0x1000
jb 0x10019f9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a1a7
mov eax, edx
push ecx
push eax
call fcn.1009981e
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [0x1010900c], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [0x1010901c], xmm0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0
call fcn.10017fa0
jmp 0x10019fde
push 3
push 0x100c7b98
mov ecx, 0x1010900c
call fcn.1000d880
cmp dword [0x10109020], 0x10
mov ecx, 0x1010900c
mov edi, dword [0x1010901c]
mov eax, 3
cmovae ecx, dword [0x1010900c]
mov esi, edi
cmp edi, eax
mov edx, 0x100c7b98
cmova esi, eax
sub esi, 4
jb 0x1001a021
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1001a026
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1001a010
cmp esi, 0xfffffffc
je 0x1001a05a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1001a053
cmp esi, 0xfffffffd
je 0x1001a05a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1001a053
cmp esi, 0xfffffffe
je 0x1001a05a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1001a053
cmp esi, 0xffffffff
je 0x1001a05a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1001a05a
sbb eax, eax
or eax, 1
jmp 0x1001a05c
xor eax, eax
test eax, eax
je 0x1001a089
jns 0x1001a08e
push 0
push 0
push 0
push str.No_update_found.
call fcn.1000dbd0
add esp, 0x10
lea ecx, [ebp - 0xd8]
xor eax, eax
mov dword [0x10109008], eax
call fcn.10018030
jmp 0x1001a108
cmp edi, 3
jbe 0x1001a062
push 0xc
push str.Update_found
mov ecx, 0x101090a0
mov byte [0x101193f2], 1
call fcn.1000d880
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
push 0x101193f8
mov ecx, eax
mov dword [ebp - 0x64], 0x10036610
mov dword [ebp - 0x44], eax
call fcn.1001f240
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x1001a0de
mov edx, dword [ecx]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, 2
lea ecx, [ebp - 0xd8]
mov dword [0x10109008], eax
call fcn.10018030
jmp 0x1001a108
push 0
push 0
push 0
push str.Failed_to_check_for_updates
call fcn.1000dbd0
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10099d54
mov esp, ebp
pop ebp
ret
push str.cannot_get_value
lea ecx, [ebp - 0x28]
call fcn.10015ef0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xf4]
push 0xd6
push eax
call fcn.1001c4d0
add esp, 0xc
lea eax, [ebp - 0xf4]
push 0x10102754
push eax
call fcn.1009b185
mov ecx, eax
call fcn.1001f370
push eax
lea ecx, [ebp - 0x28]
call fcn.10015ef0
push eax
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 9
push str.type_must_be_string__but_is
push eax
call fcn.10013ff0
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
push 0x12e
push eax
call fcn.1001c8d0
add esp, 0x18
lea eax, [ebp - 0x5c]
push 0x101026fc
push eax
call fcn.1009b185
call fcn.1009efff
push str.cannot_get_value
lea ecx, [ebp - 0x28]
call fcn.10015ef0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x5c]
push 0xd6
push eax
call fcn.1001c4d0
add esp, 0xc
lea eax, [ebp - 0x5c]
push 0x10102754
push eax
call fcn.1009b185
int3