Function at 0x4d076d
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:
mov eax, str.iext1.fnr.bbs.125.la
sub esp, 8
test eax, eax
mov dword [0x75c6e4], 0x7331ec
mov dword [0x75c6e0], 0x4d0f70
je 0x4d073a
cmp word [str.iext1.fnr.bbs.125.la], 0
je 0x4d073a
mov ecx, 0x4d0f70
test ecx, ecx
je 0x4d073a
lea edx, [esp]
lea eax, [esp + 4]
push edx
push eax
mov ecx, 0x75c6d8
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call 0x4d0750
mov ecx, dword [0x75c6dc]
test ecx, ecx
je 0x4d0716
mov ecx, dword [ecx + 8]
jmp 0x4d0718
xor ecx, ecx
mov edx, dword [esp + 4]
push ecx
mov ecx, dword [esp + 4]
push ecx
push edx
push eax
call fcn.004d0fc0
add esp, 0x10
test eax, eax
jne 0x4d0734
add esp, 8
ret
call eax
add esp, 8
ret
push 0
push 0
call fcn.005a9b45
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0xffffffffffffffff
push 0x5cea26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x340
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x38], esi
mov eax, dword [esi]
test eax, eax
jne 0x4d0c78
mov eax, dword [esi + 4]
lea ebx, [esi + 4]
test eax, eax
jne 0x4d0798
push eax
push 0x104
mov ecx, ebx
call fcn.004d2fd0
jmp 0x4d07d7
mov eax, dword [eax + 0xc]
cmp eax, 0x104
jae 0x4d07b1
add eax, 0x1104
push 0
push eax
mov ecx, ebx
call fcn.004d3250
mov eax, dword [ebx]
mov ecx, 0x104
mov dword [eax], 0x104
mov eax, dword [ebx]
cmp dword [eax + 0xc], ecx
jbe 0x4d07d7
mov edx, dword [eax + 8]
inc ecx
mov word [edx + ecx*2 - 2], 0
mov eax, dword [ebx]
cmp ecx, dword [eax + 0xc]
jb 0x4d07c5
mov eax, dword [ebx]
test eax, eax
je 0x4d07e2
mov eax, dword [eax + 8]
jmp 0x4d07e4
xor eax, eax
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebx]
test eax, eax
je 0x4d0806
mov eax, dword [eax + 8]
push eax
call fcn.004d41f0
mov ecx, dword [ebx]
add esp, 4
mov dword [ecx], eax
mov edi, dword [esi + 0xc]
test edi, edi
je 0x4d0882
push edi
call fcn.004d41f0
mov esi, eax
add esp, 4
test esi, esi
je 0x4d0882
cmp dword [ebx], 0
jne 0x4d0831
lea edx, [esi + 0x1000]
push 0
push edx
mov ecx, ebx
call fcn.004d3250
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, dword [eax + 0xc]
lea ebp, [edx + esi]
cmp ebp, ecx
ja 0x4d0846
lea ecx, [esi + esi]
mov esi, edi
jmp 0x4d085f
lea eax, [ebp + 0x1000]
push 0
push eax
mov ecx, ebx
call fcn.004d3250
mov eax, dword [ebx]
lea ecx, [esi + esi]
mov esi, edi
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]
mov dword [edx], ebp
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x28]
xor ebp, ebp
push eax
mov byte [esp + 0x17], 1
mov dword [esp + 0x2c], ebp
call dword [ecx + 8]
mov edi, eax
mov eax, dword [esp + 0x364]
add esp, 4
cmp eax, ebp
mov dword [esp + 0x2c], edi
je 0x4d08af
mov dword [eax], edi
mov eax, dword [esp + 0x364]
cmp eax, ebp
je 0x4d08c0
mov edx, dword [esp + 0x28]
mov dword [eax], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [ebx]
mov dword [esp + 0x358], ebp
cmp eax, ebp
je 0x4d08da
mov esi, dword [eax + 8]
jmp 0x4d08dc
xor esi, esi
mov eax, dword [0x75c6cc]
cmp eax, ebp
jne 0x4d0911
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebp
je 0x4d0b59
push str.PathFileExistsW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
mov dword [0x75c6cc], eax
je 0x4d0b59
push esi
call eax
cmp eax, ebp
je 0x4d0b59
mov eax, dword [ebx]
cmp eax, ebp
je 0x4d0927
mov esi, dword [eax + 8]
jmp 0x4d0929
xor esi, esi
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4d093c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x18], ebp
push ebp
push 0x80
push 3
push ebp
push 7
push closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4d0b59
push ebp
push ebp
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp esi, ebp
mov dword [esp + 0x18], esi
je 0x4d0b42
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x30], ebp
jne 0x4d0992
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4d0b42
test ebp, ebp
jle 0x4d0b42
push ebp
call fcn.005bb591
mov ecx, eax
mov eax, dword [esp + 0x1c]
xor edi, edi
add esp, 4
cmp eax, edi
mov dword [esp + 0x34], ecx
je 0x4d0b31
lea edx, [esp + 0x24]
push edi
push edx
push ebp
push ecx
push eax
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
je 0x4d0b31
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp ecx, edi
mov esi, eax
mov word [esp + 0x40], di
je 0x4d0b01
cmp eax, edi
je 0x4d0b01
push 0xf0000000
push 1
push edi
lea eax, [esp + 0x30]
push edi
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x4d0ae2
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push edi
push edi
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4d0ae2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push edi
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4d0ae2
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea edx, [esp + 0x20]
push edi
push edx
push edi
push 2
push eax
mov dword [esp + 0x34], 4
call esi
test eax, eax
je 0x4d0ae2
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005a8ac7
mov edi, eax
add esp, 4
test edi, edi
je 0x4d0ae0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 0
push edx
push edi
push 2
push eax
call esi
test eax, eax
je 0x4d0ad7
mov eax, dword [esp + 0x20]
xor ebp, ebp
xor esi, esi
test eax, eax
jbe 0x4d0ad3
mov cl, byte [esi + edi]
lea eax, [esp + ebp*2 + 0x40]
mov byte [esp + 0x3c], cl
mov edx, dword [esp + 0x3c]
and edx, 0xff
push edx
push str._02x
push eax
call fcn.005a9db0
add esp, 0xc
add ebp, eax
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x4d0aa4
mov ebp, dword [esp + 0x30]
push edi
call fcn.005a89de
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4d0af1
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x4d0b01
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xc4]
push ecx
push ebp
push edx
call fcn.004d0e30
lea eax, [esp + 0xd0]
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.005a9d7b
add esp, 0x14
test eax, eax
jne 0x4d0b31
mov byte [esp + 0x13], al
mov edx, dword [esp + 0x34]
push edx
call fcn.005bb5ba
mov edi, dword [esp + 0x30]
add esp, 4
lea ecx, [esp + 0x18]
call fcn.004d0dc0
mov al, byte [esp + 0x13]
test al, al
je 0x4d0c44
xor ebp, ebp
mov eax, dword [ebx]
cmp eax, ebp
je 0x4d0b64
mov eax, dword [eax + 8]
jmp 0x4d0b66
xor eax, eax
push 0xffffffffffffffff
push 4
push eax
lea ecx, [esp + 0x24]
call fcn.004d0ce0
test eax, eax
setne al
test al, al
jne 0x4d0be1
push ebp
call fcn.005a9c9f
push eax
call fcn.005a7682
push 6
lea eax, [esp + 0x3c]
push 0x14
push eax
call fcn.004d1f00
add esp, 0x14
push 1
push eax
mov ecx, ebx
mov byte [esp + 0x360], 1
call fcn.004d1da0
lea ecx, [esp + 0x30]
mov byte [esp + 0x358], 0
call fcn.004d3210
mov eax, dword [ebx]
cmp eax, ebp
je 0x4d0bc8
mov eax, dword [eax + 8]
jmp 0x4d0bca
xor eax, eax
push 0xffffffffffffffff
push 4
push eax
lea ecx, [esp + 0x24]
call fcn.004d0ce0
test eax, eax
setne al
test al, al
je 0x4d0bff
mov ecx, dword [esp + 0x28]
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.004d0e00
test eax, eax
je 0x4d0bff
lea ecx, [esp + 0x18]
call fcn.004d0dc0
jmp 0x4d0c46
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x14c]
push 0x73322c
push edx
call fcn.005a9db0
add esp, 0xc
lea eax, [esp + 0x148]
push ebp
push 0x733218
push eax
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebp
call fcn.005a9bac
xor ebp, ebp
mov ebx, dword [ebx]
cmp ebx, ebp
je 0x4d0c51
mov eax, dword [ebx + 8]
jmp 0x4d0c53
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0x38]
mov esi, eax
mov dword [esp + 0x358], 0xffffffff
mov dword [ecx], esi
lea ecx, [esp + 0x18]
call fcn.004d0dc0
mov eax, esi
mov ecx, dword [esp + 0x350]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34c
ret 8