Function at 0x1bf5d0
Capabilities:
Get common file path
Get file size
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x2647d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x33c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebp]
mov dword [esp + 0x34], ebp
cmp eax, edi
jne 0x1bfbb0
mov eax, dword [ebp + 4]
lea ebx, [ebp + 4]
cmp eax, edi
jne 0x1bf61b
push edi
push 0x104
mov ecx, ebx
call fcn.001bedf0
jmp 0x1bf666
mov esi, dword [eax]
mov eax, dword [eax + 0xc]
cmp eax, 0x104
jae 0x1bf635
add eax, 0x1104
push edi
push eax
mov ecx, ebx
call fcn.001bef50
mov eax, dword [ebx]
cmp esi, 0x104
mov dword [eax], 0x104
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov word [edx + ecx*2], di
jb 0x1bf666
mov eax, 0x104
jbe 0x1bf666
mov ecx, dword [ebx]
inc eax
cmp eax, esi
mov edx, dword [ecx + 8]
mov word [edx + eax*2 - 2], di
jb 0x1bf657
mov eax, dword [ebx]
cmp eax, edi
je 0x1bf671
mov eax, dword [eax + 8]
jmp 0x1bf673
xor eax, eax
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebx]
cmp eax, edi
je 0x1bf695
mov eax, dword [eax + 8]
push eax
call fcn.001c04a0
mov ecx, dword [ebx]
add esp, 4
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x1bf779
push eax
call fcn.001c04a0
mov esi, eax
add esp, 4
cmp esi, edi
je 0x1bf779
cmp dword [ebx], edi
jne 0x1bf6ca
lea edx, [esi + 0x1000]
push edi
push edx
mov ecx, ebx
call fcn.001bef50
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, dword [eax + 0xc]
lea ebp, [edx + esi]
cmp ebp, ecx
ja 0x1bf704
mov eax, dword [eax + 8]
lea ecx, [esi + esi]
mov esi, dword [esp + 0x14]
lea edi, [eax + edx*2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
mov word [ecx + ebp*2], 0
mov edx, dword [ebx]
mov dword [edx], ebp
jmp 0x1bf773
mov dword [esp + 0x20], edi
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ebx
push ecx
mov dword [esp + 0x360], edi
call fcn.001c0050
add esp, 0xc
lea eax, [ebp + 0x1000]
mov ecx, ebx
push edi
push eax
call fcn.001bef50
mov eax, dword [ebx]
lea ecx, [esi + esi]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x354], 0xffffffff
mov edx, dword [eax]
mov eax, dword [eax + 8]
lea edi, [eax + edx*2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
mov word [ecx + ebp*2], 0
mov edx, dword [ebx]
lea ecx, [esp + 0x20]
mov dword [edx], ebp
call fcn.001bf090
mov ebp, dword [esp + 0x34]
xor edi, edi
lea eax, [esp + 0x2c]
mov byte [esp + 0x13], 1
push eax
mov dword [esp + 0x30], edi
call dword [ebp + 8]
mov ebp, eax
mov eax, dword [esp + 0x360]
add esp, 4
cmp eax, edi
mov dword [esp + 0x20], ebp
je 0x1bf7a0
mov dword [eax], ebp
mov eax, dword [esp + 0x360]
cmp eax, edi
je 0x1bf7b1
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov eax, dword [ebx]
mov dword [esp + 0x354], 1
cmp eax, edi
je 0x1bf7cf
mov esi, dword [eax + 8]
jmp 0x1bf7d1
xor esi, esi
mov eax, dword [0x353d0c]
cmp eax, edi
jne 0x1bf806
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
je 0x1bfa95
push str.PathFileExistsW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
mov dword [0x353d0c], eax
je 0x1bfa95
push esi
call eax
cmp eax, edi
je 0x1bfa95
mov eax, dword [ebx]
cmp eax, edi
je 0x1bf81c
mov esi, dword [eax + 8]
jmp 0x1bf81e
xor esi, esi
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x1bf831
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x18], edi
push edi
push 0x80
push 3
push edi
push 7
push accept
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1bfa95
push edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp esi, edi
mov dword [esp + 0x18], esi
je 0x1bfa5d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x30], esi
jne 0x1bf887
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1bfa5d
cmp esi, edi
jle 0x1bfa5d
push esi
call fcn.00253ed8
mov ebp, eax
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, edi
mov dword [esp + 0x38], ebp
je 0x1bfa50
lea edx, [esp + 0x24]
push edi
push edx
push esi
push ebp
push eax
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
je 0x1bfa50
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov edi, eax
cmp edx, ecx
mov word [esp + 0x3c], cx
je 0x1bfa22
cmp eax, ecx
je 0x1bfa22
push 0xf0000000
push 1
push ecx
lea eax, [esp + 0x30]
push ecx
push eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1bfa02
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1bfa02
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push 0
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1bfa02
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea edx, [esp + 0x14]
push 0
push edx
push 0
push 2
push eax
mov dword [esp + 0x28], 4
call edi
test eax, eax
je 0x1bfa02
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00242e37
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1bf9fa
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x14]
push 0
push edx
push ebp
push 2
push eax
call edi
test eax, eax
je 0x1bf9f1
mov eax, dword [esp + 0x14]
cmp eax, 0x10
jb 0x1bf9be
mov ecx, ebp
mov edx, dword [ecx]
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x40], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x44], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x48], eax
jmp 0x1bf9ea
mov ecx, eax
mov esi, ebp
mov edx, ecx
lea edi, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x10
lea edi, [esp + eax*2 + 0x3c]
sub ecx, eax
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov word [esp + 0x5c], 0
push ebp
call fcn.00242d4e
add esp, 4
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1bfa11
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1bfa22
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [esp + 0xc0]
push eax
push esi
push ebp
call fcn.001c0330
add esp, 0xc
mov ecx, 4
lea edi, [esp + 0xc0]
lea esi, [esp + 0x3c]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x1bfa4e
mov byte [esp + 0x13], dl
xor edi, edi
push ebp
call fcn.00253f01
mov ebp, dword [esp + 0x24]
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x1bfa72
push eax
call fcn.00253f01
add esp, 4
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x1bfa89
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x1bfa89
mov dword [esp + 0x18], edi
mov al, byte [esp + 0x13]
test al, al
je 0x1bfb39
mov eax, dword [ebx]
cmp eax, edi
je 0x1bfaa0
mov eax, dword [eax + 8]
jmp 0x1bfaa2
xor eax, eax
push 0xffffffffffffffff
push 4
push eax
lea ecx, [esp + 0x24]
call fcn.001bfc50
test eax, eax
setne al
test al, al
jne 0x1bfb1d
push edi
call fcn.0024434e
push eax
call fcn.00241922
push 6
lea eax, [esp + 0x3c]
push 0x14
push eax
call fcn.001bfd30
add esp, 0x14
push 1
push eax
mov ecx, ebx
mov byte [esp + 0x35c], 2
call fcn.001bfbd0
lea ecx, [esp + 0x30]
mov byte [esp + 0x354], 1
call fcn.001c1b30
mov eax, dword [ebx]
cmp eax, edi
je 0x1bfb04
mov eax, dword [eax + 8]
jmp 0x1bfb06
xor eax, eax
push 0xffffffffffffffff
push 4
push eax
lea ecx, [esp + 0x24]
call fcn.001bfc50
test eax, eax
setne al
test al, al
je 0x1bfb44
mov ecx, dword [esp + 0x2c]
push ecx
push ebp
lea ecx, [esp + 0x20]
call fcn.001c0020
test eax, eax
je 0x1bfb44
lea ecx, [esp + 0x18]
call fcn.001bffe0
mov ebx, dword [ebx]
cmp ebx, edi
je 0x1bfb89
mov eax, dword [ebx + 8]
jmp 0x1bfb8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x148]
push 0x32d4a0
push edx
call fcn.002442df
add esp, 0xc
lea eax, [esp + 0x144]
push edi
push 0x32d48c
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call fcn.00244022
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0x34]
mov esi, eax
mov dword [esp + 0x354], 0xffffffff
mov dword [ecx], esi
lea ecx, [esp + 0x18]
call fcn.001bffe0
mov eax, esi
mov ecx, dword [esp + 0x34c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x348
ret 8