Function at 0x4a46a8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4a46b0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a4a13
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x344]
call fcn.0046c8c0
test eax, eax
je 0x4a49e8
lea ecx, [ebp - 0x10]
mov edx, 0x4a4a2c
mov eax, 0x4a4a40
call fcn.00488ad0
cmp dword [ebp - 0x10], 0
jne 0x4a4701
mov dword [ebx + 0x380], 2
jmp 0x4a470f
mov eax, dword [ebp - 0x10]
call fcn.00408958
mov dword [ebx + 0x380], eax
lea ecx, [ebp - 0x10]
mov edx, 0x4a4a68
mov eax, 0x4a4a40
call fcn.00488ad0
cmp dword [ebp - 0x10], 0
jne 0x4a4730
mov byte [ebx + 0x384], 1
jmp 0x4a474c
mov eax, dword [ebp - 0x10]
call fcn.00408958
test eax, eax
jne 0x4a4745
mov byte [ebx + 0x384], 1
jmp 0x4a474c
mov byte [ebx + 0x384], 0
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x344]
call fcn.004859c0
mov eax, dword [ebp - 8]
call fcn.00404894
push eax
call sub.kernel32.dll_GetFileAttributesA
mov edx, eax
and edx, 4
cmp edx, 4
je 0x4a477e
and eax, 1
cmp eax, 1
jne 0x4a47ff
mov eax, dword [ebp - 8]
call fcn.00404894
mov esi, eax
mov eax, esi
call fcn.004889b8
test al, al
je 0x4a47c5
lea eax, [ebp - 0x18]
push eax
push esi
call sub.kernel32.dll_lstrlenA_1
mov ecx, eax
sub ecx, 4
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004048f4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a47d9
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x1c]
mov eax, dword [0x4a8e5c]
call fcn.00406620
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a49e8
lea eax, [ebx + 0x354]
push eax
call sub.kernel32.dll_GetSystemTime
lea eax, [ebx + 0x364]
push eax
lea eax, [ebx + 0x354]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
call sub.FINGERSDK.dll_OpenFingerDevice
mov edi, eax
test edi, edi
je 0x4a4871
push 0x40
lea edx, [ebp - 0x20]
mov eax, dword [0x4a8d44]
call fcn.00406620
mov eax, dword [ebp - 0x20]
call fcn.00404894
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x4a8d5c]
call fcn.00406620
mov eax, dword [ebp - 0x24]
call fcn.00404894
mov edx, eax
mov eax, dword [0x4a8d2c]
mov eax, dword [eax]
pop ecx
call fcn.004612e8
jmp 0x4a49e8
cmp dword [ebx + 0x380], 1
jle 0x4a48a9
mov eax, dword [0x4a8a08]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
mov dl, 1
call fcn.004411a0
mov edx, dword [ebx + 0x380]
inc edx
mov eax, dword [0x4a8a08]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.0049ca30
jmp 0x4a48bd
mov eax, dword [0x4a8a08]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
xor edx, edx
call fcn.004411a0
mov eax, dword [0x4a8a08]
mov eax, dword [eax]
mov byte [eax + 0x321], 1
mov eax, dword [0x4a8a08]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xe8]
dec eax
jne 0x4a49e8
mov eax, dword [ebx + 0x380]
dec eax
test eax, eax
jl 0x4a4921
inc eax
mov dword [ebp - 0x14], eax
mov esi, 0x4a9d78
push 3
push 1
push esi
mov eax, dword [ebx + 0x380]
shl eax, 8
add eax, 0x4a9d78
push eax
push 0
call sub.FINGERSDK.dll_Match2Finger
mov edi, eax
test edi, edi
je 0x4a4921
add esi, 0x100
dec dword [ebp - 0x14]
jne 0x4a48f5
test edi, edi
je 0x4a494b
lea edx, [ebp - 0x28]
mov eax, dword [0x4a8ba4]
call fcn.00406620
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a49e8
push 1
mov eax, dword [ebp - 8]
call fcn.00404894
mov edx, eax
lea ecx, [ebp - 0xc]
mov eax, ebx
call fcn.004a4a7c
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.004088f4
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [0x4a8ef0]
call fcn.00406620
mov edx, dword [ebp - 0x30]
pop eax
call fcn.004046a4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov esi, dword [ebx + 0x30c]
mov eax, dword [esi + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
sub edx, 7
mov eax, esi
call fcn.0043513c
mov eax, dword [ebx + 0x340]
call fcn.004882f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4a1a
lea eax, [ebp - 0x30]
mov edx, 7
call fcn.00404408
lea eax, [ebp - 0x10]
call fcn.004043e4
lea eax, [ebp - 8]
call fcn.004043e4
ret