Function at 0x42a4f0
Capabilities:
Initialize winsock library
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c4
mov eax, dword [0x4590c0]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0x429da0
mov dword [0x45c8b0], ebx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.00429f70
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00401e30
mov eax, dword [esp + 0x10]
mov esi, dword [eax - 0xc]
xor edi, edi
cmp esi, edi
jge 0x42a54c
push 0x80070057
call fcn.00402060
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x42a56c
mov eax, esi
lea ecx, [esp + 0x10]
call fcn.00402000
mov eax, dword [esp + 0x10]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.00431ff3
mov eax, dword [esp + 0x18]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x42a542
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x10]
xor edx, edx
mov word [eax + esi*2], dx
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], edi
jl 0x42a5bf
push str.start_by_service
push eax
call fcn.004316fd
add esp, 8
cmp eax, edi
je 0x42a5bf
sub eax, dword [esp + 0x10]
mov dword [0x45c8f0], 1
sar eax, 1
cmp eax, 0xffffffff
jne 0x42a5c5
mov dword [0x45c8f0], edi
push edi
call dword [sym.imp.ole32.dll_OleInitialize]
push str.riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
mov dword [esp + 0x28], eax
call fcn.004325fa
add esp, 4
push eax
call fcn.00431794
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x44e978
call fcn.00401e30
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, 0x104
or edx, ecx
jge 0x42a627
mov eax, 0x104
lea ecx, [esp + 0x14]
call fcn.00402000
mov eax, dword [esp + 0x14]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004316dd
add esp, 8
cmp eax, edi
jl 0x42a542
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x42a542
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.0042a130
add esp, 4
lea edx, [esp + 0x138]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edi
call fcn.00429ff0
add esp, 4
cmp dword [esp + 0x18], edi
jne 0x42a89c
call fcn.00412880
test eax, eax
jne 0x42a755
cmp dword [0x45c8e4], 0x2710
jge 0x42a6dc
push edi
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 edi
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test eax, eax
je 0x42a755
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 0x42a71c
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 0x42a73c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.00430f3e
mov esp, ebp
pop ebp
ret 0x10
call fcn.00412990
call fcn.00414940
push edi
push edi
push edi
push edi
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.0042ac30
mov dword [0x45c8b0], ebx
mov ebx, dword [0x45cc2c]
lea edx, [esp + 0x28]
add ebx, 0x10
push ebx
mov dword [esp + 0x2c], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x45c994]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0042b3e0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea edx, [esp + 0x60]
push edx
call fcn.0042d890
xor esi, esi
cmp dword [0x45b3e8], edi
jne 0x42a807
mov dword [0x45b3e8], edi
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x84]
push ecx
mov ebx, 0x45b3b8
call fcn.004230b0
add esp, 8
push esi
push edi
push 0x90000000
push 0x44e978
movzx ebx, ax
push edi
push edi
lea eax, [esp + 0x78]
call fcn.00423210
lea ecx, [esp + 0x60]
call fcn.0042dd40
lea edi, [esp + 0x28]
call fcn.0042ab50
call fcn.0042aa40
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_OleUninitialize]
lea eax, [esp + 0x60]
call fcn.0042d9d0
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, esi
je 0x42a883
push eax
call fcn.00432b31
add esp, 4
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
cmp eax, esi
je 0x42a89c
push eax
call fcn.00432b31
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 0x42a8bc
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 0x42a8dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2cc]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00430f3e
mov esp, ebp
pop ebp
ret 0x10