Function at 0x4b80a8
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4b80b0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b845f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x28], 0
jne 0x4b8426
xor eax, eax
push ebp
push 0x4b83b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, 0x4b8478
call fcn.00484248
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00404fe0
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 1
mov dword [ebp - 0xc], 2
push 0
push 0x4b848c
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
push 0
call fcn.00404b28
add esp, 0x10
mov dword [ebp - 0xc], 3
push 0
push 0x4b8498
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
push 0
call fcn.00404b28
add esp, 0x10
mov dword [ebp - 0xc], 4
push 2
push 0x4b84ac
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
push 0
call fcn.00404b28
add esp, 0x10
mov dword [ebp - 0xc], 5
push 0x4b84bc
push 0x4b84c4
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404b28
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00404b28
add esp, 0xc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, 0x60
call fcn.00405004
mov dword [ebp - 0xc], 6
push 0x4b84d4
mov eax, dword [ebp - 4]
add eax, 0x60
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00404b28
add esp, 0xc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.00405004
mov dword [ebp - 0xc], 7
push 0x4b84e0
mov eax, dword [ebp - 4]
add eax, 0x50
push eax
push 0
call fcn.00404b28
add esp, 0xc
mov dword [ebp - 0xc], 8
push 0x4b84f0
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00404b28
add esp, 0xc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, 0x70
call fcn.00405004
mov dword [ebp - 0xc], 9
push 0x4b8508
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00404b28
add esp, 0xc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, 0x80
call fcn.00404efc
mov dword [ebp - 0xc], 0xa
push 0x4b8514
mov eax, dword [ebp - 4]
add eax, 0x60
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00404b28
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
mov edx, 0x4b8524
call fcn.00404fa0
lea edx, [ebp - 0x30]
pop eax
call fcn.004052f0
lea eax, [ebp - 0x20]
push eax
push 0x4b8514
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404b28
add esp, 0xc
lea edx, [ebp - 0x30]
pop eax
call fcn.004052f0
lea edx, [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.00404efc
mov dword [ebp - 0xc], 0xb
mov eax, dword [ebp - 8]
call fcn.00404160
push eax
push 0x4b8528
call sub.user32.dll_FindWindowA
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov dword [ebp - 0xc], 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
cmp byte [eax], 0x39
jne 0x4b8307
lea eax, [ebp - 8]
mov edx, 0x4b8538
call fcn.00403db8
jmp 0x4b8314
lea eax, [ebp - 8]
mov edx, 0x4b855c
call fcn.00403db8
mov dword [ebp - 0xc], 0xd
push 0x4b8578
push 0x200
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x84], esi
mov dword [ebp - 0xc], 0xe
push 0
push 0
push 0
push 2
push esi
call sub.kernel32.dll_MapViewOfFile
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x88], ebx
mov dword [ebp - 0xc], 0xf
test ebx, ebx
je 0x4b83af
mov eax, ebx
xor ecx, ecx
mov edx, 0x200
call fcn.00402dc8
mov dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x88]
mov eax, dword [ebp - 8]
call fcn.00404160
mov edx, eax
lea eax, [ebx + 0x100]
call fcn.00409600
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00404160
mov edx, eax
lea eax, [ebx]
call fcn.00409600
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b8426
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8466
lea eax, [ebp - 0x34]
call fcn.00403d20
lea eax, [ebp - 0x30]
mov edx, dword [0x4010f0]
mov ecx, 2
call fcn.00404600
lea eax, [ebp - 0x10]
call fcn.004058e4
lea eax, [ebp - 8]
call fcn.00403d20
ret