joyce8/EMBER2024-capa huggingface dataset:
Function at 0x501590
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x6b7a30]
sub esp, 0x14
mov ecx, dword [eax]
push esi
push 0
push 0x6b7a5c
push 0x53c9e8
push eax
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
je 0x5015d3
push 0x180
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
test esi, esi
jge 0x5015d3
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x6b7a5c]
neg eax
sbb eax, eax
mov edx, dword [ecx]
and eax, 0xf
add eax, 6
push eax
mov eax, dword [0x6b7a60]
push eax
push ecx
call dword [edx + 0x34]
mov esi, eax
test esi, esi
je 0x50161c
push 0x18a
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
test esi, esi
jge 0x50161c
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [0x6b7a5c]
push 0x53cce4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov esi, eax
test esi, esi
je 0x501654
push 0x18d
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
test esi, esi
jge 0x501654
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5016bb
mov eax, 0x10
lea ecx, [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 0x14], eax
mov eax, dword [0x6b7a5c]
mov dword [esp + 4], 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0x18]
mov esi, eax
test esi, esi
je 0x5016bb
push 0x194
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
test esi, esi
jge 0x5016bb
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [0x6b7a5c]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov esi, eax
cmp esi, 0x80070005
jne 0x5016e7
push str.Other_application_has_priority_when_attempting_to_acquire_keyboard_n
call fcn.004015b0
add esp, 4
mov eax, 1
pop esi
add esp, 0x14
ret
test esi, esi
je 0x5016dd
push 0x19b
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
test esi, esi
jge 0x5016dd
call fcn.005001b0
push esi
call fcn.0052a101
nop
nop
nop
Function at 0x501710
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x6b7a30]
sub esp, 0x14
mov ecx, dword [eax]
push esi
push 0
push 0x6b7a64
push 0x53c9f8
push eax
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
je 0x501753
push 0x1aa
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
test esi, esi
jge 0x501753
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x6b7a64]
neg eax
mov edx, dword [ecx]
sbb eax, eax
add eax, 6
push eax
mov eax, dword [0x6b7a60]
push eax
push ecx
call dword [edx + 0x34]
mov esi, eax
test esi, esi
je 0x501799
push 0x1b4
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
test esi, esi
jge 0x501799
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [0x6b7a64]
push 0x53ceec
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov esi, eax
test esi, esi
je 0x5017d1
push 0x1b7
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
test esi, esi
jge 0x5017d1
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, 0x10
lea ecx, [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 0x14], eax
mov eax, dword [0x6b7a64]
mov dword [esp + 4], 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0x18]
mov esi, eax
test esi, esi
je 0x501830
push 0x1bc
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
test esi, esi
jge 0x501830
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [0x6b7a64]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov esi, eax
cmp esi, 0x80070005
jne 0x50185c
push str.Other_application_has_priority_when_attempting_to_acquire_mouse_n
call fcn.004015b0
add esp, 4
mov eax, 1
pop esi
add esp, 0x14
ret
test esi, esi
je 0x501852
push 0x1c2
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
test esi, esi
jge 0x501852
call fcn.005001b0
push esi
call fcn.0052a101
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x501b80
Capabilities:
Terminate process

Disassembly:
sub esp, 0x144
push esi
push edi
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0x10
rep stosd dword es:[edi], eax
mov eax, dword [0x6b7a5c]
test eax, eax
jne 0x501bb2
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x144
ret
mov ecx, dword [eax]
lea edx, [esp + 8]
push 0
push edx
lea edx, [esp + 0x14]
push edx
push 0x14
push eax
call dword [ecx + 0x28]
cmp eax, 0x8007001e
jne 0x501c51
mov eax, dword [0x6b7a5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, 0x80070005
jne 0x501bff
push str.Other_application_has_priority_when_attempting_to_acquire_keyboard_n
call fcn.004015b0
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
add esp, 0x144
ret
test esi, esi
je 0x501c25
push 0x244
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
test esi, esi
jge 0x501c25
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [0x6b7a5c]
lea ecx, [esp + 8]
push 0
push ecx
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x14
push eax
call dword [edx + 0x28]
cmp eax, 0x8007000c
jne 0x501c51
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x144
ret
push ebx
xor eax, eax
mov cl, 0x7f
mov bl, byte [eax + 0x6b792c]
and bl, cl
mov byte [eax + 0x6b792c], bl
inc eax
cmp eax, 0x100
jl 0x501c56
mov edx, dword [esp + 0xc]
xor esi, esi
test edx, edx
jbe 0x501c9b
lea ecx, [esp + 0x10]
mov esi, edx
mov bl, 0x80
mov al, 0xff
test byte [ecx + 4], bl
mov edi, dword [ecx]
je 0x501c8f
mov byte [edi + 0x6b792c], al
jmp 0x501c95
mov byte [edi + 0x6b792c], bl
add ecx, 0x14
dec edx
jne 0x501c80
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 0x144
ret
Function at 0x501cc0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x144
push ebx
push esi
push edi
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [0x6b7a64]
mov dword [esp + 0xc], 0x10
test eax, eax
jne 0x501cf1
pop edi
pop esi
pop ebx
add esp, 0x144
ret
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push 0
push edx
lea edx, [esp + 0x18]
push edx
push 0x14
push eax
call dword [ecx + 0x28]
cmp eax, 0x8007001e
jne 0x501d90
mov eax, dword [0x6b7a64]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, 0x80070005
jne 0x501d3e
push str.Other_application_has_priority_when_attempting_to_acquire_mouse_n
call fcn.004015b0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x144
ret
test esi, esi
je 0x501d64
push 0x293
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
test esi, esi
jge 0x501d64
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [0x6b7a64]
lea ecx, [esp + 0xc]
push 0
push ecx
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push 0x14
push eax
call dword [edx + 0x28]
cmp eax, 0x8007000c
jne 0x501d90
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x144
ret
xor eax, eax
mov cl, 0x7f
mov bl, byte [eax + 0x6b7a54]
and bl, cl
mov byte [eax + 0x6b7a54], bl
inc eax
cmp eax, 3
jl 0x501d94
mov esi, dword [esp + 0x158]
mov edi, dword [esp + 0x154]
mov eax, dword [esp + 0xc]
mov dword [esi], 0
mov dword [edi], 0
test eax, eax
jne 0x501dd4
pop edi
pop esi
pop ebx
add esp, 0x144
ret
jbe 0x501e25
push ebp
lea ecx, [esp + 0x14]
mov edx, eax
mov bl, 0x80
mov eax, dword [ecx]
cmp eax, 0xc
jb 0x501e01
cmp eax, 0xf
jae 0x501e01
test byte [ecx + 4], bl
je 0x501df9
mov byte [eax + 0x6b7a48], 0xff
jmp 0x501e1e
mov byte [eax + 0x6b7a48], bl
jmp 0x501e1e
test eax, eax
je 0x501e15
cmp eax, 4
jne 0x501e1e
mov eax, dword [ecx + 4]
mov ebp, dword [esi]
add ebp, eax
mov dword [esi], ebp
jmp 0x501e1e
mov eax, dword [ecx + 4]
mov ebp, dword [edi]
add ebp, eax
mov dword [edi], ebp
add ecx, 0x14
dec edx
jne 0x501ddf
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x144
ret
Function at 0x501e50
Capabilities:
Terminate process

Disassembly:
sub esp, 0x144
push esi
push edi
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0x10
rep stosd dword es:[edi], eax
mov eax, dword [0x6b7a2c]
test eax, eax
je 0x501e8e
mov ecx, dword [eax]
push eax
call dword [ecx + 0x64]
cmp eax, 0x8007001e
je 0x501e99
cmp eax, 0x8007000c
je 0x501e99
test eax, eax
jge 0x501ef7
pop edi
xor eax, eax
pop esi
add esp, 0x144
ret
mov eax, dword [0x6b7a2c]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov esi, eax
cmp esi, 0x80070005
jne 0x501ec6
push str.Other_application_has_priority_when_attempting_to_acquire_controller_n
call fcn.004015b0
add esp, 4
xor eax, eax
pop edi
pop esi
add esp, 0x144
ret
test esi, esi
je 0x501eec
push 0x2ea
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
test esi, esi
jge 0x501eec
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [0x6b7a2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [0x6b7a2c]
push ebx
lea ecx, [esp + 0xc]
push 0
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x18]
push ecx
push 0x14
push eax
call dword [edx + 0x28]
xor eax, eax
mov cl, 0x7f
mov bl, byte [eax + 0x6b7a34]
and bl, cl
mov byte [eax + 0x6b7a34], bl
inc eax
cmp eax, 0x20
jl 0x501f15
mov eax, dword [esp + 0xc]
test eax, eax
jbe 0x501fa1
mov edx, dword [esp + 0x15c]
mov esi, dword [esp + 0x158]
mov edi, dword [esp + 0x154]
push ebp
lea ecx, [esp + 0x14]
mov ebp, eax
mov eax, dword [ecx]
cmp eax, 0x30
jb 0x501f79
mov ebx, dword [0x6b7a58]
add ebx, 0x30
cmp eax, ebx
jae 0x501f79
mov bl, 0x80
test byte [ecx + 4], bl
je 0x501f71
mov byte [eax + 0x6b7a04], 0xff
jmp 0x501f9a
mov byte [eax + 0x6b7a04], bl
jmp 0x501f9a
test eax, eax
jne 0x501f84
mov eax, dword [ecx + 4]
mov dword [edi], eax
jmp 0x501f9a
cmp eax, 4
jne 0x501f90
mov eax, dword [ecx + 4]
mov dword [esi], eax
jmp 0x501f9a
cmp eax, 0x20
jne 0x501f9a
mov eax, dword [ecx + 4]
mov dword [edx], eax
add ecx, 0x14
dec ebp
jne 0x501f4d
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x144
ret
Function at 0x501fc0
Capabilities:
Terminate process

Disassembly:
mov al, byte [0x6b7928]
sub esp, 0x68
push ebx
xor ebx, ebx
push esi
cmp al, bl
push edi
je 0x50218d
cmp dword [0x6b7a2c], ebx
je 0x50218d
fld dword [esp + 0x7c]
fmul dword [0x53c824]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0xc], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
call fcn.00529c7c
mov dword [esp + 0x28], eax
or eax, 0xffffffff
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x14]
lea edx, [esp + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [0x6b7a68]
lea ecx, [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x3c], 0x38
mov dword [esp + 0x40], 0x22
mov dword [esp + 0x4c], 0x2710
mov dword [esp + 0x58], 2
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], 0x10
mov dword [esp + 0x6c], ecx
je 0x50211e
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [edx + 0x10]
mov esi, eax
cmp esi, ebx
je 0x5020b8
push 0x34d
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x5020b8
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [0x6b7a68]
mov ecx, 4
mov edi, 0x53c9d8
lea esi, [esp + 0x2c]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
mov ecx, dword [eax]
jne 0x502109
lea edx, [esp + 0x3c]
push 0x100
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
cmp esi, ebx
je 0x502115
push 0x352
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x502115
call fcn.005001b0
push esi
call fcn.0052a101
push eax
call dword [ecx + 8]
mov dword [0x6b7a68], ebx
jmp 0x50211e
mov eax, dword [0x6b7a68]
cmp eax, ebx
jne 0x50216a
mov eax, dword [0x6b7a2c]
push ebx
lea ecx, [esp + 0x40]
push 0x6b7a68
mov edx, dword [eax]
push ecx
push 0x53c9d8
push eax
call dword [edx + 0x48]
mov esi, eax
cmp esi, ebx
je 0x502161
push 0x35e
push str.C:_backupSpideyPCSpideyPCD3dDXInput.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x502161
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [0x6b7a68]
cmp eax, ebx
je 0x50218d
mov edx, dword [eax]
push eax
call dword [edx + 0x28]
test eax, eax
jge 0x502181
push str.Could_not_download_force_feedback_effect_into_controller__n
call fcn.004015b0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x68
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret
Function at 0x5027b0
Capabilities:
Terminate process

Disassembly:
mov al, byte [0x6bbaa4]
sub esp, 0x8c
test al, al
push esi
push edi
sete al
push str.nested_BeginScene___calls_
push eax
call fcn.004015b0
mov ecx, 0x1001
xor eax, eax
mov edi, 0x6b7aa0
add esp, 8
rep stosd dword es:[edi], eax
mov eax, dword [0x6b78f8]
mov byte [0x6bbaa4], 1
test eax, eax
je 0x5028f6
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x18]
push 0
rep stosd dword es:[edi], eax
mov eax, dword [0x6b7908]
lea edx, [esp + 0x1c]
push 0x800
mov dword [esp + 0x20], 0x7c
mov ecx, dword [eax]
push edx
push 0
push eax
call dword [ecx + 0x64]
mov esi, eax
test esi, esi
je 0x502848
push 0x306
push str.C:_backupSpideyPCSpideyPCD3dDXPoly.cpp
push esi
call fcn.004fc820
add esp, 0xc
test esi, esi
jge 0x502848
call fcn.005001b0
push esi
call fcn.0052a101
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00500190
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x18]
fild qword [esp + 0x10]
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [0x568184]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fmul dword [0x53b390]
mov dword [esp + 0xc], edx
fstp dword [esp]
fild qword [esp + 0xc]
push ecx
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [0x53b390]
fstp dword [esp]
push eax
mov eax, dword [0x56817c]
push eax
mov eax, dword [0x563c40]
mov esi, eax
mov edi, eax
shr esi, 3
and esi, 0x1f0000
and edi, 0xfc00
or esi, edi
and eax, 0xf8
shr esi, 2
or esi, eax
mov eax, dword [esp + 0x38]
shr esi, 3
push esi
push eax
push ecx
mov ecx, dword [esp + 0x58]
push edx
push ecx
call fcn.00514db0
add esp, 0x24
pop edi
pop esi
add esp, 0x8c
ret
mov eax, dword [0x6b791c]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
test esi, esi
je 0x502929
push 0x311
push str.C:_backupSpideyPCSpideyPCD3dDXPoly.cpp
push esi
call fcn.004fc820
add esp, 0xc
test esi, esi
jge 0x502929
call fcn.005001b0
push esi
call fcn.0052a101
mov al, byte [0x6bbaa5]
mov edx, dword [0x563c3c]
test al, al
mov eax, dword [0x6b791c]
push 0
push edx
mov edx, dword [0x563c40]
mov ecx, dword [eax]
push edx
je 0x50294d
push 3
jmp 0x50294f
push 1
push 0
push 0
push eax
call dword [ecx + 0x28]
mov esi, eax
test esi, esi
je 0x5028ed
push 0x319
push str.C:_backupSpideyPCSpideyPCD3dDXPoly.cpp
push esi
call fcn.004fc820
add esp, 0xc
test esi, esi
jge 0x5028ed
call fcn.005001b0
push esi
call fcn.0052a101
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x502990
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x6b78f4]
sub esp, 0x64
test eax, eax
push esi
je 0x5029ff
push edi
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 8]
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
mov eax, dword [0x6b7904]
push edx
mov edx, dword [0x6b7908]
push 0x1000000
push 0
mov dword [esp + 0x14], 0x64
mov ecx, dword [eax]
push edx
push 0x6b5958
push eax
call dword [ecx + 0x14]
mov esi, eax
pop edi
test esi, esi
je 0x502a36
push 0x330
push str.C:_backupSpideyPCSpideyPCD3dDXPoly.cpp
push esi
call fcn.004fc820
add esp, 0xc
test esi, esi
jge 0x502a36
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [0x6b7904]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov esi, eax
test esi, esi
je 0x502a36
push 0x335
push str.C:_backupSpideyPCSpideyPCD3dDXPoly.cpp
push esi
call fcn.004fc820
add esp, 0xc
test esi, esi
jge 0x502a36
call fcn.005001b0
push esi
call fcn.0052a101
pop esi
add esp, 0x64
ret
Function at 0x502f30
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x6b7a74]
push esi
push edi
mov edi, dword [esp + 0xc]
cmp edi, eax
je 0x502f7e
mov eax, dword [0x6b791c]
push edi
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov esi, eax
test esi, esi
je 0x502f78
push 0x3ee
push str.C:_backupSpideyPCSpideyPCD3dDXPoly.cpp
push esi
call fcn.004fc820
add esp, 0xc
test esi, esi
jge 0x502f78
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7a74], edi
pop edi
pop esi
ret
Function at 0x503100
Capabilities:
Terminate process

Disassembly:
mov al, byte [0x6bbaa4]
sub esp, 0x1c
test al, al
jne 0x503119
push str.drawing_outside_scene_r_n
call fcn.004015b0
add esp, 4
mov eax, dword [0x6b78f8]
push ebx
push esi
mov esi, dword [esp + 0x28]
test eax, eax
push edi
je 0x503230
mov edi, dword [0x6b7a8c]
cmp edi, 1
je 0x503230
fld dword [esi + 0x2c]
fsub dword [esi + 0x10]
mov edx, dword [esi + 0xc]
lea eax, [edx - 1]
fstp dword [esp + 0xc]
fld dword [esi + 0x30]
fsub dword [esi + 0x14]
lea ecx, [eax*8]
sub ecx, eax
cmp eax, 2
fstp dword [esp + 0x14]
fld dword [esi + ecx*4 + 0x10]
fsub dword [esi + 0x10]
lea ecx, [esi + ecx*4 + 0x10]
fstp dword [esp + 0x10]
fld dword [ecx + 4]
fsub dword [esi + 0x14]
fstp dword [esp + 0x2c]
jle 0x5031a5
fld dword [esi + 0x2c]
fsub dword [esi + 0x48]
fstp dword [esp + 0x24]
fld dword [esi + 0x30]
fsub dword [esi + 0x4c]
fstp dword [esp + 0x1c]
fld dword [esi + 0x64]
fsub dword [esi + 0x48]
fstp dword [esp + 0x18]
fld dword [esi + 0x68]
fsub dword [esi + 0x4c]
fstp dword [esp + 0x20]
fld dword [esp + 0x2c]
fmul dword [esp + 0xc]
fld dword [esp + 0x10]
fmul dword [esp + 0x14]
cmp edi, 3
fsubp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fcomp dword [0x53b280]
fnstsw ax
jne 0x5031d5
test ah, 1
jne 0x5031de
mov cl, 1
jmp 0x5031e0
test ah, 0x41
je 0x5031de
mov cl, 1
jmp 0x5031e0
xor cl, cl
cmp edx, 3
jle 0x503228
fld dword [esp + 0x18]
fmul dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul dword [esp + 0x24]
cmp edi, 3
fsubp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fcomp dword [0x53b280]
fnstsw ax
jne 0x503215
test ah, 1
jne 0x50321e
mov al, 1
jmp 0x503220
test ah, 0x41
je 0x50321e
mov al, 1
jmp 0x503220
xor al, al
xor al, cl
jne 0x5033d6
test cl, cl
je 0x5033d6
mov edi, dword [esp + 0x30]
test edi, edi
jl 0x503266
cmp edi, 0x1000
push str.Invalid_forced_slot_number_
setle dl
push edx
call fcn.004015b0
mov eax, dword [edi*4 + 0x6b7aa0]
add esp, 8
mov dword [esi], eax
mov dword [edi*4 + 0x6b7aa0], esi
add byte [edi + 0x5e], bl
mov al, byte [0x6bbaa5]
test al, al
je 0x503390
cmp word [esi + 8], 0
jne 0x503390
mov ebx, dword [esi + 4]
mov eax, dword [0x6b7a74]
cmp ebx, eax
je 0x5032c9
mov eax, dword [0x6b791c]
push ebx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edi, eax
test edi, edi
je 0x5032c3
push 0x3ee
fld dword [0x563c48]
fmul dword [esp + 0x38]
fmul dword [0x53c828]
call fcn.00529c7c
mov ecx, eax
mov eax, dword [0x6bbaa8]
sub eax, ecx
mov ecx, dword [esp + 0x34]
add eax, ecx
jns 0x5033ba
xor eax, eax
jmp 0x5033c6
cmp eax, 0x1000
jle 0x5033c6
mov eax, 0x1000
mov edx, dword [eax*4 + 0x6b7aa0]
mov dword [esi], edx
mov dword [eax*4 + 0x6b7aa0], esi
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x5033e0
Capabilities:
Terminate process

Disassembly:
sub esp, 0xa4
mov eax, dword [0x6bbab4]
push esi
inc eax
push edi
mov dword [0x6bbab4], eax
push eax
lea eax, [esp + 0x90]
push str.scrn_4.4i.bmp
push eax
call fcn.00529f90
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x1c]
add esp, 0xc
rep stosd dword es:[edi], eax
mov eax, dword [0x6b78f4]
mov dword [esp + 0x10], 0x7c
test eax, eax
je 0x5034be
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
push edx
call fcn.00500190
mov eax, dword [0x6b7904]
add esp, 8
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push 0
push 0x10
push edx
push 0x6b5958
push eax
call dword [ecx + 0x64]
mov esi, eax
test esi, esi
je 0x50347e
push 0x5da
push str.C:_backupSpideyPCSpideyPCD3dDXPoly.cpp
push esi
call fcn.004fc820
add esp, 0xc
test esi, esi
jge 0x50347e
call fcn.005001b0
push esi
call fcn.0052a101
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x58]
push 0
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
lea edx, [esp + 0xa0]
push ecx
push edx
call fcn.00503560
mov eax, dword [0x6b7904]
add esp, 0x1c
mov ecx, dword [eax]
push 0x6b5958
push eax
call dword [ecx + 0x80]
jmp 0x503537
mov eax, dword [0x6b7904]
push 0
lea ecx, [esp + 0x14]
push 0x10
mov edx, dword [eax]
push ecx
push 0
push eax
call dword [edx + 0x64]
mov esi, eax
test esi, esi
je 0x5034fc
push 0x5e3
push str.C:_backupSpideyPCSpideyPCD3dDXPoly.cpp
push esi
call fcn.004fc820
add esp, 0xc
test esi, esi
jge 0x5034fc
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x58]
push 0
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0xa0]
push eax
push ecx
call fcn.00503560
mov eax, dword [0x6b7904]
add esp, 0x1c
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x80]
mov eax, dword [0x6bbab4]
push eax
push str.Saved_Screenshot__i._r_n
call fcn.004015b0
add esp, 8
pop edi
pop esi
add esp, 0xa4
ret
Function at 0x5039f0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x24
push esi
push edi
mov ecx, 0x80
xor eax, eax
mov edi, 0x6bbad4
push 0
rep stosd dword es:[edi], eax
mov ecx, 0x60
mov edi, 0x6bbd50
rep stosd dword es:[edi], eax
mov ecx, 9
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], eax
mov eax, dword [0x6b7920]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0x24
mov dword [esp + 0x10], 0x81
mov ecx, dword [eax]
push 0x6bbf1c
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
je 0x503a6d
push 0x1ae
push str.C:_backupSpideyPCSpideyPCD3dDXsound.cpp
push esi
call fcn.004fc630
add esp, 0xc
test esi, esi
jge 0x503a6d
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [0x6bbf1c]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov esi, eax
test esi, esi
je 0x503aa2
push 0x1b1
push str.C:_backupSpideyPCSpideyPCD3dDXsound.cpp
push esi
call fcn.004fc630
add esp, 0xc
test esi, esi
jge 0x503aa2
call fcn.005001b0
push esi
call fcn.0052a101
mov eax, dword [0x6bbf1c]
push 1
push 0
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0x30]
mov esi, eax
test esi, esi
je 0x503adb
push 0x1b5
push str.C:_backupSpideyPCSpideyPCD3dDXsound.cpp
push esi
call fcn.004fc630
add esp, 0xc
test esi, esi
jge 0x503adb
call fcn.005001b0
push esi
call fcn.0052a101
pop edi
pop esi
add esp, 0x24
ret

Function at 0x503af0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x6bbf1c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov esi, eax
test esi, esi
je 0x503b24
push 0x1c4
push str.C:_backupSpideyPCSpideyPCD3dDXsound.cpp
push esi
call fcn.004fc630
add esp, 0xc
test esi, esi
jge 0x503b24
call fcn.005001b0
push esi
call fcn.0052a101
push 1
push 0
call fcn.00504050
add esp, 8
pop esi
ret