Function at 0x594d70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6369f1
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004895c0
mov esi, dword [ebp + 8]
test al, al
jne 0x594eb1
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x594eb1
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0x28], 0x10
jb 0x594ddd
mov ecx, dword [esi + 0x14]
jmp 0x594de0
lea ecx, [esi + 0x14]
fld dword [esi + 0x134]
sub esp, 0x20
fstp qword [esp + 0x18]
mov ebx, dword [esi + 0xf0]
fld dword [esi + 0x110]
mov edx, dword [eax]
fstp qword [esp + 0x10]
mov edx, dword [edx + 0xc]
fld dword [esi + 0x10c]
fstp qword [esp + 8]
fld dword [esi + 0x108]
fstp qword [esp]
push ebx
mov ebx, dword [esi + 0xec]
fld dword [esi + 0xf4]
push ebx
mov ebx, dword [esi + 0xe8]
push ebx
movzx ebx, byte [esi + 0x101]
push ebx
movzx ebx, byte [esi + 0x100]
push ebx
mov ebx, dword [esi + 0xfc]
sub esp, 8
fstp qword [esp]
push ebx
mov ebx, dword [esi + 0xf8]
fld dword [esi + 0x34]
push ebx
movzx ebx, byte [esi + 0x158]
push ebx
movzx ebx, byte [esi + 0x138]
push ebx
movzx ebx, byte [esi + 0x39]
push ebx
movzx ebx, byte [esi + 0x38]
push ebx
movzx ebx, byte [esi + 0x31]
sub esp, 8
fstp qword [esp]
push ebx
movzx ebx, byte [esi + 0x30]
push ebx
mov ebx, dword [esi + 0x2c]
push ebx
push ecx
movzx ecx, byte [esi + 8]
push ecx
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi]
mov ecx, dword [ecx*4 + 0x72bed8]
push ecx
push edi
push str.Init__this:__p__myNode:__s__connType:__i_nlistenPort:__i__onlyLocal:__i_nsrvAddr:__s:_i__reconn:__i__connInLoop:__i__connPause:__.2f_nrestoreSsn:__i__accRestoreSsn:__i_ntlsSrv:__i__tlsCln:__i_naccThrds:__i__wrkThrds:__i__wrkThrdTimeout:__.2f_naccInvRpcVer:__i__enhancedCompat:__i_nrecvBufSize:__i__packMaxSize:__i__packMaxSizeNode:__i_ntoutSend:__.2f__toutRecv:__.2f__toutRecvNode:__.2f_nkeepAlivePause:__.2f
push 0xc
push 0x75
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodePnzNetProtocolPnzNetContainer.cpp
push 0
push eax
call edx
add esp, 0x98
cmp dword [esi + 0xfc], 0
jg 0x594f0e
call fcn.004895c0
test al, al
jne 0x594f01
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x594f01
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push str._cfg.m_iWorkerThreads___0
push str.PnzAssert:__s
push 0x77
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodePnzNetProtocolPnzNetContainer.cpp
push 2
push eax
call edx
add esp, 0x18
cmp dword [esi + 0xfc], 0
jle 0x595020
call fcn.00593100
test al, al
je 0x595020
cmp byte [esi + 0x38], 0
fldz
mov ebx, 1
je 0x595037
fstp st(0)
cmp dword [esi + 0xfc], ebx
je 0x594f8c
call fcn.004895c0
test al, al
jne 0x594f80
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x594f80
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push str._cfg.m_iWorkerThreads__1
push str.PnzAssert:__s
push 0x83
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodePnzNetProtocolPnzNetContainer.cpp
push 2
push eax
call edx
add esp, 0x18
cmp dword [esi + 0xfc], ebx
jne 0x595020
cmp dword [esi + 0x3c], 0
jle 0x594fb2
fldz
fcom dword [esi + 0x40]
fnstsw ax
test ah, 5
jp 0x594fb0
cmp dword [esi + 0x50], 0
jle 0x594fb0
fcomp dword [esi + 0x54]
fnstsw ax
test ah, 5
jnp 0x594ffc
jmp 0x594fb2
fstp st(0)
call fcn.004895c0
test al, al
jne 0x594ffc
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x594ffc
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push str._cfg.m_iRestoreSsnConnAttempts___0___cfg.m_fRestoreSsnTimeout___0___cfg.m_iMaxSizeKeepSentPackets___0___cfg.m_fTimeoutKeepSentPackets___0
push str.PnzAssert:__s
push 0x88
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodePnzNetProtocolPnzNetContainer.cpp
push 2
push eax
call edx
add esp, 0x18
cmp dword [esi + 0x3c], 0
jle 0x595020
fldz
fcom dword [esi + 0x40]
fnstsw ax
test ah, 1
je 0x59501e
cmp dword [esi + 0x50], 0
jle 0x59501e
fcom dword [esi + 0x54]
fnstsw ax
test ah, 1
jne 0x595037
fstp st(0)
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x39], 0
je 0x595100
cmp byte [esi + 0x48], 0
je 0x595100
fcomp dword [esi + 0x4c]
fnstsw ax
test ah, 5
jnp 0x59509f
call fcn.004895c0
test al, al
jne 0x59509f
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x59509f
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push str._cfg.m_fTestDisconnectionOfSessions___0
push str.PnzAssert:__s
push 0x92
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodePnzNetProtocolPnzNetContainer.cpp
push 2
push eax
call edx
add esp, 0x18
fldz
fcomp dword [esi + 0x4c]
fnstsw ax
test ah, 1
je 0x595020
call fcn.004895c0
test al, al
jne 0x595102
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x595102
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
fld dword [esi + 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
sub esp, 8
fstp qword [esp]
push str.Test_disconnection_of_sessions_is_enabled__timeout:__.2f
push 0xc
push 0x97
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodePnzNetProtocolPnzNetContainer.cpp
push ebx
push eax
call edx
add esp, 0x20
jmp 0x595102
fstp st(0)
push 0x9b
push str.CPnzNetContainer::Init
lea ecx, [esp + 0x2c]
call fcn.004376e0
push 0x9b
push str.CPnzNetContainer::Init
lea ecx, [esp + 0x1c]
mov dword [esp + 0x88], 0
call fcn.00437750
mov eax, dword [edi + 0x170]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 1
call fcn.004337a0
mov byte [esp + 0x80], 2
call fcn.004895c0
test al, al
jne 0x59516f
call fcn.004895a0
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x54]
push ecx
mov ecx, eax
call edx
push 2
push 2
lea ecx, [edi + 8]
call fcn.005b0f40
test al, al
je 0x5951e3
mov eax, dword [edi + 0x1bc]
test eax, eax
je 0x595230
call fcn.004895c0
test al, al
jne 0x5951e3
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x5951e3
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [edi + 0x1bc]
mov edx, dword [edx*4 + 0x72be58]
mov ecx, dword [eax]
push edx
push str.Unexpected_state:__s
push 0xc
push 0xa3
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodePnzNetProtocolPnzNetContainer.cpp
add ecx, 0xc
push ebx
push eax
mov eax, dword [ecx]
call eax
add esp, 0x1c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 1
call fcn.00433800
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 0
call fcn.00437790
lea ecx, [esp + 0x24]
mov dword [esp + 0x80], 0xffffffff
call fcn.00437720
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
lea ecx, [edi + 0x10]
mov dword [edi + 0x1bc], ebx
call fcn.00446f30
cmp byte [esi + 0x138], 0
je 0x595335
push 0xc
call fcn.005be6fe
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x80], 3
test eax, eax
je 0x59526f
mov ecx, eax
call fcn.005f3310
jmp 0x595271
xor eax, eax
lea ebx, [edi + 0x1b8]
push eax
mov ecx, ebx
mov byte [esp + 0x84], 2
call sym.start.exe_public:_class_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch_____thiscall_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch_::operator_struct_CPnzRouterNode::CRpcBatch__
cmp dword [esi + 0x150], 0
jne 0x5952e7
call fcn.004895c0
test al, al
jne 0x5952da
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x5952da
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push str.__cfg.m_strTlsCertificateSubjectSubstr.empty__
push str.PnzAssert:__s
push 0xb0
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodePnzNetProtocolPnzNetContainer.cpp
push 2
push eax
call edx
add esp, 0x18
cmp dword [esi + 0x150], 0
je 0x5951e3
lea ecx, [esp + 0x38]
call fcn.005f3200
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], 4
call fcn.005f3140
test al, al
je 0x5953b7
mov ecx, dword [ebx]
add esi, 0x13c
push esi
lea eax, [esp + 0x3c]
push eax
call fcn.005f33b0
test al, al
je 0x5953b7
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], 2
call fcn.005f3220
fldz
mov edx, dword [edi]
mov edx, dword [edx + 0x48]
fst dword [edi + 0x174]
xor ebx, ebx
fstp dword [edi + 0x180]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [edi + 0x178], ebx
mov dword [edi + 0x17c], ebx
mov dword [edi + 0x188], ebx
mov dword [edi + 0x18c], ebx
call edx
push eax
lea ecx, [edi + 0x1a8]
mov byte [esp + 0x84], 5
call sym.start.exe_public:_class_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch_____thiscall_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch_::operator_class_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch__const__
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 2
call sym.start.exe_public:_void___thiscall_CPnzSmartPtr_struct_CPnzRestoreSsnPacksHistory::CPackInfo_::destructor_void_
push 0xd0
call fcn.005be6fe
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x80], 6
cmp eax, ebx
je 0x5953d7
push edi
mov ecx, eax
call fcn.005a9be0
jmp 0x5953d9
lea ecx, [esp + 0x38]
mov dword [edi + 0x1bc], 2
mov byte [esp + 0x80], 2
call fcn.005f3220
jmp 0x5951e3
xor eax, eax
push eax
lea ecx, [edi + 0x1ac]
mov byte [esp + 0x84], 2
call sym.start.exe_public:_class_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch_____thiscall_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch_::operator_struct_CPnzRouterNode::CRpcBatch__
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call edx
lea esi, [edi + 0x1b0]
push eax
mov ecx, esi
mov byte [esp + 0x84], 7
call sym.start.exe_public:_class_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch_____thiscall_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch_::operator_class_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch__const__
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 2
call sym.start.exe_public:_void___thiscall_CPnzSmartPtr_struct_CPnzRestoreSsnPacksHistory::CPackInfo_::destructor_void_
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
test al, al
jne 0x59543e
mov dword [edi + 0x1bc], 2
jmp 0x5951e3
push 0x3c
call fcn.005be6fe
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x80], 8
cmp eax, ebx
je 0x595462
push edi
mov ecx, eax
call fcn.005af240
jmp 0x595464
xor eax, eax
push eax
lea ecx, [edi + 0x1b4]
mov byte [esp + 0x84], 2
call sym.start.exe_public:_class_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch_____thiscall_CPnzSmartPtr_struct_CPnzRouterNode::CRpcBatch_::operator_struct_CPnzRouterNode::CRpcBatch__
lea ecx, [esp + 0x2c]
mov dword [edi + 0x1bc], 3
mov byte [esp + 0x80], 1
call fcn.00433800
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 0
call fcn.00437790
lea ecx, [esp + 0x24]
mov dword [esp + 0x80], 0xffffffff
call fcn.00437720
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4