Function at 0x55a6b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x66463b
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x704e7c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704e7c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x70]
mov edi, ecx
mov dword [esp + 0x14], 1
call fcn.00559800
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
push ebp
mov dword [0x713f90], eax
mov dword [0x713f8c], ecx
mov dword [0x713fe4], ebp
call dword [sym.imp.USER32.dll_GetDC]
push 0xdc
mov dword [0x713fe0], eax
call sub.d3d8.dll_Direct3DCreate8
xor esi, esi
mov dword [0x713ffc], eax
cmp eax, esi
jne 0x55a737
lea eax, [esi + 2]
jmp 0x55afe6
push 0x5592a0
push eax
mov ecx, 0x714038
call fcn.0057d990
test eax, eax
jne 0x55a755
mov eax, 0x40
jmp 0x55afe6
push 0x713ff0
push 0x713ff4
push 0x713ff8
push 1
push 0x20
push 0x258
push 0x320
mov ecx, 0x714038
call fcn.0057d700
test eax, eax
je 0x55a7db
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
lea edx, [esp + 0x24]
push edx
mov ecx, 0x714038
mov dword [esp + 0x6c], esi
call fcn.0057dc50
mov eax, dword [0x713ff0]
push eax
mov ecx, 0x714038
call fcn.0057d6e0
mov ebx, eax
mov dword [esp + 0x18], ebx
cmp ebx, esi
jne 0x55a7e5
mov ecx, dword [0x713ff0]
push ecx
push str.adapter__d_is_EMPTY
call fcn.005843b0
add esp, 8
lea ecx, [esp + 0x24]
call fcn.0050f430
mov eax, 0x80
jmp 0x55afe6
push ebx
mov ecx, edi
call fcn.00559320
test al, al
je 0x55a806
push 0x200
push ebp
mov ecx, edi
mov dword [esp + 0x1c], 0x201
call fcn.0055a640
mov edx, dword [0x713ff8]
mov eax, dword [0x713ff4]
push edx
push eax
mov ecx, ebx
call fcn.0057d5f0
mov esi, eax
test esi, esi
jne 0x55a84e
mov ecx, dword [0x713ff8]
mov edx, dword [0x713ff4]
push ecx
push edx
push str.device__d__mode__d_is_EMPTY
call fcn.005843b0
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.0050f430
mov eax, 0x80
jmp 0x55afe6
cmp byte [esp + 0x7c], 0
je 0x55a889
push 4
push str.3dfx
push ebx
call fcn.00615c2a
add esp, 0xc
test eax, eax
jne 0x55a889
mov ecx, ebx
call fcn.0057d5b0
cmp dword [eax + 0xc], 0x16
jne 0x55a889
lea ecx, [esp + 0x24]
call fcn.0050f430
mov eax, 0x400
jmp 0x55afe6
cmp dword [esi + 0xc], 0x20
jne 0x55a897
or dword [esp + 0x14], 0x100
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov byte [esp + 0x6c], 1
call fcn.0057da00
movzx ecx, byte [esp + 0x7c]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ecx
push 0x34
push 0
push 0x713fac
call fcn.0060fff0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov dword [0x713fb0], ecx
mov dword [0x713fc8], edx
mov dword [0x713fac], eax
mov dword [0x713fc4], ebp
mov edx, dword [edi + 4]
add esp, 0xc
cmp byte [esp + 0x7c], 0
mov ecx, 1
mov dword [0x713fb8], edx
mov dword [0x713fc0], ecx
je 0x55a942
mov ecx, dword [esp + 0x18]
call fcn.0057d5b0
mov eax, dword [eax + 0xc]
mov dword [0x713fb4], eax
mov ecx, 1
jmp 0x55a951
mov edx, dword [esi + 0x10]
mov dword [0x713fb4], edx
mov dword [0x713fd8], ebx
mov dword [0x713fd4], ecx
mov dword [0x713fcc], ecx
mov eax, dword [esi + 0x14]
mov dword [0x713fd0], eax
mov edx, dword [esi + 0xc]
mov eax, dword [0x713ffc]
push 0x714000
push 0x713fac
mov dword [0x714010], edx
mov ebx, dword [esi + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x3c]
push ebx
push ebp
push ecx
mov ecx, dword [0x713ff0]
push ecx
push eax
call edx
mov dword [0x714008], eax
test eax, eax
jge 0x55aa15
cmp eax, 0x8876017c
je 0x55a9ce
cmp eax, 0x8876086a
je 0x55a9c7
cmp eax, 0x8876086c
je 0x55a9c0
push eax
push str.IDirect3DDevice.CreateDevice___ERROR__d
call fcn.005843b0
add esp, 8
jmp 0x55a9db
push str.IDirect3DDevice.CreateDevice___ERROR_D3DERR_INVALIDCALL_nThe_method_call_is_invalid._For_example__a_methods_parameter_may_have_an_invalid_value.
jmp 0x55a9d3
push str.IDirect3DDevice.CreateDevice___ERROR_D3DERR_NOTAVAILABLE_nThis_device_does_not_support_the_queried_technique.
jmp 0x55a9d3
push str.IDirect3DDevice.CreateDevice___ERROR_D3DERR_OUTOFVIDEOMEMORY_nDirect3D_does_not_have_enough_display_memory_to_perform_the_operation
call fcn.00584380
add esp, 4
cmp dword [esp + 0x20], 0
jne 0x55a9f9
xor ebx, ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x14], 0x20
jmp 0x55a8d5
lea ecx, [esp + 0x40]
call fcn.0050f430
lea ecx, [esp + 0x24]
call fcn.0050f430
mov eax, 0x10
jmp 0x55afe6
mov edx, dword [0x713fb4]
mov eax, dword [0x713ffc]
mov ecx, dword [eax]
push 0x31545844
push 3
push 0
push edx
mov edx, dword [0x713ff0]
push 1
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
cmp eax, 0x8876086a
jne 0x55aa49
mov byte [0x6e36a1], 0
mov edx, dword [0x713fb4]
mov eax, dword [0x713ffc]
mov ecx, dword [eax]
push 0x33545844
push 3
push 0
push edx
mov edx, dword [0x713ff0]
push 1
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
cmp eax, 0x8876086a
jne 0x55aa7d
mov byte [0x6e36a1], 0
mov edx, dword [0x713fb4]
mov eax, dword [0x713ffc]
mov ecx, dword [eax]
push 0x35545844
push 3
push 0
push edx
mov edx, dword [0x713ff0]
push 1
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
cmp eax, 0x8876086a
jne 0x55aab1
mov byte [0x6e36a1], 0
mov eax, dword [0x714000]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push 0x713eb8
push eax
call edx
mov dword [0x714008], eax
test eax, eax
jge 0x55aaf6
push eax
push str.IDirect3DDevice.GetDeviceCaps___ERROR__d
call fcn.005843b0
add esp, 8
lea ecx, [esp + 0x40]
call fcn.0050f430
lea ecx, [esp + 0x24]
call fcn.0050f430
mov eax, 8
jmp 0x55afe6
cmp byte [esp + 0x7c], 0
jne 0x55ab16
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push 0x40
push eax
push ecx
push 0
push 0
push 0xffffffffffffffff
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x714000]
mov edx, dword [eax]
push 0x713f94
push eax
mov eax, dword [edx + 0xa4]
call eax
push 0x13388
call fcn.00610463
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x68], 2
test eax, eax
je 0x55ab55
mov ecx, dword [0x714000]
push ecx
mov ecx, eax
call fcn.00554760
jmp 0x55ab57
xor eax, eax
push 0x714004
push 0
mov byte [esp + 0x70], 1
mov dword [edi + 0x28], eax
call fcn.005dc675
mov eax, dword [0x714004]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, edi
call fcn.005591e0
mov ecx, edi
mov dword [0x714014], eax
call fcn.00559110
mov ecx, edi
mov dword [0x714018], eax
call fcn.00559170
fldz
fst dword [0x7459f0]
mov dword [0x71401c], eax
fst dword [0x7459ec]
fst dword [0x7459e8]
fst dword [0x7459e4]
fst dword [0x7459dc]
fst dword [0x7459d8]
fst dword [0x7459d4]
fst dword [0x7459d0]
fst dword [0x7459c8]
fst dword [0x7459c4]
fst dword [0x7459c0]
fst dword [0x7459bc]
fld1
fst dword [0x7459f4]
fst dword [0x7459e0]
fst dword [0x7459cc]
fst dword [0x7459b8]
fst dword [0x745a34]
fst dword [0x745a20]
fst dword [0x745a0c]
fst dword [0x7459f8]
fst dword [0x745a74]
fst dword [0x745a60]
fst dword [0x745a4c]
fst dword [0x745a38]
fst dword [0x745ab4]
fst dword [0x745aa0]
fst dword [0x745a8c]
fst dword [0x745a78]
fst dword [0x745af4]
fst dword [0x745ae0]
fst dword [0x745acc]
fst dword [0x745ab8]
fst dword [0x745bb4]
fst dword [0x745ba0]
fst dword [0x745bf4]
fst dword [0x745be0]
fst dword [0x745bcc]
fst dword [0x745bb8]
fst dword [0x745c34]
fst dword [0x745c20]
fst dword [0x745b78]
fxch st(1)
fst dword [0x745a30]
fst dword [0x745a2c]
fst dword [0x745a28]
fst dword [0x745a24]
fst dword [0x745a1c]
fst dword [0x745a18]
fst dword [0x745a14]
fst dword [0x745a10]
fst dword [0x745a08]
fst dword [0x745a04]
fst dword [0x745a00]
fst dword [0x7459fc]
fst dword [0x745a70]
fst dword [0x745a6c]
fst dword [0x745a68]
fst dword [0x745a64]
fst dword [0x745a5c]
fst dword [0x745a58]
fst dword [0x745a54]
push 0
fst dword [0x745a50]
push 0x714024
fst dword [0x745a48]
push 0x20
fst dword [0x745a44]
push 0x20
fst dword [0x745a40]
push ecx
fst dword [0x745a3c]
fst dword [0x745ab0]
fst dword [0x745aac]
fst dword [0x745aa8]
fst dword [0x745aa4]
fst dword [0x745a9c]
fst dword [0x745a98]
fst dword [0x745a94]
fst dword [0x745a90]
fst dword [0x745a88]
fst dword [0x745a84]
fst dword [0x745a80]
fst dword [0x745a7c]
fst dword [0x745af0]
fst dword [0x745aec]
fst dword [0x745ae8]
fst dword [0x745ae4]
fst dword [0x745adc]
fst dword [0x745ad8]
fst dword [0x745ad4]
fst dword [0x745ad0]
fst dword [0x745ac8]
fst dword [0x745ac4]
fst dword [0x745ac0]
fst dword [0x745abc]
fst dword [0x745bb0]
fst dword [0x745bac]
fst dword [0x745ba8]
fst dword [0x745ba4]
fst dword [0x745b9c]
fst dword [0x745b98]
fst dword [0x745b94]
fst dword [0x745b90]
fst dword [0x745b88]
fst dword [0x745b84]
fst dword [0x745b80]
fst dword [0x745b7c]
fst dword [0x745bf0]
fst dword [0x745be4]
fst dword [0x745bdc]
fst dword [0x745bd8]
fst dword [0x745bd4]
fst dword [0x745bd0]
fst dword [0x745bc8]
fst dword [0x745bc4]
fst dword [0x745bc0]
fst dword [0x745bbc]
fst dword [0x745c30]
fst dword [0x745c2c]
fst dword [0x745c28]
fst dword [0x745c24]
fst dword [0x745c1c]
fst dword [0x745c18]
fst dword [0x745c14]
fst dword [0x745c10]
fst dword [0x745c08]
fst dword [0x745c04]
fst dword [0x745c00]
fstp dword [0x745bfc]
fld dword [0x673380]
fstp dword [0x745b8c]
fst dword [0x745be8]
fst dword [0x745bec]
fild dword [esp + 0x88]
fld qword [0x673618]
fmul st(1), st(0)
fxch st(1)
fstp dword [0x745bf8]
fimul dword [esp + 0x8c]
fstp dword [0x745c0c]
fstp dword [esp]
mov ecx, dword [0x714000]
push ecx
call fcn.005dbe0f
fld1
mov edx, dword [0x714000]
push 0
push 0x714028
push 8
push 8
sub esp, 0xc
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
push edx
call fcn.005db992
fld1
mov eax, dword [0x714000]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x90]
push 0
push ecx
fstp dword [esp]
push 0xff000000
push 3
push 0
push 0
push eax
call edx
mov ecx, edi
call fcn.005595d0
test al, al
jne 0x55af49
lea ecx, [esp + 0x40]
call fcn.0050f430
lea ecx, [esp + 0x24]
call fcn.0050f430
xor eax, eax
jmp 0x55afe6
mov ecx, edi
call fcn.005594b0
test al, al
je 0x55af30
call fcn.005588f0
mov esi, dword [esp + 0x18]
cmp eax, 0x4000000
setb cl
cmp eax, 0x6400000
mov al, byte [0x713f04]
seta dl
shr al, 3
push 3
not al
and al, 1
push 0x689efc
push esi
mov byte [0x714020], cl
mov byte [0x714021], dl
mov byte [0x745ccb], al
call fcn.00615c2a
add esp, 0xc
test eax, eax
jne 0x55afa7
mov byte [0x745cc8], 1
jmp 0x55afbb
push 4
push str.3dfx
push esi
call fcn.00615c2a
add esp, 0xc
test eax, eax
jne 0x55afd0
mov byte [0x714020], 1
mov byte [0x745cca], 1
mov byte [0x745cc9], 1
lea ecx, [esp + 0x40]
call fcn.0050f430
lea ecx, [esp + 0x24]
call fcn.0050f430
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.006108ae
add esp, 0x58
ret 0x18