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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c891d
mov eax, dword fs:[0]
push eax
sub esp, 0x124
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61a654]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x80], esi
mov dword [esi], 0x5dd04c
mov dword [esi + 4], 0x5dd03c
mov dword [esp + 0x140], 0x19
call fcn.0044ed90
mov ecx, esi
call fcn.00465310
xor ebx, ebx
mov byte [esp + 0x1a], bl
lea ebp, [ebx + 8]
cmp byte [esi + 0x65a], bl
je 0x466782
push 4
push str.Is3D
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00401590
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov byte [esp + 0x148], 0x1a
call fcn.0045b950
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0x1b], al
mov byte [esp + 0x140], 0x19
jb 0x46655e
mov edx, dword [esp + 0x28]
push edx
call fcn.0059e6bb
add esp, 4
cmp byte [esp + 0x1b], bl
jne 0x46671d
mov ecx, esi
call fcn.00450f50
test al, al
jne 0x46671d
call fcn.004504b0
test al, al
je 0x466782
push str.Hardware_Acceleration_Confirmation
lea ecx, [esp + 0x68]
mov byte [esp + 0x1e], 1
call fcn.00425b70
push str.HARDWARE_ACCEL_CONFIRMATION
lea ecx, [esp + 0x88]
mov byte [esp + 0x144], 0x1b
call fcn.004013c0
push str.Hardware_Acceleration_was_switched_on_during_this_session._r_nIf_this_resulted_in_slower_performance__it_should_be_switched_off._r_nWould_you_like_to_keep_Hardware_Acceleration_switched_on_
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 0x1c
call fcn.00425b70
push str.HARDWARE_ACCEL_SWITCHED_ON
lea ecx, [esp + 0x4c]
mov byte [esp + 0x144], 0x1d
call fcn.004013c0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0xfc]
push edx
mov ecx, esi
mov byte [esp + 0x14c], 0x1e
call fcn.00455890
mov edi, eax
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x114]
push ecx
mov byte [esp + 0x148], 0x1f
call fcn.0046d120
push 0x5d94e8
push eax
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x154], 0x20
call fcn.00456e70
push edi
push eax
lea eax, [esp + 0xf4]
push eax
mov byte [esp + 0x160], 0x21
call fcn.00456f40
add esp, 0x20
mov edi, eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
mov byte [esp + 0x14c], 0x22
call fcn.00455890
cmp dword [edi + 0x18], ebp
jb 0x46667d
mov edi, dword [edi + 4]
jmp 0x466680
add edi, 4
cmp dword [eax + 0x18], ebp
jb 0x46668a
mov eax, dword [eax + 4]
jmp 0x46668d
add eax, 4
push 0x24
push edi
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0xa0]
mov edi, eax
call fcn.0040b050
lea ecx, [esp + 0xd8]
call fcn.0040b050
lea ecx, [esp + 0xbc]
call fcn.0040b050
lea ecx, [esp + 0x110]
call fcn.0040b050
lea ecx, [esp + 0xf4]
call fcn.0040b050
lea ecx, [esp + 0x48]
call fcn.00401400
lea ecx, [esp + 0x24]
call fcn.0040b050
lea ecx, [esp + 0x84]
call fcn.00401400
lea ecx, [esp + 0x64]
mov byte [esp + 0x140], 0x19
call fcn.0040b050
mov edx, dword [esi + 0x3a0]
cmp edi, 6
sete cl
mov byte [edx + 0x38], cl
cmp edi, 6
jne 0x46698b
push 4
push str.Is3D
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00401590
mov eax, dword [esi + 0x3a0]
movzx ecx, byte [eax + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov byte [esp + 0x148], 0x23
call fcn.00458520
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0x140], 0x19
jb 0x466778
mov eax, dword [esp + 0x28]
push eax
call fcn.0059e6bb
add esp, 4
cmp byte [esp + 0x1a], bl
jne 0x46698b
cmp byte [0x621f09], bl
je 0x46698b
mov ecx, esi
call fcn.0044eb30
test al, al
jne 0x46698b
push str.Hardware_Acceleration_Confirmation
lea ecx, [esp + 0x88]
call fcn.00425b70
push str.HARDWARE_ACCEL_CONFIRMATION
lea ecx, [esp + 0x4c]
mov byte [esp + 0x144], 0x24
call fcn.004013c0
push str.Hardware_Acceleration_may_not_have_been_working_correctly_during_this_session._r_nIf_you_noticed_graphics_problems__you_may_want_to_turn_off_Hardware_Acceleration._r_nWould_you_like_to_keep_Hardware_Acceleration_switched_on_
lea ecx, [esp + 0x68]
mov byte [esp + 0x144], 0x25
call fcn.00425b70
push 0x5dcc68
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 0x26
call fcn.004013c0
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
mov byte [esp + 0x14c], 0x27
call fcn.00455890
mov edi, eax
lea ecx, [esi + 0xc]
push ecx
lea edx, [esp + 0xdc]
push edx
mov byte [esp + 0x148], 0x28
call fcn.0046d120
push 0x5d94e8
push eax
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x154], 0x29
call fcn.00456e70
push edi
push eax
lea ecx, [esp + 0x12c]
push ecx
mov byte [esp + 0x160], 0x2a
call fcn.00456f40
add esp, 0x20
mov edi, eax
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xfc]
push ecx
mov ecx, esi
mov byte [esp + 0x14c], 0x2b
call fcn.00455890
cmp dword [edi + 0x18], ebp
jb 0x466891
mov edi, dword [edi + 4]
jmp 0x466894
add edi, 4
cmp dword [eax + 0x18], ebp
jb 0x46689e
mov eax, dword [eax + 4]
jmp 0x4668a1
add eax, 4
push 0x24
push edi
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0xf4]
mov edi, eax
call fcn.0040b050
lea ecx, [esp + 0x110]
call fcn.0040b050
lea ecx, [esp + 0xbc]
call fcn.0040b050
lea ecx, [esp + 0xd8]
call fcn.0040b050
lea ecx, [esp + 0xa0]
call fcn.0040b050
mov ebp, 0x10
cmp dword [esp + 0x3c], ebp
jb 0x466902
mov edx, dword [esp + 0x28]
push edx
call fcn.0059e6bb
add esp, 4
lea ecx, [esp + 0x64]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0040b050
cmp dword [esp + 0x60], ebp
jb 0x46692e
mov eax, dword [esp + 0x4c]
push eax
call fcn.0059e6bb
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov byte [esp + 0x140], 0x19
call fcn.0040b050
cmp edi, 7
jne 0x46698b
push str.Is3D
lea ecx, [esp + 0x68]
call fcn.004013c0
push ebx
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
mov byte [esp + 0x148], 0x2c
call fcn.00458520
lea ecx, [esp + 0x64]
mov byte [esp + 0x140], 0x19
call fcn.00401400
mov eax, dword [esi + 0x33c]
mov edx, dword [eax]
mov edi, dword [esi + 0x324]
lea ebp, [esi + 0x324]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edi
jmp 0x4669b0
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [ebp]
cmp edi, ebx
je 0x4669c2
cmp edi, eax
je 0x4669c7
call fcn.0059ec50
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x20], ecx
je 0x466a45
cmp edi, ebx
jne 0x466a3d
call fcn.0059ec50
xor eax, eax
mov edx, dword [esp + 0x20]
cmp edx, dword [eax + 0x18]
jne 0x4669ea
call fcn.0059ec50
mov ecx, dword [esi + 0x320]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [edx + 0x10]
mov eax, dword [eax + 0x10]
push edx
call eax
cmp edi, ebx
jne 0x466a41
call fcn.0059ec50
xor edi, edi
mov ecx, dword [esp + 0x20]
cmp ecx, dword [edi + 0x18]
jne 0x466a18
call fcn.0059ec50
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x10]
cmp ecx, ebx
je 0x466a2b
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea ecx, [esp + 0x1c]
call fcn.0056cc10
mov edi, dword [esp + 0x1c]
jmp 0x4669b0
mov eax, dword [edi]
jmp 0x4669dc
mov edi, dword [edi]
jmp 0x466a0a
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebp
call fcn.0057a9b0
mov eax, dword [ebp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x1c], ebx
mov dword [eax], eax
mov eax, dword [ebp + 0x18]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x358]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esi + 0x358]
mov dword [eax + 4], eax
mov dword [esi + 0x35c], ebx
cmp ecx, dword [esi + 0x358]
je 0x466a9d
mov edi, dword [ecx]
push ecx
call fcn.0059e6bb
add esp, 4
mov ecx, edi
cmp edi, dword [esi + 0x358]
jne 0x466a88
mov edi, dword [esi + 0x378]
cmp edi, ebx
je 0x466abe
push ebx
push 0xffffffffffffffeb
push edi
mov dword [esi + 0x378], ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x320]
cmp ecx, ebx
je 0x466ad0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esi + 0x728]
cmp ecx, ebx
je 0x466ae3
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 1
call eax
mov ecx, dword [0x6205b0]
cmp ecx, ebx
je 0x466af5
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [esi + 0x4a4]
mov ebp, dword [eax]
mov edi, dword [esi + 0x48c]
mov dword [0x6205b0], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], edi
jmp 0x466b20
mov ecx, dword [esi + 0x4a4]
mov eax, dword [esi + 0x48c]
mov dword [esp + 0x44], ecx
cmp edi, ebx
je 0x466b38
cmp edi, eax
je 0x466b3d
call fcn.0059ec50
cmp ebp, dword [esp + 0x44]
je 0x466b93
cmp edi, ebx
jne 0x466b8f
call fcn.0059ec50
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x466b58
call fcn.0059ec50
mov ecx, dword [ebp + 0x44]
cmp ecx, ebx
je 0x466b67
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x1c]
call fcn.00450760
push ebp
push edi
lea ecx, [esp + 0x134]
push ecx
lea ecx, [esi + 0x48c]
call fcn.0045bfd0
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x466b20
mov eax, dword [edi]
jmp 0x466b4e
mov ecx, dword [esi + 0x3a0]
cmp ecx, ebx
je 0x466ba5
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esi + 0x3a8]
cmp ecx, ebx
je 0x466bb7
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov edi, dword [esi + 0x374]
cmp edi, ebx
je 0x466bd8
push ebx
push 0xffffffffffffffeb
push edi
mov dword [esi + 0x374], ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x514]
mov edi, dword [sym.imp.USER32.dll_DestroyCursor]
push ecx
call edi
mov edx, dword [esi + 0x518]
push edx
call edi
mov ecx, esi
mov dword [0x620598], ebx
call fcn.00452cc0
mov eax, dword [esi + 0xf8]
cmp eax, ebx
je 0x466c0e
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [0x62059c]
mov edi, dword [sym.imp.kernel32.dll_FreeLibrary]
push eax
call edi
mov ecx, dword [0x6205a0]
push ecx
call edi
mov edx, dword [0x6205a4]
push edx
call edi
lea ecx, [esi + 0x708]
mov byte [esp + 0x140], 0x18
call fcn.00466400
lea ecx, [esi + 0x6e8]
mov byte [esp + 0x140], 0x17
call fcn.00465270
lea ecx, [esi + 0x6c8]
mov byte [esp + 0x140], 0x16
call fcn.00557a40
lea ecx, [esi + 0x6a8]
mov byte [esp + 0x140], 0x15
call fcn.00557a40
lea ecx, [esi + 0x688]
mov byte [esp + 0x140], 0x14
call fcn.004651f0
lea edi, [esi + 0x624]
mov ecx, edi
call fcn.0045ccb0
mov eax, dword [edi + 0x14]
push eax
call fcn.0059e6bb
mov dword [edi + 0x14], ebx
mov edi, dword [edi]
push edi
call fcn.0059e6bb
add esp, 8
lea ecx, [esi + 0x600]
mov byte [esp + 0x140], 0x12
call fcn.0057b430
lea ecx, [esi + 0x5b4]
mov byte [esp + 0x140], 0x11
call fcn.0046bcc0
mov ebp, 0x10
cmp dword [esi + 0x5b0], ebp
jb 0x466cf3
mov eax, dword [esi + 0x59c]
push eax
call fcn.0059e6bb
add esp, 4
mov edi, 0xf
mov dword [esi + 0x5b0], edi
mov dword [esi + 0x5ac], ebx
mov byte [esi + 0x59c], bl
cmp dword [esi + 0x594], ebp
jb 0x466d21
mov eax, dword [esi + 0x580]
push eax
call fcn.0059e6bb
add esp, 4
mov dword [esi + 0x594], edi
lea edi, [esi + 0x51c]
mov dword [esi + 0x590], ebx
mov ecx, edi
mov byte [esi + 0x580], bl
call fcn.004c3300
mov edi, dword [edi]
push edi
call fcn.0059e6bb
add esp, 4
lea ecx, [esi + 0x48c]
mov byte [esp + 0x140], 0xd
call fcn.00460f90
lea ecx, [esi + 0x46c]
mov byte [esp + 0x140], 0xc
call fcn.0045bf50
cmp dword [esi + 0x43c], ebp
jb 0x466d88
mov eax, dword [esi + 0x428]
push eax
call fcn.0059e6bb
add esp, 4
mov edi, 0xf
mov dword [esi + 0x43c], edi
mov dword [esi + 0x438], ebx
mov byte [esi + 0x428], bl
cmp dword [esi + 0x3e4], ebp
jb 0x466db6
mov eax, dword [esi + 0x3d0]
push eax
call fcn.0059e6bb
add esp, 4
mov dword [esi + 0x3e4], edi
mov dword [esi + 0x3e0], ebx
mov byte [esi + 0x3d0], bl
cmp dword [esi + 0x3c8], ebp
jb 0x466ddf
mov eax, dword [esi + 0x3b4]
push eax
call fcn.0059e6bb
add esp, 4
mov dword [esi + 0x3c8], edi
lea edi, [esi + 0x380]
mov dword [esi + 0x3c4], ebx
mov ecx, edi
mov byte [esi + 0x3b4], bl
call fcn.004c3300
mov edi, dword [edi]
push edi
call fcn.0059e6bb
lea edi, [esi + 0x344]
add esp, 4
mov ecx, edi
call fcn.004c3300
mov eax, dword [edi]
push eax
call fcn.0059e6bb
add esp, 4
lea ecx, [esi + 0x324]
mov byte [esp + 0x140], 6
call fcn.0057b430
lea ecx, [esi + 0x104]
mov byte [esp + 0x140], 5
call fcn.00468b00
cmp dword [esi + 0xb0], ebp
jb 0x466e5e
mov eax, dword [esi + 0x9c]
push eax
call fcn.0059e6bb
add esp, 4
mov edi, 0xf
mov dword [esi + 0xb0], edi
mov dword [esi + 0xac], ebx
mov byte [esi + 0x9c], bl
cmp dword [esi + 0x94], ebp
jb 0x466e8c
mov ecx, dword [esi + 0x80]
push ecx
call fcn.0059e6bb
add esp, 4
mov dword [esi + 0x94], edi
mov dword [esi + 0x90], ebx
mov byte [esi + 0x80], bl
cmp dword [esi + 0x78], 8
jb 0x466eb0
mov edx, dword [esi + 0x64]
push edx
call fcn.0059e6bb
add esp, 4
xor eax, eax
mov dword [esi + 0x78], 7
mov dword [esi + 0x74], ebx
mov word [esi + 0x64], ax
cmp dword [esi + 0x5c], ebp
jb 0x466ed1
mov ecx, dword [esi + 0x48]
push ecx
call fcn.0059e6bb
add esp, 4
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], ebx
mov byte [esi + 0x48], bl
cmp dword [esi + 0x40], ebp
jb 0x466eeb
mov edx, dword [esi + 0x2c]
push edx
call fcn.0059e6bb
add esp, 4
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x2c], bl
cmp dword [esi + 0x24], ebp
jb 0x466f05
mov eax, dword [esi + 0x10]
push eax
call fcn.0059e6bb
add esp, 4
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], ebx
mov byte [esi + 0x10], bl
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret