Function at 0x43753c
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x340
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
cmp dword [0x46213c], 8
jne 0x43758a
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov byte [eax], 0
xor eax, eax
jmp 0x437f42
cmp dword [0x462334], 0
je 0x4375b7
cmp dword [0x46213c], 0
je 0x4375b7
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov byte [eax], 0
xor eax, eax
jmp 0x437f42
cmp dword [0x46213c], 0
je 0x4375c9
jmp 0x437703
xor eax, eax
mov ax, word [0x462330]
test eax, eax
jne 0x4375e9
xor eax, eax
mov ax, word [0x462324]
test eax, eax
je 0x437607
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040b9f2
add esp, 0xc
mov eax, 1
jmp 0x437f42
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x462f30], 0
je 0x43762f
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov byte [eax], 0
xor eax, eax
jmp 0x437f42
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x88
jne 0x43765e
mov eax, dword [ebp - 0x24]
mov byte [eax + 1], 0x91
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cl, byte [eax + 1]
test ecx, ecx
je 0x43765e
jmp 0x437703
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xa6
jne 0x437676
jmp 0x437703
cmp dword [0x4622c8], 0
je 0x437696
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov byte [eax], 0
xor eax, eax
jmp 0x437f42
cmp dword [0x462140], 0
je 0x4376aa
xor eax, eax
jmp 0x437f42
cmp dword [0x46224c], 0
je 0x4376be
xor eax, eax
jmp 0x437f42
cmp dword [0x462f30], 0
je 0x4376de
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov byte [eax], 0
xor eax, eax
jmp 0x437f42
cmp dword [0x462094], 0
je 0x437703
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov byte [eax], 0
xor eax, eax
jmp 0x437f42
cmp dword [0x462060], 0
je 0x437788
push 0x80000041
call dword [0x462060]
test eax, eax
jne 0x437769
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov byte [eax], 0
cmp dword [0x45e03c], 0
je 0x437755
push 0x80000041
call dword [0x462060]
push eax
push str._n_r022613__SET_E_STATE_FAILED__ABORTING_REQUEST___x_
call fcn.00452380
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x437f42
cmp dword [0x45e03c], 0
je 0x437788
push 0x80000041
push str._n_rSET_E_STATE_SET_TO___x_
call fcn.00452380
add esp, 8
cmp dword [0x462198], 0
je 0x437ce9
cmp dword [0x46219c], 0
je 0x437ce9
mov eax, dword [ebp + 0x18]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
push 0
call fcn.00452990
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [0x45e03c], 0
je 0x437805
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push eax
mov eax, dword [0x462f30]
push eax
push 0
call fcn.00452990
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp - 0x18]
push eax
push str._n__________SEND_TO_IP___________GA_x_sz_d__tid_x____x___susp_d__08x._08x
call fcn.00452380
add esp, 0x20
cmp dword [ebp - 0x18], 0
jne 0x43793b
push 0x5acfa0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x462f30], 0
jne 0x437911
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [0x462198]
push eax
call fcn.00408950
add esp, 0x20
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x56
jne 0x43788f
push 0x20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [0x462198]
push eax
call fcn.00408950
add esp, 0x20
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x4378a5
mov dword [ebp - 4], 1
jmp 0x43790c
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 0
jne 0x437905
cmp dword [ebp - 0x44], 0x56
je 0x437905
xor eax, eax
mov ax, word [0x46231c]
test eax, eax
je 0x437905
mov eax, dword [0x462198]
push eax
call fcn.00406c5c
add esp, 4
test eax, eax
jne 0x437905
mov eax, dword [0x462198]
push eax
call fcn.00406c5c
add esp, 4
test eax, eax
jne 0x437905
mov word [0x462324], 1
mov dword [ebp - 0x1c], 1
jmp 0x43792b
cmp dword [0x45e03c], 0
je 0x43792b
push 0x47ac1c
call fcn.00452380
add esp, 4
push 0x5acfa0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x437a9a
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0x14]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x5acfa0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x462f30], 0
jne 0x437a54
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [0x462198]
push eax
call fcn.00408950
add esp, 0x20
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x56
jne 0x4379d2
push 0x21
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [0x462198]
push eax
call fcn.00408950
add esp, 0x20
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x4379e8
mov dword [ebp - 4], 1
jmp 0x437a4f
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 0
jne 0x437a48
cmp dword [ebp - 0x48], 0x56
je 0x437a48
xor eax, eax
mov ax, word [0x46231c]
test eax, eax
je 0x437a48
mov eax, dword [0x462198]
push eax
call fcn.00406c5c
add esp, 4
test eax, eax
jne 0x437a48
mov eax, dword [0x462198]
push eax
call fcn.00406c5c
add esp, 4
test eax, eax
jne 0x437a48
mov word [0x462324], 1
mov dword [ebp - 0x1c], 1
jmp 0x437a6e
cmp dword [0x45e03c], 0
je 0x437a6e
push str._n_rSUSPEND_NOW__IP_SEND_CANCELLED_r_n
call fcn.00452380
add esp, 4
push 0x5acfa0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp - 0x18]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x45e03c], 0
je 0x437ad3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 2]
push eax
push 0
call fcn.00452990
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._n____________IP_COMPLETE____________tid_x___x__1st_X
call fcn.00452380
add esp, 0x10
push 0
call fcn.00452990
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x14]
cmp eax, 2
jbe 0x437b8f
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x14]
push eax
push str.TCP_IP_comm_to_SSA_host_slow__roundtrip:__d_seconds___X_
push 0xfa
lea eax, [ebp - 0x148]
push eax
call fcn.00452660
add esp, 0x14
lea eax, [ebp - 0x148]
push eax
call fcn.004097a0
add esp, 4
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x14]
cmp eax, 0xb
jbe 0x437b8f
push 0
call fcn.00452990
add esp, 4
mov dword [0x462138], eax
push str.LWA_SSA_SLOW_ROUNDTRIP_SET
push 0xfa
lea eax, [ebp - 0x148]
push eax
call fcn.00452660
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
call fcn.004097a0
add esp, 4
cmp dword [0x45e03c], 0
je 0x437b8f
push 0
call fcn.00452990
add esp, 4
push eax
push str._r_nLWA_SSA_SLOW_ROUNDTRIP___11___X
call fcn.00452380
add esp, 8
cmp dword [ebp - 0xc], 0
jne 0x437bad
cmp dword [ebp - 0x1c], 0
jne 0x437bad
cmp dword [ebp - 4], 0
jne 0x437bd1
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x4f4f
jne 0x437bd1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00431e4e
add esp, 8
cmp dword [ebp - 0xc], 0
je 0x437c09
xor eax, eax
mov ax, word [0x46231c]
test eax, eax
je 0x437c09
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040b9f2
add esp, 0xc
mov eax, 1
jmp 0x437f42
cmp dword [ebp - 0x1c], 0
je 0x437c69
xor eax, eax
mov ax, word [0x46231c]
test eax, eax
je 0x437c69
push str.OCT21_ERROR_SSA_COMM_ASSERTING_OFFLINE_IN_PROCESS
push 0xfa
lea eax, [ebp - 0x244]
push eax
call fcn.00452660
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
call fcn.004097a0
add esp, 4
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040b9f2
add esp, 0xc
mov eax, 1
jmp 0x437f42
cmp dword [ebp - 0xc], 0
je 0x437ce4
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0x9188
jne 0x437ce4
cmp dword [0x45e03c], 0
je 0x437c9c
push str._r_n7T2_ON_INIT_RETRIEVAL__GOING_OFFLINE_NOW__SSA_IS_NOT_RUNNING
call fcn.00452380
add esp, 4
call sub.WS2_32.dll_WSAGetLastError
test eax, eax
je 0x437cd1
push str.7T2_ON_INIT_RETRIEVAL__GOING_OFFLINE_NOW__SSA_IS_NOT_RUNNING
push 0xfa
lea eax, [ebp - 0x340]
push eax
call fcn.00452660
add esp, 0xc
lea eax, [ebp - 0x340]
push eax
call fcn.004097a0
add esp, 4
mov word [0x462324], 1
mov dword [0x462334], 1
jmp 0x437f22
xor eax, eax
mov al, byte [0x5f93e0]
test eax, eax
je 0x437e49
xor eax, eax
mov al, byte [0x5f93e0]
cmp eax, 0x20
je 0x437e49
cmp dword [ebp + 0x10], 0x55f0
jbe 0x437d1c
mov dword [ebp + 0x10], 0x55f0
cmp dword [ebp + 0x18], 0x55f0
jbe 0x437d30
mov dword [ebp + 0x18], 0x55f0
mov eax, dword [ebp + 0x10]
add eax, 0x400
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x437d7d
cmp dword [0x45e03c], 0
je 0x437d71
mov eax, dword [ebp + 0x10]
add eax, 0x400
push eax
push str._n_rNP_xfer_unable_to_alloc___d__bytes
call fcn.00452380
add esp, 8
mov dword [ebp - 4], 0
jmp 0x437f22
mov edi, dword [ebp - 0x20]
xor eax, eax
mov ecx, 0x19
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x20]
mov byte [eax], 0xcf
mov eax, dword [ebp - 0x20]
mov byte [eax + 1], 0x11
mov edi, 0x5f93e0
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
mov edi, dword [ebp - 0x20]
add edi, 0x3c
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp - 0x20]
add edi, 0x64
mov esi, dword [ebp + 0xc]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [0x45e03c], 0
je 0x437df9
push 0x5f93e0
push str._n___________SEND_VIA_NP___s______________
call fcn.00452380
add esp, 8
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x64
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x437e3a
push 0
call fcn.00452990
add esp, 4
mov dword [0x462134], eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x437f22
cmp dword [0x45e03c], 0
je 0x437e75
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
push str._n_r______X______________NAMED_PIPE_SEND__S_________d_d_________
call fcn.00452380
add esp, 0x14
cmp dword [ebp + 0x10], 0x55f0
jbe 0x437e89
mov dword [ebp + 0x10], 0x55f0
cmp dword [ebp + 0x18], 0x55f0
jbe 0x437e9d
mov dword [ebp + 0x18], 0x55f0
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
mov dword [ebp - 4], eax
cmp dword [0x45e03c], 0
je 0x437ee0
mov eax, dword [ebp - 4]
push eax
push str._n_________PIPE_BACK___d___________
call fcn.00452380
add esp, 8
cmp dword [ebp - 4], 0
je 0x437efe
push 0
call fcn.00452990
add esp, 4
mov dword [0x462134], eax
jmp 0x437f22
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x4f4f
jne 0x437f22
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00431e4e
add esp, 8
cmp dword [0x462060], 0
je 0x437f3a
push bind
call dword [0x462060]
mov eax, dword [ebp - 4]
jmp 0x437f42
pop edi
pop esi
pop ebx
leave
ret