Function at 0x482cb9
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a87e4
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x2b0], 0
push 0x54
call fcn.00455954
pop ecx
mov dword [ebp - 0x2dc], eax
and dword [ebp - 4], 0
push 0x4bb014
lea ecx, [ebp - 0x264]
call fcn.0040224c
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2b0]
or eax, 1
mov dword [ebp - 0x2b0], eax
push dword [ebp - 0x2c8]
push 0x4bb05c
lea ecx, [ebp - 0x24c]
call fcn.0040224c
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x2b0]
or eax, 2
mov dword [ebp - 0x2b0], eax
push dword [ebp - 0x2d0]
push 0x4bb0e4
lea ecx, [ebp - 0x234]
call fcn.0040224c
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x2b0]
or eax, 4
mov dword [ebp - 0x2b0], eax
push dword [ebp - 0x2d8]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x30c], esp
push dword [ebp + 0xc]
call fcn.004022f9
mov ecx, dword [ebp - 0x2dc]
call fcn.0047cff2
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x2bc], eax
jmp 0x482ded
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 4], 6
push dword [ebp - 0x2e4]
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.0040c903
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x2b0]
and eax, 4
je 0x482e35
and dword [ebp - 0x2b0], 0xfffffffb
lea ecx, [ebp - 0x234]
call fcn.004020b1
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x2b0]
and eax, 2
je 0x482e59
and dword [ebp - 0x2b0], 0xfffffffd
lea ecx, [ebp - 0x24c]
call fcn.004020b1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2b0]
and eax, 1
je 0x482e7a
and dword [ebp - 0x2b0], 0xfffffffe
lea ecx, [ebp - 0x264]
call fcn.004020b1
mov ecx, dword [ebp + 8]
add ecx, 0xc
call fcn.004026c4
test eax, eax
jne 0x4830c0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x208
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00458260
add esp, 0xc
push 0x4bb0f0
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0x2b8], eax
cmp dword [ebp - 0x2b8], 0
je 0x4830c0
push 0x20a
push 0
push 0
push 4
push dword [ebp - 0x2b8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
je 0x4830a8
push 2
pop eax
imul eax, eax, 0x104
mov ecx, dword [ebp - 0x2b4]
movzx eax, word [ecx + eax]
test eax, eax
jne 0x4830a8
push 0x54
call fcn.00455954
pop ecx
mov dword [ebp - 0x300], eax
mov dword [ebp - 4], 7
push 0x4bb0ec
lea ecx, [ebp - 0x2ac]
call fcn.0040224c
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2b0]
or eax, 8
mov dword [ebp - 0x2b0], eax
push dword [ebp - 0x2ec]
push 0x4bb140
lea ecx, [ebp - 0x294]
call fcn.0040224c
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x2b0]
or eax, 0x10
mov dword [ebp - 0x2b0], eax
push dword [ebp - 0x2f4]
push 0x4bb144
lea ecx, [ebp - 0x27c]
call fcn.0040224c
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x2b0]
or eax, 0x20
mov dword [ebp - 0x2b0], eax
push dword [ebp - 0x2fc]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x310], esp
push dword [ebp - 0x2b4]
call fcn.0040224c
mov ecx, dword [ebp - 0x300]
call fcn.0047cff2
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x2c0], eax
jmp 0x48301b
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x308], eax
mov dword [ebp - 4], 0xd
push dword [ebp - 0x308]
mov ecx, dword [ebp + 8]
add ecx, 0xc
call fcn.0040c903
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x2b0]
and eax, 0x20
je 0x483063
and dword [ebp - 0x2b0], 0xffffffdf
lea ecx, [ebp - 0x27c]
call fcn.004020b1
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x2b0]
and eax, 0x10
je 0x483087
and dword [ebp - 0x2b0], 0xffffffef
lea ecx, [ebp - 0x294]
call fcn.004020b1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2b0]
and eax, 8
je 0x4830a8
and dword [ebp - 0x2b0], 0xfffffff7
lea ecx, [ebp - 0x2ac]
call fcn.004020b1
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x2b8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret 8