Function at 0x4319d0
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2cc
mov eax, dword [0x4650c0]
xor eax, esp
mov dword [esp + 0x2c8], eax
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
mov dword [0x46897c], edi
call fcn.00401e30
mov edx, dword [esp + 0x10]
mov esi, dword [edx - 0xc]
xor ebx, ebx
cmp esi, ebx
jge 0x431a1a
push 0x80070057
call fcn.00402060
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x431a3a
mov eax, esi
lea ecx, [esp + 0x10]
call fcn.00402000
mov edx, dword [esp + 0x10]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.0043a8a3
mov eax, dword [esp + 0x18]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x431a10
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x10]
xor edx, edx
mov word [eax + esi*2], dx
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.00401a60
add eax, 0x10
mov dword [esi], eax
call fcn.004310a0
add esp, 4
cmp eax, ebx
jne 0x431d60
push 0x430950
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.00430b20
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], ebx
jl 0x431ac5
push str.start_by_service
push ecx
call fcn.00439fad
add esp, 8
cmp eax, ebx
je 0x431ac5
sub eax, dword [esp + 0x10]
mov dword [0x4689d4], 1
sar eax, 1
cmp eax, 0xffffffff
jne 0x431acb
mov dword [0x4689d4], ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
push str.riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
mov dword [esp + 0x28], eax
call fcn.0043af06
add esp, 4
push eax
call fcn.0043a044
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4589e4
call fcn.00401e30
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x431b2c
mov eax, 0x104
lea ecx, [esp + 0x14]
call fcn.00402000
mov edx, dword [esp + 0x14]
push 0x104
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00439f8d
add esp, 8
cmp eax, ebx
jl 0x431a10
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x431a10
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x14]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.00401a60
add eax, 0x10
mov dword [esi], eax
call fcn.00430ce0
add esp, 4
lea edx, [esp + 0x140]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], ebx
call fcn.00430ba0
add esp, 4
cmp dword [esp + 0x18], ebx
jne 0x431d40
call fcn.004160f0
test eax, eax
jne 0x431c28
cmp dword [0x4689c8], 0x2710
jge 0x431bdd
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x1d4c0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.ClientClientProcess_e61cb8cd_5c3f_4a47_b775_25bf9735b36b
push ebx
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, ebx
je 0x431c28
lea ecx, [esp + 0x14]
call fcn.00402630
lea ecx, [esp + 0x10]
call fcn.00402630
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.004397ee
mov esp, ebp
pop ebp
ret 0x10
call fcn.00416200
call fcn.00418190
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], 0x37ff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.004322f0
mov dword [0x46897c], edi
mov edi, dword [0x468d78]
lea edx, [esp + 0x28]
add edi, 0x10
push edi
mov dword [esp + 0x2c], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x468a84]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00432240
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea edx, [esp + 0x60]
push edx
call fcn.00434ee0
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push ecx
mov dword [eax], ebx
mov eax, esp
lea esi, [esp + 0x68]
mov dword [esp + 0x24], esp
mov dword [eax], ebx
call fcn.00431da0
mov ecx, esi
call fcn.004353b0
lea edi, [esp + 0x28]
call fcn.004321a0
call fcn.00432090
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, esi
call fcn.00435030
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x431d27
push eax
call fcn.0043b981
add esp, 4
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
cmp eax, ebx
je 0x431d40
push eax
call fcn.0043b981
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431d60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431d80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004397ee
mov esp, ebp
pop ebp
ret 0x10