joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006a10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov eax, edx
mov dword [ebp - 8], ecx
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push eax
push ecx
push str.GetVehicleVelocity__d___f___f___f_
call fcn.100034d0
mov esi, dword [0x100595d4]
add esp, 0x14
test esi, esi
je 0x10006a68
cmp esi, fcn.100041f0
jne 0x10006a74
push str.SAMGDK_NATIVE_SEARCH_ALWAYS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10006a74
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10006a74
mov ecx, str.GetVehicleVelocity
call fcn.10004200
mov esi, eax
mov ecx, dword [0x100595f8]
mov eax, dword [0x10059688]
shl eax, 2
mov dword [0x100595d4], esi
lea ebx, [ecx + 4]
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x10006aaf
lea ecx, [ebx + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10006aaf
mov eax, dword [ebp - 0x10]
mov ebx, dword [0x100595f8]
mov dword [ebp - 4], eax
jmp 0x10006ab5
mov dword [0x100595f8], ebx
mov eax, dword [0x10059688]
lea edi, [ebx + 4]
shl eax, 2
cmp edi, eax
jl 0x10006ade
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10006ade
mov ebx, dword [ebp - 0x14]
mov edi, dword [0x100595f8]
jmp 0x10006ae4
mov dword [0x100595f8], edi
mov eax, dword [0x10059688]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x10006b07
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10006b07
mov edi, dword [ebp - 0x18]
jmp 0x10006b0d
mov dword [0x100595f8], esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 0x100595e0
mov dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
call dword [0x100595d4]
mov edx, dword [ebp - 4]
mov esi, eax
mov ecx, dword [0x10059680]
add esp, 8
mov eax, dword [ebp - 0xc]
shr edx, 2
imul edx, dword [0x1005968c]
mov ecx, dword [edx + ecx]
mov dword [eax], ecx
mov ecx, ebx
mov eax, dword [0x10059680]
shr ecx, 2
imul ecx, dword [0x1005968c]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, edi
mov eax, dword [0x10059680]
shr ecx, 2
imul ecx, dword [0x1005968c]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [0x100595f8]
cmp eax, edi
cmovg eax, edi
cmp eax, ebx
pop edi
cmovg eax, ebx
cmp eax, dword [ebp - 4]
cmovg eax, dword [ebp - 4]
mov dword [0x100595f8], eax
xor eax, eax
test esi, esi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006bb0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov eax, edx
mov dword [ebp - 8], ecx
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push eax
push ecx
push str.GetObjectPos__d___f___f___f_
call fcn.100034d0
mov esi, dword [0x10059514]
add esp, 0x14
test esi, esi
je 0x10006c08
cmp esi, fcn.100041f0
jne 0x10006c14
push str.SAMGDK_NATIVE_SEARCH_ALWAYS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10006c14
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10006c14
mov ecx, str.GetObjectPos
call fcn.10004200
mov esi, eax
mov ecx, dword [0x100595f8]
mov eax, dword [0x10059688]
shl eax, 2
mov dword [0x10059514], esi
lea ebx, [ecx + 4]
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x10006c4f
lea ecx, [ebx + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10006c4f
mov eax, dword [ebp - 0x10]
mov ebx, dword [0x100595f8]
mov dword [ebp - 4], eax
jmp 0x10006c55
mov dword [0x100595f8], ebx
mov eax, dword [0x10059688]
lea edi, [ebx + 4]
shl eax, 2
cmp edi, eax
jl 0x10006c7e
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10006c7e
mov ebx, dword [ebp - 0x14]
mov edi, dword [0x100595f8]
jmp 0x10006c84
mov dword [0x100595f8], edi
mov eax, dword [0x10059688]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x10006ca7
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10006ca7
mov edi, dword [ebp - 0x18]
jmp 0x10006cad
mov dword [0x100595f8], esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 0x100595e0
mov dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
call dword [0x10059514]
mov edx, dword [ebp - 4]
mov esi, eax
mov ecx, dword [0x10059680]
add esp, 8
mov eax, dword [ebp - 0xc]
shr edx, 2
imul edx, dword [0x1005968c]
mov ecx, dword [edx + ecx]
mov dword [eax], ecx
mov ecx, ebx
mov eax, dword [0x10059680]
shr ecx, 2
imul ecx, dword [0x1005968c]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, edi
mov eax, dword [0x10059680]
shr ecx, 2
imul ecx, dword [0x1005968c]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [0x100595f8]
cmp eax, edi
cmovg eax, edi
cmp eax, ebx
pop edi
cmovg eax, ebx
cmp eax, dword [ebp - 4]
cmovg eax, dword [ebp - 4]
mov dword [0x100595f8], eax
xor eax, eax
test esi, esi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006d50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov eax, edx
mov dword [ebp - 8], ecx
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push eax
push ecx
push str.GetObjectRot__d___f___f___f_
call fcn.100034d0
mov esi, dword [0x10059690]
add esp, 0x14
test esi, esi
je 0x10006da8
cmp esi, fcn.100041f0
jne 0x10006db4
push str.SAMGDK_NATIVE_SEARCH_ALWAYS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10006db4
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10006db4
mov ecx, str.GetObjectRot
call fcn.10004200
mov esi, eax
mov ecx, dword [0x100595f8]
mov eax, dword [0x10059688]
shl eax, 2
mov dword [0x10059690], esi
lea ebx, [ecx + 4]
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x10006def
lea ecx, [ebx + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10006def
mov eax, dword [ebp - 0x10]
mov ebx, dword [0x100595f8]
mov dword [ebp - 4], eax
jmp 0x10006df5
mov dword [0x100595f8], ebx
mov eax, dword [0x10059688]
lea edi, [ebx + 4]
shl eax, 2
cmp edi, eax
jl 0x10006e1e
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10006e1e
mov ebx, dword [ebp - 0x14]
mov edi, dword [0x100595f8]
jmp 0x10006e24
mov dword [0x100595f8], edi
mov eax, dword [0x10059688]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x10006e47
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10006e47
mov edi, dword [ebp - 0x18]
jmp 0x10006e4d
mov dword [0x100595f8], esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 0x100595e0
mov dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
call dword [0x10059690]
mov edx, dword [ebp - 4]
mov esi, eax
mov ecx, dword [0x10059680]
add esp, 8
mov eax, dword [ebp - 0xc]
shr edx, 2
imul edx, dword [0x1005968c]
mov ecx, dword [edx + ecx]
mov dword [eax], ecx
mov ecx, ebx
mov eax, dword [0x10059680]
shr ecx, 2
imul ecx, dword [0x1005968c]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, edi
mov eax, dword [0x10059680]
shr ecx, 2
imul ecx, dword [0x1005968c]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [0x100595f8]
cmp eax, edi
cmovg eax, edi
cmp eax, ebx
pop edi
cmovg eax, ebx
cmp eax, dword [ebp - 4]
cmovg eax, dword [ebp - 4]
mov dword [0x100595f8], eax
xor eax, eax
test esi, esi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006ef0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
push str.EditPlayerObject__d___d_
call fcn.100034d0
mov esi, dword [0x100596b4]
add esp, 0xc
test esi, esi
je 0x10006f3e
cmp esi, fcn.100041f0
jne 0x10006f4a
push str.SAMGDK_NATIVE_SEARCH_ALWAYS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10006f4a
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10006f4a
mov ecx, str.EditPlayerObject
call fcn.10004200
mov esi, eax
lea eax, [ebp - 0xc]
mov dword [0x100596b4], esi
push eax
push 0x100595e0
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
call esi
add esp, 8
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006f80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
movss xmm0, dword [ebp + 0x18]
cvtps2pd xmm0, xmm0
push ebx
push esi
push edi
sub esp, 0x38
mov edi, edx
mov ebx, ecx
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x48], xmm2
movsd qword [esp + 0x30], xmm0
movss xmm0, dword [ebp + 0x14]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x28], xmm0
movss xmm0, dword [ebp + 0x10]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
movss xmm0, dword [ebp + 0xc]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [ebp + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm3
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movsd qword [esp], xmm0
push edi
push ebx
push str.CreatePlayerObject__d___d___f___f___f___f___f___f___f_
call fcn.100034d0
mov esi, dword [0x100595dc]
add esp, 0x44
test esi, esi
je 0x1000703f
cmp esi, fcn.100041f0
jne 0x1000704b
push str.SAMGDK_NATIVE_SEARCH_ALWAYS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x1000704b
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x1000704b
mov ecx, str.CreatePlayerObject
call fcn.10004200
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x18]
push eax
push 0x100595e0
mov dword [0x100595dc], esi
mov dword [esp + 0x20], 0x24
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
call esi
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100070b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
movss xmm0, dword [ebp + 0x1c]
cvtps2pd xmm0, xmm0
push ebx
push esi
push edi
sub esp, 0x30
mov edi, edx
mov ebx, ecx
movss dword [esp + 0x44], xmm3
movsd qword [esp + 0x28], xmm0
movss xmm0, dword [ebp + 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
movss xmm0, dword [ebp + 0x14]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [ebp + 0x10]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebp + 0xc]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm3
movsd qword [esp], xmm0
push dword [ebp + 8]
push edi
push ebx
push str.AttachPlayerObjectToVehicle__d___d___d___f___f___f___f___f___f_
call fcn.100034d0
mov esi, dword [0x1005956c]
add esp, 0x40
test esi, esi
je 0x1000715f
cmp esi, fcn.100041f0
jne 0x1000716b
push str.SAMGDK_NATIVE_SEARCH_ALWAYS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x1000716b
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x1000716b
mov ecx, str.AttachPlayerObjectToVehicle
call fcn.10004200
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x18]
push eax
push 0x100595e0
mov dword [0x1005956c], esi
mov dword [esp + 0x20], 0x24
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
call esi
add esp, 8
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100071d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movss xmm0, dword [ebp + 8]
push ebx
push esi
cvtps2pd xmm0, xmm0
push edi
sub esp, 0x18
mov edi, edx
mov ebx, ecx
movss dword [ebp - 0xc], xmm3
movsd qword [esp + 0x10], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm3
movss dword [ebp - 8], xmm2
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movsd qword [esp], xmm0
push edi
push ebx
push str.SetPlayerObjectPos__d___d___f___f___f_
call fcn.100034d0
mov esi, dword [0x10059534]
add esp, 0x24
test esi, esi
je 0x10007252
cmp esi, fcn.100041f0
jne 0x1000725e
push str.SAMGDK_NATIVE_SEARCH_ALWAYS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x1000725e
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x1000725e
mov ecx, str.SetPlayerObjectPos
call fcn.10004200
mov esi, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
push 0x100595e0
mov dword [0x10059534], esi
mov dword [ebp - 0x24], 0x14
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
call esi
add esp, 8
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100072a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov eax, edx
mov dword [ebp - 8], ecx
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
push eax
push ecx
push str.GetPlayerObjectPos__d___d___f___f___f_
call fcn.100034d0
mov esi, dword [0x1005957c]
add esp, 0x18
test esi, esi
je 0x100072fb
cmp esi, fcn.100041f0
jne 0x10007307
push str.SAMGDK_NATIVE_SEARCH_ALWAYS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10007307
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10007307
mov ecx, str.GetPlayerObjectPos
call fcn.10004200
mov esi, eax
mov ecx, dword [0x100595f8]
mov eax, dword [0x10059688]
shl eax, 2
mov dword [0x1005957c], esi
lea ebx, [ecx + 4]
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x10007342
lea ecx, [ebx + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10007342
mov eax, dword [ebp - 0x10]
mov ebx, dword [0x100595f8]
mov dword [ebp - 4], eax
jmp 0x10007348
mov dword [0x100595f8], ebx
mov eax, dword [0x10059688]
lea edi, [ebx + 4]
shl eax, 2
cmp edi, eax
jl 0x10007371
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10007371
mov ebx, dword [ebp - 0x14]
mov edi, dword [0x100595f8]
jmp 0x10007377
mov dword [0x100595f8], edi
mov eax, dword [0x10059688]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x1000739a
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x1000739a
mov edi, dword [ebp - 0x18]
jmp 0x100073a0
mov dword [0x100595f8], esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
push 0x100595e0
mov dword [ebp - 0x30], 0x14
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
call dword [0x1005957c]
mov edx, dword [ebp - 4]
mov esi, eax
mov ecx, dword [0x10059680]
add esp, 8
mov eax, dword [ebp + 8]
shr edx, 2
imul edx, dword [0x1005968c]
mov ecx, dword [edx + ecx]
mov dword [eax], ecx
mov ecx, ebx
mov eax, dword [0x10059680]
shr ecx, 2
imul ecx, dword [0x1005968c]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, edi
mov eax, dword [0x10059680]
shr ecx, 2
imul ecx, dword [0x1005968c]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [0x100595f8]
cmp eax, edi
cmovg eax, edi
cmp eax, ebx
pop edi
cmovg eax, ebx
cmp eax, dword [ebp - 4]
cmovg eax, dword [ebp - 4]
mov dword [0x100595f8], eax
xor eax, eax
test esi, esi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007450
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movss xmm0, dword [ebp + 8]
push ebx
push esi
cvtps2pd xmm0, xmm0
push edi
sub esp, 0x18
mov edi, edx
mov ebx, ecx
movss dword [ebp - 0xc], xmm3
movsd qword [esp + 0x10], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm3
movss dword [ebp - 8], xmm2
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movsd qword [esp], xmm0
push edi
push ebx
push str.SetPlayerObjectRot__d___d___f___f___f_
call fcn.100034d0
mov esi, dword [0x1005953c]
add esp, 0x24
test esi, esi
je 0x100074d2
cmp esi, fcn.100041f0
jne 0x100074de
push str.SAMGDK_NATIVE_SEARCH_ALWAYS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x100074de
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x100074de
mov ecx, str.SetPlayerObjectRot
call fcn.10004200
mov esi, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
push 0x100595e0
mov dword [0x1005953c], esi
mov dword [ebp - 0x24], 0x14
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
call esi
add esp, 8
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007520
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov eax, edx
mov dword [ebp - 8], ecx
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
push eax
push ecx
push str.GetPlayerObjectRot__d___d___f___f___f_
call fcn.100034d0
mov esi, dword [0x10059548]
add esp, 0x18
test esi, esi
je 0x1000757b
cmp esi, fcn.100041f0
jne 0x10007587
push str.SAMGDK_NATIVE_SEARCH_ALWAYS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10007587
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10007587
mov ecx, str.GetPlayerObjectRot
call fcn.10004200
mov esi, eax
mov ecx, dword [0x100595f8]
mov eax, dword [0x10059688]
shl eax, 2
mov dword [0x10059548], esi
lea ebx, [ecx + 4]
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x100075c2
lea ecx, [ebx + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x100075c2
mov eax, dword [ebp - 0x10]
mov ebx, dword [0x100595f8]
mov dword [ebp - 4], eax
jmp 0x100075c8
mov dword [0x100595f8], ebx
mov eax, dword [0x10059688]
lea edi, [ebx + 4]
shl eax, 2
cmp edi, eax
jl 0x100075f1
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x100075f1
mov ebx, dword [ebp - 0x14]
mov edi, dword [0x100595f8]
jmp 0x100075f7
mov dword [0x100595f8], edi
mov eax, dword [0x10059688]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x1000761a
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x1000761a
mov edi, dword [ebp - 0x18]
jmp 0x10007620
mov dword [0x100595f8], esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
push 0x100595e0
mov dword [ebp - 0x30], 0x14
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
call dword [0x10059548]
mov edx, dword [ebp - 4]
mov esi, eax
mov ecx, dword [0x10059680]
add esp, 8
mov eax, dword [ebp + 8]
shr edx, 2
imul edx, dword [0x1005968c]
mov ecx, dword [edx + ecx]
mov dword [eax], ecx
mov ecx, ebx
mov eax, dword [0x10059680]
shr ecx, 2
imul ecx, dword [0x1005968c]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, edi
mov eax, dword [0x10059680]
shr ecx, 2
imul ecx, dword [0x1005968c]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [0x100595f8]
cmp eax, edi
cmovg eax, edi
cmp eax, ebx
pop edi
cmovg eax, ebx
cmp eax, dword [ebp - 4]
cmovg eax, dword [ebp - 4]
mov dword [0x100595f8], eax
xor eax, eax
test esi, esi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100076d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
movss xmm0, dword [ebp + 0x18]
cvtps2pd xmm0, xmm0
push ebx
push esi
push edi
sub esp, 0x38
mov edi, edx
mov ebx, ecx
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x48], xmm2
movsd qword [esp + 0x30], xmm0
movss xmm0, dword [ebp + 0x14]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x28], xmm0
movss xmm0, dword [ebp + 0x10]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
movss xmm0, dword [ebp + 0xc]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [ebp + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm3
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movsd qword [esp], xmm0
push edi
push ebx
push str.MovePlayerObject__d___d___f___f___f___f___f___f___f_
call fcn.100034d0
mov esi, dword [0x100595b0]
add esp, 0x44
test esi, esi
je 0x1000778f
cmp esi, fcn.100041f0
jne 0x1000779b
push str.SAMGDK_NATIVE_SEARCH_ALWAYS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x1000779b
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x1000779b
mov ecx, str.MovePlayerObject
call fcn.10004200
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x18]
push eax
push 0x100595e0
mov dword [0x100595b0], esi
mov dword [esp + 0x20], 0x24
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
call esi
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret