Function at 0x417e3a
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
mov eax, 0x49af96
call fcn.00498a28
sub esp, 0x500
push ebx
push esi
push edi
mov edi, edx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov esi, ecx
mov dword [ebp - 0x34], esi
cmp edi, 0xffffffff
jne 0x417edd
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
push 0x4b2fd5
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x30], 0x7af
mov dword [ebp - 0x2c], 0xd
mov dword [ebp - 0x28], str.C:BooCode_OffergateMultiSetupoglibOGLiboglibutils_system_utils.cpp
mov dword [ebp - 0x24], str.class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char______cdecl_og::system_utils::GetMD5HashOfFile_void__
call fcn.00403061
push str.Cannot_calculate_hash:_wrong_file_handle
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], ebx
call fcn.00403061
push ecx
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.0040be78
lea ecx, [ebp - 0xf4]
call fcn.00402fc0
lea ecx, [ebp - 0x10c]
call fcn.00402fc0
jmp 0x417f76
push 0xf0000000
push 1
push ebx
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x417f76
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push ebx
test eax, eax
jne 0x417f1e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x417f76
mov dword [ebp - 0x18], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x417f4a
cmp dword [ebp - 0x18], 0
je 0x417f9b
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x50c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x417f61
push 0
lea eax, [ebp - 0x18]
push eax
push 0x400
lea eax, [ebp - 0x50c]
push eax
push edi
call ebx
test eax, eax
jne 0x417f29
xor ebx, ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
xor ebx, ebx
mov dword [ebp - 0x1c], 0x10
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
pop edi
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4180fa
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xdc], 0x4b4b30
call fcn.00419466
push 4
mov dword [ebp - 4], edi
lea eax, [ebp - 0xd8]
pop edi
push ebx
push ebx
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x20], edi
call fcn.004193f6
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], 0x4b4b38
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe0], eax
lea ecx, [ebp - 0xd8]
call fcn.00419a08
mov dword [ebp - 0xd8], 0x4b4b3c
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], edi
mov dword [ebp - 4], edi
lea edi, [ebp - 0x44]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x9c], 0x30
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], 2
mov dword [ebp + eax - 0xb8], ebx
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0xc8]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ebp + ecx - 0xc8], eax
lea ecx, [ebp - 0xdc]
movzx eax, byte [edi]
push eax
call fcn.004189f6
inc edi
lea eax, [ebp - 0x34]
cmp edi, eax
jne 0x418049
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
lea ecx, [ebp - 0xd8]
call fcn.0041934f
lea ecx, [ebp - 0x8c]
call fcn.0041899c
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 5
push eax
mov dword [ebp - 0x8c], vtable.std::ios_base.0
call fcn.0046db7f
pop ecx
jmp 0x417f8a
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
jmp 0x417f13