Function at 0x4b9882
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
jmp 0x4b98b2
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004d5e20
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.004a79c9
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4b9902
push ebx
call fcn.004d593a
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x4b9b74
push 0x80000101
push 0
push 0x70
push 1
mov ebx, 0x140
call fcn.004d5e20
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0x80000101
push 0
push 0x69
push 1
mov ebx, 0x140
call fcn.004d5e20
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000101
push 0
push 0x61
push 1
mov ebx, 0x140
call fcn.004d5e20
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000101
push 0
push 0x6f
push 1
mov ebx, 0x140
call fcn.004d5e20
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000101
push 0
push 0x31
push 1
mov ebx, 0x140
call fcn.004d5e20
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000101
push 0
push 0x36
push 1
mov ebx, 0x140
call fcn.004d5e20
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x80000101
push 0
push 0x38
push 1
mov ebx, 0x140
call fcn.004d5e20
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x80000101
push 0
push 0x6c
push 1
mov ebx, 0x140
call fcn.004d5e20
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0x69
push 1
mov ebx, 0x140
call fcn.004d5e20
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0x6e
push 1
mov ebx, 0x140
call fcn.004d5e20
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 0x67
push 1
mov ebx, 0x140
call fcn.004d5e20
add esp, 0x10
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
mov ecx, 0xb
call fcn.004a052a
add esp, 0x2c
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4b9ab8
push ebx
call fcn.004d593a
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4b9ac8
push ebx
call fcn.004d593a
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4b9ad8
push ebx
call fcn.004d593a
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4b9ae8
push ebx
call fcn.004d593a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4b9af8
push ebx
call fcn.004d593a
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4b9b08
push ebx
call fcn.004d593a
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4b9b18
push ebx
call fcn.004d593a
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4b9b28
push ebx
call fcn.004d593a
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4b9b38
push ebx
call fcn.004d593a
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4b9b48
push ebx
call fcn.004d593a
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4b9b58
push ebx
call fcn.004d593a
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4b9b6e
push ebx
call fcn.004d593a
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push 1
push dword [ebp + 8]
push dword [ebp + 0x10]
call fcn.004b9cda
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b9b98
push ebx
call fcn.004d593a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push getpeername
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x4b9bb1
mov eax, 0x5ff93c
push eax
push 1
mov ebx, 0x130
call fcn.004d6490
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x5ffb01]
fstp qword [ebp - 0x20]
mov ebx, dword [ebp + 8]
push dword [ebx]
fld qword [ebp - 0x20]
call fcn.004a08f6
push eax
push 0
push 4
push 0
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
nop
nop
nop
nop
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 2
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop
nop
nop
nop
mov dword [ebp - 0xc], eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b9c3f
mov eax, 0x5ff93c
push eax
push 1
mov ebx, 0x130
call fcn.004d6490
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x5ffb01]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.004a08f6
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b9c94
mov eax, 0x5ff93c
push eax
push 3
mov ebx, 0x914
call fcn.004d7f20
add esp, 0x28
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
nop
nop
nop
jmp 0x4b9cc4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b9cd4
push ebx
call fcn.004d593a
add esp, 4
mov esp, ebp
pop ebp
ret 0xc