Function at 0x58f370
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x238
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x58f650
mov eax, dword [ebp + 8]
xor edi, edi
lea ecx, [ebp - 0x18]
mov esi, 0
mov edx, dword fs:[0]
test eax, eax
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
je 0x58f5af
mov ecx, dword [0x6d295c]
mov esi, 0
cmp ecx, eax
jne 0x58f5af
push eax
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
mov esi, 0
je 0x58f5af
mov ebx, eax
lea esi, [ebp - 0x38]
push esi
call fcn.0056add0
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x58f435
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ebx
cmp ecx, eax
jne 0x58f43c
mov dword [ebp - 0x10], 1
sub esp, 0x10
mov al, byte [ebp - 0x244]
lea ecx, [ebp - 0x38]
mov byte [esp + 4], al
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x65857a
mov dword [esp], 1
call fcn.0040b010
jmp 0x58f457
xor esi, esi
jmp 0x58f571
lea edx, [eax + 1]
cmp ecx, 7
mov dword [ebp - 0x28], edx
jbe 0x58f44a
mov esi, dword [ebp - 0x38]
mov word [esi + eax*2], 0x5c
mov word [esi + eax*2 + 2], 0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edx, ecx
sub edx, eax
cmp edx, 0xd
jae 0x58f49b
mov dword [ebp - 0x10], 1
sub esp, 0x10
mov al, byte [ebp - 0x244]
lea ecx, [ebp - 0x38]
mov byte [esp + 4], al
mov dword [esp + 0xc], 0xd
mov dword [esp + 8], str.AcroRdUWP.exe
mov dword [esp], 0xd
call fcn.0040b010
jmp 0x58f4f1
lea edx, [eax + 0xd]
cmp ecx, 7
mov dword [ebp - 0x28], edx
jbe 0x58f4ab
mov ecx, dword [ebp - 0x38]
jmp 0x58f4ae
lea ecx, [ebp - 0x38]
movzx edx, word [0x676eae]
movsd xmm0, qword [0x676ea6]
movsd xmm2, qword [0x676e9e]
movsd xmm1, qword [str.AcroRdUWP.exe]
mov word [ecx + eax*2 + 0x18], dx
movsd qword [ecx + eax*2 + 0x10], xmm0
movsd qword [ecx + eax*2 + 8], xmm2
movsd qword [ecx + eax*2], xmm1
mov word [ecx + eax*2 + 0x1a], 0
mov dword [ebp - 0x10], 1
lea esi, [ebp - 0x244]
push 0x208
push 0
push esi
call fcn.0061e8c0
add esp, 0xc
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x104
push eax
push esi
push 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
xor edi, edi
xor esi, esi
test eax, eax
je 0x58f571
cmp dword [ebp - 0x24], 7
jbe 0x58f531
mov eax, dword [ebp - 0x38]
jmp 0x58f534
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.005d3f0e
add esp, 8
xor edi, edi
xor esi, esi
test eax, eax
jne 0x58f571
push dword [ebp - 0x20]
call fcn.005e9740
xor esi, esi
xor edi, edi
add esp, 4
test al, al
je 0x58f571
push 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, 1
xor edi, edi
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x58f5a8
mov eax, dword [ebp - 0x38]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x58f59e
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x58f5d3
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x10], 0xffffffff
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xchg dword [0x6d295c], edi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x238
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
call fcn.006207e0
nop
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x58f62e
mov eax, dword [ebp - 0x38]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x58f624
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x58f633
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0x10
pop ebp
ret
call fcn.006207e0
int3