Function at 0x7664eb3f
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0x48
push 0x7664ed70
call fcn.765e153c
mov eax, dword [0x76666130]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x44], edx
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x3c], 0xde351a42
mov word [ebp - 0x38], 0x8e59
mov word [ebp - 0x36], 0x11d0
mov byte [ebp - 0x34], 0x8c
mov byte [ebp - 0x33], 0x47
xor ebx, ebx
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], 0xc0
mov byte [ebp - 0x30], 0x4f
mov byte [ebp - 0x2f], 0xc2
mov byte [ebp - 0x2e], 0x95
mov byte [ebp - 0x2d], 0xee
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x40], ebx
xor esi, esi
inc esi
mov dword [ebp - 0x4c], esi
cmp edi, ebx
je 0x7664ebb9
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp edx, ebx
je 0x7664ebb5
cmp edx, 0xffffffff
jne 0x7664ebe4
cmp ecx, ebx
jne 0x7664ebc0
push 0x57
jmp 0x7664ed03
push ebx
push 0x80
push 3
push ebx
push esi
push 0x80000000
push ecx
call sym.CRYPT32.dll_CreateFileU
mov dword [ebp - 0x44], eax
cmp eax, 0xffffffff
je 0x7664ecfc
mov dword [ebp - 0x50], esi
push ebx
push ebx
push ebx
push 2
push ebx
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
cmp esi, ebx
je 0x7664ecfc
cmp esi, 0xffffffff
je 0x7664ecfc
push ebx
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x40], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x58], eax
cmp eax, 4
jb 0x7664ecc4
cmp dword [ebp - 0x40], ebx
je 0x7664ecfc
mov dword [ebp - 4], ebx
mov edi, 0x76612510
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov esi, dword [ebp - 0x40]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x7664ec67
push dword [ebp - 0x48]
push dword [ebp - 0x58]
push dword [ebp - 0x40]
call fcn.7660099a
test eax, eax
jne 0x7664ecba
mov edi, 0x765eb370
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov esi, dword [ebp - 0x40]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x7664ecc0
mov dword [ebp - 0x2c], 0xc689aaba
mov word [ebp - 0x28], 0x8e78
mov word [ebp - 0x26], 0x11d0
mov byte [ebp - 0x24], 0x8c
mov byte [ebp - 0x23], 0x47
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], 0xc0
mov byte [ebp - 0x20], 0x4f
mov byte [ebp - 0x1f], 0xc2
mov byte [ebp - 0x1e], 0x95
mov byte [ebp - 0x1d], 0xee
lea esi, [ebp - 0x2c]
mov edi, dword [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or dword [ebp - 4], 0xffffffff
jmp 0x7664ed0c
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x3c]
mov edi, dword [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x7664ed0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 4], 1
cmp dword [ebp - 0x40], ebx
je 0x7664ed21
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
or dword [ebp - 4], 0xffffffff
jmp 0x7664ed3e
cmp dword [ebp - 0x44], ebx
je 0x7664ed57
cmp dword [ebp - 0x44], 0xffffffff
je 0x7664ed57
cmp dword [ebp - 0x50], ebx
je 0x7664ed57
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
call fcn.765e4260
call fcn.765e1577
ret 0xc