Function at 0x500250
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [0x6b78e4]
mov eax, dword [0x562d60]
sub esp, 0xf8
push ebx
push ebp
mov ebp, dword [esp + 0x10c]
push esi
mov esi, dword [0x6b78f8]
push edi
mov edi, dword [0x6b78e8]
xor ebx, ebx
xor edx, edx
cmp esi, ebx
setne dl
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10c]
cmp edx, ecx
jne 0x5002a7
cmp dword [esp + 0x110], edi
jne 0x5002a7
mov edx, dword [0x6b78ec]
mov dword [esp + 0x10], ebx
cmp ebp, edx
je 0x5002af
mov dword [esp + 0x10], 1
mov ebx, dword [esp + 0x11c]
xor edx, edx
cmp ebx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
setne dl
xor ebx, ebx
mov dword [esp + 0x1c], edx
cmp eax, ebx
mov dword [esp + 0x18], edi
jne 0x5002e1
cmp dword [esp + 0x10], ebx
je 0x5006f6
call fcn.005106f0
call fcn.005027a0
mov edi, dword [esp + 0x10]
cmp edi, ebx
je 0x500302
cmp dword [0x6b78f4], ebx
je 0x500302
mov eax, 1
jmp 0x500304
xor eax, eax
push eax
call fcn.004fd850
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x110]
mov dword [0x6b78e8], eax
mov dword [0x568158], eax
mov eax, dword [esp + 0x120]
add esp, 4
mov dword [0x562d60], eax
mov eax, dword [0x6b78f4]
cmp eax, ebx
mov dword [0x6b78e4], ecx
mov dword [0x6b78ec], ebp
mov dword [0x568154], ecx
mov dword [0x6b78f8], ebx
jne 0x500612
cmp edi, ebx
je 0x500612
call fcn.00515480
cmp dword [0x6b7904], ebx
je 0x50040b
mov ecx, dword [0x6b790c]
cmp ecx, ebx
je 0x5003a7
mov eax, dword [0x6b7908]
push ecx
push ebx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov edi, eax
cmp edi, ebx
je 0x5003a7
push 0x595
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jl 0x50071e
mov eax, dword [0x6b7908]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, eax
cmp edi, ebx
je 0x5003d3
push 0x599
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jl 0x5007b2
mov eax, dword [0x6b7904]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov edi, eax
cmp edi, ebx
je 0x5003ff
push 0x59d
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jl 0x500846
mov dword [0x6b7904], ebx
mov dword [0x6b7908], ebx
mov eax, dword [0x6b790c]
cmp eax, ebx
je 0x500441
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, eax
cmp edi, ebx
je 0x50043b
push 0x5a7
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jl 0x5008da
mov dword [0x6b790c], ebx
mov ecx, dword [0x6b78ec]
mov eax, dword [0x6b7900]
push ebx
push ebx
mov edx, dword [eax]
push ecx
mov ecx, dword [0x6b78e8]
push ecx
mov ecx, dword [0x6b78e4]
push ecx
push eax
call dword [edx + 0x54]
mov edi, eax
cmp edi, ebx
jge 0x500493
cmp dword [0x6b78ec], 0x20
jne 0x500491
mov ecx, dword [0x6b78e8]
mov eax, dword [0x6b7900]
push ebx
push ebx
mov edx, dword [eax]
push 0x18
push ecx
mov ecx, dword [0x6b78e4]
push ecx
push eax
call dword [edx + 0x54]
mov edi, eax
cmp edi, ebx
je 0x5004b0
push 0x5b3
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jl 0x50096e
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x28]
push ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x6b7900]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0x7c
mov dword [esp + 0x30], 0x21
mov dword [esp + 0x94], 0x2218
mov dword [esp + 0x40], 1
mov edx, dword [eax]
push 0x6b7904
push ecx
push eax
call dword [edx + 0x18]
mov edi, eax
cmp edi, ebx
je 0x500517
push 0x5be
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jl 0x500a02
xor edx, edx
mov eax, dword [0x6b7904]
mov dword [esp + 0x90], edx
mov dword [esp + 0x90], 4
mov dword [esp + 0x94], edx
push 0x6b7908
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edx
mov ecx, dword [eax]
lea edx, [esp + 0x94]
push edx
push eax
call dword [ecx + 0x30]
mov edi, eax
cmp edi, ebx
je 0x500579
push 0x5c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jl 0x500a96
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0xa4]
lea edx, [esp + 0xa4]
rep stosd dword es:[edi], eax
mov eax, dword [0x6b7904]
push edx
push 0x1000400
push ebx
mov dword [esp + 0xb0], 0x64
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x14]
mov edi, eax
cmp edi, ebx
je 0x5005d0
push 0x5cd
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jl 0x500b2a
mov eax, dword [0x6b7908]
lea edx, [esp + 0xa4]
push edx
push 0x1000400
mov ecx, dword [eax]
push ebx
push ebx
push ebx
push eax
call dword [ecx + 0x14]
mov edi, eax
cmp edi, ebx
je 0x500682
push 0x5d1
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jl 0x500bbe
jmp 0x500682
cmp dword [esp + 0x14], ebx
je 0x500682
mov ecx, dword [0x6b790c]
cmp ecx, ebx
je 0x500682
mov eax, dword [0x6b7908]
push ecx
push ebx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov edi, eax
cmp edi, ebx
je 0x500650
push 0x5d7
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jl 0x500c52
mov eax, dword [0x6b790c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, eax
cmp edi, ebx
je 0x50067c
push 0x5db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jl 0x500ce6
mov dword [0x6b790c], ebx
mov eax, dword [0x6b78f4]
mov ecx, dword [0x6b78f8]
xor edx, edx
cmp eax, ebx
setne dl
add edx, 2
cmp ecx, ebx
mov edi, edx
je 0x5006a0
and edi, 0xfffffffd
cmp eax, ebx
je 0x5006b8
cmp dword [esp + 0x10], ebx
je 0x5006b8
mov eax, dword [0x6b58d0]
push eax
call fcn.004fedd0
add esp, 4
push edi
call fcn.004fe1b0
add esp, 4
test al, al
jne 0x500d7a
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov dword [0x6b78e4], ecx
mov dword [0x6b78e8], edi
mov dword [0x6b78f8], esi
mov dword [0x562d60], eax
mov ebp, 0x10
jmp 0x50027a
cmp edx, ebx
je 0x500e07
mov eax, dword [esp + 0x11c]
push eax
mov dword [0x562d60], eax
call fcn.00505c00
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x50076f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x500769
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x500769
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x5007ac
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x5007a6
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x5007a6
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x500803
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x5007fd
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x5007fd
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x500840
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x50083a
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x50083a
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x500897
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x500891
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x500891
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x5008d4
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x5008ce
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x5008ce
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x50092b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x500925
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x500925
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x500968
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x500962
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x500962
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x5009bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x5009b9
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x5009b9
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x5009fc
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x5009f6
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x5009f6
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x500a53
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x500a4d
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x500a4d
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x500a90
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x500a8a
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x500a8a
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x500ae7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x500ae1
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x500ae1
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x500b24
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x500b1e
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x500b1e
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x500b7b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x500b75
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x500b75
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x500bb8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x500bb2
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x500bb2
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x500c0f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x500c09
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x500c09
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x500c4c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x500c46
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x500c46
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x500ca3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x500c9d
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x500c9d
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x500ce0
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x500cda
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x500cda
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x500d37
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x500d31
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x500d31
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x500d74
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x500d6e
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x500d6e
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
push edi
call fcn.00502220
add esp, 4
call fcn.00510770
cmp dword [esp + 0x14], ebx
je 0x500df3
call fcn.004cb0c0
cmp dword [0x6b78f8], ebx
je 0x500dc3
push ebx
push str.sparmour
call fcn.004cac20
mov ecx, eax
add esp, 8
shl ecx, 4
add ecx, eax
pop edi
pop esi
pop ebp
mov byte [ecx*4 + 0x6b244b], 1
pop ebx
add esp, 0xf8
ret
push str.sparmour
call fcn.004ca5a0
mov edx, eax
push str.sparmour
shl edx, 4
add edx, eax
mov byte [edx*4 + 0x6b244b], bl
call fcn.004ca640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret
cmp dword [esp + 0x1c], ebx
je 0x500e07
mov eax, dword [0x562d60]
push eax
call fcn.00505c00
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret