joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005cb0
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.GetObjectRot__d___f___f___f_
call fcn.10002ef0
mov esi, dword [0x10042328]
add esp, 0x14
test esi, esi
je 0x10005d08
cmp esi, fcn.10003af0
jne 0x10005d14
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 0x10005d14
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005d14
mov ecx, str.GetObjectRot
call fcn.10003b00
mov esi, eax
mov ebx, dword [0x10042290]
mov eax, dword [0x10042320]
shl eax, 2
mov dword [0x10042328], esi
lea edi, [ebx + 4]
cmp edi, eax
jl 0x10005d49
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10005d49
mov ebx, dword [ebp - 0xc]
mov edi, dword [0x10042290]
jmp 0x10005d4f
mov dword [0x10042290], edi
mov eax, dword [0x10042320]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x10005d78
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10005d78
mov edi, dword [ebp - 0x10]
mov esi, dword [0x10042290]
jmp 0x10005d7e
mov dword [0x10042290], esi
mov eax, dword [0x10042320]
lea ecx, [esi + 4]
shl eax, 2
cmp ecx, eax
jl 0x10005da4
add ecx, 0x40
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10005da1
mov esi, dword [ebp - 0x14]
jmp 0x10005daa
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 [0x10042328]
mov ecx, ebx
add esp, 8
shr ecx, 2
mov edx, eax
test ecx, ecx
jns 0x10005de3
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 0x10005e06
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 0x10005e29
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 0x10005e70
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.10002ef0
mov esi, dword [0x10042340]
add esp, 0xc
test esi, esi
je 0x10005ebe
cmp esi, fcn.10003af0
jne 0x10005eca
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 0x10005eca
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005eca
mov ecx, str.EditPlayerObject
call fcn.10003b00
mov esi, eax
lea eax, [ebp - 0xc]
mov dword [0x10042340], 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 0x10005f00
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.10002ef0
mov esi, dword [0x10042274]
add esp, 0x44
test esi, esi
je 0x10005fbf
cmp esi, fcn.10003af0
jne 0x10005fcb
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 0x10005fcb
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10005fcb
mov ecx, str.CreatePlayerObject
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 [0x10042274], 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 0x10006030
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.10002ef0
mov esi, dword [0x1004221c]
add esp, 0x40
test esi, esi
je 0x100060df
cmp esi, fcn.10003af0
jne 0x100060eb
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 0x100060eb
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x100060eb
mov ecx, str.AttachPlayerObjectToVehicle
call fcn.10003b00
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 0x10042278
mov dword [0x1004221c], 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 0x10006150
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.10002ef0
mov esi, dword [0x100421ec]
add esp, 0x24
test esi, esi
je 0x100061d2
cmp esi, fcn.10003af0
jne 0x100061de
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 0x100061de
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x100061de
mov ecx, str.SetPlayerObjectPos
call fcn.10003b00
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 0x10042278
mov dword [0x100421ec], 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 0x10006220
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov eax, edx
mov dword [ebp - 4], ecx
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 8]
push eax
push ecx
push str.GetPlayerObjectPos__d___d___f___f___f_
call fcn.10002ef0
mov esi, dword [0x1004222c]
add esp, 0x18
test esi, esi
je 0x1000627b
cmp esi, fcn.10003af0
jne 0x10006287
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 0x10006287
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10006287
mov ecx, str.GetPlayerObjectPos
call fcn.10003b00
mov esi, eax
mov ebx, dword [0x10042290]
mov eax, dword [0x10042320]
shl eax, 2
mov dword [0x1004222c], esi
lea edi, [ebx + 4]
cmp edi, eax
jl 0x100062bc
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x100062bc
mov ebx, dword [ebp - 0xc]
mov edi, dword [0x10042290]
jmp 0x100062c2
mov dword [0x10042290], edi
mov eax, dword [0x10042320]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x100062eb
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x100062eb
mov edi, dword [ebp - 0x10]
mov esi, dword [0x10042290]
jmp 0x100062f1
mov dword [0x10042290], esi
mov eax, dword [0x10042320]
lea ecx, [esi + 4]
shl eax, 2
cmp ecx, eax
jl 0x10006317
add ecx, 0x40
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10006314
mov esi, dword [ebp - 0x14]
jmp 0x1000631d
lea ecx, [esi + 4]
mov dword [0x10042290], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 0x10042278
mov dword [ebp - 0x2c], 0x14
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
call dword [0x1004222c]
mov ecx, ebx
add esp, 8
shr ecx, 2
mov edx, eax
test ecx, ecx
jns 0x1000635c
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 0x1000637f
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 ecx, esi
shr ecx, 2
test ecx, ecx
jns 0x100063a2
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0x10]
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 0x100063e0
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.10002ef0
mov esi, dword [0x100421f4]
add esp, 0x24
test esi, esi
je 0x10006462
cmp esi, fcn.10003af0
jne 0x1000646e
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 0x1000646e
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x1000646e
mov ecx, str.SetPlayerObjectRot
call fcn.10003b00
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 0x10042278
mov dword [0x100421f4], 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 0x100064b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov eax, edx
mov dword [ebp - 4], ecx
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 8]
push eax
push ecx
push str.GetPlayerObjectRot__d___d___f___f___f_
call fcn.10002ef0
mov esi, dword [0x100421fc]
add esp, 0x18
test esi, esi
je 0x1000650b
cmp esi, fcn.10003af0
jne 0x10006517
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 0x10006517
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10006517
mov ecx, str.GetPlayerObjectRot
call fcn.10003b00
mov esi, eax
mov ebx, dword [0x10042290]
mov eax, dword [0x10042320]
shl eax, 2
mov dword [0x100421fc], esi
lea edi, [ebx + 4]
cmp edi, eax
jl 0x1000654c
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x1000654c
mov ebx, dword [ebp - 0xc]
mov edi, dword [0x10042290]
jmp 0x10006552
mov dword [0x10042290], edi
mov eax, dword [0x10042320]
lea esi, [edi + 4]
shl eax, 2
cmp esi, eax
jl 0x1000657b
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x1000657b
mov edi, dword [ebp - 0x10]
mov esi, dword [0x10042290]
jmp 0x10006581
mov dword [0x10042290], esi
mov eax, dword [0x10042320]
lea ecx, [esi + 4]
shl eax, 2
cmp ecx, eax
jl 0x100065a7
add ecx, 0x40
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x100065a4
mov esi, dword [ebp - 0x14]
jmp 0x100065ad
lea ecx, [esi + 4]
mov dword [0x10042290], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 0x10042278
mov dword [ebp - 0x2c], 0x14
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
call dword [0x100421fc]
mov ecx, ebx
add esp, 8
shr ecx, 2
mov edx, eax
test ecx, ecx
jns 0x100065ec
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 0x1000660f
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 ecx, esi
shr ecx, 2
test ecx, ecx
jns 0x10006632
add ecx, dword [0x1004231c]
imul ecx, dword [0x10042324]
mov eax, dword [0x10042318]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0x10]
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 0x10006670
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.10002ef0
mov esi, dword [0x10042254]
add esp, 0x44
test esi, esi
je 0x1000672f
cmp esi, fcn.10003af0
jne 0x1000673b
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 0x1000673b
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x1000673b
mov ecx, str.MovePlayerObject
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 [0x10042254], 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 0x100067a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
push dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
mov eax, edx
push dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push dword [ebp + 8]
push eax
push ecx
push str.SetPlayerObjectMaterial__d___d___d___d____s_____s____d_
call fcn.10002ef0
mov esi, dword [0x10042210]
add esp, 0x20
test esi, esi
je 0x10006802
cmp esi, fcn.10003af0
jne 0x1000680e
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 0x1000680e
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x1000680e
mov ecx, str.SetPlayerObjectMaterial
call fcn.10003b00
mov esi, eax
mov ecx, edi
mov dword [0x10042210], esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006820
mov ebx, dword [0x10042290]
sub ecx, edx
mov eax, dword [0x10042320]
shl eax, 2
lea edx, [ecx + 1]
lea esi, [ebx + edx*4]
mov dword [ebp - 4], edx
cmp esi, eax
jl 0x1000685b
lea ecx, [esi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x10006858
mov ebx, dword [ebp - 0x10]
jmp 0x10006895
mov edx, dword [ebp - 4]
mov ecx, ebx
mov dword [0x10042290], esi
shr ecx, 2
test ecx, ecx
jns 0x10006870
add ecx, dword [0x1004231c]
mov eax, dword [0x10042324]
push edx
imul eax, ecx
push 0
push 0
push edi
add eax, dword [0x10042318]
push eax
mov eax, dword [0x100423e8]
mov eax, dword [eax + 0x94]
call eax
add esp, 0x14
mov ecx, dword [ebp + 0x14]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100068a0
mov esi, dword [0x10042290]
sub ecx, edx
mov eax, dword [0x10042320]
shl eax, 2
lea edx, [ecx + 1]
lea edi, [esi + edx*4]
mov dword [ebp - 4], edx
cmp edi, eax
jl 0x100068db
lea ecx, [edi + 0x40]
shr ecx, 2
call fcn.100037c0
test eax, eax
jns 0x100068d8
mov esi, dword [ebp - 0x14]
jmp 0x10006917
mov edx, dword [ebp - 4]
mov ecx, esi
mov dword [0x10042290], edi
shr ecx, 2
test ecx, ecx
jns 0x100068f0
add ecx, dword [0x1004231c]
mov eax, dword [0x10042324]
push edx
imul eax, ecx
push 0
push 0
push dword [ebp + 0x14]
add eax, dword [0x10042318]
push eax
mov eax, dword [0x100423e8]
mov eax, dword [eax + 0x94]
call eax
add esp, 0x14
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], 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 + 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
push 0x10042278
mov dword [ebp - 0x34], 0x1c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], esi
call dword [0x10042210]
mov ecx, dword [0x10042290]
add esp, 8
cmp ecx, esi
mov edx, eax
cmovg ecx, esi
cmp ecx, ebx
pop edi
cmovg ecx, ebx
xor eax, eax
test edx, edx
mov dword [0x10042290], ecx
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006b80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movss xmm0, dword [ebp + 8]
push ebx
push esi
push edi
push dword [ebp + 0xc]
cvtps2pd xmm0, xmm0
sub esp, 0x18
mov edi, edx
mov ebx, ecx
movss dword [ebp - 8], xmm3
movsd qword [esp + 0x10], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm3
movss dword [ebp - 4], xmm2
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movsd qword [esp], xmm0
push edi
push ebx
push str.CreatePickup__d___d___f___f___f___d_
call fcn.10002ef0
mov esi, dword [0x100421c8]
add esp, 0x28
test esi, esi
je 0x10006c05
cmp esi, fcn.10003af0
jne 0x10006c11
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 0x10006c11
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10006c11
mov ecx, str.CreatePickup
call fcn.10003b00
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push eax
push 0x10042278
mov dword [0x100421c8], esi
mov dword [ebp - 0x24], 0x18
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
call esi
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006c60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
push edi
push str.DestroyPickup__d_
call fcn.10002ef0
mov esi, dword [0x10042268]
add esp, 8
test esi, esi
je 0x10006caa
cmp esi, fcn.10003af0
jne 0x10006cb6
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 0x10006cb6
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
je 0x10006cb6
mov ecx, str.DestroyPickup
call fcn.10003b00
mov esi, eax
lea eax, [ebp - 8]
mov dword [0x10042268], 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