Function at 0x56e350
Capabilities:
Access pe header
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6e8da0]
xor eax, ebp
mov dword [ebp - 4], eax
jmp 0x56e3c6
mov ecx, 0x8a9ab0
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x56e3d0
sub ecx, edx
mov eax, 0
push ebx
sete al
push esi
push edi
cmp eax, 0x1e
jge 0x56e904
xorps xmm0, xmm0
mov byte [0x8a9ad0], 0
movdqa xmmword [0x8a9ab0], xmm0
movdqa xmmword [0x8a9ac0], xmm0
jmp 0x56e46d
jmp 0x56e4d3
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov edi, eax
jmp 0x56e54a
test edi, edi
je 0x56ed67
jmp 0x56e5b8
movzx ecx, word [edi + 0x14]
lea ebx, [edi + 0x18]
add ebx, ecx
jmp 0x56e627
xor eax, eax
xor esi, esi
cmp ax, word [edi + 6]
jae 0x56ed67
jmp 0x56e69b
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 0x56e6d4
test dl, dl
je 0x56e6d0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x56e6d4
add eax, 2
add ecx, 2
test dl, dl
jne 0x56e6b4
xor eax, eax
jmp 0x56e6d9
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 0x56e707
inc esi
cmp si, word [edi + 6]
jb 0x56e635
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dbd73
mov esp, ebp
pop ebp
ret
jmp 0x56e76d
jmp 0x56e7d3
jmp 0x56e839
movzx eax, si
lea eax, [eax + eax*4]
mov edx, dword [ebx + eax*8 + 0xc]
add edx, dword [edi + 0x34]
jmp 0x56e8ac
push dword [ebx + eax*8 + 8]
lea ecx, [ebp - 0x28]
call 0x575f00
mov ecx, eax
add esp, 4
cmp dword [ecx + 0x14], 0x10
jb 0x56e8c5
mov ecx, dword [ecx]
mov edx, 0x8a9ab0
lea ebx, [ebx]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x56e8d0
cmp dword [ebp - 0x14], 0x10
jb 0x56ed67
push dword [ebp - 0x28]
call fcn.005b9080
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dbd73
mov esp, ebp
pop ebp
ret
jmp 0x56e96a
jmp 0x56e9d0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov edi, eax
jmp 0x56ea47
test edi, edi
je 0x56ed67
jmp 0x56eab5
movzx ecx, word [edi + 0x14]
lea ebx, [edi + 0x18]
add ebx, ecx
jmp 0x56eb24
xor eax, eax
xor esi, esi
cmp ax, word [edi + 6]
jae 0x56ed67
jmp 0x56eb98
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 0x56ebd1
test dl, dl
je 0x56ebcd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x56ebd1
add eax, 2
add ecx, 2
test dl, dl
jne 0x56ebb1
xor eax, eax
jmp 0x56ebd6
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 0x56ec04
inc esi
cmp si, word [edi + 6]
jb 0x56eb32
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dbd73
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 0x56ec77
push dword [ebx + eax*8 + 8]
lea ecx, [ebp - 0x28]
call 0x575f00
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x56ec8e
mov eax, dword [eax]
push eax
push 0x8a9ab0
call fcn.005dcaf0
add esp, 8
test eax, eax
sete bl
cmp dword [ebp - 0x14], 0x10
jb 0x56ecb2
push dword [ebp - 0x28]
call fcn.005b9080
add esp, 4
test bl, bl
je 0x56ed01
push 0x65d2b321
lea ecx, [ebp - 0x34]
call fcn.00574a20
mov ecx, str.RELMQ_
mov esi, eax
sub ecx, 0x18e348e2
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00574a90
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 0x56ece7
sub ecx, edx
mov edx, esi
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x56ecf5
jmp 0x56ed78
jmp 0x56ed67
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dbd73
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.005e4812
int3