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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x568
mov eax, dword [0x62c140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x62d034]
mov edx, dword [eax + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov ecx, 0x62d034
mov dword [ebp - 0x564], ebx
mov dword [ebp - 0x55c], esi
mov dword [ebp - 0x54c], edi
mov dword [ebp - 0x550], edi
mov dword [ebp - 0x560], edi
mov dword [ebp - 0x558], 0x21
mov dword [ebp - 0x554], edi
call edx
add eax, 0x10
mov dword [ebp - 0x544], eax
push 0xfde9
lea eax, [ebp - 0x53c]
push ebx
lea ecx, [ebp - 0x540]
mov dword [ebp - 0x540], eax
call fcn.00427130
mov edx, dword [ebp - 0x540]
cmp edx, edi
jne 0x44f38f
xor eax, eax
jmp 0x44f3b3
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x548], ecx
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44f3a0
sub eax, dword [ebp - 0x548]
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x544]
call fcn.00411ba0
mov eax, dword [ebp - 0x540]
lea edx, [ebp - 0x53c]
cmp eax, edx
je 0x44f3d9
push eax
call fcn.0057f05b
add esp, 4
mov ecx, dword [0x5fac04]
mov edx, dword [0x5fac08]
mov eax, dword [str.0123456789abcdef]
push 0x400
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], eax
mov eax, dword [0x5fac0c]
mov dword [ebp - 0x14], ecx
mov cl, byte [0x5fac10]
lea edx, [ebp - 0x43c]
push edi
push edx
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], cl
call fcn.00584f40
push 0x21
call fcn.0057f2a0
mov edi, dword [ebp - 0x544]
xor ecx, ecx
mov dword [esi], eax
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
add esp, 0x10
mov byte [eax + 0x20], cl
cmp dword [edi - 4], 1
jle 0x44f45f
mov eax, dword [edi - 0xc]
push eax
lea ecx, [ebp - 0x544]
call fcn.00410ea0
mov edi, dword [ebp - 0x544]
push 0
push 0x8000000
push 3
push 0
push 1
push SQLAllocStmt
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x568], esi
cmp esi, 0xffffffff
jne 0x44f4d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
push str.GetMD5HashFromFile
push str._s_:_Error_while_opening_file__s_nError_:__d_n
call fcn.0043d500
lea eax, [edi - 0x10]
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f4bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
push 0xf0000000
push 1
push 0
push 0
lea ecx, [ebp - 0x54c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x44f53d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
push str.GetMD5HashFromFile
push str._s_:_CryptAcquireContext_failed_:__d_n
call fcn.0043d500
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44f52a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x54c]
lea ecx, [ebp - 0x550]
push ecx
push 0
push 0
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x44f5a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
push str.GetMD5HashFromFile
push str._s_:_CryptCreateHash_failed_:__d_n
call fcn.0043d500
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x54c]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x44f51e
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [ebp - 0x554]
push ecx
push 0x400
lea edx, [ebp - 0x43c]
push edx
push esi
call ebx
test eax, eax
je 0x44f677
lea ebx, [ebx]
mov ecx, dword [ebp - 0x554]
test ecx, ecx
je 0x44f673
push 0
push ecx
mov ecx, dword [ebp - 0x550]
lea eax, [ebp - 0x43c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x44f617
push 0
lea edx, [ebp - 0x554]
push edx
push 0x400
lea eax, [ebp - 0x43c]
push eax
push esi
call ebx
test eax, eax
jne 0x44f5d0
jmp 0x44f677
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push str.GetMD5HashFromFile
push str._s_:_CryptHashData_failed_:__d_n
call fcn.0043d500
mov ecx, dword [ebp - 0x54c]
add esp, 0xc
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edx, dword [ebp - 0x550]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x544]
call fcn.00402790
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x44f6aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push str.GetMD5HashFromFile
push str._s_:_ReadFile_failed_:__d_n
call fcn.0043d500
mov eax, dword [ebp - 0x54c]
add esp, 0xc
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0x550]
push ecx
jmp 0x44f648
mov ecx, dword [ebp - 0x550]
push 0
lea edx, [ebp - 0x558]
push edx
lea eax, [ebp - 0x3c]
push eax
push 2
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x44f829
mov edx, dword [0x62d034]
mov eax, dword [edx + 0xc]
mov ecx, 0x62d034
call eax
xor ebx, ebx
lea edi, [eax + 0x10]
mov dword [ebp - 0x548], edi
cmp dword [ebp - 0x558], ebx
jbe 0x44f78f
movzx eax, byte [ebp + ebx - 0x3c]
mov ecx, eax
and ecx, 0xf
movsx edx, byte [ebp + ecx - 0x18]
shr eax, 4
movsx eax, byte [ebp + eax - 0x18]
push edx
push eax
lea ecx, [ebp - 0x548]
push 0x5b7ae0
push ecx
call fcn.00402d20
mov eax, dword [ebp - 0x548]
add esp, 0x10
cmp dword [eax - 4], 1
jle 0x44f743
mov edx, dword [eax - 0xc]
push edx
lea ecx, [ebp - 0x548]
call fcn.004028c0
mov eax, dword [ebp - 0x548]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44f745
sub eax, ecx
mov esi, ecx
mov ecx, dword [ebp - 0x55c]
mov edi, dword [ecx]
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44f760
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
cmp ebx, dword [ebp - 0x558]
jb 0x44f6f5
mov edi, dword [ebp - 0x548]
mov esi, dword [ebp - 0x568]
mov edx, dword [ebp - 0x55c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x564]
push eax
push ecx
push str.GetMD5HashFromFile
push str._s_:_MD5_hash_of_File__s_is_:__s_n
call fcn.0043d390
lea eax, [edi - 0x10]
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44f7cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x544]
mov ecx, dword [ebp - 0x550]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edx, dword [ebp - 0x54c]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f812
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x560]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMD5HashFromFile
push str._s_:_CryptGetHashParam_failed_:__d_n
mov dword [ebp - 0x560], eax
call fcn.0043d500
add esp, 0xc
jmp 0x44f7d3