Function at 0x5bb9a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x709ec3
mov eax, dword fs:[0]
push eax
sub esp, 0x594
mov eax, dword [0x76e964]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x7730f0]
mov eax, ecx
mov edi, dword [ebp + 0xc]
shr eax, 8
mov dword [ebp - 0x594], edi
and al, 1
je 0x5bba02
cmp dword [0x773120], 0
je 0x5bba02
test cl, 1
jne 0x5bc6aa
cmp byte [ebp + 0x10], 0
je 0x5bc6dc
test cl, 1
jne 0x5bc6aa
xorps xmm0, xmm0
mov dword [0x77311c], 0
movups xmmword [ebp - 0x440], xmm0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov eax, dword [0x773104]
shr eax, 0x1f
mov dword [ebp - 4], 0
test al, al
je 0x5bba88
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x438], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x440]
mov eax, dword [0x773104]
and eax, 0x3fffffff
push eax
call fcn.005dd8c0
push 0x9c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x59c], esi
test esi, esi
jne 0x5bbab7
push 0x12
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov dword [esi], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x5bbae9
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
push 1
push 0
call fcn.006dd9ad
call fcn.00597520
mov ecx, 0x27
mov dword [ebp - 0x5a0], eax
lea edi, [eax + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov esi, eax
mov ecx, esi
call fcn.005a5f20
mov ecx, esi
call fcn.005a5ef0
push dword [ebp - 0x59c]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call fcn.00597410
mov ecx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
push 0
mov dword [ebp - 0x59c], edi
mov dword [0x77f8f4], ecx
mov dword [edi + 0x1c0], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esi + 0x28], eax
mov eax, 0x601
cmp word [esi + 6], ax
push 0x400
setae al
mov byte [edi + 0x2dd], al
mov eax, 0x602
cmp word [esi + 6], ax
mov esi, 0x7730f0
push 0
setae al
mov byte [edi + 0x2de], al
lea eax, [ebp - 0x410]
sub esi, dword [0x773110]
push eax
call fcn.006f4190
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x400
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [ebp - 0x5a0]
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [eax + 8]
mov dword [eax + 0x24], esi
call fcn.005f1d40
push 0x128
lea eax, [ebp - 0x568]
mov byte [ebp - 0x56c], 0
push 0
push eax
call fcn.006f4190
xor eax, eax
cmp byte [ebp - 0x56c], al
setne al
push eax
lea eax, [ebp - 0x568]
push eax
call fcn.00602f90
lea eax, [ebp - 0x540]
mov byte [ebp - 4], 1
push eax
xor eax, eax
mov dword [ebp - 0x424], 0x74e3a5d6
cmp byte [ebp - 0x56c], al
mov dword [ebp - 0x420], 0x18e3f236
setne al
mov dword [ebp - 0x41c], 0xa4ccaba6
push eax
mov dword [ebp - 0x418], 0x73699576
push 0x10
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x568]
push eax
call fcn.00603940
lea eax, [ebp - 0x56c]
xorps xmm0, xmm0
push 0x7730f0
push eax
movups xmmword [ebp - 0x540], xmm0
call fcn.005a0c50
mov ecx, dword [0x7730f0]
add esp, 0x30
mov eax, ecx
shr eax, 1
test al, 1
jne 0x5bbc8c
xor dword [0x77f281], 0xd6a5e374
or ecx, 2
mov dword [0x7730f0], ecx
lea eax, [ebp - 0x568]
mov byte [ebp - 4], 2
push eax
call fcn.006034b0
mov dword [ebp - 0x414], 0
mov eax, dword [0x77f250]
push 0x24
mov byte [ebp - 4], 3
lea esi, [eax + 0x7730f0]
call fcn.006dd216
mov ecx, eax
add esp, 8
mov dword [ebp - 0x590], ecx
mov byte [ebp - 4], 4
test ecx, ecx
je 0x5bbcef
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
mov dword [ecx + 0x20], 0
mov eax, dword [0x77f24c]
add eax, esi
push eax
call fcn.005f0dc0
jmp 0x5bbcf1
xor eax, eax
mov esi, dword [ebp - 0x414]
mov dword [ebp - 0x58c], eax
mov byte [ebp - 4], 3
cmp eax, esi
je 0x5bbd21
test esi, esi
je 0x5bbd21
mov ecx, esi
call fcn.005929d0
push 0x24
push esi
call fcn.006dd246
mov eax, dword [ebp - 0x58c]
add esp, 8
push eax
mov ecx, edi
mov dword [ebp - 0x414], eax
call fcn.005a29b0
test al, al
jne 0x5bbd45
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x7730f0]
shr eax, 0xa
test al, 1
je 0x5bbdbc
cmp dword [edi + 0x45c], 0
je 0x5bbdbc
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x430]
call fcn.005f3510
lea eax, [ebp - 0x588]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x430]
call fcn.005f3870
add eax, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x5bbd91
mov eax, dword [eax]
mov esi, dword [edi + 0x45c]
mov ecx, esi
push eax
call dword [0x76649c]
call esi
lea ecx, [ebp - 0x588]
call fcn.00592960
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 3
call fcn.00592960
call fcn.005974a0
mov edi, eax
mov al, byte [ebp + 0x10]
xor al, 1
mov dword [ebp - 0x598], edi
push edi
mov byte [edi + 0x508], al
call fcn.005b2ff0
mov eax, dword [0x77f204]
add esp, 4
test eax, 0x800000
jne 0x5bbe41
mov eax, dword [0x77f710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x58c], eax
call fcn.005a4010
int3
mov ecx, dword [ebp - 0x5a0]
call fcn.005a5e50
lea eax, [ebp - 0x414]
mov ecx, edi
push eax
push 0x7730f0
call fcn.0059fde0
test dword [0x77f204], 0x800000
jne 0x5bbe95
mov eax, dword [0x77f710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x58c], eax
call fcn.005a4010
invalid
push 0x7730f0
mov ecx, edi
call fcn.005b34c0
test al, al
jne 0x5bbf96
mov eax, dword [0x7730f0]
or eax, 1
mov dword [0x7730f0], eax
shr eax, 8
test al, 1
je 0x5bbed0
push dword [ebp - 0x594]
call fcn.005bca50
add esp, 4
jmp 0x5bbf6d
mov edi, dword [0x77f8d0]
test edi, edi
je 0x5bbef6
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x76649c]
mov ecx, edi
call esi
mov dword [0x77f8d0], 0
mov edi, dword [0x77f8dc]
test edi, edi
je 0x5bbf1c
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x76649c]
mov ecx, edi
call esi
mov dword [0x77f8dc], 0
mov edi, dword [0x77f8ec]
test edi, edi
je 0x5bbf42
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x76649c]
mov ecx, edi
call esi
mov dword [0x77f8ec], 0
mov edi, dword [0x77f8c8]
test edi, edi
je 0x5bbf68
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x76649c]
mov ecx, edi
call esi
mov dword [0x77f8c8], 0
call fcn.005b99f0
mov esi, dword [ebp - 0x414]
mov edi, dword [0x773114]
test esi, esi
je 0x5bbf8f
mov ecx, esi
call fcn.005929d0
push 0x24
push esi
call fcn.006dd246
add esp, 8
mov eax, edi
jmp 0x5bc68c
mov eax, dword [edi + 0xe4]
shr eax, 8
test al, 1
jne 0x5bbfee
mov eax, dword [edi + 0xe0]
shr eax, 0x17
test al, 1
jne 0x5bbfee
mov eax, dword [ebp - 0x59c]
cmp dword [eax + 0x2f4], 0
je 0x5bbfee
mov esi, dword [eax + 0x2fc]
mov ecx, esi
push 0
call dword [0x76649c]
call esi
mov esi, dword [ebp - 0x59c]
push 0x5bc8d0
push 1
mov esi, dword [esi + 0x2f4]
mov ecx, esi
call dword [0x76649c]
call esi
test dword [0x77f204], 0x800000
jne 0x5bc024
mov eax, dword [0x77f710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x594], eax
call fcn.005a4010
invalid
push 0x7730f0
mov ecx, edi
call fcn.005b4c00
call fcn.005dc110
test dword [0x77f204], 0x800000
jne 0x5bc064
mov esi, dword [0x77f710]
lea ecx, [esi + 0xf8]
call fcn.005a4010
lea ecx, [esi + 0xf8]
mov byte [5], 5
call fcn.005a40a0
mov eax, dword [edi + 0xe0]
mov esi, dword [0x77f8c4]
shr eax, 0x11
and eax, 0xffffff01
mov dword [ebp - 0x594], eax
test esi, esi
jne 0x5bc152
push 0x24
call fcn.006dd216
mov esi, eax
add esp, 4
mov dword [ebp - 0x58c], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x5bc146
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
call fcn.005975a0
mov dword [esi], 0x5614c8
mov dword [esi + 0x10], eax
add esi, 0x14
mov dword [ebp - 0x590], esi
push 0x7c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006dd216
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
add esi, 0x1c
mov byte [ebp - 4], 8
mov dword [ebp - 0x590], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006dd216
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov word [esi + 0xc], 1
jmp 0x5bc148
xor esi, esi
mov byte [ebp - 4], 3
mov dword [0x77f8c4], esi
push dword [0x77f625]
mov ecx, edi
push dword [0x77f629]
call fcn.0059fac0
push eax
mov eax, dword [ebp - 0x594]
mov ecx, esi
xor al, 1
movzx eax, al
push eax
push dword [0x77f62d]
call fcn.005a4eb0
mov ecx, edi
mov dword [0x77f62d], 0
mov dword [0x77f625], 0
call fcn.0059e1b0
push 0
push 1
mov ecx, edi
call fcn.0059fad0
mov eax, dword [edi + 0xe0]
shr eax, 2
test al, 1
je 0x5bc351
mov esi, dword [0x77f8fc]
test esi, esi
jne 0x5bc312
push 0x50
call fcn.006dd216
mov esi, eax
add esp, 4
mov dword [ebp - 0x58c], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x5bc306
push 0x50
push 0
push esi
call fcn.006f4190
add esp, 0xc
mov dword [esi], 0x5614d8
lea ecx, [esi + 4]
mov word [ecx + 0x18], 0
call fcn.005a4040
add esi, 0x20
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x590], esi
push 0x278
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006dd216
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
add esi, 0x28
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x590], esi
push 0x278
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006dd216
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp - 0x58c]
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
lea esi, [eax + 0x40]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x590], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006dd216
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
add esi, 0x48
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x590], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006dd216
add esp, 0x10
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x58c]
mov dword [esi + 0x30], 0
jmp 0x5bc308
xor esi, esi
mov byte [ebp - 4], 3
mov dword [0x77f8fc], esi
push dword [0x77f65d]
mov ecx, edi
push dword [0x77f661]
call fcn.0059fac0
push eax
push dword [0x77f22c]
mov ecx, esi
call fcn.005c1590
mov dword [0x77f22c], 0
mov dword [0x77f65d], 0
mov dword [0x77f661], 0
mov ecx, dword [edi + 0xe0]
mov eax, ecx
shr eax, 3
test al, 1
je 0x5bc3bc
mov eax, dword [0x77f8f0]
shr ecx, 0x12
and ecx, 0xffffff01
mov dword [ebp - 0x594], ecx
test eax, eax
jne 0x5bc3b9
push 0x50
call fcn.006dd216
mov esi, eax
add esp, 4
mov dword [ebp - 0x590], esi
mov byte [ebp - 4], 0xf
test esi, esi
je 0x5bc3a8
push 0x50
push 0
push esi
call fcn.006f4190
add esp, 0xc
mov ecx, esi
call fcn.005b8f70
jmp 0x5bc3aa
xor eax, eax
mov ecx, dword [ebp - 0x594]
mov byte [ebp - 4], 3
mov dword [0x77f8f0], eax
mov byte [eax + 5], cl
test dword [0x77f204], 0x800000
jne 0x5bc3ed
mov eax, dword [0x77f710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x594], eax
call fcn.005a4010
in ax, 0x64
mov ecx, dword [ebp - 0x594]
call fcn.005a40a0
mov edi, dword [0x77f8e4]
test edi, edi
jne 0x5bc458
push 0x2c
call fcn.006dd216
mov edi, eax
add esp, 4
mov dword [ebp - 0x590], edi
test edi, edi
je 0x5bc450
push 0x2c
push 0
push edi
call fcn.006f4190
mov dword [edi + 0x14], 0
add esp, 0xc
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi], 0x5614d0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
jmp 0x5bc452
xor edi, edi
mov dword [0x77f8e4], edi
mov eax, dword [0x77f66d]
mov ecx, dword [ebp - 0x598]
mov dword [ebp - 0x590], eax
mov eax, dword [0x77f669]
mov dword [ebp - 0x58c], eax
mov eax, dword [0x77f665]
mov ecx, dword [ecx + 0x110]
mov dword [ebp - 0x594], eax
movzx eax, word [0x77f281]
push eax
call fcn.005f0d90
mov ecx, edi
mov esi, eax
call fcn.005f4cf0
push esi
lea ecx, [ebp - 0x430]
call fcn.005f3510
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0x10
push eax
mov ecx, edi
call fcn.005f3740
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x5bc4d3
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x5bc4cb
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
mov eax, dword [ebp - 0x594]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x58c]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x590]
mov dword [edi + 0x28], eax
mov dword [ebp - 0x430], 0x560c38
mov eax, dword [ebp - 0x418]
mov byte [ebp - 4], 0x11
cmp eax, 0x10
jb 0x5bc51a
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.0059aa90
mov edx, dword [0x77f671]
mov eax, edx
shr eax, 0x1c
mov byte [ebp - 4], 3
test al, 1
je 0x5bc542
mov ecx, dword [0x781690]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
inc dword [eax + 0x25808]
test dword [0x77f204], 0x800000
mov dword [0x77f669], 0
mov dword [0x77f66d], 0
jne 0x5bc58b
mov esi, dword [0x77f710]
lea ecx, [esi + 0xf8]
call fcn.005a4010
lea ecx, [esi + 0xf8]
mov byte [6], 6
call fcn.005a40a0
mov edx, dword [0x77f671]
and dl, 0x30
cmp dl, 0x20
jne 0x5bc5de
mov eax, dword [ebp - 0x598]
mov eax, dword [eax + 0xe0]
shr eax, 0x13
test al, 1
jne 0x5bc5de
mov eax, dword [ebp - 0x5a0]
mov ecx, 0x600
cmp word [eax + 6], cx
jae 0x5bc5de
call fcn.00597520
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x5bc5c7
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x59c]
mov esi, dword [eax + 0x1c8]
mov ecx, esi
call dword [0x76649c]
call esi
call fcn.00597520
mov eax, dword [eax + 0x24]
add eax, dword [0x77f675]
test dword [0x77f204], 0x800000
mov dword [0x773114], eax
jne 0x5bc622
mov eax, dword [0x77f710]
add eax, 0xf8
mov ecx, eax
mov dword [ebp - 0x590], eax
call fcn.005a4010
in ax, 0x64
mov ecx, dword [ebp - 0x590]
call fcn.005a40a0
mov eax, dword [0x773104]
and eax, 0xc0000000
cmp eax, 0x80000000
jne 0x5bc657
push dword [ebp - 0x43c]
push dword [ebp - 0x434]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp - 0x440]
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov eax, dword [ebp - 0x598]
mov byte [eax + 0x508], 0
or dword [0x7730f0], 1
mov esi, dword [ebp - 0x414]
test esi, esi
je 0x5bc687
mov ecx, esi
call fcn.005929d0
push 0x24
push esi
call fcn.006dd246
add esp, 8
mov eax, dword [0x773114]
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006dd760
mov esp, ebp
pop ebp
ret
test al, al
je 0x5bc756
mov edx, dword [0x7730f4]
mov eax, edx
shr eax, 4
test al, 1
je 0x5bc6e4
add edx, edx
mov dword [0x773114], 0x5bcab0
or ecx, 5
mov dword [0x7730f4], edx
mov dword [0x7730f0], ecx
mov eax, 0x5bcab0
cdq
jmp 0x5bc68e
cmp dword [ebp + 8], 0
jne 0x5bc687
shr edx, 5
test dl, 1
jne 0x5bc687
mov eax, ecx
and eax, 0x804
cmp eax, 0x804
je 0x5bc687
test byte [0x77f204], 0x80
je 0x5bc717
push edi
call fcn.005bca50
add esp, 4
jmp 0x5bc687
push 0x1c
lea eax, [ebp - 0x588]
or ecx, 4
push eax
push 0x7730f0
mov dword [0x7730f0], ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov esi, dword [0x773114]
mov ecx, esi
push edi
push 0
push dword [ebp - 0x584]
call dword [0x76649c]
call esi
push edi
call fcn.005bca50
add esp, 4
xor eax, eax
jmp 0x5bc68c