Function at 0x4121f0
Capabilities:
Check if file exists
Get file attributes
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465f9b
mov eax, dword fs:[0]
push eax
mov eax, 0x111c
call fcn.0045f290
mov eax, dword [0x47f5dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [edi + 0x14], 8
jb 0x412230
mov eax, dword [edi]
jmp 0x412232
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4124b2
test al, 0x10
jne 0x4124b2
cmp dword [edi + 0x14], 8
jb 0x412252
mov edi, dword [edi]
push 0
push 0
push 3
push 0
push 1
push connect
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4124a8
push 0xfff
lea eax, [ebp - 0x104f]
mov dword [ebp - 0x1120], 0x67452301
push 0
push eax
mov dword [ebp - 0x111c], 0xefcdab89
mov dword [ebp - 0x1118], 0x98badcfe
mov dword [ebp - 0x1114], 0x10325476
mov dword [ebp - 0x1110], 0
mov dword [ebp - 0x110c], 0
mov dword [ebp - 0x1108], 0
mov byte [ebp - 0x1050], 0
call fcn.0044e8d0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
lea esp, [esp]
push 0
lea eax, [ebp - 0x1124]
push eax
push 0x1000
lea eax, [ebp - 0x1050]
push eax
push edi
call ebx
test eax, eax
je 0x412324
mov eax, dword [ebp - 0x1124]
test eax, eax
je 0x412324
push eax
lea edx, [ebp - 0x1050]
lea ecx, [ebp - 0x1120]
call fcn.004157a0
add esp, 4
cmp dword [ebp - 0x1124], 0
ja 0x4122e0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov byte [ebp - 0x1060], 0
lea edx, [ebp - 0x1060]
movq qword [ebp - 0x105f], xmm0
lea ecx, [ebp - 0x1120]
mov dword [ebp - 0x1057], 0
mov word [ebp - 0x1053], 0
mov byte [ebp - 0x1051], 0
call fcn.00415880
push 0x3f
lea eax, [ebp - 0x4f]
mov byte [ebp - 0x50], 0
push 0
push eax
call fcn.0044e8d0
add esp, 8
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x1060]
call fcn.00415930
add esp, 4
mov dword [ebp - 0x1054], 0xf
cmp byte [ebp - 0x50], 0
mov dword [ebp - 0x1058], 0
mov byte [ebp - 0x1068], 0
jne 0x4123b2
xor ecx, ecx
jmp 0x4123c1
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4123b8
sub ecx, edx
push ecx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x1068]
call fcn.004018c0
push ecx
lea edx, [ebp - 0x1068]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1080]
call fcn.00413690
mov edi, eax
add esp, 4
cmp esi, edi
je 0x41241e
cmp dword [esi + 0x14], 8
jb 0x412403
push dword [esi]
call fcn.0044a77c
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.00409860
cmp dword [ebp - 0x106c], 8
jb 0x412435
push dword [ebp - 0x1080]
call fcn.0044a77c
add esp, 4
xor eax, eax
mov dword [ebp - 0x106c], 7
cmp dword [ebp - 0x1054], 0x10
mov dword [ebp - 0x1070], 0
mov word [ebp - 0x1080], ax
jb 0x412469
push dword [ebp - 0x1068]
call fcn.0044a77c
add esp, 4
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x412475
mov edi, dword [esi]
jmp 0x412477
mov edi, esi
cmp ecx, 8
jb 0x412480
mov edx, dword [esi]
jmp 0x412482
mov edx, esi
mov eax, dword [esi + 0x10]
lea eax, [edx + eax*2]
cmp ecx, 8
jb 0x412491
mov edx, dword [esi]
jmp 0x412493
mov edx, esi
cmp edx, eax
je 0x4124a8
push ecx
push edi
push eax
lea ecx, [ebp - 0x1128]
call fcn.004068e0
add esp, 0xc
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
jmp 0x4124b4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044a781
mov esp, ebp
pop ebp
ret