Function at 0x429ea0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb444
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x5299c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0042a1c0
sub esp, 0x18
mov dword [ebp - 0x1bc], 0x2bc
mov ecx, esp
mov dword [ebp - 0x1c8], esp
mov esi, eax
mov dword [ebp - 0x1c0], esi
push 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x4f6751
mov byte [ecx], 0
call fcn.00403090
lea eax, [ebp - 0x1bc]
mov dword [ebp - 4], 0
push eax
sub esp, 0x18
mov ecx, esp
push 0xa
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.ServerPort
mov byte [ecx], 0
call fcn.00403090
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.00415540
push dword [ebp - 0x1bc]
push str.FSS_POS_MUTEX__d
push 0
push 0
call fcn.00408020
lea edi, [eax + 1]
push edi
call fcn.004ab9a4
mov esi, eax
add esp, 0x14
test esi, esi
je 0x429f81
push edi
push 0
push esi
call fcn.004c3810
add esp, 0xc
jmp 0x429f83
xor esi, esi
mov dword [ebp - 0x1c4], esi
push dword [ebp - 0x1bc]
mov dword [ebp - 4], 1
push str.FSS_POS_MUTEX__d
push edi
push esi
call fcn.00408020
lea eax, [edi - 1]
mov dword [ebp - 0x18], 0
add eax, esi
mov dword [ebp - 0x14], 0xf
add esp, 0x10
mov byte [ebp - 0x28], 0
cmp esi, eax
je 0x429fcc
sub eax, esi
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00403090
test esi, esi
je 0x429fd9
push esi
call fcn.004ab9ad
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebx + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42a01c
push 0x3e8
push dword [ebx + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42a125
call fcn.00416050
call fcn.0042a2e0
call fcn.0042a250
mov esi, eax
push 1
push str.PosTerminalApp.log
mov ecx, esi
call fcn.0040ae50
sub esp, 0x18
mov dword [ebp - 0x1bc], 0xb
mov ecx, esp
mov dword [ebp - 0x1c4], esp
push 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x4f6751
mov byte [ecx], 0
call fcn.00403090
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 3
push eax
sub esp, 0x18
mov ecx, esp
push 0xa
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.LoggerType
mov byte [ecx], 0
call fcn.00403090
mov ecx, dword [ebp - 0x1c0]
mov byte [ebp - 4], 2
call fcn.00415540
push dword [ebp - 0x1bc]
mov ecx, esi
call fcn.0040b880
lea eax, [ebp - 0x1b8]
push eax
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x42a158
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42a104
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42a0fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a1b7
push edx
push ecx
call fcn.004ab6c8
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ab970
mov esp, ebp
pop ebp
ret
call fcn.0042a430
neg eax
sbb eax, eax
and eax, 0xfffc0000
add eax, 0x40030
push eax
push 0x4f96a0
push 0x4f9a0c
call fcn.0042bd70
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.004d2cf9
lea ecx, [ebp - 0x1c0]
call fcn.00410e40
push 0
push 0x51
push str.Coordinators::StartupManager::InitSockets
push str.c:work_fss_snc_azsposterminalappclientapp.cpp
sub esp, 0x14
mov byte [ebp - 4], 4
mov ecx, esp
push 0x4f9ab0
call fcn.00421300
lea ecx, [ebp - 0x1c0]
call fcn.00411db0
mov ecx, eax
call fcn.00418be0
push 0x4f9ab0
lea ecx, [ebp - 0x1dc]
call fcn.00421300
push 0x519e4c
lea eax, [ebp - 0x1dc]
push eax
call fcn.004c283c
call fcn.004c6d19
int3