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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4a77dd
push eax
mov eax, 0x2ac60
mov dword fs:[0], esp
call fcn.00488a40
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push ecx
xor edi, edi
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.NetLogHardwareAnalyzer
mov dword [esp + 0x28], edi
call fcn.0049da84
lea eax, [esp + 0x14]
push eax
call fcn.004105d0
add esp, 8
mov ecx, eax
mov dword [esp + 0x2ac78], edi
call fcn.004125b0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0049da84
mov byte [esp + 0x2ac7c], 0
call fcn.0044a930
mov ecx, eax
call fcn.0044a980
mov esi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x2ac78], 0xffffffff
call fcn.0049da16
push str.Create_D3D...
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
add esp, 0xc
push 0xdc
call sub.d3d8.dll_Direct3DCreate8
mov ebp, eax
cmp ebp, edi
jne 0x431ab1
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov esi, dword [eax]
lea edx, [esp + 0x10]
push edi
push edx
mov dword [esp + 0x2ac80], 2
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov eax, dword [eax]
push edi
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x10]
call fcn.0049da16
mov dword [esp + 0x2ac78], 0xffffffff
lea ecx, [esp + 0x14]
jmp 0x432353
push str.SUCCEEDED
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
add esp, 0xc
push str.GetAdapterDisplayMode
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
mov eax, dword [ebp]
add esp, 0xc
lea ecx, [esp + 0x5c]
push ecx
push edi
push ebp
call dword [eax + 0x20]
test eax, eax
jge 0x431b48
lea edx, [esp + 0x14]
push 2
push edx
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov edi, dword [eax]
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x2ac80], 3
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov eax, dword [eax]
push 0
push eax
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x10]
call fcn.0049da16
lea ecx, [esp + 0x14]
mov dword [esp + 0x2ac78], 0xffffffff
call fcn.0049da16
push str.SUCCEEDED
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x78]
add esp, 0xc
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x68]
push str.Create_Device...
push esi
mov dword [esp + 0x90], 1
mov dword [esp + 0x88], 4
mov dword [esp + 0x7c], ecx
call fcn.0044a930
push eax
call fcn.0044abc0
mov edi, dword [esp + 0x2ac8c]
add esp, 0xc
mov edx, dword [ebp]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x6c]
push eax
push ecx
push 0x80
push edi
push 1
push 0
push ebp
call dword [edx + 0x3c]
test eax, eax
jge 0x431c5f
mov edx, dword [ebp]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x6c]
push eax
push ecx
push 0x40
push edi
push 1
push 0
push ebp
call dword [edx + 0x3c]
test eax, eax
jge 0x431c5f
mov edx, dword [ebp]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x6c]
push eax
push ecx
push 0x20
push edi
push 1
push 0
push ebp
call dword [edx + 0x3c]
test eax, eax
jge 0x431c5f
lea edx, [esp + 0x14]
push 3
push edx
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov edi, dword [eax]
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x2ac80], 4
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov eax, dword [eax]
push 0
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call edi
lea ecx, [esp + 0x10]
call fcn.0049da16
lea ecx, [esp + 0x14]
mov dword [esp + 0x2ac78], 0xffffffff
call fcn.0049da16
jmp 0x431c65
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push str.SUCCEEDED
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
mov eax, dword [esp + 0x2c]
add esp, 0xc
lea edx, [ebx + 0x2c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
push str.MaxSimultaneousTextures
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
mov eax, dword [ebx + 0xc4]
add esp, 0xc
cmp eax, 2
jae 0x431d0f
lea eax, [esp + 0x10]
push 0x56
push eax
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov ecx, dword [ebx + 0xc4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xa8]
push str._s___MaxSimultaneousTextures:__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0049da16
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov edx, dword [eax]
push 0
lea eax, [esp + 0xa4]
push edx
push eax
push 0
call edi
lea ecx, [esp + 0x10]
jmp 0x432353
push 0x4c5a4c
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
add esp, 0xc
push str.MaxTextureHeight
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
mov eax, dword [ebx + 0x88]
add esp, 0xc
cmp eax, 0x400
jae 0x431dad
lea ecx, [esp + 0x10]
push 0x56
push ecx
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov edx, dword [ebx + 0x88]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0xa8]
push str._s___MaxTextureHeight:__d__
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0049da16
lea edx, [esp + 0x10]
push 0
push edx
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov eax, dword [eax]
push 0
lea ecx, [esp + 0xa4]
push eax
push ecx
push 0
call edi
lea ecx, [esp + 0x10]
jmp 0x432353
push 0x4c5a4c
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
add esp, 0xc
push str.MaxTextureWidth
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
mov eax, dword [ebx + 0x84]
add esp, 0xc
cmp eax, 0x400
jae 0x431e4b
lea edx, [esp + 0x10]
push 0x56
push edx
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov ecx, dword [ebx + 0x84]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xa8]
push str._s___MaxTextureWidth:__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0049da16
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov edx, dword [eax]
push 0
lea eax, [esp + 0xa4]
push edx
push eax
push 0
call edi
lea ecx, [esp + 0x10]
jmp 0x432353
push 0x4c5a4c
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
add esp, 0xc
push str.MaxVertexBlendMatrices
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
mov eax, dword [ebx + 0xd4]
add esp, 0xc
test eax, eax
ja 0x431ee6
lea ecx, [esp + 0x10]
push 0x56
push ecx
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov edx, dword [ebx + 0xd4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0xa8]
push str._s___MaxVertexBlendMatrices:__d__
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0049da16
lea edx, [esp + 0x10]
push 0
push edx
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov eax, dword [eax]
push 0
lea ecx, [esp + 0xa4]
push eax
push ecx
push 0
call edi
lea ecx, [esp + 0x10]
jmp 0x432353
push 0x4c5a4c
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
add esp, 0xc
push str.CheckDeviceFormat
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
mov eax, dword [esp + 0x74]
add esp, 0xc
mov edx, dword [ebp]
push 0x31545844
push 3
push 0
push eax
push 1
push 0
push ebp
call dword [edx + 0x28]
test eax, eax
jl 0x4322bf
push 0x4c5a4c
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
mov ecx, dword [ebp]
add esp, 0xc
push ebp
call dword [ecx + 0x10]
cmp eax, 2
mov dword [ebx + 0x128], eax
jb 0x431f5a
mov eax, 1
push eax
push str.AdapterCount___d
push esi
mov dword [ebx + 0x128], eax
call fcn.0044a930
push eax
call fcn.0044abc0
mov eax, dword [ebx + 0x128]
add esp, 0x10
test eax, eax
mov dword [esp + 0x1c], 0
jbe 0x4321ac
lea edx, [ebx + 0x100]
mov dword [esp + 0x14], edx
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*8]
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp]
shl edx, 5
lea esi, [esp + edx + 0x830]
push esi
push 2
push ecx
push ebp
call dword [eax + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp]
lea eax, [esi + 0x42c]
push eax
push ecx
push ebp
call dword [edx + 0x20]
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x200]
xor edi, edi
push edx
mov dword [esi + 0x43c], edi
mov dword [esi + 0x439c], edi
call fcn.0049db9f
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp]
push ecx
push ebp
mov dword [esp + 0x3c], edi
call dword [eax + 0x18]
mov edx, dword [esi + 0x438]
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x1a0], edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], edi
jbe 0x432180
lea eax, [esp + 0x1a4]
lea esi, [esp + 0x1f4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x20]
push eax
push edx
push ebp
call dword [ecx + 0x1c]
mov edx, dword [esp + 0x38]
cmp edx, 0x320
jb 0x43216b
cmp dword [esp + 0x3c], 0x258
jb 0x43216b
xor ecx, ecx
test edi, edi
jbe 0x43209b
lea eax, [esp + 0x1f4]
cmp dword [eax - 4], edx
jne 0x43208d
mov edi, dword [esp + 0x3c]
cmp dword [eax], edi
jne 0x432089
mov edi, dword [esp + 0x44]
cmp dword [eax + 8], edi
je 0x432097
mov edi, dword [esp + 0x34]
inc ecx
add eax, 0x10
cmp ecx, edi
jb 0x432073
jmp 0x43209b
mov edi, dword [esp + 0x34]
cmp ecx, edi
jne 0x43216b
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov dword [esi - 4], edx
mov dword [esi], eax
mov dword [esi + 8], ecx
mov dword [esi + 4], 0
cmp dword [esi + 8], 0x16
jne 0x4320f3
mov edx, dword [esi]
mov ecx, dword [ebx + 0x330]
mov eax, dword [esi - 4]
push 0x20
push edx
push eax
lea edx, [ebx + ecx*4 + 0x22c]
push str._d_x__d_x__d
push edx
call fcn.004989ae
mov eax, dword [ebx + 0x330]
add esp, 0x14
inc eax
mov dword [ebx + 0x330], eax
jmp 0x432124
mov eax, dword [esi]
mov edx, dword [ebx + 0x32c]
mov ecx, dword [esi - 4]
push 0x10
push eax
push ecx
lea eax, [ebx + edx*4 + 0x12c]
push str._d_x__d_x__d
push eax
call fcn.004989ae
mov eax, dword [ebx + 0x32c]
add esp, 0x14
inc eax
mov dword [ebx + 0x32c], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
inc edi
add esi, 0x10
xor eax, eax
mov dword [esp + 0x34], edi
test ecx, ecx
jbe 0x43214f
lea ecx, [esp + 0x1a0]
cmp edx, dword [ecx]
je 0x43214f
inc eax
add ecx, 4
cmp eax, dword [esp + 0x28]
jb 0x432141
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jne 0x43216b
mov eax, dword [esp + 0x10]
mov dword [eax], edx
mov edx, ecx
inc edx
add eax, 4
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jb 0x432032
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 0x128]
inc ecx
add esi, 4
cmp ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
jb 0x431f95
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4321ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp]
push ebp
call dword [edx + 8]
push str.D3D_Device_Release
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
add esp, 0xc
mov dword [esp + 0x30], 0
push str.Create_DDraw...
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
add esp, 0xc
lea eax, [esp + 0x30]
push 0
push 0x4aea80
push eax
push 0
call sub.DDRAW.dll_DirectDrawCreateEx
test eax, eax
jne 0x432265
xor ecx, ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], ecx
add ebx, 0x334
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], 0x7000
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov edx, dword [eax]
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x4c]
push ebx
push ecx
push eax
call dword [edx + 0x5c]
mov eax, dword [esp + 0x30]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push str.SUCCEEDED_nAnalyzer_OK.
push esi
call fcn.0044a930
push eax
call fcn.0044abc0
add esp, 0xc
mov eax, 1
jmp 0x43235a
lea eax, [esp + 0x24]
push 4
push eax
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov esi, dword [eax]
lea ecx, [esp + 0x2c]
push 0
push ecx
mov dword [esp + 0x2ac80], 6
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov eax, dword [eax]
push 0
push eax
push esi
push 0
call edi
lea ecx, [esp + 0x2c]
call fcn.0049da16
mov dword [esp + 0x2ac78], 0xffffffff
lea ecx, [esp + 0x24]
jmp 0x432353
lea edx, [esp + 0x10]
push 0x57
push edx
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov esi, eax
lea eax, [esp + 0x18]
push 0x56
push eax
mov dword [esp + 0x2ac80], 5
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xa8]
push str._s____s__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.0049da16
lea ecx, [esp + 0x10]
mov dword [esp + 0x2ac78], 0xffffffff
call fcn.0049da16
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.0044c950
mov ecx, eax
call fcn.0044c9a0
mov edx, dword [eax]
push 0
lea eax, [esp + 0xa4]
push edx
push eax
push 0
call edi
lea ecx, [esp + 0x18]
call fcn.0049da16
xor eax, eax
mov ecx, dword [esp + 0x2ac70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2ac6c
ret 4