Function at 0x5cf830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71a11e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x7e6410]
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 edi, ecx
mov dword [ebp - 0x38], edi
mov dword [edi + 0x14ac], 1
cmp dword [0x7f7364], 0
je 0x5cf878
call fcn.0060a4a0
push dword [0x7f73a8]
mov ecx, edi
call fcn.005dcb20
cmp dword [0x7f73a0], 0
jne 0x5cf8a4
cmp dword [edi + 0x14a0], 0
jne 0x5cf8a0
cmp dword [0x7f73a4], 0
jne 0x5cf8a4
xor eax, eax
jmp 0x5cf8a9
mov eax, 1
push eax
mov ecx, edi
call fcn.005dc810
mov ecx, edi
call fcn.005f5b00
mov dword [edi + 0x14ac], 0
call fcn.0057e3a0
push 0
mov ecx, edi
call fcn.005c8c70
push 1
mov ecx, edi
call fcn.005fd830
cmp dword [0x7f747c], 0
je 0x5cf8eb
cmp dword [0x7f74b0], 0
jne 0x5cf8f4
push 0
mov ecx, edi
call fcn.005fd830
cmp dword [0x7f75e8], 0
je 0x5cf9a0
push str.NETCAFE
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.GENERAL
call fcn.00428840
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
call fcn.005b6a10
mov ecx, esp
mov byte [ebp - 4], 1
push 0x744bc4
push eax
push ecx
call fcn.00428bd0
push str.TARGET
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push str.ACTIVE
push eax
call fcn.005b55c0
add esp, 0x18
push eax
mov byte [ebp - 4], 3
call fcn.004292e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
mov bl, al
call fcn.00428810
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
test bl, bl
je 0x5cf996
push 1
push 1
push 1
push ecx
push esp
call fcn.005c7dd0
add esp, 4
mov ecx, edi
call fcn.006005e0
mov dword [0x7f75e8], 0
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push 0
push 0
push 0
call fcn.005f1010
lea ecx, [ebp - 0x40]
call fcn.00429050
push str.sToastDate
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 4
call fcn.00428840
push str.SOFTWAREGRETECHGOMAudioOption
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00428840
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push SysReAllocStringLen
call fcn.005b6400
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00428810
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00428810
lea ecx, [ebp - 0x40]
call fcn.004290f0
test eax, eax
jne 0x5cfa55
lea eax, [ebp - 0x2c]
push eax
call fcn.005b6b40
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
push ecx
push eax
call fcn.004291a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov bl, al
call fcn.00428810
test bl, bl
je 0x5cfa55
push 0
call fcn.00528880
add esp, 4
push str.sToastDate
lea ecx, [ebp - 0x30]
call fcn.00428840
push str.SOFTWAREGRETECHGOMAudioOption
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.00428840
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x2c]
push eax
push SysReAllocStringLen
call fcn.005b7f70
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.00428810
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00428810
push SysReAllocStringLen
push 0x74218c
lea eax, [ebp - 0x30]
push str.GRETECH
push eax
call fcn.005b3480
add esp, 0x10
push str.policy.json
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push eax
call fcn.00428bd0
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00428810
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00428810
test esi, esi
je 0x5cfc80
push SysReAllocStringLen
push 0x74218c
lea eax, [ebp - 0x34]
push str.GRETECH
push eax
call fcn.005b3480
add esp, 0x10
push str.policy.json
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xc
push eax
call fcn.00428bd0
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00429100
push eax
call fcn.005b4d00
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.00428810
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00428810
push SysReAllocStringLen
push 0x74218c
lea eax, [ebp - 0x30]
push str.GRETECH
push eax
call fcn.005b3480
add esp, 0x10
push str.policy.json
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xe
push eax
call fcn.00428bd0
push 0x74cd78
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.00429100
push eax
call fcn.006b57a3
add esp, 8
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.00428810
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00428810
push 0
lea eax, [edi + 1]
mov dword [ebp - 0x14], 0xf
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004c7fa0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push edi
push 1
push eax
mov byte [ebp - 4], 0x10
call fcn.006b6232
push esi
call fcn.006b5369
add esp, 0x14
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004288a0
mov eax, dword [0x7fa9c8]
mov byte [ebp - 4], 0x11
test eax, eax
jne 0x5cfc51
push 0x40
call fcn.00428650
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x5cfc46
mov ecx, eax
call fcn.00544800
jmp 0x5cfc48
xor eax, eax
mov byte [ebp - 4], 0x11
mov dword [0x7fa9c8], eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.0062c970
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.00428810
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 4
jb 0x5cfc7d
push dword [ebp - 0x28]
call fcn.00428680
add esp, 4
mov edi, dword [ebp - 0x38]
mov eax, dword [0x7fa9c8]
test eax, eax
jne 0x5cfcb2
push 0x40
call fcn.00428650
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x5cfca7
mov ecx, eax
call fcn.00544800
jmp 0x5cfca9
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x7fa9c8], eax
push dword [edi + 4]
mov ecx, eax
call fcn.0062c200
push ecx
mov ecx, esp
push 0x74218c
call fcn.00428840
call fcn.00528630
add esp, 4
mov ecx, edi
call fcn.005e7d30
push 0
push 0x3e8
push 0x3d
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [edi + 0x188c], 0
je 0x5cfd48
push SysReAllocStringLen
push 0x74218c
lea eax, [ebp - 0x34]
push str.GRETECH
push eax
call fcn.005b3480
add esp, 0x10
push str.vst.ini
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x14
push eax
call fcn.00428bd0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x16
call fcn.00428810
mov ecx, dword [edi + 0x188c]
lea eax, [ebp - 0x38]
push eax
call fcn.00533c70
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00428810
mov ecx, edi
call fcn.005dc4c0
push 0
push dword [edi + 4]
call sub.WTSAPI32.dll_WTSRegisterSessionNotification
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
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.006b3266
mov esp, ebp
pop ebp
ret