Function at 0x10093cf0
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xaa8
mov eax, dword [0x100b9040]
xor eax, esp
mov dword [esp + 0xaa4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
push 0x100a4a50
push 0x64
mov dword [esp + 0x18], edx
mov edi, ecx
mov dword [esp + 0x14], eax
call fcn.1009ecc6
mov esi, eax
add esp, 8
test esi, esi
je 0x10094058
push 0x64
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov byte [esi], 1
lea eax, [esi + 0x34]
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
mov dword [esi + 0x28], 0
push eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 4], 2
mov dword [esi + 0x30], 0
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
add esp, 4
mov dword [0x100f26f8], esi
cmp dword [ebp + 8], 0
xorps xmm0, xmm0
movq qword [esi + 0x5c], xmm0
je 0x10093ef5
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10093ed3
cmp byte [eax], 0
je 0x10093ed3
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x20]
push 0x20
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
push 0x20
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push str.SoftwareValveSteam
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10093e20
push str.Error_opening_Steam_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10099800
add esp, 8
jmp 0x10093ef5
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x208
push eax
lea eax, [esp + 0xa4]
push eax
push 0
push 0
push str.SteamExe
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10093eb8
mov ecx, dword [esp + 0x1c]
cmp ecx, 1
jb 0x10093eb8
shr ecx, 1
mov eax, esi
je 0x10093e88
lea edx, [esi + 0x5c]
nop word [eax + eax]
cmp word [esp + eax*2 + 0xa0], 0x2f
jne 0x10093e83
mov word [esp + eax*2 + 0xa0], dx
inc eax
cmp eax, ecx
jb 0x10093e70
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0xa4]
push eax
push str.__s__steam:__rungameid__s
lea eax, [esp + 0x2b4]
push 0x800
push eax
call fcn.10099830
add esp, 0x14
lea edx, [esp + 0x2a8]
jmp 0x10093eec
push str.Error_reading_SteamExe_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10099800
add esp, 8
jmp 0x10093ef5
push 0x20
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [esp + 0x20]
call fcn.100998a0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x100b920c
mov dword [0x100f24f4], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x10093f1a
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [0x100b9238]
cmp eax, 0x7fffffff
jne 0x10093f34
dec eax
push 6
mov dword [0x100b9238], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10093f4d
movups xmm0, xmmword [eax]
movups xmmword [0x100ee0bc], xmm0
movq xmm0, qword [eax + 0x10]
jmp 0x10093f57
xorps xmm0, xmm0
movups xmmword [0x100ee0bc], xmm0
movq qword [0x100ee0cc], xmm0
xorps xmm0, xmm0
push 0x100b920c
movups xmmword [0x100ee0d4], xmm0
movq qword [0x100ee0e4], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
cmp dword [0x100ee0b8], 0
jne 0x10094062
mov dword [0x100ddf30], 0x100ba600
test edi, edi
je 0x10093fc6
cmp byte [edi], 0
mov ecx, 0x100ddf40
je 0x10093fc3
mov edx, 1
sub edx, edi
nop dword [eax + eax]
lea eax, [edi + edx]
cmp eax, 0x40
jae 0x10093fc3
mov al, byte [edi]
inc edi
mov byte [ecx], al
inc ecx
cmp byte [edi], 0
jne 0x10093fb0
mov byte [ecx], 0
mov esi, dword [0x100f26f8]
mov al, 1
mov dword [0x100ee0b8], 0x100ddf30
mov dword [0x100ddf38], 0x100944d0
mov dword [0x100ddf3c], 0x100944e0
xchg byte [esi], al
push 4
call fcn.1009dd22
add esp, 4
lea ecx, [esp + 0x14]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x100949a0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x10094048
cmp dword [esi + 0x60], 0
je 0x1009402a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
mov ecx, dword [esp + 0xaa4]
xor ecx, esp
call fcn.1009dd14
mov esp, ebp
pop ebp
ret
push 6
mov dword [esp + 0x18], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [0x100f26f8], 0
mov ecx, dword [esp + 0xaac]
pop edi
pop esi
xor ecx, esp
call fcn.1009dd14
mov esp, ebp
pop ebp
ret