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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
push edi
push str.DisablePlayerCheckpoint__d_
call fcn.100034d0
mov esi, dword [0x10059570]
add esp, 8
test esi, esi
je 0x1000569a
cmp esi, fcn.100041f0
jne 0x100056a6
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 0x100056a6
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x100056a6
mov ecx, str.DisablePlayerCheckpoint
call fcn.10004200
mov esi, eax
lea eax, [ebp - 8]
mov dword [0x10059570], esi
push eax
push 0x100595e0
mov dword [ebp - 8], 4
mov dword [ebp - 4], edi
call esi
add esp, 8
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100056d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
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 [ebp - 0xc], xmm3
movss dword [ebp - 8], 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.SetPlayerRaceCheckpoint__d___d___f___f___f___f___f___f___f_
call fcn.100034d0
mov esi, dword [0x100595b8]
add esp, 0x44
test esi, esi
je 0x1000578a
cmp esi, fcn.100041f0
jne 0x10005796
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 0x10005796
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005796
mov ecx, str.SetPlayerRaceCheckpoint
call fcn.10004200
mov esi, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
push 0x100595e0
mov dword [0x100595b8], esi
mov dword [ebp - 0x34], 0x24
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 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 0x100057f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
push edi
push str.DisablePlayerRaceCheckpoint__d_
call fcn.100034d0
mov esi, dword [0x100596b8]
add esp, 8
test esi, esi
je 0x1000583a
cmp esi, fcn.100041f0
jne 0x10005846
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 0x10005846
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005846
mov ecx, str.DisablePlayerRaceCheckpoint
call fcn.10004200
mov esi, eax
lea eax, [ebp - 8]
mov dword [0x100596b8], esi
push eax
push 0x100595e0
mov dword [ebp - 8], 4
mov dword [ebp - 4], edi
call esi
add esp, 8
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10005870
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
movss xmm0, dword [ebp + 8]
push ebx
push esi
push edi
push dword [ebp + 0x14]
cvtps2pd xmm0, xmm0
mov edi, edx
mov ebx, ecx
push dword [ebp + 0x10]
movss dword [esp + 0x20], xmm3
push dword [ebp + 0xc]
movss dword [esp + 0x20], xmm2
sub esp, 0x18
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.SetPlayerMapIcon__d___d___f___f___f___d___d___d_
call fcn.100034d0
mov esi, dword [0x10059538]
add esp, 0x30
test esi, esi
je 0x10005900
cmp esi, fcn.100041f0
jne 0x1000590c
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 0x1000590c
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x1000590c
mov ecx, str.SetPlayerMapIcon
call fcn.10004200
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x1c]
push eax
push 0x100595e0
mov dword [0x10059538], esi
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 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 0x10005970
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.GetPlayerCameraPos__d___f___f___f_
call fcn.100034d0
mov esi, dword [0x10059544]
add esp, 0x14
test esi, esi
je 0x100059c8
cmp esi, fcn.100041f0
jne 0x100059d4
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 0x100059d4
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x100059d4
mov ecx, str.GetPlayerCameraPos
call fcn.10004200
mov esi, eax
mov ecx, dword [0x100595f8]
mov eax, dword [0x10059688]
shl eax, 2
mov dword [0x10059544], esi
lea ebx, [ecx + 4]
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x10005a0f
lea ecx, [ebx + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10005a0f
mov eax, dword [ebp - 0x10]
mov ebx, dword [0x100595f8]
mov dword [ebp - 4], eax
jmp 0x10005a15
mov dword [0x100595f8], ebx
mov eax, dword [0x10059688]
lea edi, [ebx + 4]
shl eax, 2
cmp edi, eax
jl 0x10005a3e
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10005a3e
mov ebx, dword [ebp - 0x14]
mov edi, dword [0x100595f8]
jmp 0x10005a44
mov dword [0x100595f8], edi
mov eax, dword [0x10059688]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x10005a67
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10005a67
mov edi, dword [ebp - 0x18]
jmp 0x10005a6d
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 [0x10059544]
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 0x10005b10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
push edi
push str.GetPlayerCameraTargetObject__d_
call fcn.100034d0
mov esi, dword [0x100594ec]
add esp, 8
test esi, esi
je 0x10005b5a
cmp esi, fcn.100041f0
jne 0x10005b66
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 0x10005b66
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005b66
mov ecx, str.GetPlayerCameraTargetObject
call fcn.10004200
mov esi, eax
lea eax, [ebp - 8]
mov dword [0x100594ec], esi
push eax
push 0x100595e0
mov dword [ebp - 8], 4
mov dword [ebp - 4], edi
call esi
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10005b90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
push edi
push str.GetPlayerCameraTargetActor__d_
call fcn.100034d0
mov esi, dword [0x100595cc]
add esp, 8
test esi, esi
je 0x10005bda
cmp esi, fcn.100041f0
jne 0x10005be6
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 0x10005be6
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005be6
mov ecx, str.GetPlayerCameraTargetActor
call fcn.10004200
mov esi, eax
lea eax, [ebp - 8]
mov dword [0x100595cc], esi
push eax
push 0x100595e0
mov dword [ebp - 8], 4
mov dword [ebp - 4], edi
call esi
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10005c10
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.AttachCameraToPlayerObject__d___d_
call fcn.100034d0
mov esi, dword [0x10059564]
add esp, 0xc
test esi, esi
je 0x10005c5e
cmp esi, fcn.100041f0
jne 0x10005c6a
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 0x10005c6a
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005c6a
mov ecx, str.AttachCameraToPlayerObject
call fcn.10004200
mov esi, eax
lea eax, [ebp - 0xc]
mov dword [0x10059564], 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 0x10005ca0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
push edi
push str.IsPlayerInAnyVehicle__d_
call fcn.100034d0
mov esi, dword [0x100596a0]
add esp, 8
test esi, esi
je 0x10005cea
cmp esi, fcn.100041f0
jne 0x10005cf6
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 0x10005cf6
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005cf6
mov ecx, str.IsPlayerInAnyVehicle
call fcn.10004200
mov esi, eax
lea eax, [ebp - 8]
mov dword [0x100596a0], esi
push eax
push 0x100595e0
mov dword [ebp - 8], 4
mov dword [ebp - 4], edi
call esi
add esp, 8
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10005d20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
push edi
push str.GetPlayerVirtualWorld__d_
call fcn.100034d0
mov esi, dword [0x10059574]
add esp, 8
test esi, esi
je 0x10005d6a
cmp esi, fcn.100041f0
jne 0x10005d76
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 0x10005d76
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005d76
mov ecx, str.GetPlayerVirtualWorld
call fcn.10004200
mov esi, eax
lea eax, [ebp - 8]
mov dword [0x10059574], esi
push eax
push 0x100595e0
mov dword [ebp - 8], 4
mov dword [ebp - 4], edi
call esi
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10005da0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
movss xmm0, dword [ebp + 8]
cvtps2pd xmm0, xmm0
push esi
push edi
sub esp, 0x20
mov edi, ecx
movss dword [esp + 0x44], xmm3
movsd qword [esp + 0x18], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm3
movss dword [esp + 0x40], xmm2
movsd qword [esp + 0x10], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movss dword [esp + 0x3c], xmm1
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movsd qword [esp], xmm0
push edi
push str.CreateActor__d___f___f___f___f_
call fcn.100034d0
mov esi, dword [0x100595bc]
add esp, 0x28
test esi, esi
je 0x10005e36
cmp esi, fcn.100041f0
jne 0x10005e42
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 0x10005e42
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005e42
mov ecx, str.CreateActor
call fcn.10004200
mov esi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
push eax
push 0x100595e0
mov dword [0x100595bc], esi
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x34], edi
call esi
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10005e90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
push edi
push str.DestroyActor__d_
call fcn.100034d0
mov esi, dword [0x10059560]
add esp, 8
test esi, esi
je 0x10005eda
cmp esi, fcn.100041f0
jne 0x10005ee6
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 0x10005ee6
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005ee6
mov ecx, str.DestroyActor
call fcn.10004200
mov esi, eax
lea eax, [ebp - 8]
mov dword [0x10059560], esi
push eax
push 0x100595e0
mov dword [ebp - 8], 4
mov dword [ebp - 4], edi
call esi
add esp, 8
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10005f10
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.IsActorStreamedIn__d___d_
call fcn.100034d0
mov esi, dword [0x100595ac]
add esp, 0xc
test esi, esi
je 0x10005f5e
cmp esi, fcn.100041f0
jne 0x10005f6a
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 0x10005f6a
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005f6a
mov ecx, str.IsActorStreamedIn
call fcn.10004200
mov esi, eax
lea eax, [ebp - 0xc]
mov dword [0x100595ac], 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 0x10005fc0
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.SetActorVirtualWorld__d___d_
call fcn.100034d0
mov esi, dword [0x10059530]
add esp, 0xc
test esi, esi
je 0x1000600e
cmp esi, fcn.100041f0
jne 0x1000601a
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 0x1000601a
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x1000601a
mov ecx, str.SetActorVirtualWorld
call fcn.10004200
mov esi, eax
lea eax, [ebp - 0xc]
mov dword [0x10059530], 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 0x10006260
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
push edi
push str.ClearActorAnimations__d_
call fcn.100034d0
mov esi, dword [0x10059698]
add esp, 8
test esi, esi
je 0x100062aa
cmp esi, fcn.100041f0
jne 0x100062b6
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 0x100062b6
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x100062b6
mov ecx, str.ClearActorAnimations
call fcn.10004200
mov esi, eax
lea eax, [ebp - 8]
mov dword [0x10059698], esi
push eax
push 0x100595e0
mov dword [ebp - 8], 4
mov dword [ebp - 4], edi
call esi
add esp, 8
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100062e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
xorps xmm0, xmm0
movss dword [esp + 0x20], xmm3
push esi
cvtss2sd xmm0, xmm3
push edi
sub esp, 0x18
mov edi, ecx
movss dword [esp + 0x3c], xmm2
movsd qword [esp + 0x10], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movss dword [esp + 0x38], xmm1
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movsd qword [esp], xmm0
push edi
push str.SetActorPos__d___f___f___f_
call fcn.100034d0
mov esi, dword [0x100596a4]
add esp, 0x20
test esi, esi
je 0x10006368
cmp esi, fcn.100041f0
jne 0x10006374
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 0x10006374
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10006374
mov ecx, str.SetActorPos
call fcn.10004200
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2c]
push eax
push 0x100595e0
mov dword [0x100596a4], esi
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x38], edi
call esi
add esp, 8
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100063c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
push esi
push edi
xorps xmm0, xmm0
movss dword [esp + 0x30], xmm1
cvtss2sd xmm0, xmm1
sub esp, 8
mov edi, ecx
movsd qword [esp], xmm0
push edi
push str.SetActorHealth__d___f_
call fcn.100034d0
mov esi, dword [0x100595a0]
add esp, 0x10
test esi, esi
je 0x10006422
cmp esi, fcn.100041f0
jne 0x1000642e
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 0x1000642e
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x1000642e
mov ecx, str.SetActorHealth
call fcn.10004200
mov esi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x34]
push eax
push 0x100595e0
mov dword [0x100595a0], esi
mov dword [esp + 0x3c], 8
mov dword [esp + 0x40], edi
call esi
add esp, 8
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10006470
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
movzx ebx, dl
mov edi, ecx
push ebx
push edi
push str.SetActorInvulnerable__d___d_
call fcn.100034d0
mov esi, dword [0x100594fc]
add esp, 0xc
test esi, esi
je 0x100064bf
cmp esi, fcn.100041f0
jne 0x100064cb
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 0x100064cb
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x100064cb
mov ecx, str.SetActorInvulnerable
call fcn.10004200
mov esi, eax
lea eax, [ebp - 0xc]
mov dword [0x100594fc], esi
push eax
push 0x100595e0
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
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 0x10006570
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.GetVehiclePos__d___f___f___f_
call fcn.100034d0
mov esi, dword [0x100594e4]
add esp, 0x14
test esi, esi
je 0x100065c8
cmp esi, fcn.100041f0
jne 0x100065d4
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 0x100065d4
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x100065d4
mov ecx, str.GetVehiclePos
call fcn.10004200
mov esi, eax
mov ecx, dword [0x100595f8]
mov eax, dword [0x10059688]
shl eax, 2
mov dword [0x100594e4], esi
lea ebx, [ecx + 4]
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x1000660f
lea ecx, [ebx + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x1000660f
mov eax, dword [ebp - 0x10]
mov ebx, dword [0x100595f8]
mov dword [ebp - 4], eax
jmp 0x10006615
mov dword [0x100595f8], ebx
mov eax, dword [0x10059688]
lea edi, [ebx + 4]
shl eax, 2
cmp edi, eax
jl 0x1000663e
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x1000663e
mov ebx, dword [ebp - 0x14]
mov edi, dword [0x100595f8]
jmp 0x10006644
mov dword [0x100595f8], edi
mov eax, dword [0x10059688]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x10006667
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x10006667
mov edi, dword [ebp - 0x18]
jmp 0x1000666d
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 [0x100594e4]
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 0x10006710
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, edx
mov eax, ecx
push ebx
push eax
push str.GetVehicleZAngle__d___f_
mov dword [ebp - 4], eax
call fcn.100034d0
mov esi, dword [0x10059508]
add esp, 0xc
test esi, esi
je 0x10006761
cmp esi, fcn.100041f0
jne 0x1000676d
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 0x1000676d
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x1000676d
mov ecx, str.GetVehicleZAngle
call fcn.10004200
mov esi, eax
mov edi, dword [0x100595f8]
mov eax, dword [0x10059688]
mov dword [0x10059508], esi
shl eax, 2
lea esi, [edi + 4]
cmp esi, eax
jl 0x1000679c
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.10003ec0
test eax, eax
jns 0x1000679c
mov edi, dword [ebp - 8]
jmp 0x100067a2
mov dword [0x100595f8], esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0x100595e0
mov dword [ebp - 0x14], 8
mov dword [ebp - 0xc], edi
call dword [0x10059508]
mov edx, dword [0x1005968c]
mov ecx, edi
shr ecx, 2
add esp, 8
imul edx, ecx
mov esi, eax
mov ecx, dword [0x10059680]
mov ecx, dword [edx + ecx]
mov dword [ebx], ecx
mov ecx, dword [0x100595f8]
cmp ecx, edi
cmovg ecx, edi
xor eax, eax
pop edi
test esi, esi
mov dword [0x100595f8], ecx
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret