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

Disassembly:
mov eax, 0x7ef92eac
call fcn.7ef890d8
sub esp, 0x3b4
push ebx
push esi
push edi
and dword [0x7efa5dd0], 0
push 0
call dword [0x7ef962c8]
mov dword [0x7efa58d8], eax
cmp dword [0x7efa58f0], 0
je 0x7ef5228e
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 1
jne 0x7ef5227d
push dword [ebp + 8]
call dword [0x7efa58f0]
pop ecx
push 0
call dword [0x7ef962c4]
jmp 0x7ef5228c
push dword [ebp + 8]
call dword [0x7efa58f0]
pop ecx
jmp 0x7ef529a5
jmp 0x7ef522de
cmp dword [0x7efa58f4], 0
je 0x7ef522de
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push dword [0x7efa58f8]
call dword [0x7efa58f4]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
jne 0x7ef522d3
and dword [0x7efa58f8], 0
and dword [0x7efa58f0], 0
and dword [0x7efa58f4], 0
mov eax, dword [ebp - 0x26c]
jmp 0x7ef529a5
mov dword [fcn.7ef7c452], 0x7ef7c452
mov dword [fcn.7ef7c452], 0x7ef7c452
mov dword [fcn.7ef7c554], 0x7ef7c554
mov dword [0x7efa28e4], 0x7ef7c593
call dword [0x7ef96084]
mov dword [ebp - 0x268], eax
push dword [ebp - 0x268]
call fcn.7ef51faf
pop ecx
mov dword [ebp - 0x120], eax
push dword [ebp - 0x268]
call dword [0x7ef96080]
cmp dword [ebp - 0x120], 0
je 0x7ef5234b
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x7ef5234b
mov dword [0x7efa5b48], 1
cmp dword [ebp + 8], 0
je 0x7ef52440
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x7ef52440
cmp dword [ebp - 0x120], 0
je 0x7ef52440
lea eax, [ebp - 0x3ac]
push eax
push str.c:_tmp_ts_osd.dll
call dword [0x7ef9607c]
mov dword [ebp - 0x3b0], eax
cmp dword [ebp - 0x3b0], 0xffffffff
je 0x7ef52440
push dword [ebp - 0x3b0]
call dword [0x7ef96078]
push str.c:_tmp_ts_osd.dll
call dword [0x7ef962bc]
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x3b4], 0
je 0x7ef52427
push str.debug_proc
push dword [ebp - 0x3b4]
call dword [0x7ef962b8]
mov dword [0x7efa58f0], eax
cmp dword [0x7efa58f0], 0
je 0x7ef5240c
mov eax, dword [ebp + 8]
and dword [eax], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 1
jne 0x7ef523fb
push dword [ebp + 8]
call dword [0x7efa58f0]
pop ecx
push 0
call dword [0x7ef962c4]
jmp 0x7ef5240a
push dword [ebp + 8]
call dword [0x7efa58f0]
pop ecx
jmp 0x7ef529a5
jmp 0x7ef52425
push str.find_proc_failed
push 0x15e
push str.X:_thinstall_stub_ts_stub.cc
call fcn.7ef85958
pop ecx
pop ecx
call eax
pop ecx
jmp 0x7ef52440
push str.load_lib_failed
push 0x160
push str.X:_thinstall_stub_ts_stub.cc
call fcn.7ef85958
pop ecx
pop ecx
call eax
pop ecx
mov dword [ebp - 0x114], esp
push dword [ebp + 8]
call fcn.7ef51bd6
pop ecx
call fcn.7ef876f6
push 0x7ef51c4d
call fcn.7ef8599f
pop ecx
call fcn.7ef5ed8d
call fcn.7ef77dbe
call fcn.7ef6c7e9
call fcn.7ef66ca5
call fcn.7ef6979c
call fcn.7ef5e8e8
push str.KERNEL32.DLL
call dword [0x7ef962c8]
mov dword [0x7efa58e8], eax
push 0
call dword [0x7ef962c8]
mov dword [0x7efa58d8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [0x7efa58ec], eax
and dword [ebp - 0x11c], 0
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [0x7ef962c8]
push eax
call dword [0x7ef962c0]
lea eax, [ebp - 0x110]
push eax
mov ecx, 0x7efa5e18
call fcn.7ef86086
push 0x104
lea eax, [ebp - 0x228]
push eax
push str.TS_LOADER
call dword [0x7ef96074]
test eax, eax
jne 0x7ef5251e
push 0x104
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 8]
call dword [0x7ef962c0]
lea eax, [ebp - 0x110]
push eax
mov ecx, 0x7efa5e10
call fcn.7ef86086
jmp 0x7ef52546
mov dword [ebp - 0x11c], 1
lea eax, [ebp - 0x228]
push eax
mov ecx, 0x7efa5e10
call fcn.7ef86086
push 0
push str.TS_LOADER
call dword [0x7ef96070]
push 0
push str.TS_EXECUTE_EXTERNAL
call dword [0x7ef96070]
push 0x104
lea eax, [ebp - 0x228]
push eax
push str.TS_MODULE0
call dword [0x7ef96074]
test eax, eax
jne 0x7ef52589
mov dword [0x7efa58e4], 1
push 0x7efa5e18
mov ecx, 0x7efa5e2c
call fcn.7ef8603d
jmp 0x7ef525b8
and dword [0x7efa58e4], 0
mov dword [ebp - 0x11c], 1
lea eax, [ebp - 0x228]
push eax
mov ecx, 0x7efa5e2c
call fcn.7ef86086
push 0
push str.TS_MODULE0
call dword [0x7ef96070]
and dword [ebp - 0x124], 0
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x7ef525f8
push 0x104
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 8]
call dword [0x7ef962c0]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x124]
call fcn.7ef86086
jmp 0x7ef52608
push 0x7efa5e2c
lea ecx, [ebp - 0x124]
call fcn.7ef8603d
push dword [ebp - 0x124]
call fcn.7ef51f84
pop ecx
push dword [0x7efa5e2c]
call fcn.7ef51f84
pop ecx
push dword [0x7efa5e10]
call fcn.7ef51f84
pop ecx
cmp dword [ebp - 0x11c], 0
je 0x7ef52666
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 1
jne 0x7ef52666
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [0x7ef962c8]
push eax
call dword [0x7ef962c0]
lea eax, [ebp - 0x110]
push eax
call fcn.7ef52047
pop ecx
call fcn.7ef57069
call fcn.7ef51d36
call fcn.7ef51d8f
push dword [ebp - 0x124]
mov eax, dword [ebp + 8]
push dword [eax + 8]
call fcn.7ef781ce
pop ecx
pop ecx
push 1
call fcn.7ef7d91c
pop ecx
mov dword [0x7efa5dd0], 1
call fcn.7ef6f8c9
push 0x64
call fcn.7ef7df2f
pop ecx
push 0xc8
call fcn.7ef7df2f
pop ecx
push 0xe1
call fcn.7ef7df2f
pop ecx
push 0xdf
call fcn.7ef7df2f
pop ecx
push 0xfa
call fcn.7ef7df2f
pop ecx
push 0x15e
call fcn.7ef7df2f
pop ecx
mov eax, dword [0x7efa2154]
mov eax, dword [eax]
and eax, 0x400000
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x7ef526fc
call fcn.7ef7ce94
cmp dword [0x7efa58e4], 0
je 0x7ef52710
push 4
push 0
call fcn.7ef7d1e8
pop ecx
pop ecx
and dword [ebp - 0x22c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.7ef529d5
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.7ef7105e
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x7ef527a5
push dword [0x7efa5e2c]
push str.failed_to_load__s
push 0x1f2
push str.X:_thinstall_stub_ts_stub.cc
call fcn.7ef85958
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 [0x7efa5dd0], 2
call fcn.7ef6f8c9
push 0
push 1
call fcn.7ef71b9b
pop ecx
pop ecx
mov dword [0x7efa5dd0], 3
call fcn.7ef71f78
test eax, eax
jne 0x7ef52821
push dword [0x7efa5e2c]
push str.dll_load_fail
call fcn.7ef83a2c
pop ecx
push eax
push 0x202
push str.X:_thinstall_stub_ts_stub.cc
call fcn.7ef85958
pop ecx
pop ecx
call eax
pop ecx
pop ecx
push 0x190
call fcn.7ef7df2f
pop ecx
push 0x1f4
call fcn.7ef7df2f
pop ecx
push 0x258
call fcn.7ef7df2f
pop ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 1
jne 0x7ef528e9
mov eax, dword [ebp - 0x230]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x118]
mov dword [ebp - 0x3b8], eax
mov eax, dword [0x7efa59a4]
and eax, 0x800000
test eax, eax
je 0x7ef5287c
mov eax, dword [ebp - 0x230]
and dword [eax + 0x10], 0
mov eax, dword [0x7efa59a0]
and eax, 0x400000
test eax, eax
je 0x7ef5289c
push dword [ebp - 0x3b8]
push str.APISPY:_Calling_EXE_Entry_Point__x_n
call fcn.7ef54190
pop ecx
pop ecx
call dword [ebp - 0x3b8]
push 0
call fcn.7ef775b3
and dword [ebp - 0x3bc], 0
and byte [ebp - 4], 0
cmp dword [ebp - 0x22c], 0
je 0x7ef528cf
mov ecx, dword [ebp - 0x22c]
call fcn.7ef72f1b
and dword [ebp - 0x22c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.7ef86114
mov eax, dword [ebp - 0x3bc]
jmp 0x7ef529a5
mov eax, dword [ebp - 0x230]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x118]
mov dword [0x7efa58f4], eax
mov eax, dword [0x7efa59a0]
and eax, 0x400000
test eax, eax
je 0x7ef52930
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 [0x7efa58f4]
push str.APISPY:_Calling_DLL_Entry_Point__x__hinst_x__reason_x__reserved_x__n
call fcn.7ef54190
add esp, 0x14
push str.mscoree.dll
call fcn.7ef7066d
test eax, eax
je 0x7ef52943
call fcn.7ef51c9f
push dword [ebp - 0x124]
call fcn.7ef7066d
mov dword [0x7efa58f8], eax
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push dword [0x7efa58f8]
call dword [0x7efa58f4]
mov dword [ebp - 0x3c0], eax
and byte [ebp - 4], 0
cmp dword [ebp - 0x22c], 0
je 0x7ef52990
mov ecx, dword [ebp - 0x22c]
call fcn.7ef72f1b
and dword [ebp - 0x22c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.7ef86114
mov eax, dword [ebp - 0x3c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret