Function at 0x5904f0
Capabilities:
Access pe header
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6cdf60]
xor eax, ebp
mov dword [ebp - 4], eax
jmp 0x590566
mov ecx, 0x88f7c0
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x590570
sub ecx, edx
mov eax, 0
push ebx
sete al
push esi
push edi
cmp eax, 0x1e
jge 0x590aa4
xorps xmm0, xmm0
mov byte [0x88f7e0], 0
movdqa xmmword [0x88f7c0], xmm0
movdqa xmmword [0x88f7d0], xmm0
jmp 0x59060d
jmp 0x590673
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov edi, eax
jmp 0x5906ea
test edi, edi
je 0x590f07
jmp 0x590758
movzx ecx, word [edi + 0x14]
lea ebx, [edi + 0x18]
add ebx, ecx
jmp 0x5907c7
xor eax, eax
xor esi, esi
cmp ax, word [edi + 6]
jae 0x590f07
jmp 0x59083b
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 0x590874
test dl, dl
je 0x590870
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x590874
add eax, 2
add ecx, 2
test dl, dl
jne 0x590854
xor eax, eax
jmp 0x590879
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 0x5908a7
inc esi
cmp si, word [edi + 6]
jb 0x5907d5
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bf536
mov esp, ebp
pop ebp
ret
jmp 0x59090d
jmp 0x590973
jmp 0x5909d9
movzx eax, si
lea eax, [eax + eax*4]
mov edx, dword [ebx + eax*8 + 0xc]
add edx, dword [edi + 0x34]
jmp 0x590a4c
push dword [ebx + eax*8 + 8]
lea ecx, [ebp - 0x28]
call 0x5993b0
mov ecx, eax
add esp, 4
cmp dword [ecx + 0x14], 0x10
jb 0x590a65
mov ecx, dword [ecx]
mov edx, 0x88f7c0
lea ebx, [ebx]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x590a70
cmp dword [ebp - 0x14], 0x10
jb 0x590f07
push dword [ebp - 0x28]
call fcn.0059c050
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bf536
mov esp, ebp
pop ebp
ret
jmp 0x590b0a
jmp 0x590b70
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov edi, eax
jmp 0x590be7
test edi, edi
je 0x590f07
jmp 0x590c55
movzx ecx, word [edi + 0x14]
lea ebx, [edi + 0x18]
add ebx, ecx
jmp 0x590cc4
xor eax, eax
xor esi, esi
cmp ax, word [edi + 6]
jae 0x590f07
jmp 0x590d38
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 0x590d71
test dl, dl
je 0x590d6d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x590d71
add eax, 2
add ecx, 2
test dl, dl
jne 0x590d51
xor eax, eax
jmp 0x590d76
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 0x590da4
inc esi
cmp si, word [edi + 6]
jb 0x590cd2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bf536
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 0x590e17
push dword [ebx + eax*8 + 8]
lea ecx, [ebp - 0x28]
call 0x5993b0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x590e2e
mov eax, dword [eax]
push eax
push 0x88f7c0
call fcn.005c0ab0
add esp, 8
test eax, eax
sete bl
cmp dword [ebp - 0x14], 0x10
jb 0x590e52
push dword [ebp - 0x28]
call fcn.0059c050
add esp, 4
test bl, bl
je 0x590ea1
push 0x65d0fe11
lea ecx, [ebp - 0x34]
call fcn.00597ce0
mov ecx, str.RELMQ_
mov esi, eax
sub ecx, 0x18e348e2
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00597d50
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 0x590e87
sub ecx, edx
mov edx, esi
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x590e95
jmp 0x590f18
jmp 0x590f07
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bf536
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.005c1bd2
int3