Function at 0x471be0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54425d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5a9008]
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 ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x24], eax
mov eax, esi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], ebx
jb 0x471c36
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x471cd5
mov eax, dword [0x5a99a0]
cmp eax, 0x5a99a0
je 0x471c7b
test byte [eax + 0x1c], 8
je 0x471c7b
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x471c62
mov ecx, dword [esi]
push ecx
push dword [eax + 0x14]
mov edx, 0x578680
mov ecx, 0xf
push dword [eax + 0x10]
call fcn.00412b50
add esp, 0xc
mov ecx, esi
call fcn.00444040
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0
push 0x574360
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.004122a0
mov dword [ebp - 4], 0
push dword [ebp - 0x24]
push 0
push 2
push esi
mov dword [ebp - 4], 0xffffffff
mov edx, 0x17
lea ecx, [edx + 0x17]
call fcn.00473a10
add esp, 0x28
jmp 0x471dc7
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x20]
sub eax, dword [edi]
cmp eax, 0x20
jne 0x471e6b
xorps xmm0, xmm0
mov edx, esi
push 0
movlpd qword [ebp - 0x34], xmm0
call fcn.00435930
add esp, 4
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
cmp edi, eax
je 0x471d60
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
add ecx, 0xfffff
adc eax, 0
shrd ecx, eax, 0x14
shr eax, 0x14
add ebx, ecx
adc edx, eax
mov dword [ebp - 0x30], edx
call fcn.0045a9f0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x44]
call eax
cmp dword [ebp - 0x30], edx
ja 0x471de5
jb 0x471d52
cmp ebx, eax
jae 0x471de5
mov edx, dword [ebp - 0x30]
add edi, 0x20
cmp edi, dword [ebp - 0x38]
jne 0x471d14
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00436290
push dword [ebp - 0x40]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push esi
push ebx
call fcn.00471e90
test al, al
jne 0x471dc7
mov eax, dword [0x5a99a0]
cmp eax, 0x5a99a0
je 0x471dc0
test byte [eax + 0x1c], 8
je 0x471dc0
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x471da5
mov ecx, dword [esi]
push dword [ebx]
mov edx, 0x578680
push ecx
push dword [eax + 0x14]
mov ecx, 0x11
push dword [eax + 0x10]
call fcn.00417d40
add esp, 0x10
mov ecx, esi
call fcn.00444040
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.004ef615
mov esp, ebp
pop ebp
ret 0x1c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00436290
mov eax, dword [0x5a99a0]
cmp eax, 0x5a99a0
je 0x471e29
test byte [eax + 0x1c], 8
je 0x471e29
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x471e10
mov ecx, dword [esi]
push ecx
push dword [eax + 0x14]
mov edx, 0x578680
mov ecx, 0x10
push dword [eax + 0x10]
call fcn.00412b50
add esp, 0xc
mov ecx, esi
call fcn.00444040
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0
push 0x574360
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.004122a0
mov dword [ebp - 4], 2
push dword [ebp - 0x24]
push 0
push 6
jmp 0x471cb8
push str.Invalid_hash_data
call fcn.00412a50
push 0x5a6448
lea eax, [ebp - 0x20]
push eax
call fcn.004f2c1b
int3