Function at 0x46f1a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x881c7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x64], ecx
mov byte [ebp - 0x21], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x64]
add eax, 4
push eax
lea ecx, [ebp - 0x20]
call fcn.00424810
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x20]
jle 0x46f20b
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x1c]
jle 0x46f20b
mov dword [ebp - 0x68], 0
jmp 0x46f212
mov dword [ebp - 0x68], 1
movzx eax, byte [ebp - 0x68]
test eax, eax
jne 0x46f38d
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
sub edx, dword [ecx]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 8]
neg eax
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 4]
neg edx
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x64]
add edx, 4
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [eax + 8]
sub edx, dword [ecx]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x64]
add eax, 4
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x50]
mov eax, dword [ecx + 0xc]
sub eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0xf001f
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x46f2f7
mov dword [ebp - 0x60], 0xffffff94
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
push 0xb69d6c
lea edx, [ebp - 0x58]
push edx
call fcn.0083d8fb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
jmp 0x46f311
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x14]
jge 0x46f356
mov ecx, dword [ebp - 0x38]
shl ecx, 4
push ecx
mov edx, dword [ebp - 0x30]
shl edx, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
imul ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
add eax, ecx
add eax, edx
push eax
mov ecx, dword [ebp - 0x34]
imul ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x20]
shl ecx, 4
add ecx, dword [ebp - 0x3c]
push ecx
call fcn.0083f0f0
add esp, 0xc
jmp 0x46f2ff
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov byte [ebp - 0x21], 1
jmp 0x46f386
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x21]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8