Function at 0x148f8a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1553711
mov eax, dword fs:[0]
push eax
sub esp, 0x58c
mov eax, dword [0x158aa80]
xor eax, esp
mov dword [esp + 0x588], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x158aa80]
xor eax, esp
push eax
lea eax, [esp + 0x5a0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5b0]
push 0x15ad70c
push str._sServer.cfg
lea eax, [esp + 0x4a0]
push 0x104
push eax
mov dword [esp + 0x28], ebp
call fcn.01481be0
add esp, 0x10
test eax, eax
je 0x148f915
call fcn.014f2810
xor al, al
jmp 0x149046b
push 0
push 0x80
push 3
push 0
push 1
push connect
lea ecx, [esp + 0x4b0]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x148f90e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
add eax, 1
push eax
call fcn.015298eb
mov edx, dword [esp + 0x18]
add esp, 4
mov edi, eax
push 0
lea eax, [esp + 0x18]
push eax
mov byte [edx + edi], 0
mov ecx, dword [esp + 0x1c]
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3ff
lea edx, [esp + 0x9d]
push 0
push edx
mov byte [esp + 0xa4], 0
call fcn.0152a100
lea eax, [esp + 0xa4]
push eax
push edi
mov dword [0x15ad94c], 0
call fcn.014c1a50
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1490469
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x148f9c7
mov ebp, dword [esp + 0x18]
push str.common
call ebx
push eax
push str.common
lea ecx, [esp + 0xa0]
push ecx
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_CompareStringA]
push eax
lea edx, [esp + 0xa4]
push edx
push 0x10001
push 0x400
call edi
sub eax, 2
je 0x148faf1
push ebp
call ebx
push eax
push ebp
lea eax, [esp + 0xa0]
push eax
call ebx
push eax
lea ecx, [esp + 0xa4]
push ecx
push 0x10001
push 0x400
call edi
sub eax, 2
je 0x148faf1
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x1490469
push 0x15681a8
call ebx
push eax
push 0x15681a8
lea eax, [esp + 0xa0]
push eax
call ebx
push eax
lea ecx, [esp + 0xa4]
push ecx
push 0x10001
push 0x400
call edi
sub eax, 2
jne 0x1490469
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
lea ebx, [ebx]
push 0x156709c
call ebx
push eax
push 0x156709c
lea eax, [esp + 0xa0]
push eax
call ebx
push eax
lea ecx, [esp + 0xa4]
push ecx
push 0x10001
push 0x400
call edi
sub eax, 2
je 0x149044e
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x148faa0
jmp 0x149044e
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x1490469
push 0x15681a8
call ebx
push eax
push 0x15681a8
lea ecx, [esp + 0xa0]
push ecx
call ebx
push eax
lea edx, [esp + 0xa4]
push edx
push 0x10001
push 0x400
call edi
sub eax, 2
jne 0x1490469
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
jmp 0x148fb66
mov edi, dword [sym.imp.KERNEL32.dll_CompareStringA]
push 0x156709c
call ebx
push eax
push 0x156709c
lea ecx, [esp + 0xa0]
push ecx
call ebx
push eax
lea edx, [esp + 0xa4]
push edx
push 0x10001
push 0x400
call edi
sub eax, 2
je 0x149044e
push str.certification
call ebx
push eax
push str.certification
lea eax, [esp + 0xa0]
push eax
call ebx
push eax
lea ecx, [esp + 0xa4]
push ecx
push 0x10001
push 0x400
call edi
sub eax, 2
jne 0x148fc84
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
mov eax, 0x15ad828
lea edx, [esp + 0x98]
xor ebp, ebp
mov edi, 0x10
sub edx, eax
lea ecx, [edi + 0x7fffffee]
test ecx, ecx
je 0x148fc1d
mov cl, byte [edx + eax]
test cl, cl
je 0x148fc1d
mov byte [eax], cl
add eax, 1
sub edi, 1
jne 0x148fc00
jmp 0x148fc21
test edi, edi
jne 0x148fc29
sub eax, 1
mov ebp, 0x8007007a
test ebp, ebp
mov byte [eax], 0
jne 0x148f909
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
lea ecx, [esp + 0x98]
push ecx
call fcn.0152a9c3
add esp, 4
mov dword [0x15ad848], eax
jmp 0x149041d
push str.certification_ip_bind
call ebx
push eax
push str.certification_ip_bind
lea edx, [esp + 0xa0]
push edx
call ebx
push eax
lea eax, [esp + 0xa4]
push eax
push 0x10001
push 0x400
call edi
sub eax, 2
jne 0x148fd1e
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
mov eax, 0x15ad838
lea edx, [esp + 0x98]
xor ebp, ebp
mov edi, 0x10
sub edx, eax
lea ecx, [edi + 0x7fffffee]
test ecx, ecx
je 0x148fd02
mov cl, byte [eax + edx]
test cl, cl
je 0x148fd02
mov byte [eax], cl
add eax, 1
sub edi, 1
jne 0x148fce5
jmp 0x148fd06
test edi, edi
jne 0x148fd0e
sub eax, 1
mov ebp, 0x8007007a
test ebp, ebp
mov byte [eax], 0
jne 0x148f909
jmp 0x149041d
push str.myport
call ebx
push eax
push str.myport
lea edx, [esp + 0xa0]
push edx
call ebx
push eax
lea eax, [esp + 0xa4]
push eax
push 0x10001
push 0x400
call edi
sub eax, 2
jne 0x148fd84
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
lea edx, [esp + 0x98]
push edx
call fcn.0152a9c3
add esp, 4
mov dword [0x15ad94c], eax
jmp 0x149041d
lea eax, [esp + 0x98]
push str.debug_option_debugger_present
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x148fe69
lea ecx, [esp + 0x98]
push ecx
push esi
mov dword [0x15ad958], eax
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
lea edx, [esp + 0x98]
push 0x15681a8
push edx
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x149044e
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149041d
lea esp, [esp]
lea ecx, [esp + 0x98]
push 0x156709c
push ecx
call fcn.01471a90
add esp, 8
test eax, eax
je 0x149041d
mov edi, 0x158860c
mov edx, dword [edi - 4]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x148fe42
mov ecx, dword [edi]
or dword [0x15ad958], ecx
add edi, 8
cmp edi, 0x1588654
jl 0x148fe22
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x148fe00
jmp 0x149041d
lea eax, [esp + 0x98]
push str.debug_option_stand_alone
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x148ff49
lea ecx, [esp + 0x98]
push ecx
push esi
mov dword [0x15ad95c], eax
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
lea edx, [esp + 0x98]
push 0x15681a8
push edx
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x149044e
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149041d
mov edi, edi
lea ecx, [esp + 0x98]
push 0x156709c
push ecx
call fcn.01471a90
add esp, 8
test eax, eax
je 0x149041d
mov edi, 0x158860c
mov edx, dword [edi - 4]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x148ff22
mov ecx, dword [edi]
or dword [0x15ad95c], ecx
add edi, 8
cmp edi, 0x1588654
jl 0x148ff02
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x148fee0
jmp 0x149041d
lea eax, [esp + 0x98]
push str.netengine_debug_option_debugger_present
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x1490029
lea ecx, [esp + 0x98]
push ecx
push esi
mov dword [0x15ad960], eax
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
lea edx, [esp + 0x98]
push 0x15681a8
push edx
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x149044e
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149041d
mov edi, edi
lea ecx, [esp + 0x98]
push 0x156709c
push ecx
call fcn.01471a90
add esp, 8
test eax, eax
je 0x149041d
mov edi, 0x158860c
mov edx, dword [edi - 4]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x1490002
mov ecx, dword [edi]
or dword [0x15ad960], ecx
add edi, 8
cmp edi, 0x1588654
jl 0x148ffe2
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x148ffc0
jmp 0x149041d
lea eax, [esp + 0x98]
push str.netengine_debug_option_stand_alone
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x1490109
lea ecx, [esp + 0x98]
push ecx
push esi
mov dword [0x15ad964], eax
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
lea edx, [esp + 0x98]
push 0x15681a8
push edx
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x149044e
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149041d
mov edi, edi
lea ecx, [esp + 0x98]
push 0x156709c
push ecx
call fcn.01471a90
add esp, 8
test eax, eax
je 0x149041d
mov edi, 0x158860c
mov edx, dword [edi - 4]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x14900e2
mov ecx, dword [edi]
or dword [0x15ad964], ecx
add edi, 8
cmp edi, 0x1588654
jl 0x14900c2
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x14900a0
jmp 0x149041d
lea eax, [esp + 0x98]
push str.ReportConnectionLog
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x1490161
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
lea edx, [esp + 0x98]
push edx
call fcn.0152a9c3
sub eax, 1
add esp, 4
neg eax
sbb eax, eax
add eax, 1
mov dword [0x15ad968], eax
jmp 0x149041d
lea eax, [esp + 0x98]
push str.MaxSendQueDepth
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x14901af
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
lea edx, [esp + 0x98]
push edx
call fcn.0152a9c3
add esp, 4
mov dword [0x15ad96c], eax
jmp 0x149041d
lea eax, [esp + 0x98]
push str.PromptAtClose
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x1490207
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
lea edx, [esp + 0x98]
push edx
call fcn.0152a9c3
sub eax, 1
add esp, 4
neg eax
sbb eax, eax
add eax, 1
mov dword [0x15ad970], eax
jmp 0x149041d
lea eax, [esp + 0x98]
push str.WritePerfLogToText
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x149025f
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
lea edx, [esp + 0x98]
push edx
call fcn.0152a9c3
sub eax, 1
add esp, 4
neg eax
sbb eax, eax
add eax, 1
mov dword [0x15ad978], eax
jmp 0x149041d
lea eax, [esp + 0x98]
push str.SystemAffinityMaskMode
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x14902ad
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
lea edx, [esp + 0x98]
push edx
call fcn.0152a9c3
add esp, 4
mov dword [0x15ad97c], eax
jmp 0x149041d
lea eax, [esp + 0x98]
push str.ProcessAffinityMask
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x1490312
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
cmp dword [0x15ad97c], 0
jne 0x149041d
lea edx, [esp + 0x98]
push edx
call fcn.0152a9c3
mov edx, 1
mov ecx, eax
shl edx, cl
add esp, 4
or dword [0x15ad980], edx
jmp 0x149041d
lea eax, [esp + 0x98]
push str.MSGID_VALIDATOR_BLOCK
push eax
call fcn.01471a90
add esp, 8
test eax, eax
jne 0x149036a
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149044e
lea edx, [esp + 0x98]
push edx
call fcn.0152a9c3
sub eax, 1
add esp, 4
neg eax
sbb eax, eax
add eax, 1
mov dword [0x15ad998], eax
jmp 0x149041d
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x80]
call fcn.01474b30
mov dword [esp + 0x5a8], 0
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
je 0x149043a
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x2c]
call fcn.01474b30
mov byte [esp + 0x5a8], 1
push eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x4c]
call fcn.0148ed20
mov byte [esp + 0x5a8], 2
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x15ad988
call fcn.0148f6a0
mov byte [esp + 0x5a8], 1
lea ecx, [esp + 0x44]
call fcn.0148eb20
mov byte [esp + 0x5a8], 0
lea ecx, [esp + 0x28]
call fcn.014730e0
mov dword [esp + 0x5a8], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.014730e0
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x148fb60
jmp 0x149044e
mov dword [esp + 0x5a8], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.014730e0
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014c1a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x148f9c3
mov al, 1
mov ecx, dword [esp + 0x5a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x588]
xor ecx, esp
call fcn.01529f5a
add esp, 0x598
ret