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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b097d
push eax
mov eax, 0x2ac60
mov dword fs:[0], esp
call fcn.00491330
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.NetLogHardwareAnalyzer
call fcn.004a6b87
lea eax, [esp + 0x14]
push eax
call fcn.00411130
add esp, 8
xor edi, edi
mov ecx, eax
mov dword [esp + 0x2ac78], edi
call fcn.00414f10
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004a6b87
mov byte [esp + 0x2ac7c], 0
call fcn.0044f8c0
mov ecx, eax
call fcn.0044f910
mov esi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x2ac78], 0xffffffff
call fcn.004a6b19
push str.Create_D3D...
push esi
mov dword [esp + 0x28], edi
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0xc
push 0xdc
call sub.d3d8.dll_Direct3DCreate8
mov ebp, eax
cmp ebp, edi
jne 0x4358d1
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
mov esi, dword [eax]
lea edx, [esp + 0x10]
push edi
push edx
mov dword [esp + 0x2ac80], 2
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
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.004a6b19
mov dword [esp + 0x2ac78], 0xffffffff
lea ecx, [esp + 0x14]
jmp 0x436173
push str.SUCCEEDED
push esi
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0xc
push str.GetAdapterDisplayMode
push esi
call fcn.0044f8c0
push eax
call fcn.0044fb50
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 0x435968
lea edx, [esp + 0x14]
push 2
push edx
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
mov edi, dword [eax]
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x2ac80], 3
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
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.004a6b19
lea ecx, [esp + 0x14]
mov dword [esp + 0x2ac78], 0xffffffff
call fcn.004a6b19
push str.SUCCEEDED
push esi
call fcn.0044f8c0
push eax
call fcn.0044fb50
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.0044f8c0
push eax
call fcn.0044fb50
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 0x435a7f
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 0x435a7f
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 0x435a7f
lea edx, [esp + 0x14]
push 3
push edx
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
mov edi, dword [eax]
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x2ac80], 4
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
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.004a6b19
lea ecx, [esp + 0x14]
mov dword [esp + 0x2ac78], 0xffffffff
call fcn.004a6b19
jmp 0x435a85
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push str.SUCCEEDED
push esi
call fcn.0044f8c0
push eax
call fcn.0044fb50
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.0044f8c0
push eax
call fcn.0044fb50
mov eax, dword [ebx + 0xc4]
add esp, 0xc
cmp eax, 2
jae 0x435b2f
lea eax, [esp + 0x10]
push 0x56
push eax
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
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.004a6b19
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
mov edx, dword [eax]
push 0
lea eax, [esp + 0xa4]
push edx
push eax
push 0
call edi
lea ecx, [esp + 0x10]
jmp 0x436173
push 0x4d1230
push esi
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0xc
push str.MaxTextureHeight
push esi
call fcn.0044f8c0
push eax
call fcn.0044fb50
mov eax, dword [ebx + 0x88]
add esp, 0xc
cmp eax, 0x400
jae 0x435bcd
lea ecx, [esp + 0x10]
push 0x56
push ecx
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
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.004a6b19
lea edx, [esp + 0x10]
push 0
push edx
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
mov eax, dword [eax]
push 0
lea ecx, [esp + 0xa4]
push eax
push ecx
push 0
call edi
lea ecx, [esp + 0x10]
jmp 0x436173
push 0x4d1230
push esi
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0xc
push str.MaxTextureWidth
push esi
call fcn.0044f8c0
push eax
call fcn.0044fb50
mov eax, dword [ebx + 0x84]
add esp, 0xc
cmp eax, 0x400
jae 0x435c6b
lea edx, [esp + 0x10]
push 0x56
push edx
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
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.004a6b19
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
mov edx, dword [eax]
push 0
lea eax, [esp + 0xa4]
push edx
push eax
push 0
call edi
lea ecx, [esp + 0x10]
jmp 0x436173
push 0x4d1230
push esi
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0xc
push str.MaxVertexBlendMatrices
push esi
call fcn.0044f8c0
push eax
call fcn.0044fb50
mov eax, dword [ebx + 0xd4]
add esp, 0xc
test eax, eax
ja 0x435d06
lea ecx, [esp + 0x10]
push 0x56
push ecx
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
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.004a6b19
lea edx, [esp + 0x10]
push 0
push edx
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
mov eax, dword [eax]
push 0
lea ecx, [esp + 0xa4]
push eax
push ecx
push 0
call edi
lea ecx, [esp + 0x10]
jmp 0x436173
push 0x4d1230
push esi
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0xc
push str.CheckDeviceFormat
push esi
call fcn.0044f8c0
push eax
call fcn.0044fb50
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 0x4360df
push 0x4d1230
push esi
call fcn.0044f8c0
push eax
call fcn.0044fb50
mov ecx, dword [ebp]
add esp, 0xc
push ebp
call dword [ecx + 0x10]
cmp eax, 2
mov dword [ebx + 0x128], eax
jb 0x435d7a
mov eax, 1
push eax
push str.AdapterCount___d
push esi
mov dword [ebx + 0x128], eax
call fcn.0044f8c0
push eax
call fcn.0044fb50
mov eax, dword [ebx + 0x128]
add esp, 0x10
test eax, eax
mov dword [esp + 0x1c], 0
jbe 0x435fcc
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.004a6ca2
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 0x435fa0
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 0x435f8b
cmp dword [esp + 0x3c], 0x258
jb 0x435f8b
xor ecx, ecx
test edi, edi
jbe 0x435ebb
lea eax, [esp + 0x1f4]
cmp dword [eax - 4], edx
jne 0x435ead
mov edi, dword [esp + 0x3c]
cmp dword [eax], edi
jne 0x435ea9
mov edi, dword [esp + 0x44]
cmp dword [eax + 8], edi
je 0x435eb7
mov edi, dword [esp + 0x34]
inc ecx
add eax, 0x10
cmp ecx, edi
jb 0x435e93
jmp 0x435ebb
mov edi, dword [esp + 0x34]
cmp ecx, edi
jne 0x435f8b
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 0x435f13
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.004a1aae
mov eax, dword [ebx + 0x330]
add esp, 0x14
inc eax
mov dword [ebx + 0x330], eax
jmp 0x435f44
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.004a1aae
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 0x435f6f
lea ecx, [esp + 0x1a0]
cmp edx, dword [ecx]
je 0x435f6f
inc eax
add ecx, 4
cmp eax, dword [esp + 0x28]
jb 0x435f61
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jne 0x435f8b
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 0x435e52
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 0x435db5
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x435fda
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.0044f8c0
push eax
call fcn.0044fb50
add esp, 0xc
mov dword [esp + 0x30], 0
push str.Create_DDraw...
push esi
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0xc
lea eax, [esp + 0x30]
push 0
push 0x4b8a28
push eax
push 0
call sub.DDRAW.dll_DirectDrawCreateEx
test eax, eax
jne 0x436085
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.0044f8c0
push eax
call fcn.0044fb50
add esp, 0xc
mov eax, 1
jmp 0x43617a
lea eax, [esp + 0x24]
push 4
push eax
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
mov esi, dword [eax]
lea ecx, [esp + 0x2c]
push 0
push ecx
mov dword [esp + 0x2ac80], 6
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
mov eax, dword [eax]
push 0
push eax
push esi
push 0
call edi
lea ecx, [esp + 0x2c]
call fcn.004a6b19
mov dword [esp + 0x2ac78], 0xffffffff
lea ecx, [esp + 0x24]
jmp 0x436173
lea edx, [esp + 0x10]
push 0x57
push edx
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
mov esi, eax
lea eax, [esp + 0x18]
push 0x56
push eax
mov dword [esp + 0x2ac80], 5
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
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.004a6b19
lea ecx, [esp + 0x10]
mov dword [esp + 0x2ac78], 0xffffffff
call fcn.004a6b19
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.00451a60
mov ecx, eax
call fcn.00451ab0
mov edx, dword [eax]
push 0
lea eax, [esp + 0xa4]
push edx
push eax
push 0
call edi
lea ecx, [esp + 0x18]
call fcn.004a6b19
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