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

Disassembly:
push 0xffffffffffffffff
push 0x156ddc1
mov eax, dword fs:[0]
push eax
sub esp, 0x58c
mov eax, dword [0x15b0648]
xor eax, esp
mov dword [esp + 0x588], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x15b0648]
xor eax, esp
push eax
lea eax, [esp + 0x5a0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5b0]
push 0x15d2b44
push str._sServer.cfg
lea eax, [esp + 0x4a0]
push 0x104
push eax
mov dword [esp + 0x28], ebp
call fcn.01467780
add esp, 0x10
test eax, eax
je 0x1494f65
call fcn.014fbaa0
xor al, al
jmp 0x1495abb
push 0
push 0x80
push 3
push 0
push 1
push accept
lea ecx, [esp + 0x4b0]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1494f5e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
add eax, 1
push eax
call fcn.0153d9cb
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.0153ecd0
lea eax, [esp + 0xa4]
push eax
push edi
mov dword [0x15d2d84], 0
call fcn.014dd3c0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1495ab9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x1495017
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 0x1495141
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 0x1495141
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495ab9
push 0x1583c98
call ebx
push eax
push 0x1583c98
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 0x1495ab9
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
lea ebx, [ebx]
push 0x1583c94
call ebx
push eax
push 0x1583c94
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 0x1495a9e
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x14950f0
jmp 0x1495a9e
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495ab9
push 0x1583c98
call ebx
push eax
push 0x1583c98
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 0x1495ab9
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
jmp 0x14951b6
mov edi, dword [sym.imp.KERNEL32.dll_CompareStringA]
push 0x1583c94
call ebx
push eax
push 0x1583c94
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 0x1495a9e
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 0x14952d4
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
mov eax, 0x15d2c60
lea edx, [esp + 0x98]
xor ebp, ebp
mov edi, 0x10
sub edx, eax
lea ecx, [edi + 0x7fffffee]
test ecx, ecx
je 0x149526d
mov cl, byte [edx + eax]
test cl, cl
je 0x149526d
mov byte [eax], cl
add eax, 1
sub edi, 1
jne 0x1495250
jmp 0x1495271
test edi, edi
jne 0x1495279
sub eax, 1
mov ebp, 0x8007007a
test ebp, ebp
mov byte [eax], 0
jne 0x1494f59
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
lea ecx, [esp + 0x98]
push ecx
call fcn.0153efc2
add esp, 4
mov dword [0x15d2c80], eax
jmp 0x1495a6d
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 0x149536e
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
mov eax, 0x15d2c70
lea edx, [esp + 0x98]
xor ebp, ebp
mov edi, 0x10
sub edx, eax
lea ecx, [edi + 0x7fffffee]
test ecx, ecx
je 0x1495352
mov cl, byte [eax + edx]
test cl, cl
je 0x1495352
mov byte [eax], cl
add eax, 1
sub edi, 1
jne 0x1495335
jmp 0x1495356
test edi, edi
jne 0x149535e
sub eax, 1
mov ebp, 0x8007007a
test ebp, ebp
mov byte [eax], 0
jne 0x1494f59
jmp 0x1495a6d
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 0x14953d4
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
lea edx, [esp + 0x98]
push edx
call fcn.0153efc2
add esp, 4
mov dword [0x15d2d84], eax
jmp 0x1495a6d
lea eax, [esp + 0x98]
push str.debug_option_debugger_present
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x14954b9
lea ecx, [esp + 0x98]
push ecx
push esi
mov dword [0x15d2d90], eax
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
lea edx, [esp + 0x98]
push 0x1583c98
push edx
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x1495a9e
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a6d
lea esp, [esp]
lea ecx, [esp + 0x98]
push 0x1583c94
push ecx
call fcn.01492fb0
add esp, 8
test eax, eax
je 0x1495a6d
mov edi, 0x15adedc
mov edx, dword [edi - 4]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x1495492
mov ecx, dword [edi]
or dword [0x15d2d90], ecx
add edi, 8
cmp edi, 0x15adf24
jl 0x1495472
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1495450
jmp 0x1495a6d
lea eax, [esp + 0x98]
push str.debug_option_stand_alone
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x1495599
lea ecx, [esp + 0x98]
push ecx
push esi
mov dword [0x15d2d94], eax
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
lea edx, [esp + 0x98]
push 0x1583c98
push edx
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x1495a9e
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a6d
mov edi, edi
lea ecx, [esp + 0x98]
push 0x1583c94
push ecx
call fcn.01492fb0
add esp, 8
test eax, eax
je 0x1495a6d
mov edi, 0x15adedc
mov edx, dword [edi - 4]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x1495572
mov ecx, dword [edi]
or dword [0x15d2d94], ecx
add edi, 8
cmp edi, 0x15adf24
jl 0x1495552
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1495530
jmp 0x1495a6d
lea eax, [esp + 0x98]
push str.netengine_debug_option_debugger_present
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x1495679
lea ecx, [esp + 0x98]
push ecx
push esi
mov dword [0x15d2d98], eax
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
lea edx, [esp + 0x98]
push 0x1583c98
push edx
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x1495a9e
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a6d
mov edi, edi
lea ecx, [esp + 0x98]
push 0x1583c94
push ecx
call fcn.01492fb0
add esp, 8
test eax, eax
je 0x1495a6d
mov edi, 0x15adedc
mov edx, dword [edi - 4]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x1495652
mov ecx, dword [edi]
or dword [0x15d2d98], ecx
add edi, 8
cmp edi, 0x15adf24
jl 0x1495632
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1495610
jmp 0x1495a6d
lea eax, [esp + 0x98]
push str.netengine_debug_option_stand_alone
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x1495759
lea ecx, [esp + 0x98]
push ecx
push esi
mov dword [0x15d2d9c], eax
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
lea edx, [esp + 0x98]
push 0x1583c98
push edx
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x1495a9e
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a6d
mov edi, edi
lea ecx, [esp + 0x98]
push 0x1583c94
push ecx
call fcn.01492fb0
add esp, 8
test eax, eax
je 0x1495a6d
mov edi, 0x15adedc
mov edx, dword [edi - 4]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x1495732
mov ecx, dword [edi]
or dword [0x15d2d9c], ecx
add edi, 8
cmp edi, 0x15adf24
jl 0x1495712
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x14956f0
jmp 0x1495a6d
lea eax, [esp + 0x98]
push str.ReportConnectionLog
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x14957b1
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
lea edx, [esp + 0x98]
push edx
call fcn.0153efc2
sub eax, 1
add esp, 4
neg eax
sbb eax, eax
add eax, 1
mov dword [0x15d2da0], eax
jmp 0x1495a6d
lea eax, [esp + 0x98]
push str.MaxSendQueDepth
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x14957ff
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
lea edx, [esp + 0x98]
push edx
call fcn.0153efc2
add esp, 4
mov dword [0x15d2da4], eax
jmp 0x1495a6d
lea eax, [esp + 0x98]
push str.PromptAtClose
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x1495857
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
lea edx, [esp + 0x98]
push edx
call fcn.0153efc2
sub eax, 1
add esp, 4
neg eax
sbb eax, eax
add eax, 1
mov dword [0x15d2da8], eax
jmp 0x1495a6d
lea eax, [esp + 0x98]
push str.WritePerfLogToText
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x14958af
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
lea edx, [esp + 0x98]
push edx
call fcn.0153efc2
sub eax, 1
add esp, 4
neg eax
sbb eax, eax
add eax, 1
mov dword [0x15d2db0], eax
jmp 0x1495a6d
lea eax, [esp + 0x98]
push str.SystemAffinityMaskMode
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x14958fd
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
lea edx, [esp + 0x98]
push edx
call fcn.0153efc2
add esp, 4
mov dword [0x15d2db4], eax
jmp 0x1495a6d
lea eax, [esp + 0x98]
push str.ProcessAffinityMask
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x1495962
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
cmp dword [0x15d2db4], 0
jne 0x1495a6d
lea edx, [esp + 0x98]
push edx
call fcn.0153efc2
mov edx, 1
mov ecx, eax
shl edx, cl
add esp, 4
or dword [0x15d2db8], edx
jmp 0x1495a6d
lea eax, [esp + 0x98]
push str.MSGID_VALIDATOR_BLOCK
push eax
call fcn.01492fb0
add esp, 8
test eax, eax
jne 0x14959ba
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a9e
lea edx, [esp + 0x98]
push edx
call fcn.0153efc2
sub eax, 1
add esp, 4
neg eax
sbb eax, eax
add eax, 1
mov dword [0x15d2dd0], eax
jmp 0x1495a6d
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x80]
call fcn.014526b0
mov dword [esp + 0x5a8], 0
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1495a8a
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x2c]
call fcn.014526b0
mov byte [esp + 0x5a8], 1
push eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x4c]
call fcn.01494370
mov byte [esp + 0x5a8], 2
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x15d2dc0
call fcn.01494cf0
mov byte [esp + 0x5a8], 1
lea ecx, [esp + 0x44]
call fcn.01494170
mov byte [esp + 0x5a8], 0
lea ecx, [esp + 0x28]
call fcn.01451cc0
mov dword [esp + 0x5a8], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.01451cc0
lea edx, [esp + 0x98]
push edx
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x14951b0
jmp 0x1495a9e
mov dword [esp + 0x5a8], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.01451cc0
lea eax, [esp + 0x98]
push eax
push esi
call fcn.014dd3c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1495013
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.0153eb33
add esp, 0x598
ret