Function at 0x422a00
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x5bf500]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x5702dc]
push esi
push edi
mov esi, edx
call ebx
mov edi, eax
mov dword [ebp - 0x208], edi
call ebx
sub eax, edi
cmp eax, 0xea60
ja 0x422c16
cmp byte [0x5d2a8a], 0
jne 0x422c16
mov eax, dword [esi + 8]
xor ebx, ebx
test eax, eax
je 0x422bfe
push eax
call dword [0x57030c]
mov eax, dword [esi]
mov edi, dword [eax]
cmp eax, esi
je 0x422b19
cmp dword [esi + 0xc], 3
jne 0x422aa9
cmp dword [eax + 0xdc], 0
jne 0x422aa9
mov ecx, dword [eax + 0xe8]
cmp ecx, 0x13
je 0x422aa9
cmp ecx, 0xc8
je 0x422aa9
cmp ecx, 0x16
je 0x422aa9
cmp ecx, 0x3ec
je 0x422aa9
cmp ecx, 0x3ed
je 0x422aa9
cmp dword [eax + 0x19c], 0
mov ebx, 1
jne 0x422b12
lea edx, [eax + 0x10]
mov eax, dword [eax + 0xe8]
test edx, edx
je 0x422adc
cmp eax, 0x13
je 0x422ad5
cmp eax, 0xc8
je 0x422ad5
cmp eax, 0x16
je 0x422ad5
cmp eax, 0x3ec
je 0x422ad5
cmp eax, 0x3ed
jne 0x422adc
mov ecx, esi
call fcn.00421c80
mov eax, edi
mov edi, dword [edi]
cmp eax, esi
jne 0x422a64
test ebx, ebx
je 0x422b19
mov eax, dword [esi + 8]
test eax, eax
je 0x422af6
push eax
call dword [0x57032c]
push 0x1f4
call dword [0x5702d4]
mov ebx, dword [0x5702dc]
mov edi, dword [ebp - 0x208]
jmp 0x422a28
mov ebx, ecx
jmp 0x422bdb
mov ecx, dword [esi + 0x14]
mov ebx, 0x3ed
lea eax, [ecx + 0x27c]
test eax, eax
je 0x422bdb
push str.No_sensors_found.
push 0x58d87c
lea eax, [ebp - 0x204]
mov dword [ecx + 0x284], 0
push 0x100
push eax
call fcn.00424790
mov edi, dword [esi + 0x14]
lea ecx, [ebp - 0x204]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422b63
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
mov ecx, dword [edi + 0x27c]
mov dword [ebp - 0x208], eax
test ecx, ecx
je 0x422ba2
push ecx
call fcn.0051f344
mov eax, dword [ebp - 0x208]
add esp, 4
mov dword [edi + 0x27c], 0
push eax
mov dword [edi + 0x280], 0
call fcn.0051f61a
add esp, 4
mov dword [edi + 0x27c], eax
test eax, eax
je 0x422bdb
lea ecx, [ebp - 0x204]
push ecx
push dword [ebp - 0x208]
push eax
call fcn.00523667
add esp, 0xc
mov dword [edi + 0x280], ebx
mov eax, dword [esi + 8]
test eax, eax
je 0x422be9
push eax
call dword [0x57032c]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ece9
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov eax, 0x36
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ece9
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x14]
lea eax, [ecx + 0x27c]
test eax, eax
je 0x422ccb
push str.Timed_out_waiting_for_a_fingerprint.
push 0x58d87c
lea eax, [ebp - 0x204]
mov dword [ecx + 0x284], 0
push 0x100
push eax
call fcn.00424790
mov esi, dword [esi + 0x14]
lea ecx, [ebp - 0x204]
add esp, 0x10
lea edx, [ecx + 2]
jmp 0x422c60
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422c60
mov eax, dword [esi + 0x27c]
sub ecx, edx
sar ecx, 1
lea edi, [ecx*2 + 2]
test eax, eax
je 0x422c93
push eax
call fcn.0051f344
add esp, 4
mov dword [esi + 0x27c], 0
push edi
mov dword [esi + 0x280], 0
call fcn.0051f61a
add esp, 4
mov dword [esi + 0x27c], eax
test eax, eax
je 0x422ccb
lea ecx, [ebp - 0x204]
push ecx
push edi
push eax
call fcn.00523667
add esp, 0xc
mov dword [esi + 0x280], 0x3ee
mov ecx, dword [ebp - 4]
mov eax, 0x3ee
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051ece9
mov esp, ebp
pop ebp
ret 4