Function at 0x100f21f0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101eba82
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor eax, eax
mov dword [ebp - 0xa4], 0xc8
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], eax
call fcn.10104060
mov ecx, dword [eax]
mov dword [eax], 0
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100f2263
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
push 0xffffffffffffffff
push eax
push 0x102a7574
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.100a5420
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x100f22b9
mov eax, dword [ecx]
jmp 0x100f22bb
mov eax, ecx
push 0x1c
xor edx, edx
push str._api_prepare_device_appcheck
mov word [eax], dx
call fcn.100a7e70
mov byte [ebp - 4], 3
mov eax, dword [0x102a7fc8]
test eax, eax
jne 0x100f2300
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x84], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.100a8450
mov byte [ebp - 4], 3
mov dword [0x102a7fc8], eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.100a8870
mov esi, eax
lea eax, [ebp - 0x38]
cmp eax, esi
je 0x100f234d
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x100f2330
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.100a5620
xor eax, eax
mov dword [ebp - 0x24], 7
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
call fcn.100a7dd0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x100f236f
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.100a5620
push 0x10246a40
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0xa0]
call fcn.100ab160
add esp, 4
mov esi, eax
lea eax, [ebp - 0x38]
cmp eax, esi
je 0x100f23c0
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x100f23a3
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.100a5620
xor eax, eax
mov dword [ebp - 0x24], 7
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
call fcn.100a7dd0
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x100f23de
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.100a5620
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa0]
push 8
xor eax, eax
mov dword [ebp - 0x8c], 7
push str.uniqueId
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
call fcn.100a7e70
mov byte [ebp - 4], 8
mov ecx, dword [0x102a7fc8]
test ecx, ecx
jne 0x100f2449
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x84], eax
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.100a8450
mov ecx, eax
mov byte [ebp - 4], 8
mov dword [0x102a7fc8], ecx
sub esp, 0x18
mov eax, esp
push 0
push eax
call fcn.100a8bd0
lea ecx, [ebp - 0x18]
call fcn.10100120
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x20]
call fcn.10100460
cmp eax, esi
je 0x100f2482
mov edx, dword [eax]
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [esi], edx
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100f2494
mov byte [ebp - 4], 0xb
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x100f24b6
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.100a5620
push str.appVersion
lea ecx, [ebp - 0xa0]
call fcn.100a7530
mov byte [ebp - 4], 0xc
mov ecx, dword [0x102a7fc8]
test ecx, ecx
jne 0x100f24fe
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x84], eax
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.100a8450
mov ecx, eax
mov byte [ebp - 4], 0xc
mov dword [0x102a7fc8], ecx
sub esp, 0x18
push esp
call fcn.100f7a50
lea ecx, [ebp - 0x18]
call fcn.10100120
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x20]
call fcn.10100460
cmp eax, esi
je 0x100f2533
mov edx, dword [eax]
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [esi], edx
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100f2545
mov byte [ebp - 4], 0xf
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x100f2567
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.100a5620
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [0x102a7fc8]
mov dword [ebp - 0x90], 0
test eax, eax
jne 0x100f25b4
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x84], eax
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.100a8450
mov byte [ebp - 4], 7
mov dword [0x102a7fc8], eax
cmp dword [eax + 0x1e0], 0x3f2
lea ecx, [ebp - 0xa0]
push str.deviceType
jne 0x100f261c
call fcn.100a7530
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov ecx, esp
push 0x102459f4
call fcn.100a7530
lea ecx, [ebp - 0x18]
call fcn.10100120
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x20]
call fcn.10100460
cmp eax, esi
je 0x100f260f
mov edx, dword [eax]
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [esi], edx
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100f2672
mov byte [ebp - 4], 0x13
jmp 0x100f266b
call fcn.100a7530
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov ecx, esp
push 0x102459f8
call fcn.100a7530
lea ecx, [ebp - 0x18]
call fcn.10100120
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x20]
call fcn.10100460
cmp eax, esi
je 0x100f2660
mov edx, dword [eax]
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [esi], edx
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100f2672
mov byte [ebp - 4], 0x16
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.100a5560
lea ecx, [ebp - 0x18]
call fcn.10104060
mov esi, dword [eax]
mov dword [eax], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
test ecx, ecx
je 0x100f26a2
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x17
call fcn.100a6ac0
sub esp, 0x18
mov byte [ebp - 4], 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x100f26e3
mov eax, dword [ecx]
jmp 0x100f26e5
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x80]
push edx
push eax
call fcn.100a5420
sub esp, 0x18
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0xac], esp
push str._api_prepare_device_appcheck
call fcn.100a7530
sub esp, 0x18
mov byte [ebp - 4], 0x1a
mov ecx, esp
mov dword [ebp - 0xb0], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x100f2744
mov eax, dword [ecx]
jmp 0x100f2746
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x68]
push edx
push eax
call fcn.100a5420
sub esp, 0x18
mov byte [ebp - 4], 0x1b
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x100f2786
mov eax, dword [ecx]
jmp 0x100f2788
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x38]
push edx
push eax
call fcn.100a5420
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x18
push eax
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x18]
call fcn.100efbf0
lea ecx, [ebp - 0x1c]
add esp, 0x64
cmp ecx, eax
je 0x100f27c0
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov dword [eax], esi
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100f27d6
mov byte [ebp - 4], 0x1c
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10106610
mov esi, eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x20]
call fcn.10106610
cmp dword [esi + 0x14], 8
jb 0x100f2802
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x100f280a
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push eax
push str._CheckUpdate_send__s___result__s_
push 0x139
call ebx
push eax
push str.INF1
push 8
call fcn.100a7fc0
add esp, 0x1c
lea ecx, [ebp - 0xa0]
call fcn.100a5560
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x18
call fcn.100a5560
push str.code
lea ecx, [ebp - 0xa0]
call fcn.100a7530
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xa0]
mov esi, dword [ebp - 0x1c]
push ecx
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 0x85], al
mov byte [ebp - 4], 0x18
call fcn.100a5560
cmp byte [ebp - 0x85], 0
je 0x100f2917
push str.code
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x18], 0
call fcn.100a7530
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x1c]
call fcn.101003f0
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x21
call fcn.100a5560
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
jne 0x100f28fa
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
test al, al
je 0x100f28fa
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov edi, eax
jmp 0x100f2900
mov edi, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100f2912
mov byte [ebp - 4], 0x22
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
mov esi, dword [ebp - 0x1c]
jmp 0x100f291d
mov edi, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 0x23
cmp edi, 0xc8
jne 0x100f2b09
push str.message
lea ecx, [ebp - 0xa0]
call fcn.100a7530
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xa0]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x23
mov bl, al
call fcn.100a5560
test bl, bl
je 0x100f2b2a
push str.message
lea ecx, [ebp - 0xa0]
call fcn.100a7530
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0x1c]
call fcn.10100460
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp eax, 5
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xa0]
setne bl
call fcn.100a5560
test bl, bl
je 0x100f2af2
push str.message
lea ecx, [ebp - 0xa0]
call fcn.100a7530
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x26
push eax
lea ecx, [ebp - 0x1c]
call fcn.10100460
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x58]
lea ecx, [ebp - 0x50]
cmp ecx, eax
je 0x100f2a00
push 0xffffffffffffffff
push 0
push eax
call fcn.100a5420
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x23
call fcn.100a5560
cmp dword [ebp - 0x40], 0
je 0x100f2af2
call fcn.100a8810
lea eax, [ebp - 0xcc]
push eax
call fcn.100ab520
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x100f2a34
mov ecx, dword [ecx]
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
push ecx
cmovae eax, dword [ebp - 0x50]
push eax
push str.updatefilepath
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xcc]
call fcn.100a5560
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
cmp edi, 4
jge 0x100f2af2
push 0
push str.gdcontroller_V30
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x100f2afc
call fcn.100a8810
mov ecx, eax
call fcn.100a9050
test eax, eax
je 0x100f2af2
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
push esi
push str._CheckUpdate_Get_Windows_For_Update_0x_08X___s_
push 0x158
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.INF1
push 8
call fcn.100a7fc0
add esp, 4
lea eax, [ebp - 0x50]
mov ecx, esp
mov dword [ebp - 0xa8], esp
push eax
call fcn.100a50e0
mov byte [ebp - 4], 0x27
call fcn.100a8810
mov ecx, eax
mov byte [ebp - 4], 0x23
call fcn.100ab060
push 0
push 0
push 0x978
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [ebp - 0x1c]
mov edi, 0xc8
jmp 0x100f2b2a
push 0x1f4
call ebx
inc edi
jmp 0x100f2a64
push str._CheckUpdate_failed_get_version_info
push 0x16c
call ebx
push eax
push 0x1024b598
push 4
call fcn.100a7fc0
add esp, 0x14
mov edi, 0x14
lea ecx, [ebp - 0x50]
call fcn.100a5560
lea ecx, [ebp - 0x80]
call fcn.100a5560
test esi, esi
je 0x100f2b4b
mov byte [ebp - 4], 0x28
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax + 0x60]
mov dword [ebp - 4], 2
jmp 0x100f2be2
lea ecx, [ebp - 0x68]
call fcn.100a5560
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x100f2c00
mov byte [ebp - 4], 0x2b
mov edx, dword [ecx]
push 1
call dword [edx + 0x60]
lea ecx, [ebp - 0x38]
call fcn.100a5560
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b451c
mov esp, ebp
pop ebp
ret