Function at 0x4a5380
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4a5388
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a57aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x340]
mov edx, dword [eax]
call dword [edx + 0xec]
test eax, eax
je 0x4a5787
mov eax, dword [ebx + 0x340]
call fcn.004878ac
lea edx, [ebp - 4]
call fcn.00484148
mov eax, dword [ebp - 4]
call fcn.00404894
push eax
call sub.kernel32.dll_GetFileAttributesA
mov edx, eax
and edx, 4
cmp edx, 4
je 0x4a53f0
and eax, 1
cmp eax, 1
jne 0x4a548e
mov eax, dword [ebp - 4]
call fcn.00404894
mov esi, eax
mov eax, esi
call fcn.004889b8
test al, al
je 0x4a5437
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 - 4]
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 0x4a544b
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x1c]
mov eax, dword [0x4a8de0]
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]
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
jmp 0x4a5787
push 0x4a9d78
lea eax, [ebp - 0x14]
push eax
mov edi, dword [ebp - 4]
push edi
call sub.fpEncrypt.dll_GetFileHead
mov esi, eax
test esi, esi
je 0x4a554e
mov eax, dword [ebp - 4]
call fcn.00404894
call fcn.004889b8
test al, al
je 0x4a54ef
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
call fcn.0040469c
mov ecx, eax
sub ecx, 4
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004048f4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a5503
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x24]
push eax
mov ecx, 1
mov edx, 1
mov eax, esi
call fcn.00488794
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
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
jmp 0x4a5787
cmp byte [ebp - 0x11], 1
jne 0x4a55ea
push 0
call sub.FINGERSDK.dll_OpenFingerDevice
mov esi, eax
test esi, esi
je 0x4a55a6
push 0x40
lea edx, [ebp - 0x28]
mov eax, dword [0x4a8d44]
call fcn.00406620
mov eax, dword [ebp - 0x28]
call fcn.00404894
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x4a8d5c]
call fcn.00406620
mov eax, dword [ebp - 0x2c]
call fcn.00404894
mov edx, eax
mov eax, dword [0x4a8d2c]
mov eax, dword [eax]
pop ecx
call fcn.004612e8
jmp 0x4a5787
mov dword [ebx + 0x380], 1
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], 0
mov eax, dword [0x4a8a08]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xe8]
dec eax
jne 0x4a5787
jmp 0x4a5660
mov eax, dword [0x4a8b88]
mov eax, dword [eax]
mov byte [eax + 0x30c], 0
mov eax, dword [0x4a8b88]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
xor edx, edx
call fcn.004411a0
mov eax, dword [0x4a8b88]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
xor edx, edx
call fcn.004411a0
mov eax, dword [0x4a8b88]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0xdc]
mov eax, dword [0x4a8b88]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
mov edx, dword [eax]
call dword [edx + 0xdc]
mov eax, dword [0x4a8b88]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xe8]
dec eax
jne 0x4a5787
xor eax, eax
mov al, byte [ebp - 0x11]
mov dword [ebx + 0x37c], eax
lea eax, [ebx + 0x37c]
push eax
push 0x4a9d78
push edi
push 0
call sub.fpEncrypt.dll_UncryptionFile
mov esi, eax
test esi, esi
jne 0x4a56e8
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
call fcn.0040469c
mov ecx, eax
sub ecx, 4
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004048f4
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x34]
mov eax, dword [0x4a8afc]
call fcn.00406620
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x340]
call fcn.004882f4
jmp 0x4a576a
mov eax, dword [ebp - 4]
call fcn.00404894
call fcn.004889b8
test al, al
je 0x4a572d
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 4]
call fcn.0040469c
mov ecx, eax
sub ecx, 4
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004048f4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a5741
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x3c]
push eax
xor ecx, ecx
mov cl, byte [ebp - 0x11]
mov edx, 1
mov eax, esi
call fcn.00488794
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x218]
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
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a57b1
lea eax, [ebp - 0x3c]
mov edx, 0xa
call fcn.00404408
lea eax, [ebp - 4]
call fcn.004043e4
ret