Function at 0x402260
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ecx, 0x3d
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x1fc]
lea edx, [ebp - 0x100]
push ebx
xor ebx, ebx
mov edi, esi
mov eax, ebx
sub esp, 0x208
mov dword [ebp - 0x204], 0xfc
rep stosd dword es:[edi], eax
mov edi, edx
mov ecx, 0x3d
mov dword [ebp - 0x200], 0xdeadbeef
rep stosd dword es:[edi], eax
mov eax, dword [0x5a8010]
mov dword [ebp - 0x108], 0xfc
lea edi, [ebp - 0x204]
mov dword [ebp - 0x104], 0xdeadc0de
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0xc
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x6ef
xor eax, eax
cmp edi, 0x80070057
sete al
mov dword [esp + 8], edi
lea edi, [ebp - 0x108]
mov dword [esp], eax
mov dword [esp + 4], str.GetCaps_with_NULL_hel_caps_returned_hr__lx__expected_INVALIDPARAMS._n
call fcn.004019b0
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x6f0
mov eax, dword [ebp - 0x200]
mov dword [esp + 4], str.hw_caps.dwFlags_was_modified:__lx._n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004019b0
mov eax, dword [0x5a8010]
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0xc
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x6f2
xor eax, eax
cmp edi, 0x80070057
sete al
mov dword [esp + 8], edi
lea edi, [ebp - 0x108]
mov dword [esp], eax
mov dword [esp + 4], str.GetCaps_with_NULL_hw_caps_returned_hr__lx__expected_INVALIDPARAMS._n
call fcn.004019b0
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x6f3
mov eax, dword [ebp - 0x104]
mov dword [esp + 4], str.hel_caps.dwFlags_was_modified:__lx._n
cmp eax, 0xdeadc0de
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004019b0
mov eax, dword [0x5a8010]
mov edx, dword [eax]
mov dword [esp + 8], edi
lea edi, [ebp - 0x204]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0xc
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x6f7
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov edi, esi
mov dword [esp], eax
mov dword [esp + 4], str.GetCaps_with_correct_size_returned_hr__lx__expected_D3D_OK._n
call fcn.004019b0
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x6f8
mov eax, dword [ebp - 0x200]
mov dword [esp + 4], str.hw_caps.dwFlags_was_not_modified:__lx._n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.004019b0
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x6f9
mov eax, dword [ebp - 0x104]
mov dword [esp + 4], str.hel_caps.dwFlags_was_not_modified:__lx._n
cmp eax, 0xdeadc0de
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.004019b0
mov eax, ebx
mov ecx, 0x3d
mov dword [ebp - 0x204], 0xfc
rep stosd dword es:[edi], eax
mov ecx, 0x3f
lea edi, [ebp - 0x108]
mov dword [ebp - 0x200], 0xdeadbeef
rep stosd dword es:[edi], eax
mov eax, dword [0x5a8010]
lea ebx, [ebp - 0x108]
mov dword [ebp - 0x104], 0xdeadc0de
mov edx, dword [eax]
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x204]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0xc
mov ebx, eax
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x704
xor eax, eax
cmp ebx, 0x80070057
sete al
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x108]
mov dword [esp], eax
mov dword [esp + 4], str.GetCaps_with_invalid_hel_caps_size_returned_hr__lx__expected_INVALIDPARAMS._n
call fcn.004019b0
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x705
mov eax, dword [ebp - 0x200]
mov dword [esp + 4], str.hw_caps.dwFlags_was_modified:__lx._n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004019b0
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x706
mov eax, dword [ebp - 0x104]
mov dword [esp + 4], str.hel_caps.dwFlags_was_modified:__lx._n
cmp eax, 0xdeadc0de
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004019b0
mov eax, dword [0x5a8010]
mov dword [ebp - 0x108], 0xfc
mov dword [ebp - 0x204], 0xfd
mov edx, dword [eax]
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x204]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0xc
mov ebx, eax
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x70a
xor eax, eax
cmp ebx, 0x80070057
sete al
mov dword [esp + 8], ebx
mov ebx, 0xfefefefe
mov dword [esp], eax
mov dword [esp + 4], str.GetCaps_with_invalid_hw_caps_size_returned_hr__lx__expected_INVALIDPARAMS._n
call fcn.004019b0
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x70b
mov eax, dword [ebp - 0x200]
mov dword [esp + 4], str.hw_caps.dwFlags_was_modified:__lx._n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004019b0
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x70c
mov eax, dword [ebp - 0x104]
mov dword [esp + 4], str.hel_caps.dwFlags_was_modified:__lx._n
cmp eax, 0xdeadc0de
mov dword [esp + 8], eax
sete al
xor esi, esi
movzx eax, al
mov dword [esp], eax
call fcn.004019b0
jmp 0x4026c0
cmp esi, 0xac
je 0x4027d8
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x728
xor eax, eax
cmp edi, 0x80070057
sete al
mov dword [esp + 8], esi
add esi, 1
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.GetCaps_with_size__u_returned_hr__lx__expected_DDERR_INVALIDPARAMS._n
mov dword [esp], eax
call fcn.004019b0
cmp esi, 0x400
je 0x402766
mov eax, ebx
mov ecx, 0x3e
lea edi, [ebp - 0x200]
mov dword [ebp - 0x108], esi
rep stosd dword es:[edi], eax
mov ecx, 0x3e
lea edi, [ebp - 0x104]
mov dword [ebp - 0x204], esi
rep stosd dword es:[edi], eax
mov eax, dword [0x5a8010]
lea ecx, [ebp - 0x108]
mov edx, dword [eax]
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x204]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0xc
mov edi, eax
cmp esi, 0xcc
je 0x402843
cmp esi, 0xfc
jne 0x402670
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x724
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], esi
add esi, 1
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.GetCaps_with_size__u_returned_hr__lx__expected_D3D_OK._n
mov dword [esp], eax
call fcn.004019b0
cmp esi, 0x400
jne 0x4026c0
mov eax, dword [0x5a8010]
lea ebx, [ebp - 0x108]
mov dword [ebp - 0x204], 0xac
mov dword [ebp - 0x108], 0xfc
mov edx, dword [eax]
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x204]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0xc
mov ebx, eax
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x732
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.GetCaps_with_different_sizes_returned_hr__lx__expected_D3D_OK._n
mov dword [esp], eax
call fcn.004019b0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x718
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], str.hw_caps.dwMinTextureWidth_was_modified:__lx._n
cmp eax, 0xfefefefe
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004019b0
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x71a
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], str.hel_caps.dwMinTextureWidth_was_modified:__lx._n
cmp eax, 0xfefefefe
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004019b0
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x71e
mov eax, dword [ebp - 0x138]
mov dword [esp + 4], str.hw_caps.dwMaxTextureRepeat_was_modified:__lx._n
cmp eax, 0xfefefefe
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004019b0
call fcn.0054f6e0
mov dword [eax], 0x55c014
mov dword [eax + 4], 0x720
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], str.hel_caps.dwMaxTextureRepeat_was_modified:__lx._n
cmp eax, 0xfefefefe
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004019b0
jmp 0x402726