Function at 0x100070d0
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
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e7d2
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x10080040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x328], 1
mov eax, dword [0x10081a54]
test eax, eax
jne 0x100077ff
push ecx
push 0x104
mov ecx, 0x10081a58
call fcn.100091b0
mov eax, dword [0x10081a58]
test eax, eax
je 0x10007138
mov eax, dword [eax + 8]
jmp 0x1000713a
xor eax, eax
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [0x10081a58]
test edx, edx
je 0x1000716c
mov eax, dword [edx + 8]
xor ecx, ecx
test eax, eax
je 0x1000716a
cmp word [eax], cx
je 0x1000716a
nop
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x10007160
mov dword [edx], ecx
push 0
push dword [0x10081a60]
mov ecx, 0x10081a58
call fcn.10009300
lea eax, [ebp - 0x330]
mov byte [ebp - 0x33d], 1
push eax
mov dword [ebp - 0x330], 0
call dword [0x10081a5c]
add esp, 4
mov dword [ebp - 0x350], eax
test edi, edi
je 0x100071ab
mov dword [edi], eax
test esi, esi
je 0x100071b7
mov eax, dword [ebp - 0x330]
mov dword [esi], eax
xor edi, edi
xorps xmm0, xmm0
movlpd qword [ebp - 0x338], xmm0
mov dword [ebp - 0x348], edi
mov dword [ebp - 0x338], edi
mov dword [ebp - 0x334], edi
mov dword [ebp - 4], edi
mov eax, dword [0x10081a58]
test eax, eax
je 0x100071e7
mov esi, dword [eax + 8]
jmp 0x100071e9
xor esi, esi
mov eax, dword [0x10081a74]
test eax, eax
jne 0x1000721e
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100074e0
push str.PathFileExistsW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10081a74], eax
test eax, eax
je 0x100074e0
push esi
call eax
test eax, eax
je 0x100074e0
mov eax, dword [0x10081a58]
test eax, eax
je 0x10007237
mov eax, dword [eax + 8]
jmp 0x10007239
xor eax, eax
push 0
push 0x80
push 3
push 0
push 7
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x328], esi
cmp esi, 0xffffffff
je 0x100074e0
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, esi
mov dword [ebp - 0x348], edi
mov dword [ebp - 0x338], edi
test esi, esi
je 0x100074e0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x34c], eax
cmp eax, 0xffffffff
jne 0x100072a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x34c]
test eax, eax
jle 0x100074ba
push eax
call fcn.1000ab93
add esp, 4
mov dword [ebp - 0x344], eax
lea ecx, [ebp - 0x32c]
mov dword [ebp - 0x32c], 0
push 0
push ecx
push dword [ebp - 0x34c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100074ac
mov esi, dword [ebp - 0x330]
xor eax, eax
mov word [ebp - 0x94], ax
cmp dword [ebp - 0x350], eax
je 0x1000744d
test esi, esi
je 0x1000744d
push 0xf0000000
push 1
push eax
push eax
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x324], eax
lea eax, [ebp - 0x32c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10007429
lea eax, [ebp - 0x324]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x32c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10007429
push 0
push esi
push dword [ebp - 0x350]
push dword [ebp - 0x324]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10007429
push 0
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x33c], 4
push eax
push 0
push 2
push dword [ebp - 0x324]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x10007429
push dword [ebp - 0x33c]
call fcn.1001219a
mov esi, eax
add esp, 4
test esi, esi
je 0x10007429
push 0
lea eax, [ebp - 0x33c]
push eax
push esi
push 2
push dword [ebp - 0x324]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x10007420
cmp dword [ebp - 0x33c], 0x10
jb 0x100073e4
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x94], xmm0
jmp 0x1000741a
mov edi, dword [ebp - 0x33c]
lea eax, [ebp - 0x94]
push edi
push esi
push eax
call fcn.1000d2c0
mov ecx, 0x10
xor eax, eax
sub ecx, edi
add esp, 0xc
lea edi, [ebp + edi*2 - 0x94]
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x348]
xor eax, eax
mov word [ebp - 0x74], ax
push esi
call fcn.1001217f
add esp, 4
mov eax, dword [ebp - 0x324]
test eax, eax
je 0x1000743a
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x32c]
test eax, eax
je 0x1000744d
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edx, dword [ebp - 0x34c]
lea eax, [ebp - 0x320]
mov ecx, dword [ebp - 0x344]
push eax
call fcn.10007870
add esp, 4
lea ecx, [ebp - 0x94]
lea edx, [ebp - 0x320]
mov esi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1000749a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10007480
mov byte [ebp - 0x33d], 0
jmp 0x100074a6
mov al, byte [ebp - 0x33d]
mov byte [ebp - 0x33d], al
mov esi, dword [ebp - 0x328]
push dword [ebp - 0x344]
call fcn.1000a7b1
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
test eax, eax
cmovne edi, ecx
mov dword [ebp - 0x348], edi
mov dword [ebp - 0x338], edi
cmp byte [ebp - 0x33d], cl
je 0x100077d3
mov eax, dword [0x10081a58]
test eax, eax
je 0x100074ee
mov esi, dword [eax + 8]
jmp 0x100074f0
xor esi, esi
test edi, edi
je 0x10007509
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [ebp - 0x348], edi
mov dword [ebp - 0x338], edi
push 0
push 0x80
push 2
push 0
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0
cmp esi, 0xffffffff
je 0x1000753d
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, esi
jmp 0x10007794
call fcn.10012772
push eax
call fcn.100125bc
mov dword [ebp - 0x344], 0
mov byte [ebp - 4], 1
mov ecx, 0x25
mov dword [ebp - 0x328], 1
call fcn.10009e20
mov esi, eax
mov dword [ebp - 0x324], eax
push 0x9a
push 0
lea ecx, [eax + 0x10]
mov dword [eax + 4], 1
mov dword [eax + 0xc], 0x15
mov dword [eax + 8], ecx
mov dword [eax], 0x14
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x328], ecx
mov dword [ebp - 0x344], esi
call fcn.1000bd30
movups xmm0, xmmword [0x1007d84c]
mov eax, dword [0x1007d87c]
add esp, 0x14
mov edi, dword [ebp - 0x328]
xor esi, esi
movups xmmword [ebp - 0x198], xmm0
mov dword [ebp - 0x168], eax
movups xmm0, xmmword [0x1007d85c]
mov eax, dword [0x1007d8b4]
mov dword [ebp - 0x134], eax
movups xmmword [ebp - 0x188], xmm0
movups xmm0, xmmword [0x1007d86c]
movups xmmword [ebp - 0x178], xmm0
movups xmm0, xmmword [0x1007d884]
movups xmmword [ebp - 0x164], xmm0
movups xmm0, xmmword [0x1007d894]
movups xmmword [ebp - 0x154], xmm0
movups xmm0, xmmword [0x1007d8a4]
movups xmmword [ebp - 0x144], xmm0
call fcn.1001259b
cdq
mov ecx, 0x34
idiv ecx
mov ax, word [ebp + edx*2 - 0x198]
mov word [edi + esi*2], ax
inc esi
cmp esi, 0x14
jb 0x10007620
mov dword [ebp - 4], 4
mov ecx, dword [0x10081a58]
mov esi, dword [ebp - 0x344]
mov eax, dword [ebp - 0x324]
test ecx, ecx
jne 0x10007668
mov dword [0x10081a58], eax
xor esi, esi
jmp 0x10007721
mov edx, dword [eax + 0xc]
cmp dword [ecx + 0xc], edx
jbe 0x10007684
push dword [eax]
mov ecx, 0x10081a58
push dword [eax + 8]
call fcn.10009300
jmp 0x10007721
mov esi, dword [eax]
mov edi, dword [eax + 8]
mov eax, dword [ecx]
mov ecx, esi
add eax, ecx
mov dword [ebp - 0x328], esi
mov esi, dword [ebp - 0x344]
cmp eax, edx
jbe 0x100076ad
push ecx
push edi
mov ecx, 0x10081a58
call fcn.10009300
jmp 0x10007721
sub edx, ecx
lea eax, [ecx + ecx]
push eax
push edi
lea esi, [edi + edx*2]
push esi
call fcn.1000d2c0
mov ecx, dword [0x10081a58]
mov eax, dword [ecx]
add eax, eax
push eax
mov eax, dword [ebp - 0x324]
push dword [ecx + 8]
push dword [eax + 8]
call fcn.1000d2c0
mov edx, dword [ebp - 0x324]
mov eax, dword [edx]
add eax, eax
push eax
mov eax, dword [0x10081a58]
push esi
mov ecx, dword [eax]
mov eax, dword [edx + 8]
lea eax, [eax + ecx*2]
push eax
call fcn.1000d2c0
mov eax, dword [0x10081a58]
add esp, 0x24
mov edx, dword [ebp - 0x324]
mov eax, dword [eax]
add dword [edx], eax
xor esi, esi
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov word [eax + ecx*2], si
mov esi, dword [0x10081a58]
mov dword [0x10081a58], edx
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x348]
test esi, esi
je 0x1000773e
add dword [esi + 4], 0xffffffff
jne 0x1000773e
push esi
call fcn.1001217f
add esp, 4
mov eax, dword [0x10081a58]
test eax, eax
je 0x1000774c
mov esi, dword [eax + 8]
jmp 0x1000774e
xor esi, esi
test edi, edi
je 0x10007763
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x338], 0
push 0
push 0x80
push 2
push 0
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000781c
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test edi, edi
je 0x1000781c
push 0
lea eax, [ebp - 0x328]
mov dword [ebp - 0x328], 0
push eax
push dword [ebp - 0x330]
push dword [ebp - 0x350]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000781c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100077d3
xor edi, edi
mov eax, dword [0x10081a58]
test eax, eax
je 0x100077e1
mov eax, dword [eax + 8]
jmp 0x100077e3
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [0x10081a54], esi
test edi, edi
je 0x100077fd
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000a681
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x29c]
push 0x1007d4a8
push eax
call fcn.1000a650
add esp, 0xc
lea eax, [ebp - 0x29c]
push 0
push 0x1007d520
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call fcn.10012585
int3