Function at 0x422700
Capabilities:
Check for time delay via gettickcount
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
push esi
push edi
mov ebx, edx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x208], eax
mov eax, dword [ebx + 8]
test eax, eax
je 0x4227a6
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebx]
mov eax, dword [esi]
cmp esi, ebx
je 0x422764
lea esp, [esp]
cmp dword [esi + 0xdc], 0
jne 0x42275c
cmp dword [esi + 0xf0], 0
je 0x422753
inc edi
cmp dword [esi + 0xe8], 0
jne 0x4227bc
mov esi, eax
mov eax, dword [eax]
cmp esi, ebx
jne 0x422740
mov eax, dword [ebx + 8]
test eax, eax
je 0x422772
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x208]
cmp eax, 0xea60
ja 0x422936
cmp edi, dword [0x64371c]
je 0x422923
push 0x64
xor edi, edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 8]
test eax, eax
jne 0x42272d
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
mov ecx, dword [ebx + 0x14]
lea eax, [ecx + 0x27c]
test eax, eax
je 0x42290d
mov dword [ecx + 0x284], 1
mov ecx, dword [esi + 0xe8]
cmp ecx, 0xc8
ja 0x422815
je 0x422820
cmp ecx, 0x13
je 0x422820
cmp ecx, 0x16
je 0x422820
xor ecx, ecx
xor eax, eax
cmp ecx, str......._sso_validity_validity.cpp
je 0x42285e
push 0x5c
push str......._sso_validity_validity.cpp
call fcn.005225fc
add esp, 8
test eax, eax
je 0x422841
add eax, 2
jmp 0x42285e
lea eax, [ecx - 0x3ec]
cmp eax, 5
ja 0x4227f1
push ecx
push str.Fingerprint_capture_failed_to_start.
push str._s___d_
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.00424790
add esp, 0x14
jmp 0x422888
push 0x2f
push str......._sso_validity_validity.cpp
call fcn.005225fc
add esp, 8
test eax, eax
je 0x422859
add eax, 2
jmp 0x42285e
mov eax, str......._sso_validity_validity.cpp
push 0x1369
push eax
push dword [esi + 0xe8]
lea eax, [ebp - 0x204]
push str.Fingerprint_capture_failed_to_start.
push str._s___d_____s__u_
push 0x100
push eax
call fcn.00424790
add esp, 0x1c
mov eax, dword [esi + 0xe8]
lea ecx, [ebp - 0x204]
mov esi, dword [ebx + 0x14]
lea edx, [ecx + 2]
mov dword [ebp - 0x208], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4228a0
mov eax, dword [esi + 0x27c]
sub ecx, edx
sar ecx, 1
lea edi, [ecx*2 + 2]
test eax, eax
je 0x4228d3
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 0x42290d
lea ecx, [ebp - 0x204]
push ecx
push edi
push eax
call fcn.00523667
mov eax, dword [ebp - 0x208]
add esp, 0xc
mov dword [esi + 0x280], eax
pop edi
pop esi
mov eax, 0x3ee
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ece9
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ece9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x14]
lea eax, [ecx + 0x27c]
test eax, eax
je 0x42290d
push str.Timeout_waiting_for_the_sensors
push 0x58d87c
lea eax, [ebp - 0x204]
mov dword [ecx + 0x284], 0
push 0x100
push eax
call fcn.00424790
mov esi, dword [ebx + 0x14]
lea ecx, [ebp - 0x204]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422977
mov eax, dword [esi + 0x27c]
sub ecx, edx
sar ecx, 1
lea edi, [ecx*2 + 2]
test eax, eax
je 0x4229aa
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 0x42290d
lea ecx, [ebp - 0x204]
push ecx
push edi
push eax
call fcn.00523667
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 0x280], 0x3ee
xor ecx, ebp
mov eax, 0x3ee
pop edi
pop esi
pop ebx
call fcn.0051ece9
mov esp, ebp
pop ebp
ret