Function at 0x575163
Capabilities:
Terminate process

Disassembly:
push ebp
sub esp, 0x48
mov eax, 0x6ba199
call fcn.00664608
sub esp, 0x1c8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov esi, dword [edi + 0x11c]
nop
test esi, esi
je 0x5754c0
cmp esi, 7
je 0x5754c0
cmp dword [edi + 0x9c], ebx
je 0x5754c0
call fcn.00570841
cmp dword [ebp + 0x54], ebx
jne 0x57534f
push str.posting_CLOSE_FRAME
mov byte [ebp + 0x54], bl
lea ecx, [ebp + 0x18]
push dword [ebp + 0x54]
mov dword [ebp + 0x18], ebx
push 0x13
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], 0xf
mov byte [ebp + 0x18], bl
call fcn.0041039b
lea eax, [ebp + 0x18]
mov dword [ebp - 4], ebx
push eax
mov ecx, edi
call fcn.00572a8c
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x2c]
cmp eax, 0x10
jb 0x57521c
mov ecx, dword [ebp + 0x18]
inc eax
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x48], ecx
cmp eax, 0x1000
jb 0x575213
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x48]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
mov eax, dword [ebp + 0x58]
lea ecx, [edi + 0x11c]
xchg dword [ecx], eax
lea eax, [ebp + 0x58]
push eax
call fcn.0056ef7a
mov ecx, dword [eax]
mov dword [ebp + 0x54], ecx
mov dword [eax], ebx
mov ecx, dword [ebp + 0x58]
xor edx, edx
inc edx
mov dword [ebp - 4], edx
test ecx, ecx
je 0x575249
mov eax, dword [ecx]
push edx
call dword [eax]
push ecx
mov ecx, dword [ebp + 0x54]
mov eax, esp
mov dword [ebp + 0x48], ebx
mov dword [eax], ecx
mov ecx, edi
call fcn.005712f1
xor ebx, ebx
test eax, eax
setne bl
inc ebx
test eax, eax
je 0x5752ce
push 1
lea ecx, [ebp - 0xa4]
call fcn.0043cc35
push esi
push str.Reverting_remote_frame_status_on_shutdown_failure_to
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 2
push eax
call fcn.00445564
mov ecx, eax
call fcn.0043ce2e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00440063
lea eax, [ebp]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00572a8c
lea ecx, [ebp]
call fcn.00410858
lea eax, [edi + 0x11c]
xchg dword [eax], esi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.0043d111
push 1
lea ecx, [ebp - 0x13c]
call fcn.0043cc35
mov byte [ebp - 4], 4
mov eax, str.success
cmp ebx, 1
je 0x5752ee
mov eax, 0x71420c
push eax
push 0x6d564c
push dword [edi + 0xa4]
lea eax, [ebp - 0x13c]
push str.CLOSE_FRAME_post_to_process_ID
push eax
call fcn.00445564
mov ecx, eax
call fcn.0044578b
push eax
call fcn.00445564
push eax
call fcn.00445564
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x138]
call fcn.00440063
lea eax, [ebp + 0x30]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.00572a8c
lea ecx, [ebp + 0x30]
call fcn.00410858
lea ecx, [ebp - 0x13c]
jmp 0x575538
push 7
pop eax
lea ebx, [edi + 0x11c]
xchg dword [ebx], eax
push 1
lea ecx, [ebp - 0x13c]
call fcn.0043cc35
push dword [ebp + 0x54]
lea eax, [ebp - 0x13c]
mov dword [ebp - 4], 6
push str._with_code
push dword [edi + 0x9c]
push str._handle
push dword [edi + 0xa4]
push str.terminating_remote_process_ID
push eax
call fcn.00445564
mov ecx, eax
call fcn.0044578b
push eax
call fcn.00445564
mov ecx, eax
call fcn.0044586d
push eax
call fcn.00445564
mov ecx, eax
call fcn.0043cf21
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x138]
call fcn.00440063
lea eax, [ebp + 0x30]
mov byte [ebp - 4], 7
push eax
mov ecx, edi
call fcn.00572a8c
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 6
call fcn.00410858
push dword [ebp + 0x54]
push dword [edi + 0x9c]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push 1
lea ecx, [ebp - 0xa4]
mov esi, eax
call fcn.0043cc35
mov byte [ebp - 4], 8
test esi, esi
jne 0x575450
push 0x753120
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x713fdc
push dword [edi + 0xa4]
lea eax, [ebp - 0xa4]
push str.cant_terminate_remote_frame_process
push eax
call fcn.00445564
mov ecx, eax
call fcn.0044578b
push eax
call fcn.00445564
mov ecx, eax
call fcn.0044578b
push eax
call fcn.00445564
push 2
pop ebx
jmp 0x57548a
push dword [ebp + 0x54]
lea eax, [ebp - 0xa4]
push str._with_code
push dword [edi + 0xa4]
push str.terminated_remote_frame_process
push eax
call fcn.00445564
mov ecx, eax
call fcn.0044578b
push eax
call fcn.00445564
mov ecx, eax
call fcn.0043cf21
xor eax, eax
xchg dword [ebx], eax
xor ebx, ebx
inc ebx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00440063
lea eax, [ebp]
mov byte [ebp - 4], 9
push eax
mov ecx, edi
call fcn.00572a8c
lea ecx, [ebp]
call fcn.00410858
lea ecx, [ebp - 0xa4]
call fcn.0043d111
jmp 0x575344
push 1
lea ecx, [ebp - 0x1d4]
call fcn.0043cc35
mov eax, dword [edi + 0x11c]
mov dword [ebp - 4], 0xa
nop
push dword [edi + 0x9c]
push str._process_handle
push eax
push str.Not_quitting_remote_frame:__status
lea eax, [ebp - 0x1d4]
push eax
call fcn.00445564
mov ecx, eax
call fcn.0043ce2e
push eax
call fcn.00445564
mov ecx, eax
call fcn.0044586d
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00440063
lea eax, [ebp + 0x30]
mov byte [ebp - 4], 0xb
push eax
mov ecx, edi
call fcn.00572a8c
lea ecx, [ebp + 0x30]
call fcn.00410858
lea ecx, [ebp - 0x1d4]
call fcn.0043d111
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x4c
leave
ret 8