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

Disassembly:
push 0xffffffffffffffff
push 0x666aeb
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x70903c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70903c]
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.0055d260
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
push ebp
mov dword [0x719298], eax
mov dword [0x719294], ecx
mov dword [0x7192ec], ebp
call dword [sym.imp.USER32.dll_GetDC]
push 0xdc
mov dword [0x7192e8], eax
call sub.d3d8.dll_Direct3DCreate8
xor esi, esi
mov dword [0x719304], eax
cmp eax, esi
jne 0x55e197
lea eax, [esi + 2]
jmp 0x55ea46
push 0x55cd00
push eax
mov ecx, 0x719340
call fcn.005809e0
test eax, eax
jne 0x55e1b5
mov eax, 0x40
jmp 0x55ea46
push 0x7192f8
push 0x7192fc
push 0x719300
push 1
push 0x20
push 0x258
push 0x320
mov ecx, 0x719340
call fcn.00580750
test eax, eax
je 0x55e23b
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
lea edx, [esp + 0x24]
push edx
mov ecx, 0x719340
mov dword [esp + 0x6c], esi
call fcn.00580ca0
mov eax, dword [0x7192f8]
push eax
mov ecx, 0x719340
call fcn.00580730
mov ebx, eax
mov dword [esp + 0x18], ebx
cmp ebx, esi
jne 0x55e245
mov ecx, dword [0x7192f8]
push ecx
push str.adapter__d_is_EMPTY
call fcn.005872c0
add esp, 8
lea ecx, [esp + 0x24]
call fcn.005d2b30
mov eax, 0x80
jmp 0x55ea46
push ebx
mov ecx, edi
call fcn.0055cd80
test al, al
je 0x55e266
push 0x200
push ebp
mov ecx, edi
mov dword [esp + 0x1c], 0x201
call fcn.0055e0a0
mov edx, dword [0x719300]
mov eax, dword [0x7192fc]
push edx
push eax
mov ecx, ebx
call fcn.00580640
mov esi, eax
test esi, esi
jne 0x55e2ae
mov ecx, dword [0x719300]
mov edx, dword [0x7192fc]
push ecx
push edx
push str.device__d__mode__d_is_EMPTY
call fcn.005872c0
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.005d2b30
mov eax, 0x80
jmp 0x55ea46
cmp byte [esp + 0x7c], 0
je 0x55e2e9
push 4
push str.3dfx
push ebx
call fcn.006191ea
add esp, 0xc
test eax, eax
jne 0x55e2e9
mov ecx, ebx
call fcn.00580600
cmp dword [eax + 0xc], 0x16
jne 0x55e2e9
lea ecx, [esp + 0x24]
call fcn.005d2b30
mov eax, 0x400
jmp 0x55ea46
cmp dword [esi + 0xc], 0x20
jne 0x55e2f7
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.00580a50
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 0x7192b4
call fcn.006135b0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov dword [0x7192b8], ecx
mov dword [0x7192d0], edx
mov dword [0x7192b4], eax
mov dword [0x7192cc], ebp
mov edx, dword [edi + 4]
add esp, 0xc
cmp byte [esp + 0x7c], 0
mov ecx, 1
mov dword [0x7192c0], edx
mov dword [0x7192c8], ecx
je 0x55e3a2
mov ecx, dword [esp + 0x18]
call fcn.00580600
mov eax, dword [eax + 0xc]
mov dword [0x7192bc], eax
mov ecx, 1
jmp 0x55e3b1
mov edx, dword [esi + 0x10]
mov dword [0x7192bc], edx
mov dword [0x7192e0], ebx
mov dword [0x7192dc], ecx
mov dword [0x7192d4], ecx
mov eax, dword [esi + 0x14]
mov dword [0x7192d8], eax
mov edx, dword [esi + 0xc]
mov eax, dword [0x719304]
push 0x719308
push 0x7192b4
mov dword [0x719318], edx
mov ebx, dword [esi + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x3c]
push ebx
push ebp
push ecx
mov ecx, dword [0x7192f8]
push ecx
push eax
call edx
mov dword [0x719310], eax
test eax, eax
jge 0x55e475
cmp eax, 0x8876017c
je 0x55e42e
cmp eax, 0x8876086a
je 0x55e427
cmp eax, 0x8876086c
je 0x55e420
push eax
push str.IDirect3DDevice.CreateDevice___ERROR__d
call fcn.005872c0
add esp, 8
jmp 0x55e43b
push str.IDirect3DDevice.CreateDevice___ERROR_D3DERR_INVALIDCALL_nThe_method_call_is_invalid._For_example__a_methods_parameter_may_have_an_invalid_value.
jmp 0x55e433
push str.IDirect3DDevice.CreateDevice___ERROR_D3DERR_NOTAVAILABLE_nThis_device_does_not_support_the_queried_technique.
jmp 0x55e433
push str.IDirect3DDevice.CreateDevice___ERROR_D3DERR_OUTOFVIDEOMEMORY_nDirect3D_does_not_have_enough_display_memory_to_perform_the_operation
call fcn.00587290
add esp, 4
cmp dword [esp + 0x20], 0
jne 0x55e459
xor ebx, ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x14], 0x20
jmp 0x55e335
lea ecx, [esp + 0x40]
call fcn.005d2b30
lea ecx, [esp + 0x24]
call fcn.005d2b30
mov eax, 0x10
jmp 0x55ea46
mov edx, dword [0x7192bc]
mov eax, dword [0x719304]
mov ecx, dword [eax]
push 0x31545844
push 3
push 0
push edx
mov edx, dword [0x7192f8]
push 1
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
cmp eax, 0x8876086a
jne 0x55e4a9
mov byte [0x6e7871], 0
mov edx, dword [0x7192bc]
mov eax, dword [0x719304]
mov ecx, dword [eax]
push 0x33545844
push 3
push 0
push edx
mov edx, dword [0x7192f8]
push 1
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
cmp eax, 0x8876086a
jne 0x55e4dd
mov byte [0x6e7871], 0
mov edx, dword [0x7192bc]
mov eax, dword [0x719304]
mov ecx, dword [eax]
push 0x35545844
push 3
push 0
push edx
mov edx, dword [0x7192f8]
push 1
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
cmp eax, 0x8876086a
jne 0x55e511
mov byte [0x6e7871], 0
mov eax, dword [0x719308]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push 0x7191c0
push eax
call edx
mov dword [0x719310], eax
test eax, eax
jge 0x55e556
push eax
push str.IDirect3DDevice.GetDeviceCaps___ERROR__d
call fcn.005872c0
add esp, 8
lea ecx, [esp + 0x40]
call fcn.005d2b30
lea ecx, [esp + 0x24]
call fcn.005d2b30
mov eax, 8
jmp 0x55ea46
cmp byte [esp + 0x7c], 0
jne 0x55e576
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 [0x719308]
mov edx, dword [eax]
push 0x71929c
push eax
mov eax, dword [edx + 0xa4]
call eax
push 0x13388
call fcn.00613a23
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x68], 2
test eax, eax
je 0x55e5b5
mov ecx, dword [0x719308]
push ecx
mov ecx, eax
call fcn.005581a0
jmp 0x55e5b7
xor eax, eax
push 0x71930c
push 0
mov byte [esp + 0x70], 1
mov dword [edi + 0x28], eax
call fcn.005dfc19
mov eax, dword [0x71930c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, edi
call fcn.0055cc40
mov ecx, edi
mov dword [0x71931c], eax
call fcn.0055cb70
mov ecx, edi
mov dword [0x719320], eax
call fcn.0055cbd0
fldz
fst dword [0x74acf8]
mov dword [0x719324], eax
fst dword [0x74acf4]
fst dword [0x74acf0]
fst dword [0x74acec]
fst dword [0x74ace4]
fst dword [0x74ace0]
fst dword [0x74acdc]
fst dword [0x74acd8]
fst dword [0x74acd0]
fst dword [0x74accc]
fst dword [0x74acc8]
fst dword [0x74acc4]
fld1
fst dword [0x74acfc]
fst dword [0x74ace8]
fst dword [0x74acd4]
fst dword [0x74acc0]
fst dword [0x74ad3c]
fst dword [0x74ad28]
fst dword [0x74ad14]
fst dword [0x74ad00]
fst dword [0x74ad7c]
fst dword [0x74ad68]
fst dword [0x74ad54]
fst dword [0x74ad40]
fst dword [0x74adbc]
fst dword [0x74ada8]
fst dword [0x74ad94]
fst dword [0x74ad80]
fst dword [0x74adfc]
fst dword [0x74ade8]
fst dword [0x74add4]
fst dword [0x74adc0]
fst dword [0x74aebc]
fst dword [0x74aea8]
fst dword [0x74aefc]
fst dword [0x74aee8]
fst dword [0x74aed4]
fst dword [0x74aec0]
fst dword [0x74af3c]
fst dword [0x74af28]
fst dword [0x74ae80]
fxch st(1)
fst dword [0x74ad38]
fst dword [0x74ad34]
fst dword [0x74ad30]
fst dword [0x74ad2c]
fst dword [0x74ad24]
fst dword [0x74ad20]
fst dword [0x74ad1c]
fst dword [0x74ad18]
fst dword [0x74ad10]
fst dword [0x74ad0c]
fst dword [0x74ad08]
fst dword [0x74ad04]
fst dword [0x74ad78]
fst dword [0x74ad74]
fst dword [0x74ad70]
fst dword [0x74ad6c]
fst dword [0x74ad64]
fst dword [0x74ad60]
fst dword [0x74ad5c]
push 0
fst dword [0x74ad58]
push 0x71932c
fst dword [0x74ad50]
push 0x20
fst dword [0x74ad4c]
push 0x20
fst dword [0x74ad48]
push ecx
fst dword [0x74ad44]
fst dword [0x74adb8]
fst dword [0x74adb4]
fst dword [0x74adb0]
fst dword [0x74adac]
fst dword [0x74ada4]
fst dword [0x74ada0]
fst dword [0x74ad9c]
fst dword [0x74ad98]
fst dword [0x74ad90]
fst dword [0x74ad8c]
fst dword [0x74ad88]
fst dword [0x74ad84]
fst dword [0x74adf8]
fst dword [0x74adf4]
fst dword [0x74adf0]
fst dword [0x74adec]
fst dword [0x74ade4]
fst dword [0x74ade0]
fst dword [0x74addc]
fst dword [0x74add8]
fst dword [0x74add0]
fst dword [0x74adcc]
fst dword [0x74adc8]
fst dword [0x74adc4]
fst dword [0x74aeb8]
fst dword [0x74aeb4]
fst dword [0x74aeb0]
fst dword [0x74aeac]
fst dword [0x74aea4]
fst dword [0x74aea0]
fst dword [0x74ae9c]
fst dword [0x74ae98]
fst dword [0x74ae90]
fst dword [0x74ae8c]
fst dword [0x74ae88]
fst dword [0x74ae84]
fst dword [0x74aef8]
fst dword [0x74aeec]
fst dword [0x74aee4]
fst dword [0x74aee0]
fst dword [0x74aedc]
fst dword [0x74aed8]
fst dword [0x74aed0]
fst dword [0x74aecc]
fst dword [0x74aec8]
fst dword [0x74aec4]
fst dword [0x74af38]
fst dword [0x74af34]
fst dword [0x74af30]
fst dword [0x74af2c]
fst dword [0x74af24]
fst dword [0x74af20]
fst dword [0x74af1c]
fst dword [0x74af18]
fst dword [0x74af10]
fst dword [0x74af0c]
fst dword [0x74af08]
fstp dword [0x74af04]
fld dword [0x6763a0]
fstp dword [0x74ae94]
fst dword [0x74aef0]
fst dword [0x74aef4]
fild dword [esp + 0x88]
fld qword [0x676648]
fmul st(1), st(0)
fxch st(1)
fstp dword [0x74af00]
fimul dword [esp + 0x8c]
fstp dword [0x74af14]
fstp dword [esp]
mov ecx, dword [0x719308]
push ecx
call fcn.005df3b3
fld1
mov edx, dword [0x719308]
push 0
push 0x719330
push 8
push 8
sub esp, 0xc
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
push edx
call fcn.005def36
fld1
mov eax, dword [0x719308]
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.0055d030
test al, al
jne 0x55e9a9
lea ecx, [esp + 0x40]
call fcn.005d2b30
lea ecx, [esp + 0x24]
call fcn.005d2b30
xor eax, eax
jmp 0x55ea46
mov ecx, edi
call fcn.0055cf10
test al, al
je 0x55e990
call fcn.0055c350
mov esi, dword [esp + 0x18]
cmp eax, 0x4000000
setb cl
cmp eax, 0x6400000
mov al, byte [0x71920c]
seta dl
shr al, 3
push 3
not al
and al, 1
push 0x68dbac
push esi
mov byte [0x719328], cl
mov byte [0x719329], dl
mov byte [0x74afd3], al
call fcn.006191ea
add esp, 0xc
test eax, eax
jne 0x55ea07
mov byte [0x74afd0], 1
jmp 0x55ea1b
push 4
push str.3dfx
push esi
call fcn.006191ea
add esp, 0xc
test eax, eax
jne 0x55ea30
mov byte [0x719328], 1
mov byte [0x74afd2], 1
mov byte [0x74afd1], 1
lea ecx, [esp + 0x40]
call fcn.005d2b30
lea ecx, [esp + 0x24]
call fcn.005d2b30
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.00613e6e
add esp, 0x58
ret 0x18