Function at 0x48dfe0
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 0x4d5cc1
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 0x48e5c0
mov eax, dword [ebp + 4]
lea ebx, [ebp + 4]
cmp eax, edi
jne 0x48e02b
push edi
push 0x104
mov ecx, ebx
call fcn.0048d820
jmp 0x48e076
mov esi, dword [eax]
mov eax, dword [eax + 0xc]
cmp eax, 0x104
jae 0x48e045
add eax, 0x1104
push edi
push eax
mov ecx, ebx
call fcn.0048d980
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 0x48e076
mov eax, 0x104
jbe 0x48e076
mov ecx, dword [ebx]
inc eax
cmp eax, esi
mov edx, dword [ecx + 8]
mov word [edx + eax*2 - 2], di
jb 0x48e067
mov eax, dword [ebx]
cmp eax, edi
je 0x48e081
mov eax, dword [eax + 8]
jmp 0x48e083
xor eax, eax
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebx]
cmp eax, edi
je 0x48e0a5
mov eax, dword [eax + 8]
push eax
call fcn.0048eef0
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 0x48e189
push eax
call fcn.0048eef0
mov esi, eax
add esp, 4
cmp esi, edi
je 0x48e189
cmp dword [ebx], edi
jne 0x48e0da
lea edx, [esi + 0x1000]
push edi
push edx
mov ecx, ebx
call fcn.0048d980
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, dword [eax + 0xc]
lea ebp, [edx + esi]
cmp ebp, ecx
ja 0x48e114
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 0x48e183
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.0048ea60
add esp, 0xc
lea eax, [ebp + 0x1000]
mov ecx, ebx
push edi
push eax
call fcn.0048d980
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.0048d1e0
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 0x48e1b0
mov dword [eax], ebp
mov eax, dword [esp + 0x360]
cmp eax, edi
je 0x48e1c1
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 0x48e1df
mov esi, dword [eax + 8]
jmp 0x48e1e1
xor esi, esi
mov eax, dword [0x57eea4]
cmp eax, edi
jne 0x48e216
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
je 0x48e4a5
push str.PathFileExistsW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
mov dword [0x57eea4], eax
je 0x48e4a5
push esi
call eax
cmp eax, edi
je 0x48e4a5
mov eax, dword [ebx]
cmp eax, edi
je 0x48e22c
mov esi, dword [eax + 8]
jmp 0x48e22e
xor esi, esi
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x48e241
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 closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x48e4a5
push edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp esi, edi
mov dword [esp + 0x18], esi
je 0x48e46d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x30], esi
jne 0x48e297
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x48e46d
cmp esi, edi
jle 0x48e46d
push esi
call fcn.004c5611
mov ebp, eax
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, edi
mov dword [esp + 0x38], ebp
je 0x48e460
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 0x48e460
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 0x48e432
cmp eax, ecx
je 0x48e432
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 0x48e412
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 0x48e412
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 0x48e412
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 0x48e412
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004b47e7
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x48e40a
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 0x48e401
mov eax, dword [esp + 0x14]
cmp eax, 0x10
jb 0x48e3ce
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 0x48e3fa
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.004b46fe
add esp, 4
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x48e421
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x48e432
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [esp + 0xc0]
push eax
push esi
push ebp
call fcn.0048ed80
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 0x48e45e
mov byte [esp + 0x13], dl
xor edi, edi
push ebp
call fcn.004c563a
mov ebp, dword [esp + 0x24]
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x48e482
push eax
call fcn.004c563a
add esp, 4
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x48e499
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x48e499
mov dword [esp + 0x18], edi
mov al, byte [esp + 0x13]
test al, al
je 0x48e549
mov eax, dword [ebx]
cmp eax, edi
je 0x48e4b0
mov eax, dword [eax + 8]
jmp 0x48e4b2
xor eax, eax
push 0xffffffffffffffff
push 4
push eax
lea ecx, [esp + 0x24]
call fcn.0048e660
test eax, eax
setne al
test al, al
jne 0x48e52d
push edi
call fcn.004b5b8e
push eax
call fcn.004b35f2
push 6
lea eax, [esp + 0x3c]
push 0x14
push eax
call fcn.0048e740
add esp, 0x14
push 1
push eax
mov ecx, ebx
mov byte [esp + 0x35c], 2
call fcn.0048e5e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x354], 1
call fcn.0048ed40
mov eax, dword [ebx]
cmp eax, edi
je 0x48e514
mov eax, dword [eax + 8]
jmp 0x48e516
xor eax, eax
push 0xffffffffffffffff
push 4
push eax
lea ecx, [esp + 0x24]
call fcn.0048e660
test eax, eax
setne al
test al, al
je 0x48e554
mov ecx, dword [esp + 0x2c]
push ecx
push ebp
lea ecx, [esp + 0x20]
call fcn.0048ea30
test eax, eax
je 0x48e554
lea ecx, [esp + 0x18]
call fcn.0048e9f0
mov ebx, dword [ebx]
cmp ebx, edi
je 0x48e599
mov eax, dword [ebx + 8]
jmp 0x48e59b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x148]
push 0x555308
push edx
call fcn.004b5b1f
add esp, 0xc
lea eax, [esp + 0x144]
push edi
push 0x5552f4
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.004b5862
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.0048e9f0
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