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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 8], edx
push dword [ebp + 8]
mov dword [ebp - 4], eax
push edx
push eax
push str.GetPlayerVelocity__d___f___f___f_
call fcn.10002ef0
mov esi, dword [0x100421cc]
add esp, 0x14
test esi, esi
je 0x10004b08
cmp esi, fcn.10003af0
jne 0x10004b14
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 0x10004b14
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10004b14
mov ecx, str.GetPlayerVelocity
call fcn.10003b00
mov esi, eax
mov ebx, dword [0x10042290]
mov eax, dword [0x10042320]
shl eax, 2
mov dword [0x100421cc], esi
lea edi, [ebx + 4]
cmp edi, eax
jl 0x10004b49
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10004b49
mov ebx, dword [ebp - 0xc]
mov edi, dword [0x10042290]
jmp 0x10004b4f
mov dword [0x10042290], edi
mov eax, dword [0x10042320]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x10004b78
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10004b78
mov edi, dword [ebp - 0x10]
mov esi, dword [0x10042290]
jmp 0x10004b7e
mov dword [0x10042290], esi
mov eax, dword [0x10042320]
lea ecx, [esi + 4]
shl eax, 2
cmp ecx, eax
jl 0x10004ba4
add ecx, 0x40
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10004ba1
mov esi, dword [ebp - 0x14]
jmp 0x10004baa
lea ecx, [esi + 4]
mov dword [0x10042290], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0x10042278
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
call dword [0x100421cc]
mov ecx, ebx
add esp, 8
shr ecx, 2
mov edx, eax
test ecx, ecx
jns 0x10004be3
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov ecx, edi
shr ecx, 2
test ecx, ecx
jns 0x10004c06
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, esi
shr ecx, 2
test ecx, ecx
jns 0x10004c29
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [0x10042290]
cmp eax, esi
cmovg eax, esi
cmp eax, edi
cmovg eax, edi
cmp eax, ebx
pop edi
cmovg eax, ebx
mov dword [0x10042290], eax
xor eax, eax
test edx, edx
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004c70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
push edi
push str.GetPlayerVehicleID__d_
call fcn.10002ef0
mov esi, dword [0x1004233c]
add esp, 8
test esi, esi
je 0x10004cba
cmp esi, fcn.10003af0
jne 0x10004cc6
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 0x10004cc6
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10004cc6
mov ecx, str.GetPlayerVehicleID
call fcn.10003b00
mov esi, eax
lea eax, [ebp - 8]
mov dword [0x1004233c], esi
push eax
push 0x10042278
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 0x10004cf0
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.SetPlayerCheckpoint__d___f___f___f___f_
call fcn.10002ef0
mov esi, dword [0x100421b4]
add esp, 0x28
test esi, esi
je 0x10004d86
cmp esi, fcn.10003af0
jne 0x10004d92
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 0x10004d92
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10004d92
mov ecx, str.SetPlayerCheckpoint
call fcn.10003b00
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 0x10042278
mov dword [0x100421b4], esi
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x34], 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 0x10004de0
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.10002ef0
mov esi, dword [0x10042220]
add esp, 8
test esi, esi
je 0x10004e2a
cmp esi, fcn.10003af0
jne 0x10004e36
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 0x10004e36
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10004e36
mov ecx, str.DisablePlayerCheckpoint
call fcn.10003b00
mov esi, eax
lea eax, [ebp - 8]
mov dword [0x10042220], esi
push eax
push 0x10042278
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 0x10004e60
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.SetPlayerRaceCheckpoint__d___d___f___f___f___f___f___f___f_
call fcn.10002ef0
mov esi, dword [0x1004225c]
add esp, 0x44
test esi, esi
je 0x10004f1f
cmp esi, fcn.10003af0
jne 0x10004f2b
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 0x10004f2b
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10004f2b
mov ecx, str.SetPlayerRaceCheckpoint
call fcn.10003b00
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 0x10042278
mov dword [0x1004225c], 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 0x10004f90
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.10002ef0
mov esi, dword [0x10042344]
add esp, 8
test esi, esi
je 0x10004fda
cmp esi, fcn.10003af0
jne 0x10004fe6
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 0x10004fe6
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10004fe6
mov ecx, str.DisablePlayerRaceCheckpoint
call fcn.10003b00
mov esi, eax
lea eax, [ebp - 8]
mov dword [0x10042344], esi
push eax
push 0x10042278
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 0x10005010
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.10002ef0
mov esi, dword [0x100421f0]
add esp, 0x30
test esi, esi
je 0x100050a0
cmp esi, fcn.10003af0
jne 0x100050ac
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 0x100050ac
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x100050ac
mov ecx, str.SetPlayerMapIcon
call fcn.10003b00
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 0x10042278
mov dword [0x100421f0], 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 0x10005110
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 8], edx
push dword [ebp + 8]
mov dword [ebp - 4], eax
push edx
push eax
push str.GetPlayerCameraPos__d___f___f___f_
call fcn.10002ef0
mov esi, dword [0x100421f8]
add esp, 0x14
test esi, esi
je 0x10005168
cmp esi, fcn.10003af0
jne 0x10005174
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 0x10005174
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005174
mov ecx, str.GetPlayerCameraPos
call fcn.10003b00
mov esi, eax
mov ebx, dword [0x10042290]
mov eax, dword [0x10042320]
shl eax, 2
mov dword [0x100421f8], esi
lea edi, [ebx + 4]
cmp edi, eax
jl 0x100051a9
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x100051a9
mov ebx, dword [ebp - 0xc]
mov edi, dword [0x10042290]
jmp 0x100051af
mov dword [0x10042290], edi
mov eax, dword [0x10042320]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x100051d8
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x100051d8
mov edi, dword [ebp - 0x10]
mov esi, dword [0x10042290]
jmp 0x100051de
mov dword [0x10042290], esi
mov eax, dword [0x10042320]
lea ecx, [esi + 4]
shl eax, 2
cmp ecx, eax
jl 0x10005204
add ecx, 0x40
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10005201
mov esi, dword [ebp - 0x14]
jmp 0x1000520a
lea ecx, [esi + 4]
mov dword [0x10042290], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0x10042278
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
call dword [0x100421f8]
mov ecx, ebx
add esp, 8
shr ecx, 2
mov edx, eax
test ecx, ecx
jns 0x10005243
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov ecx, edi
shr ecx, 2
test ecx, ecx
jns 0x10005266
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, esi
shr ecx, 2
test ecx, ecx
jns 0x10005289
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [0x10042290]
cmp eax, esi
cmovg eax, esi
cmp eax, edi
cmovg eax, edi
cmp eax, ebx
pop edi
cmovg eax, ebx
mov dword [0x10042290], eax
xor eax, eax
test edx, edx
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100052d0
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.10002ef0
mov esi, dword [0x10042214]
add esp, 0xc
test esi, esi
je 0x1000531e
cmp esi, fcn.10003af0
jne 0x1000532a
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 0x1000532a
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x1000532a
mov ecx, str.AttachCameraToPlayerObject
call fcn.10003b00
mov esi, eax
lea eax, [ebp - 0xc]
mov dword [0x10042214], esi
push eax
push 0x10042278
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 0x10005360
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.10002ef0
mov esi, dword [0x10042224]
add esp, 8
test esi, esi
je 0x100053aa
cmp esi, fcn.10003af0
jne 0x100053b6
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 0x100053b6
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x100053b6
mov ecx, str.GetPlayerVirtualWorld
call fcn.10003b00
mov esi, eax
lea eax, [ebp - 8]
mov dword [0x10042224], esi
push eax
push 0x10042278
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 0x10005450
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 8], edx
push dword [ebp + 8]
mov dword [ebp - 4], eax
push edx
push eax
push str.GetVehiclePos__d___f___f___f_
call fcn.10002ef0
mov esi, dword [0x100421a8]
add esp, 0x14
test esi, esi
je 0x100054a8
cmp esi, fcn.10003af0
jne 0x100054b4
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 0x100054b4
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x100054b4
mov ecx, str.GetVehiclePos
call fcn.10003b00
mov esi, eax
mov ebx, dword [0x10042290]
mov eax, dword [0x10042320]
shl eax, 2
mov dword [0x100421a8], esi
lea edi, [ebx + 4]
cmp edi, eax
jl 0x100054e9
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x100054e9
mov ebx, dword [ebp - 0xc]
mov edi, dword [0x10042290]
jmp 0x100054ef
mov dword [0x10042290], edi
mov eax, dword [0x10042320]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x10005518
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10005518
mov edi, dword [ebp - 0x10]
mov esi, dword [0x10042290]
jmp 0x1000551e
mov dword [0x10042290], esi
mov eax, dword [0x10042320]
lea ecx, [esi + 4]
shl eax, 2
cmp ecx, eax
jl 0x10005544
add ecx, 0x40
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10005541
mov esi, dword [ebp - 0x14]
jmp 0x1000554a
lea ecx, [esi + 4]
mov dword [0x10042290], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0x10042278
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
call dword [0x100421a8]
mov ecx, ebx
add esp, 8
shr ecx, 2
mov edx, eax
test ecx, ecx
jns 0x10005583
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov ecx, edi
shr ecx, 2
test ecx, ecx
jns 0x100055a6
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, esi
shr ecx, 2
test ecx, ecx
jns 0x100055c9
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [0x10042290]
cmp eax, esi
cmovg eax, esi
cmp eax, edi
cmovg eax, edi
cmp eax, ebx
pop edi
cmovg eax, ebx
mov dword [0x10042290], eax
xor eax, eax
test edx, edx
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005610
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov eax, edx
mov ebx, ecx
push eax
push ebx
push str.GetVehicleZAngle__d___f_
mov dword [ebp - 4], eax
call fcn.10002ef0
mov esi, dword [0x100421c4]
add esp, 0xc
test esi, esi
je 0x10005661
cmp esi, fcn.10003af0
jne 0x1000566d
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 0x1000566d
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x1000566d
mov ecx, str.GetVehicleZAngle
call fcn.10003b00
mov esi, eax
mov eax, dword [0x10042320]
mov dword [0x100421c4], esi
mov esi, dword [0x10042290]
shl eax, 2
lea edi, [esi + 4]
cmp edi, eax
jl 0x1000569c
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x1000569c
mov esi, dword [ebp - 8]
jmp 0x100056a2
mov dword [0x10042290], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 8
push eax
push 0x10042278
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], esi
call dword [0x100421c4]
mov edx, esi
add esp, 8
shr edx, 2
mov edi, eax
test edx, edx
jns 0x100056d2
add edx, dword [0x1004231c]
mov ecx, dword [0x10042324]
mov eax, dword [0x10042318]
imul ecx, edx
mov eax, dword [ecx + eax]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [0x10042290]
cmp eax, esi
cmovg eax, esi
mov dword [0x10042290], eax
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005930
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 8], edx
push dword [ebp + 8]
mov dword [ebp - 4], eax
push edx
push eax
push str.GetVehicleVelocity__d___f___f___f_
call fcn.10002ef0
mov esi, dword [0x1004226c]
add esp, 0x14
test esi, esi
je 0x10005988
cmp esi, fcn.10003af0
jne 0x10005994
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 0x10005994
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005994
mov ecx, str.GetVehicleVelocity
call fcn.10003b00
mov esi, eax
mov ebx, dword [0x10042290]
mov eax, dword [0x10042320]
shl eax, 2
mov dword [0x1004226c], esi
lea edi, [ebx + 4]
cmp edi, eax
jl 0x100059c9
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x100059c9
mov ebx, dword [ebp - 0xc]
mov edi, dword [0x10042290]
jmp 0x100059cf
mov dword [0x10042290], edi
mov eax, dword [0x10042320]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x100059f8
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x100059f8
mov edi, dword [ebp - 0x10]
mov esi, dword [0x10042290]
jmp 0x100059fe
mov dword [0x10042290], esi
mov eax, dword [0x10042320]
lea ecx, [esi + 4]
shl eax, 2
cmp ecx, eax
jl 0x10005a24
add ecx, 0x40
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10005a21
mov esi, dword [ebp - 0x14]
jmp 0x10005a2a
lea ecx, [esi + 4]
mov dword [0x10042290], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0x10042278
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
call dword [0x1004226c]
mov ecx, ebx
add esp, 8
shr ecx, 2
mov edx, eax
test ecx, ecx
jns 0x10005a63
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov ecx, edi
shr ecx, 2
test ecx, ecx
jns 0x10005a86
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, esi
shr ecx, 2
test ecx, ecx
jns 0x10005aa9
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [0x10042290]
cmp eax, esi
cmovg eax, esi
cmp eax, edi
cmovg eax, edi
cmp eax, ebx
pop edi
cmovg eax, ebx
mov dword [0x10042290], eax
xor eax, eax
test edx, edx
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005af0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 8], edx
push dword [ebp + 8]
mov dword [ebp - 4], eax
push edx
push eax
push str.GetObjectPos__d___f___f___f_
call fcn.10002ef0
mov esi, dword [0x100421d0]
add esp, 0x14
test esi, esi
je 0x10005b48
cmp esi, fcn.10003af0
jne 0x10005b54
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 0x10005b54
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005b54
mov ecx, str.GetObjectPos
call fcn.10003b00
mov esi, eax
mov ebx, dword [0x10042290]
mov eax, dword [0x10042320]
shl eax, 2
mov dword [0x100421d0], esi
lea edi, [ebx + 4]
cmp edi, eax
jl 0x10005b89
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10005b89
mov ebx, dword [ebp - 0xc]
mov edi, dword [0x10042290]
jmp 0x10005b8f
mov dword [0x10042290], edi
mov eax, dword [0x10042320]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x10005bb8
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10005bb8
mov edi, dword [ebp - 0x10]
mov esi, dword [0x10042290]
jmp 0x10005bbe
mov dword [0x10042290], esi
mov eax, dword [0x10042320]
lea ecx, [esi + 4]
shl eax, 2
cmp ecx, eax
jl 0x10005be4
add ecx, 0x40
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10005be1
mov esi, dword [ebp - 0x14]
jmp 0x10005bea
lea ecx, [esi + 4]
mov dword [0x10042290], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0x10042278
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
call dword [0x100421d0]
mov ecx, ebx
add esp, 8
shr ecx, 2
mov edx, eax
test ecx, ecx
jns 0x10005c23
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov ecx, edi
shr ecx, 2
test ecx, ecx
jns 0x10005c46
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, esi
shr ecx, 2
test ecx, ecx
jns 0x10005c69
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [0x10042290]
cmp eax, esi
cmovg eax, esi
cmp eax, edi
cmovg eax, edi
cmp eax, ebx
pop edi
cmovg eax, ebx
mov dword [0x10042290], eax
xor eax, eax
test edx, edx
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret