Function at 0x7ff52230
Capabilities:
Query environment variable
Set environment variable
Terminate process

Disassembly:
mov eax, 0x7ff92eac
call fcn.7ff890d8
sub esp, 0x3b4
push ebx
push esi
push edi
and dword [0x7ffa5dd0], 0
push 0
call dword [0x7ff962c8]
mov dword [0x7ffa58d8], eax
cmp dword [0x7ffa58f0], 0
je 0x7ff5228e
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 1
jne 0x7ff5227d
push dword [ebp + 8]
call dword [0x7ffa58f0]
pop ecx
push 0
call dword [0x7ff962c4]
jmp 0x7ff5228c
push dword [ebp + 8]
call dword [0x7ffa58f0]
pop ecx
jmp 0x7ff529a5
jmp 0x7ff522de
cmp dword [0x7ffa58f4], 0
je 0x7ff522de
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push dword [0x7ffa58f8]
call dword [0x7ffa58f4]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
jne 0x7ff522d3
and dword [0x7ffa58f8], 0
and dword [0x7ffa58f0], 0
and dword [0x7ffa58f4], 0
mov eax, dword [ebp - 0x26c]
jmp 0x7ff529a5
mov dword [fcn.7ff7c452], 0x7ff7c452
mov dword [fcn.7ff7c452], 0x7ff7c452
mov dword [fcn.7ff7c554], 0x7ff7c554
mov dword [0x7ffa28e4], 0x7ff7c593
call dword [0x7ff96084]
mov dword [ebp - 0x268], eax
push dword [ebp - 0x268]
call fcn.7ff51faf
pop ecx
mov dword [ebp - 0x120], eax
push dword [ebp - 0x268]
call dword [0x7ff96080]
cmp dword [ebp - 0x120], 0
je 0x7ff5234b
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x7ff5234b
mov dword [0x7ffa5b48], 1
cmp dword [ebp + 8], 0
je 0x7ff52440
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x7ff52440
cmp dword [ebp - 0x120], 0
je 0x7ff52440
lea eax, [ebp - 0x3ac]
push eax
push str.c:_tmp_ts_osd.dll
call dword [0x7ff9607c]
mov dword [ebp - 0x3b0], eax
cmp dword [ebp - 0x3b0], 0xffffffff
je 0x7ff52440
push dword [ebp - 0x3b0]
call dword [0x7ff96078]
push str.c:_tmp_ts_osd.dll
call dword [0x7ff962bc]
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x3b4], 0
je 0x7ff52427
push str.debug_proc
push dword [ebp - 0x3b4]
call dword [0x7ff962b8]
mov dword [0x7ffa58f0], eax
cmp dword [0x7ffa58f0], 0
je 0x7ff5240c
mov eax, dword [ebp + 8]
and dword [eax], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 1
jne 0x7ff523fb
push dword [ebp + 8]
call dword [0x7ffa58f0]
pop ecx
push 0
call dword [0x7ff962c4]
jmp 0x7ff5240a
push dword [ebp + 8]
call dword [0x7ffa58f0]
pop ecx
jmp 0x7ff529a5
jmp 0x7ff52425
push str.find_proc_failed
push 0x15e
push str.X:_thinstall_stub_ts_stub.cc
call fcn.7ff85958
pop ecx
pop ecx
call eax
pop ecx
jmp 0x7ff52440
push str.load_lib_failed
push 0x160
push str.X:_thinstall_stub_ts_stub.cc
call fcn.7ff85958
pop ecx
pop ecx
call eax
pop ecx
mov dword [ebp - 0x114], esp
push dword [ebp + 8]
call fcn.7ff51bd6
pop ecx
call fcn.7ff876f6
push 0x7ff51c4d
call fcn.7ff8599f
pop ecx
call fcn.7ff5ed8d
call fcn.7ff77dbe
call fcn.7ff6c7e9
call fcn.7ff66ca5
call fcn.7ff6979c
call fcn.7ff5e8e8
push str.KERNEL32.DLL
call dword [0x7ff962c8]
mov dword [0x7ffa58e8], eax
push 0
call dword [0x7ff962c8]
mov dword [0x7ffa58d8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [0x7ffa58ec], eax
and dword [ebp - 0x11c], 0
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [0x7ff962c8]
push eax
call dword [0x7ff962c0]
lea eax, [ebp - 0x110]
push eax
mov ecx, 0x7ffa5e18
call fcn.7ff86086
push 0x104
lea eax, [ebp - 0x228]
push eax
push str.TS_LOADER
call dword [0x7ff96074]
test eax, eax
jne 0x7ff5251e
push 0x104
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 8]
call dword [0x7ff962c0]
lea eax, [ebp - 0x110]
push eax
mov ecx, 0x7ffa5e10
call fcn.7ff86086
jmp 0x7ff52546
mov dword [ebp - 0x11c], 1
lea eax, [ebp - 0x228]
push eax
mov ecx, 0x7ffa5e10
call fcn.7ff86086
push 0
push str.TS_LOADER
call dword [0x7ff96070]
push 0
push str.TS_EXECUTE_EXTERNAL
call dword [0x7ff96070]
push 0x104
lea eax, [ebp - 0x228]
push eax
push str.TS_MODULE0
call dword [0x7ff96074]
test eax, eax
jne 0x7ff52589
mov dword [0x7ffa58e4], 1
push 0x7ffa5e18
mov ecx, 0x7ffa5e2c
call fcn.7ff8603d
jmp 0x7ff525b8
and dword [0x7ffa58e4], 0
mov dword [ebp - 0x11c], 1
lea eax, [ebp - 0x228]
push eax
mov ecx, 0x7ffa5e2c
call fcn.7ff86086
push 0
push str.TS_MODULE0
call dword [0x7ff96070]
and dword [ebp - 0x124], 0
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x7ff525f8
push 0x104
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 8]
call dword [0x7ff962c0]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x124]
call fcn.7ff86086
jmp 0x7ff52608
push 0x7ffa5e2c
lea ecx, [ebp - 0x124]
call fcn.7ff8603d
push dword [ebp - 0x124]
call fcn.7ff51f84
pop ecx
push dword [0x7ffa5e2c]
call fcn.7ff51f84
pop ecx
push dword [0x7ffa5e10]
call fcn.7ff51f84
pop ecx
cmp dword [ebp - 0x11c], 0
je 0x7ff52666
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 1
jne 0x7ff52666
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [0x7ff962c8]
push eax
call dword [0x7ff962c0]
lea eax, [ebp - 0x110]
push eax
call fcn.7ff52047
pop ecx
call fcn.7ff57069
call fcn.7ff51d36
call fcn.7ff51d8f
push dword [ebp - 0x124]
mov eax, dword [ebp + 8]
push dword [eax + 8]
call fcn.7ff781ce
pop ecx
pop ecx
push 1
call fcn.7ff7d91c
pop ecx
mov dword [0x7ffa5dd0], 1
call fcn.7ff6f8c9
push 0x64
call fcn.7ff7df2f
pop ecx
push 0xc8
call fcn.7ff7df2f
pop ecx
push 0xe1
call fcn.7ff7df2f
pop ecx
push 0xdf
call fcn.7ff7df2f
pop ecx
push 0xfa
call fcn.7ff7df2f
pop ecx
push 0x15e
call fcn.7ff7df2f
pop ecx
mov eax, dword [0x7ffa2154]
mov eax, dword [eax]
and eax, 0x400000
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x7ff526fc
call fcn.7ff7ce94
cmp dword [0x7ffa58e4], 0
je 0x7ff52710
push 4
push 0
call fcn.7ff7d1e8
pop ecx
pop ecx
and dword [ebp - 0x22c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.7ff529d5
mov dword [ebp - 0x258], 1
mov dword [ebp - 0x25c], 1
mov dword [ebp - 0x240], str..exe
mov dword [ebp - 0x254], 1
mov dword [ebp - 0x248], 2
mov dword [ebp - 0x250], 1
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x124]
call fcn.7ff7105e
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x7ff527a5
push dword [0x7ffa5e2c]
push str.failed_to_load__s
push 0x1f2
push str.X:_thinstall_stub_ts_stub.cc
call fcn.7ff85958
pop ecx
pop ecx
call eax
pop ecx
pop ecx
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x118]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x230], eax
mov dword [0x7ffa5dd0], 2
call fcn.7ff6f8c9
push 0
push 1
call fcn.7ff71b9b
pop ecx
pop ecx
mov dword [0x7ffa5dd0], 3
call fcn.7ff71f78
test eax, eax
jne 0x7ff52821
push dword [0x7ffa5e2c]
push str.dll_load_fail
call fcn.7ff83a2c
pop ecx
push eax
push 0x202
push str.X:_thinstall_stub_ts_stub.cc
call fcn.7ff85958
pop ecx
pop ecx
call eax
pop ecx
pop ecx
push 0x190
call fcn.7ff7df2f
pop ecx
push 0x1f4
call fcn.7ff7df2f
pop ecx
push 0x258
call fcn.7ff7df2f
pop ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 1
jne 0x7ff528e9
mov eax, dword [ebp - 0x230]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x118]
mov dword [ebp - 0x3b8], eax
mov eax, dword [0x7ffa59a4]
and eax, 0x800000
test eax, eax
je 0x7ff5287c
mov eax, dword [ebp - 0x230]
and dword [eax + 0x10], 0
mov eax, dword [0x7ffa59a0]
and eax, 0x400000
test eax, eax
je 0x7ff5289c
push dword [ebp - 0x3b8]
push str.APISPY:_Calling_EXE_Entry_Point__x_n
call fcn.7ff54190
pop ecx
pop ecx
call dword [ebp - 0x3b8]
push 0
call fcn.7ff775b3
and dword [ebp - 0x3bc], 0
and byte [ebp - 4], 0
cmp dword [ebp - 0x22c], 0
je 0x7ff528cf
mov ecx, dword [ebp - 0x22c]
call fcn.7ff72f1b
and dword [ebp - 0x22c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.7ff86114
mov eax, dword [ebp - 0x3bc]
jmp 0x7ff529a5
mov eax, dword [ebp - 0x230]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x118]
mov dword [0x7ffa58f4], eax
mov eax, dword [0x7ffa59a0]
and eax, 0x400000
test eax, eax
je 0x7ff52930
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 8]
push dword [0x7ffa58f4]
push str.APISPY:_Calling_DLL_Entry_Point__x__hinst_x__reason_x__reserved_x__n
call fcn.7ff54190
add esp, 0x14
push str.mscoree.dll
call fcn.7ff7066d
test eax, eax
je 0x7ff52943
call fcn.7ff51c9f
push dword [ebp - 0x124]
call fcn.7ff7066d
mov dword [0x7ffa58f8], eax
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push dword [0x7ffa58f8]
call dword [0x7ffa58f4]
mov dword [ebp - 0x3c0], eax
and byte [ebp - 4], 0
cmp dword [ebp - 0x22c], 0
je 0x7ff52990
mov ecx, dword [ebp - 0x22c]
call fcn.7ff72f1b
and dword [ebp - 0x22c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.7ff86114
mov eax, dword [ebp - 0x3c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret