Function at 0x100f3d70
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ebea6
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
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
cmp dword [0x102a7fc8], 0
mov dword [ebp - 0x70], 0xc8
jne 0x100f3ddb
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.100a8450
mov dword [ebp - 4], 0xffffffff
mov dword [0x102a7fc8], eax
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x1024e254
call fcn.100a62f0
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x100f3e04
mov eax, 1
jmp 0x100f44e4
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
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 0x100f3e44
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
xor eax, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
push 0xffffffffffffffff
push eax
push 0x102a7574
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.100a5420
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push str._api_prepare_device_bridgemoved
call fcn.100a7530
mov byte [ebp - 4], 5
mov eax, dword [0x102a7fc8]
test eax, eax
jne 0x100f3eaf
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x6c], eax
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.100a8450
mov byte [ebp - 4], 5
mov dword [0x102a7fc8], eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.100a8870
mov esi, eax
lea eax, [ebp - 0x38]
cmp eax, esi
je 0x100f3efc
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x100f3edf
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], 4
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x100f3f1b
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.100a5620
push 0x10246a40
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x88]
call fcn.100ab160
add esp, 4
mov esi, eax
lea eax, [ebp - 0x38]
cmp eax, esi
je 0x100f3f6c
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x100f3f4f
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], 4
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x100f3f8b
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.100a5620
push str.bridgeUniqueId
lea ecx, [ebp - 0x88]
call fcn.100a7530
mov byte [ebp - 4], 9
mov ecx, dword [0x102a7fc8]
test ecx, ecx
jne 0x100f3fd0
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x6c], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.100a8450
mov ecx, eax
mov byte [ebp - 4], 9
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 - 0x88]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x20]
call fcn.10100460
cmp eax, esi
je 0x100f4009
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 0x100f401b
mov byte [ebp - 4], 0xc
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x100f403a
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.100a5620
push str.hospitalNo
lea ecx, [ebp - 0x88]
call fcn.100a7530
mov byte [ebp - 4], 0xd
mov ecx, dword [0x102a7fc8]
test ecx, ecx
jne 0x100f407f
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x6c], eax
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.100a8450
mov ecx, eax
mov byte [ebp - 4], 0xd
mov dword [0x102a7fc8], ecx
sub esp, 0x18
push esp
call fcn.100ab480
lea ecx, [ebp - 0x18]
call fcn.10100120
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x20]
call fcn.10100460
cmp eax, esi
je 0x100f40b4
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 0x100f40c6
mov byte [ebp - 4], 0x10
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x100f40e5
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.100a5620
push str.osVersion
lea ecx, [ebp - 0x88]
call fcn.100a7530
sub esp, 0x18
mov byte [ebp - 4], 0x11
xor edx, edx
mov ecx, esp
call fcn.100f1160
lea ecx, [ebp - 0x18]
call fcn.10100120
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x20]
call fcn.10100460
cmp eax, esi
je 0x100f4131
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 0x100f4143
mov byte [ebp - 4], 0x13
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
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 0x100f4173
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x14
call fcn.100a6ac0
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x6c], 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 0x100f41b1
mov eax, dword [ecx]
jmp 0x100f41b3
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], 0x16
mov ecx, esp
mov dword [ebp - 0x8c], esp
push str._api_prepare_device_bridgemoved
call fcn.100a7530
sub esp, 0x18
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x90], 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 0x100f4212
mov eax, dword [ecx]
jmp 0x100f4214
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x50]
push edx
push eax
call fcn.100a5420
sub esp, 0x18
mov byte [ebp - 4], 0x18
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 0x100f4254
mov eax, dword [ecx]
jmp 0x100f4256
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], 0x15
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x18]
call fcn.100efbf0
lea ecx, [ebp - 0x1c]
add esp, 0x64
cmp ecx, eax
je 0x100f428b
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov dword [eax], esi
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100f42a1
mov byte [ebp - 4], 0x19
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmovae eax, dword [ebp - 0x38]
push str._api_prepare_device_bridgemoved
push eax
push str._SendV3UpdateStatus_Url__s___part__s_
push 0x20f
call edi
push eax
push str.INF1
push 8
call fcn.100a7fc0
add esp, 0x1c
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0x1c]
push eax
call fcn.10106610
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x20]
call fcn.10106610
cmp dword [esi + 0x14], 8
jb 0x100f4300
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x100f4308
mov eax, dword [eax]
push esi
push eax
push str._SendV3UpdateStatus_send__s___result__s_
push 0x210
call edi
push eax
push str.INF1
push 8
call fcn.100a7fc0
add esp, 0x1c
lea ecx, [ebp - 0x88]
call fcn.100a5560
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x15
call fcn.100a5560
push str.code
lea ecx, [ebp - 0x88]
call fcn.100a7530
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x88]
mov esi, dword [ebp - 0x1c]
push ecx
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x15
mov bl, al
call fcn.100a5560
test bl, bl
je 0x100f4420
push str.code
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x18], 0
call fcn.100a7530
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1c
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 - 0x88]
mov byte [ebp - 4], 0x1e
call fcn.100a5560
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
jne 0x100f4406
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
test al, al
je 0x100f4406
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov edi, eax
cmp edi, 0xc8
jne 0x100f4409
call fcn.100a8810
push ecx
push 1
push 0x1024e254
call fcn.100a64b0
add esp, 0xc
jmp 0x100f4409
mov edi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100f441b
mov byte [ebp - 4], 0x1f
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
mov esi, dword [ebp - 0x1c]
jmp 0x100f4423
mov edi, dword [ebp - 0x70]
lea ecx, [ebp - 0x68]
call fcn.100a5560
test esi, esi
je 0x100f443c
mov byte [ebp - 4], 0x20
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax + 0x60]
lea ecx, [ebp - 0x50]
call fcn.100a5560
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x100f445a
mov byte [ebp - 4], 0x21
mov eax, dword [ecx]
push 1
call dword [eax + 0x60]
lea ecx, [ebp - 0x38]
call fcn.100a5560
jmp 0x100f44e2
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