Function at 0x597250
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a40e0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x60ef40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
cmp dword [ebp + 8], 0
jne 0x597293
xor eax, eax
jmp 0x59767a
mov byte [ebp - 0x1c], 0x53
mov byte [ebp - 0x1b], 0x79
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x6d
mov byte [ebp - 0x16], 0x52
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0x12], 0
push 0
lea ecx, [ebp - 0x28]
call fcn.004d24e0
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x28]
call fcn.00554a90
mov dword [ebp - 0x60], eax
push 0
push 0x6b
push str.minkernelcrtsucrt_srcdesktopcrtexeccenvarg.cpp
push 0x5f5fe4
push str.traits::tdupenv_s_crt_system_root_value.get_address_of____nullptr__system_root_name_
push 0x16
push 0x16
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.0055fad0
add esp, 0xc
push eax
call fcn.00558190
add esp, 0x20
test eax, eax
je 0x59732d
call fcn.00569530
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x28]
call fcn.005348b0
mov eax, dword [ebp - 0x64]
jmp 0x59767a
lea ecx, [ebp - 0x28]
call fcn.005348d0
movzx edx, al
test edx, edx
je 0x59735b
lea ecx, [ebp - 0x28]
call fcn.004262c0
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.0055a180
add esp, 4
add eax, 1
mov dword [ebp - 0x48], eax
jmp 0x597362
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
add edx, 0xb
mov dword [ebp - 0x3c], edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x84]
call fcn.0053b0e0
mov ecx, eax
call fcn.005976a0
mov dword [ebp - 0x4c], eax
call fcn.0056b7c0
push eax
lea ecx, [ebp - 0x40]
call fcn.004d24e0
lea ecx, [ebp - 0x40]
call fcn.005348d0
movzx ecx, al
test ecx, ecx
jne 0x5973c6
mov dword [ebp - 0x70], 0x16
lea ecx, [ebp - 0x40]
call fcn.005348b0
lea ecx, [ebp - 0x28]
call fcn.005348b0
mov eax, dword [ebp - 0x70]
jmp 0x59767a
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x88]
call fcn.0053b0e0
mov ecx, eax
call fcn.00597700
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0053b0e0
mov ecx, eax
call fcn.00597830
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.00568550
mov ecx, eax
call fcn.00597750
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
test ecx, ecx
je 0x597431
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], edx
jmp 0x59743d
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
push 0xaa
push 0x5f5e54
push 2
push 1
mov edx, dword [ebp - 0x54]
push edx
call fcn.00561f60
add esp, 0x14
push eax
lea ecx, [ebp - 0x30]
call fcn.004d24e0
lea ecx, [ebp - 0x30]
call fcn.005348d0
movzx eax, al
test eax, eax
jne 0x5974b1
push 0xe
call fcn.00569480
add esp, 4
call fcn.00569530
mov dword [eax], 0xc
mov dword [ebp - 0x78], 0xc
lea ecx, [ebp - 0x30]
call fcn.005348b0
lea ecx, [ebp - 0x40]
call fcn.005348b0
lea ecx, [ebp - 0x28]
call fcn.005348b0
mov eax, dword [ebp - 0x78]
jmp 0x59767a
lea ecx, [ebp - 0x30]
call fcn.004262c0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x2c], 0
je 0x5974ee
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00536b10
add esp, 0xc
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
jmp 0x5974ff
mov edx, dword [ebp - 0x34]
add edx, 4
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
je 0x597560
push 0
push 0xc1
push str.minkernelcrtsucrt_srcdesktopcrtexeccenvarg.cpp
push 0x5f5fe4
push str.traits::tcscpy_s_result_it__remaining_characters__it_
mov ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0056bae0
add esp, 0xc
push eax
call fcn.0055a3a0
add esp, 0x18
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0055a180
add esp, 4
add eax, 1
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x58]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x38], eax
jmp 0x5974f6
movzx ecx, byte [ebp - 0x21]
test ecx, ecx
jne 0x597629
push 0
push 0xcd
push str.minkernelcrtsucrt_srcdesktopcrtexeccenvarg.cpp
push 0x5f5fe4
push str.traits::tcscpy_s_result_it__system_root_count__system_root_name_
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00583910
add esp, 0xc
push eax
call fcn.0055a3a0
add esp, 0x18
push 0
push 0xce
push str.minkernelcrtsucrt_srcdesktopcrtexeccenvarg.cpp
push 0x5f5fe4
push str.traits::tcscat_s_result_it__system_root_count__equal_sign_
push 0x5f5fe0
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00584420
add esp, 0xc
push eax
call fcn.0055a3a0
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.005348d0
movzx ecx, al
test ecx, ecx
je 0x597620
lea ecx, [ebp - 0x28]
call fcn.004262c0
mov dword [ebp - 0x7c], eax
push 0
push 0xd1
push str.minkernelcrtsucrt_srcdesktopcrtexeccenvarg.cpp
push 0x5f5fe4
push str.traits::tcscat_s_result_it__system_root_count__system_root_value.get___
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.005838e0
add esp, 0xc
push eax
call fcn.0055a3a0
add esp, 0x18
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x30]
call fcn.004262c0
cmp dword [ebp - 0x20], eax
jne 0x597645
mov eax, dword [ebp - 0x20]
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov byte [edx], 0
lea ecx, [ebp - 0x30]
call fcn.0053b140
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x30]
call fcn.005348b0
lea ecx, [ebp - 0x40]
call fcn.005348b0
lea ecx, [ebp - 0x28]
call fcn.005348b0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534c20
mov esp, ebp
pop ebp
ret