Function at 0x42a860
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, ecx
mov eax, dword [esi + 0x10a8]
test eax, eax
je 0x42a87a
push eax
call ebx
mov eax, dword [esi + 0x10b0]
test eax, eax
je 0x42a887
push eax
call ebx
mov ecx, dword [esi + 0x70]
call fcn.00459f30
call fcn.0042b130
mov eax, dword [str.ECOP_CL_RES_HEALTH_LIST]
mov ecx, dword [esi + 0x6c]
push eax
call fcn.0044b650
push eax
mov dword [esp + 0x10], eax
call fcn.00463c78
mov edx, dword [str.ECOP_CL_RES_HEALTH_LIST]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x6c]
push edx
call fcn.0044b740
mov eax, dword [str.ECOP_CL_RES_HEALTH_LIST]
mov ecx, dword [esi + 0x6c]
push eax
call fcn.0044b540
mov ecx, dword [str.ECOP_CL_RES_WEB_SERVICE]
push ecx
mov ecx, dword [esi + 0x6c]
call fcn.0044b650
test eax, eax
mov dword [esp + 0x10], eax
je 0x42a8f0
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, dword [str.ECOP_CL_RES_WEB_SERVICE]
lea eax, [esp + 0x10]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x6c]
call fcn.0044b740
mov edx, dword [str.ECOP_CL_RES_WEB_SERVICE]
mov ecx, dword [esi + 0x6c]
push edx
call fcn.0044b540
mov eax, dword [str.ECOP_CL_RES_CONFIG]
mov ecx, dword [esi + 0x6c]
push eax
call fcn.0044b650
test eax, eax
mov dword [esp + 0xc], eax
je 0x42a981
push 0
mov ecx, eax
call fcn.0043fdd0
cmp eax, 0x10
jb 0x42a969
push 0x4e44e8
lea ecx, [esi + 0xa5]
push 0xfff
push ecx
call fcn.00466ca7
mov edx, dword [0x4d1fd0]
add esp, 0xc
mov ecx, esi
push 0x3aa
push str.Finish__
push edx
call fcn.0042b1b0
mov ecx, dword [esp + 0xc]
test ecx, ecx
mov edi, ecx
je 0x42a981
call fcn.00440010
push edi
call fcn.00463c78
add esp, 4
mov ecx, dword [str.ECOP_CL_RES_CONFIG]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, dword [esi + 0x6c]
call fcn.0044b740
mov edx, dword [str.ECOP_CL_RES_CONFIG]
mov ecx, dword [esi + 0x6c]
push edx
call fcn.0044b540
call fcn.004753b0
test eax, 0x10000
je 0x42aa21
mov eax, dword [str.ECOP_CL_RES_SERVICE]
mov ecx, dword [esi + 0x6c]
push eax
call fcn.0044b650
mov edi, eax
test edi, edi
je 0x42aa13
push 0
mov ecx, edi
call fcn.0043fdd0
cmp eax, 0x10
jb 0x42aa03
push 0x4e44e8
lea ecx, [esi + 0xa5]
push 0xfff
push ecx
call fcn.00466ca7
mov edx, dword [0x4d1fd0]
add esp, 0xc
mov ecx, esi
push 0x3b9
push str.Finish__
push edx
call fcn.0042b1b0
mov ecx, edi
call fcn.00440010
push edi
call fcn.00463c78
add esp, 4
mov eax, dword [str.ECOP_CL_RES_SERVICE]
mov ecx, dword [esi + 0x6c]
push eax
call fcn.0044b540
mov ecx, dword [esi + 0x6c]
call fcn.0044b270
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esi + 0xa0]
pop edi
test eax, eax
je 0x42aaa7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42aa94
mov ecx, dword [esi + 0xa0]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x42aa94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4e44b8
lea edx, [esi + 0xa5]
push 0xfff
push edx
call fcn.00466ca7
mov eax, dword [0x4d1fd0]
add esp, 0x10
mov ecx, esi
push 0x3ca
push str.Finish__
push eax
call fcn.0042b1b0
mov ecx, dword [esi + 0xa0]
push ecx
call ebx
mov dword [esi + 0xa0], 0
mov edx, dword [esi + 0x94]
push edx
call ebx
mov eax, dword [esi + 0x90]
push eax
call ebx
mov ecx, dword [esi + 0x8c]
push ecx
call ebx
mov edx, dword [esi + 0x88]
push edx
call ebx
mov eax, dword [esi + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esi + 0x84]
push ecx
call ebx
mov ecx, esi
call fcn.0042ac30
pop esi
pop ebx
add esp, 0xc
ret