Function at 0x58e550
Capabilities:
Access pe header
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6c2da0]
xor eax, ebp
mov dword [ebp - 4], eax
jmp 0x58e5c6
mov ecx, 0x8842e0
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x58e5d0
sub ecx, edx
mov eax, 0
push ebx
sete al
push esi
push edi
cmp eax, 0x1e
jge 0x58eb04
xorps xmm0, xmm0
mov byte [0x884300], 0
movdqa xmmword [0x8842e0], xmm0
movdqa xmmword [0x8842f0], xmm0
jmp 0x58e66d
jmp 0x58e6d3
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov edi, eax
jmp 0x58e74a
test edi, edi
je 0x58ef67
jmp 0x58e7b8
movzx ecx, word [edi + 0x14]
lea ebx, [edi + 0x18]
add ebx, ecx
jmp 0x58e827
xor eax, eax
xor esi, esi
cmp ax, word [edi + 6]
jae 0x58ef67
jmp 0x58e89b
movzx eax, si
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x7865742e
mov word [ebp - 8], 0x74
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x58e8d4
test dl, dl
je 0x58e8d0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x58e8d4
add eax, 2
add ecx, 2
test dl, dl
jne 0x58e8b4
xor eax, eax
jmp 0x58e8d9
sbb eax, eax
or eax, 1
test eax, eax
sete al
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov word [ebp - 8], cx
test al, al
jne 0x58e907
inc esi
cmp si, word [edi + 6]
jb 0x58e835
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bba53
mov esp, ebp
pop ebp
ret
jmp 0x58e96d
jmp 0x58e9d3
jmp 0x58ea39
movzx eax, si
lea eax, [eax + eax*4]
mov edx, dword [ebx + eax*8 + 0xc]
add edx, dword [edi + 0x34]
jmp 0x58eaac
push dword [ebx + eax*8 + 8]
lea ecx, [ebp - 0x28]
call 0x596100
mov ecx, eax
add esp, 4
cmp dword [ecx + 0x14], 0x10
jb 0x58eac5
mov ecx, dword [ecx]
mov edx, 0x8842e0
lea ebx, [ebx]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x58ead0
cmp dword [ebp - 0x14], 0x10
jb 0x58ef67
push dword [ebp - 0x28]
call fcn.00598e00
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bba53
mov esp, ebp
pop ebp
ret
jmp 0x58eb6a
jmp 0x58ebd0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov edi, eax
jmp 0x58ec47
test edi, edi
je 0x58ef67
jmp 0x58ecb5
movzx ecx, word [edi + 0x14]
lea ebx, [edi + 0x18]
add ebx, ecx
jmp 0x58ed24
xor eax, eax
xor esi, esi
cmp ax, word [edi + 6]
jae 0x58ef67
jmp 0x58ed98
movzx eax, si
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x7865742e
mov word [ebp - 8], 0x74
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x58edd1
test dl, dl
je 0x58edcd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x58edd1
add eax, 2
add ecx, 2
test dl, dl
jne 0x58edb1
xor eax, eax
jmp 0x58edd6
sbb eax, eax
or eax, 1
test eax, eax
sete al
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov word [ebp - 8], cx
test al, al
jne 0x58ee04
inc esi
cmp si, word [edi + 6]
jb 0x58ed32
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bba53
mov esp, ebp
pop ebp
ret
movzx eax, si
lea eax, [eax + eax*4]
mov edx, dword [ebx + eax*8 + 0xc]
add edx, dword [edi + 0x34]
jmp 0x58ee77
push dword [ebx + eax*8 + 8]
lea ecx, [ebp - 0x28]
call 0x596100
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x58ee8e
mov eax, dword [eax]
push eax
push 0x8842e0
call fcn.005bc7d0
add esp, 8
test eax, eax
sete bl
cmp dword [ebp - 0x14], 0x10
jb 0x58eeb2
push dword [ebp - 0x28]
call fcn.00598e00
add esp, 4
test bl, bl
je 0x58ef01
push 0x65d05cc1
lea ecx, [ebp - 0x34]
call fcn.00594c20
mov ecx, str.RELMQ_
mov esi, eax
sub ecx, 0x18e348e2
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00594c90
mov edi, eax
mov dword [ebp - 0xc], 0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x58eee7
sub ecx, edx
mov edx, esi
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x58eef5
jmp 0x58ef78
jmp 0x58ef67
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bba53
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0xc]
sub edx, ebx
push eax
push 0
push 0
push ecx
push edi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push eax
push 0
call dword [sym.imp.WTSAPI32.dll_WTSSendMessageA]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.005c4500
int3