Function at 0x4fedd0
Capabilities:
Terminate process

Disassembly:
sub esp, 0xdc4
push ebx
push ebp
push esi
push edi
mov ecx, 0x201
xor eax, eax
lea edi, [esp + 0x5d0]
push 7
rep stosd dword es:[edi], eax
mov ecx, 0x7d1
mov edi, 0x6b5998
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x5d4]
mov dword [esp + 0x28], eax
push ecx
mov dword [esp + 0x30], eax
push 0x500030
mov dword [esp + 0x38], eax
call sub.DDRAW.dll_DirectDrawEnumerateExA
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x4feed5
push 0x349
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4feed5
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4fee92
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4fee8c
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4fee8c
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4feecf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4feec9
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4feec9
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
mov edx, dword [esp + 0x5d0]
mov ecx, dword [0x2e09810]
lea eax, [edx - 1]
cmp ecx, eax
jae 0x4feefd
push eax
push ecx
push str.Using_device__u_instead_of__i._r_n
call fcn.004015b0
mov eax, dword [0x2e09810]
add esp, 0xc
shl eax, 8
lea ecx, [esp + eax + 0x5d4]
mov edx, dword [esp + eax + 0x5d4]
mov dword [esp + 0x20], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], edx
mov edx, dword [esp + eax + 0x6d0]
mov ecx, dword [ecx + 0xc]
push edx
push str.DD_Device:__s_n
mov dword [esp + 0x34], ecx
call fcn.004015b0
mov eax, dword [esp + 0x5d8]
add esp, 8
dec eax
cmp eax, ebx
jl 0x4fef6b
mov ecx, eax
lea edi, [eax + 1]
shl ecx, 8
lea esi, [esp + ecx + 0x6d0]
mov edx, dword [esi]
push edx
call fcn.0052a3c0
add esp, 4
sub esi, 0x100
dec edi
jne 0x4fef57
push ebx
push 0x53cae8
lea eax, [esp + 0x28]
push 0x6b7900
push eax
call sub.DDRAW.dll_DirectDrawCreateEx
mov edi, eax
cmp edi, ebx
je 0x4ff039
push 0x364
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ff039
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4feff6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4feff0
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4feff0
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ff033
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff02d
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ff02d
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
xor eax, eax
lea edx, [esp + 0x40]
mov dword [esp + 0x10], eax
push edx
mov dword [esp + 0x18], eax
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0x1000
mov dword [esp + 0x20], eax
mov eax, dword [0x6b7900]
push 0x6b78e0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
mov edi, eax
cmp edi, ebx
je 0x4ff126
push 0x36d
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ff126
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4ff0e3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff0dd
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ff0dd
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ff120
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff11a
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ff11a
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
mov ecx, 0x10c
xor eax, eax
lea edi, [esp + 0x1a0]
lea edx, [esp + 0x1a0]
rep stosd dword es:[edi], eax
mov eax, dword [0x6b7900]
push ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov edi, eax
cmp edi, ebx
je 0x4ff203
push 0x375
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ff203
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4ff1c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff1ba
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ff1ba
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ff1fd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff1f7
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ff1f7
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
lea eax, [esp + 0x3a0]
push eax
push str._t_tVideo_Card:__s_r_n
call fcn.004015b0
lea ecx, [esp + 0x3a8]
push str.Voodoo_Rush
push ecx
call fcn.00529f10
add esp, 0x10
test eax, eax
je 0x4ff24e
mov edx, dword [0x6b78e0]
push str.Voodoo_Rush
push str._t_tDoubling_Video_Mem_on__s_boards_r_n
lea eax, [edx + edx]
mov dword [0x6b78e0], eax
call fcn.004015b0
add esp, 8
mov ecx, dword [0x6b78e0]
push ecx
push str._t_tAvailiable_Video_Mem:__i_r_n
call fcn.004015b0
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x12c]
add esp, 8
rep stosd dword es:[edi], eax
mov eax, dword [0x6b7900]
mov ebp, 0x7c
mov esi, 0x10
push 0x4fd770
lea ecx, [esp + 0x128]
push 0x6b5998
mov dword [esp + 0x12c], ebp
mov dword [esp + 0x180], esi
mov dword [esp + 0x194], 0x2000
mov edx, dword [eax]
push ecx
push ebx
push eax
call dword [edx + 0x20]
mov edi, eax
cmp edi, ebx
je 0x4ff36c
push 0x32a
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ff36c
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4ff329
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff323
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ff323
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ff366
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff360
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ff360
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
cmp dword [0x6b78e4], ebx
jne 0x4ff39c
cmp dword [0x6b78e8], ebx
jne 0x4ff39c
mov ecx, 0x280
mov eax, 0x1e0
mov dword [0x6b78e4], ecx
mov dword [0x6b78e8], eax
mov dword [0x568154], ecx
mov dword [0x568158], eax
cmp dword [0x6b78ec], ebx
jne 0x4ff3aa
mov dword [0x6b78ec], esi
mov eax, dword [0x6b78f4]
cmp eax, ebx
mov eax, dword [0x6b7900]
mov edx, dword [eax]
je 0x4ff97c
mov esi, dword [esp + 0xdd8]
push 8
push esi
push eax
call dword [edx + 0x50]
mov edi, eax
cmp edi, ebx
je 0x4ff485
push 0x397
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ff485
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4ff442
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff43c
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ff43c
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ff47f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff479
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ff479
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
mov eax, dword [0x6b78e4]
mov ecx, dword [0x6b78e8]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xffffffffffffffec
push esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
call edi
push eax
push ebx
push 0xfffffffffffffff0
push esi
call edi
lea edx, [esp + 0x38]
push eax
push edx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
sub eax, edx
push 1
sub ecx, edi
push eax
push ecx
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x6b5950
push esi
mov dword [0x6b5950], ebx
mov dword [0x6b5954], ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x6b5950]
mov edx, dword [0x6b78e4]
mov ecx, dword [0x6b5954]
mov dword [0x6b5958], eax
add eax, edx
mov dword [0x6b595c], ecx
mov dword [0x6b5960], eax
mov eax, dword [0x6b78e8]
add ecx, eax
xor eax, eax
mov dword [0x6b5964], ecx
mov ecx, 0x1f
lea edi, [esp + 0x44]
push ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x6b7900]
lea edx, [esp + 0x48]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], 1
mov dword [esp + 0xb0], 0x2200
mov ecx, dword [eax]
push 0x6b7904
push edx
push eax
call dword [ecx + 0x18]
mov edi, eax
cmp edi, ebx
je 0x4ff61a
push 0x3b0
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ff61a
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4ff5d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff5d1
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ff5d1
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ff614
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff60e
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ff60e
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x44]
push ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x6b78e4]
mov ecx, dword [0x6b78e8]
mov dword [esp + 0x54], eax
mov eax, dword [0x6b7900]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], 7
mov dword [esp + 0xb0], 0x2040
mov edx, dword [eax]
push 0x6b7908
push ecx
push eax
call dword [edx + 0x18]
mov edi, eax
cmp edi, ebx
je 0x4ff720
push 0x3bb
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ff720
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4ff6dd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff6d7
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ff6d7
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ff71a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff714
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ff714
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
mov eax, dword [0x6b7900]
push ebx
push 0x6b7914
push ebx
mov edx, dword [eax]
push eax
call dword [edx + 0x10]
mov edi, eax
cmp edi, ebx
je 0x4ff7eb
push 0x3c0
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ff7eb
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4ff7a8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff7a2
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ff7a2
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ff7e5
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff7df
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ff7df
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
mov eax, dword [0x6b7904]
mov edx, dword [0x6b7914]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov edi, eax
cmp edi, ebx
je 0x4ff8b6
push 0x3c4
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ff8b6
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4ff873
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff86d
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ff86d
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ff8b0
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff8aa
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ff8aa
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
mov eax, dword [0x6b7914]
push esi
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edi, eax
cmp edi, ebx
je 0x4ffe33
push 0x3c8
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ffe33
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4ff939
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff933
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ff933
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ff976
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ff970
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ff970
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
mov esi, dword [esp + 0xdd8]
push 0x11
push esi
push eax
call dword [edx + 0x50]
mov edi, eax
cmp edi, 0x88760245
je 0x4ffa4f
cmp edi, ebx
je 0x4ffa4f
push 0x3d4
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ffa4f
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4ffa0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ffa06
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ffa06
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ffa49
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ffa43
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ffa43
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
mov eax, dword [0x6b78ec]
mov ecx, dword [0x6b78e8]
mov edx, dword [0x6b78e4]
push eax
push ecx
push edx
push str.Video_Mode__ix_ix_ibpp_r_n
call fcn.004015b0
mov edx, dword [0x6b78ec]
add esp, 0x10
mov eax, dword [0x6b7900]
push ebx
push ebx
mov ecx, dword [eax]
push edx
mov edx, dword [0x6b78e8]
push edx
mov edx, dword [0x6b78e4]
push edx
push eax
call dword [ecx + 0x54]
mov edi, eax
cmp edi, 0x887600e1
jne 0x4ffb99
mov eax, dword [0x6b7900]
push 8
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edi, eax
cmp edi, ebx
je 0x4ffb67
push 0x3e6
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ffb67
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4ffb24
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ffb1e
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ffb1e
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ffb61
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ffb5b
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ffb5b
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
mov eax, dword [0x6b7900]
push 0x11
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov edx, dword [0x6b78ec]
mov eax, dword [0x6b7900]
push ebx
push ebx
mov ecx, dword [eax]
push edx
mov edx, dword [0x6b78e8]
push edx
mov edx, dword [0x6b78e4]
push edx
push eax
call dword [ecx + 0x54]
mov edi, eax
cmp edi, ebx
je 0x4ffc50
push 0x3ed
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ffc50
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4ffc0d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ffc07
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ffc07
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ffc4a
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ffc44
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ffc44
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x44]
push ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x6b7900]
lea edx, [esp + 0x48]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], 0x21
mov dword [esp + 0xb0], 0x2218
mov dword [esp + 0x5c], 1
mov ecx, dword [eax]
push 0x6b7904
push edx
push eax
call dword [ecx + 0x18]
mov edi, eax
cmp edi, ebx
je 0x4ffd4b
push 0x3f8
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ffd4b
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4ffd08
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ffd02
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ffd02
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ffd45
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ffd3f
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ffd3f
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
xor eax, eax
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], eax
push 0x6b7908
mov dword [esp + 0x1c], eax
push edx
mov dword [esp + 0x24], eax
mov eax, dword [0x6b7904]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edi, eax
cmp edi, ebx
je 0x4ffe33
push 0x3ff
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4ffe33
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4ffdf0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ffdea
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ffdea
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4ffe2d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ffe27
push 0x4c5
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc240
add esp, 0xc
cmp esi, ebx
jge 0x4ffe27
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7924], ebx
push edi
call fcn.0052a101
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0xc0]
rep stosd dword es:[edi], eax
mov eax, dword [0x6b7904]
mov dword [esp + 0xc0], 0x64
cmp eax, ebx
mov dword [esp + 0x110], 0xff000000
je 0x4fff46
mov ecx, dword [0x6b78f4]
lea edx, [esp + 0xc0]
push edx
push 0x1000400
cmp ecx, ebx
mov ecx, dword [eax]
push ebx
push ebx
je 0x4ffe88
push 0x6b5958
jmp 0x4ffe89
push ebx
push eax
call dword [ecx + 0x14]
mov edi, eax
cmp edi, ebx
je 0x4fff46
push 0x40f
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push edi
call fcn.004fc820
add esp, 0xc
cmp edi, ebx
jge 0x4fff46
call fcn.005027a0
push 1
call fcn.004fd850
add esp, 4
call fcn.00503af0
mov eax, dword [0x6b7920]
cmp eax, ebx
je 0x4fff03
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, eax
cmp esi, ebx
je 0x4ffefd
push 0x4db
push str.C:_backupSpideyPCSpideyPCD3dDXinit.cpp
push esi
call fcn.004fc630
add esp, 0xc
cmp esi, ebx
jge 0x4ffefd
call fcn.005001b0
push esi
call fcn.0052a101
mov dword [0x6b7920], ebx
mov eax, dword [0x6b7924]
cmp eax, ebx
je 0x4fff40
mov edx, dword [eax]
push eax
call dword [edx + 8]