Function at 0x46f3b0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x881c84
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 0x46f41b
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x1c]
jle 0x46f41b
mov dword [ebp - 0x68], 0
jmp 0x46f422
mov dword [ebp - 0x68], 1
movzx eax, byte [ebp - 0x68]
test eax, eax
jne 0x46f59a
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
sub edx, dword [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x2c], 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 - 0x34], 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 - 0x30], 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 - 0x28], eax
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 4
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 0x46f504
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 0x46f51e
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x14]
jge 0x46f563
mov ecx, dword [ebp - 0x34]
shl ecx, 4
push ecx
mov edx, dword [ebp - 0x30]
imul edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x20]
shl edx, 4
add edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x38]
shl eax, 4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2c]
imul edx, dword [ecx + 0x10]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 4]
add ecx, edx
add ecx, eax
push ecx
call fcn.0083f0f0
add esp, 0xc
jmp 0x46f50c
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov byte [ebp - 0x21], 1
jmp 0x46f593
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