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

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x13c
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
mov ecx, dword [esp + 0x148]
mov dword [eax + 0x208], str.Graphics::Initialize_1_
mov eax, dword [esp + 0x150]
mov dword [esi + 0x6c], ecx
mov cl, byte [esp + 0x154]
mov dword [esi + 0x70], edx
mov edx, dword [esi + 0x5c]
mov byte [esi + 0x78], cl
xor ebp, ebp
mov dword [esi + 0x7c4], ebp
mov dword [esi + 0x74], eax
mov ecx, esi
mov dword [edx + 0x208], str.Graphics::Initialize_2_
call fcn.004575f0
mov eax, dword [esi + 0x5c]
push 0xdc
mov dword [eax + 0x208], str.Graphics::Initialize_3_
call sub.d3d8.dll_Direct3DCreate8
cmp eax, ebp
mov dword [esi + 0x7c], eax
jne 0x458b37
push ebp
push str.DirectX_Error
push str.Failed:_Direct3DCreate8_D3D_SDK_VERSION_
push ebp
call dword [sym.imp.user32.dll_MessageBoxA]
mov byte [esi + 0x60], 1
pop esi
pop ebp
add esp, 0x13c
ret 0x10
mov ecx, dword [esi + 0x5c]
mov dword [ecx + 0x208], str.Graphics::Initialize_4_
mov eax, dword [esi + 0x7c]
mov edx, dword [eax]
lea ecx, [esi + 0x158]
push ecx
push ebp
push eax
call dword [edx + 0x20]
test eax, eax
jge 0x458b7a
push ebp
push str.DirectX_Error
push str.Failed:_GetAdapterDisplayMode_D3DADAPTER_DEFAULT_mDesktopMode_
push ebp
call dword [sym.imp.user32.dll_MessageBoxA]
mov byte [esi + 0x60], 1
pop esi
pop ebp
add esp, 0x13c
ret 0x10
mov edx, dword [esi + 0x5c]
push ebx
mov dword [edx + 0x208], str.Graphics::Initialize_5_
mov eax, dword [esi + 0x5c]
push edi
mov dword [eax + 0x208], str.Graphics::Initialize_6_
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax]
push ebp
push eax
xor edi, edi
xor ebx, ebx
call dword [ecx + 0x18]
test eax, eax
mov edx, dword [esi + 0x5c]
mov dword [edx + 0x208], str.Graphics::Initialize_7_
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x17c], 0x14
mov dword [esi + 0x178], 0x17
mov byte [esi + 0x7d3], bl
mov byte [esi + 0x7d4], bl
mov byte [esi + 0x7d5], bl
mov byte [esi + 0x7d6], bl
mov dword [esp + 0x10], eax
mov dword [ecx + 0x208], str.Graphics::Initialize_8_
jle 0x458d4c
mov eax, dword [esi + 0x7c]
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push ebp
push 0
push eax
call dword [edx + 0x1c]
test eax, eax
jl 0x458d3f
mov eax, dword [esp + 0x2c]
cmp eax, 0x280
jne 0x458c2d
cmp dword [esp + 0x30], 0x1e0
jne 0x458c79
mov byte [esi + 0x7d3], 1
jmp 0x458c79
cmp eax, 0x320
jne 0x458c47
cmp dword [esp + 0x30], 0x258
jne 0x458c79
mov byte [esi + 0x7d4], 1
jmp 0x458c79
cmp eax, 0x400
jne 0x458c61
cmp dword [esp + 0x30], 0x300
jne 0x458c79
mov byte [esi + 0x7d5], 1
jmp 0x458c79
cmp eax, 0x500
jne 0x458c79
cmp dword [esp + 0x30], 0x400
jne 0x458c79
mov byte [esi + 0x7d6], 1
mov eax, dword [esp + 0x38]
cmp eax, 0x14
jne 0x458c9e
cmp ebx, 0x3e8
jge 0x458d3f
mov dword [esi + 0x17c], eax
mov ebx, 0x3e8
jmp 0x458d3f
cmp eax, 0x16
jne 0x458cbf
cmp ebx, 0x384
jge 0x458d3f
mov dword [esi + 0x17c], eax
mov ebx, 0x384
jmp 0x458d3f
cmp eax, 0x15
jne 0x458cd9
cmp ebx, 0x320
jge 0x458d3f
mov dword [esi + 0x17c], eax
mov ebx, 0x320
jmp 0x458d3f
cmp eax, 0x17
jne 0x458cf3
cmp edi, 0x3e8
jge 0x458d3f
mov dword [esi + 0x178], eax
mov edi, 0x3e8
jmp 0x458d3f
cmp eax, 0x18
jne 0x458d0d
cmp edi, 0x384
jge 0x458d3f
mov dword [esi + 0x178], eax
mov edi, 0x384
jmp 0x458d3f
cmp eax, 0x19
jne 0x458d27
cmp edi, 0x320
jge 0x458d3f
mov dword [esi + 0x178], eax
mov edi, 0x320
jmp 0x458d3f
cmp eax, 0x1a
jne 0x458d3f
cmp edi, 0x2bc
jge 0x458d3f
mov dword [esi + 0x178], eax
mov edi, 0x2bc
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jl 0x458bf6
mov edx, dword [esi + 0x5c]
mov dword [edx + 0x208], str.Graphics::Initialize_9_
mov eax, dword [esi + 0x5c]
mov dword [eax + 0x208], str.Graphics::Initialize_10_
mov al, byte [esi + 0x18c]
test al, al
je 0x458d78
mov eax, dword [esi + 0x178]
jmp 0x458d7e
mov eax, dword [esi + 0x17c]
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x174], eax
mov dword [ecx + 0x208], str.Graphics::Initialize_11_
xor eax, eax
lea ebp, [esi + 0x194]
mov ecx, 0xd
mov edi, ebp
rep stosd dword es:[edi], eax
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x70]
mov eax, 1
mov dword [esi + 0x1ac], edx
mov edx, dword [esi + 0x74]
mov dword [esi + 0x1b0], eax
mov dword [ebp], ecx
mov ecx, dword [esi + 0x164]
mov dword [esi + 0x1a8], eax
mov dword [esi + 0x1b4], eax
mov dword [esi + 0x198], edx
mov edx, dword [esi + 0x5c]
lea eax, [esi + 0x180]
push eax
mov dword [esi + 0x19c], ecx
lea eax, [esp + 0x14]
mov dword [edx + 0x208], str.Graphics::Initialize_12_
mov ecx, dword [esi + 0x164]
push eax
push ecx
mov ecx, esi
call fcn.004573b0
mov edx, dword [esi + 0x5c]
mov eax, dword [esp + 0x10]
mov dword [edx + 0x208], str.Graphics::Initialize_13_
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x1b8], eax
mov dword [ecx + 0x208], str.Graphics::Initialize_14_
xor eax, eax
lea ebx, [esi + 0x1c8]
mov ecx, 0xd
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x174]
mov edx, dword [esi + 0x70]
mov dword [esi + 0x1cc], eax
mov dword [esi + 0x1d0], ecx
xor ecx, ecx
mov dword [ebx], edx
mov edx, dword [esi + 0x6c]
mov eax, 1
mov dword [esi + 0x1d4], eax
mov dword [esi + 0x1d8], ecx
mov dword [esi + 0x1e4], ecx
mov dword [esi + 0x1e8], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x1e0], edx
lea edi, [esi + 0x181]
push edi
mov dword [esi + 0x1dc], 2
lea ecx, [esp + 0x14]
mov dword [eax + 0x208], str.Graphics::Initialize_15_
mov edx, dword [esi + 0x174]
push ecx
push edx
mov ecx, esi
call fcn.004573b0
mov eax, dword [esi + 0x5c]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x208], str.Graphics::Initialize_16_
mov edx, dword [esi + 0x5c]
mov dword [esi + 0x1ec], ecx
mov dword [esi + 0x1f4], 0
mov dword [esi + 0x1f8], 1
mov dword [edx + 0x208], str.Graphics::Initialize_17_
cmp byte [esi + 0x78], 1
jne 0x458efa
mov al, byte [edi]
mov dword [esi + 0x190], ebx
mov byte [esi + 0x182], al
jmp 0x458f0c
mov cl, byte [esi + 0x180]
mov dword [esi + 0x190], ebp
mov byte [esi + 0x182], cl
mov edx, dword [esi + 0x5c]
mov dword [edx + 0x208], str.Graphics::Initialize_18_
mov edx, dword [esi + 0x190]
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax]
lea edi, [esi + 0x154]
push edi
push edx
mov edx, dword [esi + 0x6c]
push 0x40
push edx
push 1
push 0
push eax
call dword [ecx + 0x3c]
mov eax, dword [esi + 0x5c]
mov dword [eax + 0x208], str.Graphics::Initialize_19_
cmp dword [edi], 0
jne 0x458fc4
mov edx, dword [esi + 0x190]
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax]
push edi
push edx
mov edx, dword [esi + 0x6c]
push 0x80
push edx
push 1
push 0
push eax
call dword [ecx + 0x3c]
cmp dword [edi], 0
jne 0x458fc4
mov edx, dword [esi + 0x190]
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax]
push edi
push edx
mov edx, dword [esi + 0x6c]
push 0x20
push edx
push 1
push 0
push eax
call dword [ecx + 0x3c]
cmp dword [edi], 0
jne 0x458fc4
push 0xff
lea ecx, [esp + 0x50]
push ecx
push eax
call fcn.00479c60
push 0
push str.Graphics::Initialize
lea edx, [esp + 0x54]
push edx
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
pop edi
pop ebx
mov byte [esi + 0x60], 1
pop esi
pop ebp
add esp, 0x13c
ret 0x10
mov eax, dword [esi + 0x5c]
push 0
push 0
push 0
mov ecx, esi
mov dword [eax + 0x208], str.Graphics::Initialize_20_
call fcn.0042e910
mov ecx, dword [esi + 0x5c]
mov dword [ecx + 0x208], str.Graphics::Initialize_21_
mov eax, dword [esi + 0x7c]
mov edx, dword [eax]
lea ecx, [esi + 0x80]
push ecx
push 1
push 0
push eax
call dword [edx + 0x34]
mov edx, dword [esi + 0x5c]
push 0
push 0
mov ecx, esi
mov dword [edx + 0x208], str.Graphics::Initialize_22_
call fcn.00458630
mov eax, dword [esi + 0x5c]
push 0x459c4000
push 0x41200000
mov ecx, esi
mov dword [eax + 0x208], str.Graphics::Initialize_23_
call fcn.004581d0
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x20], 0x3f800000
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
mov dword [ecx + 0x208], str.Graphics::Initialize_24_
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], 0x3f800000
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], 0x3f800000
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esi + 0x1fc]
push edx
call fcn.0045f68e
mov eax, dword [esi + 0x5c]
mov ecx, esi
mov dword [eax + 0x208], str.Graphics::Initialize_25_
call fcn.00457d50
mov ecx, dword [esi + 0x5c]
mov dword [ecx + 0x208], str.Graphics::Initialize_26_
mov edx, dword [esi + 0x184]
mov edi, dword [edi]
mov dword [esp + 0x10], edx
fld dword [esp + 0x10]
fmul dword [0x4d3424]
fsub dword [0x4d3494]
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
mov eax, dword [edi]
push ecx
push 0x13
push 0
push edi
call dword [eax + 0xfc]
mov eax, dword [esi + 0x7c8]
mov edx, dword [esp + 0x10]
pop edi
inc eax
mov dword [esi + 0x7c8], eax
mov eax, dword [esi + 0x5c]
pop ebx
mov dword [esi + 0x184], edx
pop esi
mov dword [eax + 0x208], str.Graphics::Initialize_27_
pop ebp
add esp, 0x13c
ret 0x10