Function at 0x4168d0
Capabilities:
Change the wallpaper

Disassembly:
push 0xffffffffffffffff
push 0x44237a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1ac0
call fcn.004358a0
mov eax, dword [0x44c0a8]
xor eax, dword [esp + 0x1acc]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
push str.log.txt
mov dword [esp + 0x1ad0], eax
mov byte [ebp + 0xf], bl
call fcn.00435f6b
push 0x66c
call fcn.00435409
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x1ad8], ebx
je 0x41693d
push ebp
mov ecx, eax
call fcn.00419f70
jmp 0x41693f
xor eax, eax
push 0x200
mov dword [ebp + 0x1810], eax
lea eax, [esp + 0xd0]
push str.title
push eax
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push str.Armor_Engine_v1.0
push eax
mov dword [esp + 0x20e8], 1
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.displayWidth
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x445d2c
push eax
mov dword [esp + 0x20e8], 2
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.displayHeight
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x445d18
push eax
mov dword [esp + 0x20e8], 3
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.windowFrame
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444f5c
push eax
mov dword [esp + 0x20e8], 4
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.active
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444f60
push eax
mov dword [esp + 0x20e8], 5
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.stretch
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444f20
push eax
mov dword [esp + 0x20e8], 6
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.antialias
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444f20
mov dword [esp + 0x20e4], 7
mov word [eax], bx
push eax
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.autoDraw
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444f60
push eax
mov dword [esp + 0x20e8], 8
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.framerate
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x445cd4
push eax
mov dword [esp + 0x20e8], 9
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.verifyFiles
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444f20
push eax
mov dword [esp + 0x20e8], 0xa
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
mov word [esp + 0xcc], bx
push 0x200
lea ecx, [esp + 0xd0]
push str.soundSampleRate
push ecx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push str.11025
push eax
mov dword [esp + 0x20e8], 0xb
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.soundNumChannels
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444f60
push eax
mov dword [esp + 0x20e8], 0xc
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.soundBitsPerSample
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444de8
push eax
mov dword [esp + 0x20e8], 0xd
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push 0x44531c
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push 1
mov dword [esp + 0x1adc], 0xe
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444f60
push eax
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.quality
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push 1
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444f5c
push eax
mov dword [esp + 0x20e8], 0xf
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.soundVolume
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push 1
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x445c84
push eax
mov dword [esp + 0x20e8], 0x10
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.musicVolume
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push 1
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444c4c
push eax
mov dword [esp + 0x20e8], 0x11
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.scratchWidth
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x445c70
push eax
mov dword [esp + 0x20e8], 0x12
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.scratchHeight
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x445c70
push eax
mov dword [esp + 0x20e8], 0x13
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.enableConsole
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444f20
push eax
mov dword [esp + 0x20e8], 0x14
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
push str.showVersion
lea ecx, [esp + 0xd4]
mov word [esp + 0xd4], bx
push ecx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444f20
push eax
mov dword [esp + 0x20e8], 0x15
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.directInput
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444f20
push eax
mov dword [esp + 0x20e8], 0x16
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.autoLoad
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x614], esp
push 0x200
push 0x444f20
push eax
mov dword [esp + 0x20e8], 0x17
mov word [eax], bx
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push 0x200
lea ecx, [esp + 0xd0]
push str.showFPS
push ecx
mov word [esp + 0xd8], bx
call fcn.00435306
add esp, 0xc
push ebx
sub esp, 0x600
mov eax, esp
mov dword [esp + 0x20dc], 0x18
mov dword [esp + 0x614], esp
mov word [eax], bx
push 0x200
push 0x444f20
push eax
call fcn.00435306
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x6d0]
push eax
mov ecx, ebp
call dword [edx + 0x69c]
push ebx
lea ecx, [esp + 0x9c]
push ecx
push ebx
push 0x10
mov dword [esp + 0x1ae8], 0xffffffff
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp dword [esp + 0x98], ebx
setne dl
mov byte [ebp + 0x15], dl
mov eax, dword [str.jericho]
push 0x200
push eax
lea esi, [ebp + 0x9c]
push esi
call fcn.00435306
push 0x200
lea edi, [esi + 0x400]
push esi
push edi
call fcn.00435d77
push edi
call fcn.0041b2f0
mov byte [ebp + 0x16], bl
mov ecx, dword [str.jericho]
push ecx
lea edx, [esp + 0x6ec]
push str._s_armor.cfg
push edx
call fcn.004363a7
mov ecx, dword [ebp + 0x1810]
add esp, 0x28
push ebx
call fcn.00419ce0
mov ecx, dword [ebp + 0x1810]
lea eax, [esp + 0x6cc]
push eax
call fcn.0041a4c0
mov ecx, dword [str.jericho]
push ecx
lea edx, [esp + 0x6d0]
push str._s_game.cfg
push edx
call fcn.004363a7
mov ecx, dword [ebp + 0x1810]
add esp, 0xc
lea eax, [esp + 0x6cc]
push eax
call fcn.0041a4c0
mov ecx, dword [str.jericho]
push ecx
lea edx, [esp + 0x6d0]
push str.user.cfg
push edx
call fcn.004363a7
lea eax, [esp + 0x6d8]
push eax
call fcn.0041ae50
mov ecx, dword [ebp + 0x1810]
add esp, 0x10
neg al
sbb al, al
inc al
push 1
mov byte [ebp + 0x179d], al
call fcn.00419ce0
lea ecx, [esp + 0x6cc]
push ecx
mov ecx, dword [ebp + 0x1810]
call fcn.0041a4c0
push 0xb
push ebx
lea edx, [esp + 0x7d4]
push str.armor_u._u
push edx
call fcn.004363a7
mov ecx, dword [ebp + 0x1810]
add esp, 0x10
push str.displayWidth
call fcn.0041a840
mov ecx, dword [ebp + 0x1810]
push str.displayHeight
mov esi, eax
call fcn.0041a840
mov ecx, dword [ebp + 0x1810]
mov edi, eax
push str.active
mov dword [esp + 0x18], edi
call fcn.0041a820
mov ecx, dword [ebp + 0x1810]
push str.stretch
mov byte [ebp + 0xa], al
call fcn.0041a820
mov ecx, dword [ebp + 0x1810]
push str.autoDraw
mov byte [ebp + 0xb], al
call fcn.0041a820
mov ecx, dword [ebp + 0x1810]
push str.framerate
mov byte [ebp + 0xc], al
call fcn.0041a840
mov ecx, dword [ebp + 0x1810]
push str.antialias
mov dword [ebp + 0x70], eax
call fcn.0041a840
mov ecx, dword [ebp + 0x1810]
push str.quality
mov dword [ebp + 0x34], eax
call fcn.0041a840
mov ecx, dword [ebp + 0x1810]
push 0x44531c
mov dword [ebp + 0x30], eax
call fcn.0041a820
mov ecx, dword [ebp + 0x1810]
push str.soundVolume
mov byte [esp + 0x14], al
call fcn.0041a860
fstp dword [ebp + 0x94]
mov ecx, dword [ebp + 0x1810]
push str.musicVolume
call fcn.0041a860
fstp dword [ebp + 0x98]
mov ecx, dword [ebp + 0x1810]
push str.soundSampleRate
call fcn.0041a840
mov ecx, dword [ebp + 0x1810]
push str.soundNumChannels
mov dword [ebp + 0x24], eax
call fcn.0041a840
mov ecx, dword [ebp + 0x1810]
push str.soundBitsPerSample
mov dword [ebp + 0x28], eax
call fcn.0041a840
mov ecx, dword [ebp + 0x1810]
push str.directInput
mov dword [ebp + 0x2c], eax
call fcn.0041a820
mov ecx, dword [ebp + 0x1810]
push str.autoLoad
mov byte [ebp + 0x1c], al
call fcn.0041a820
mov ecx, dword [ebp + 0x1810]
push str.showFPS
mov byte [ebp + 0x1d], al
call fcn.0041a820
mov ecx, dword [ebp + 0x1810]
push str.staggerSounds
mov byte [ebp + 0x1e], al
call fcn.0041a820
mov byte [ebp + 0x1f], al
mov byte [ebp + 0x16], bl
mov ecx, dword [ebp + 0x1810]
push str.enableConsole
mov byte [ebp + 0x19], bl
call fcn.0041a820
mov byte [ebp + 0x17], al
mov eax, dword [str.jericho]
push eax
lea ecx, [esp + 0x6d0]
push str._s.ico
push ecx
call fcn.004363a7
add esp, 0xc
push 0x10
push ebx
push ebx
push 1
lea edx, [esp + 0x6dc]
push edx
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
push ebx
mov dword [0x450f20], eax
mov dword [esp + 0xa0], 0x30
mov dword [esp + 0xa4], 3
mov dword [esp + 0xa8], fcn.004165e0
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 0xb0], eax
mov eax, dword [0x450f20]
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x7cc]
push edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], ebx
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov ecx, dword [ebp + 0x1810]
push str.windowFrame
call fcn.0041a840
test eax, eax
je 0x4176d4
cmp byte [ebp + 0xd], bl
jne 0x4176d4
mov ecx, dword [ebp + 0x1810]
push str.windowFrame
call fcn.0041a840
cmp eax, 1
push 7
jne 0x41769a
mov dword [esp + 0x1c], 0x200
mov dword [esp + 0x28], 0x80800000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, esi
push 8
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, edi
mov dword [esp + 0x20], eax
jmp 0x4176e8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], 0xca0000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea eax, [esi + eax*2]
push 8
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 4
lea edi, [edi + eax*2]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [edi + eax - 1]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
jmp 0x4176e8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], DirectSoundCreate
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov edx, dword [0x44c054]
push 0x200
push edx
lea eax, [esp + 0xd4]
push eax
mov word [esp + 0xd8], bx
call fcn.00435306
push 0x200
lea ecx, [esp + 0x8dc]
push 0x4450f8
push ecx
mov word [esp + 0x8e4], bx
call fcn.00435306
add esp, 0x18
lea edx, [esp + 0xcc]
push edx
lea eax, [esp + 0x14d0]
push eax
lea ecx, [esp + 0x8d4]
call fcn.00414d80
push 0x200
lea ecx, [eax + 0x400]
push eax
push ecx
mov dword [esp + 0x20], ecx
call fcn.00435d77
add esp, 0xc
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x28]
push edx
push DirectSoundCreate
push DirectSoundCreate
push eax
mov eax, dword [esp + 0x3c]
push ecx
lea edx, [esp + 0x7f4]
push edx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [ebp]
mov ecx, ebp
mov dword [0x450f2c], eax
mov dword [ebp + 0x78], esi
mov dword [ebp + 0x7c], edi
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], ebx
call dword [edx + 0x694]
push 0xfc
mov byte [ebp + 8], bl
mov byte [ebp + 9], bl
call fcn.00435409
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x1ad8], 0x19
je 0x4177e8
push ebp
mov ecx, eax
call fcn.0041ee10
jmp 0x4177ea
xor eax, eax
push str.root
mov ecx, eax
mov dword [esp + 0x1adc], 0xffffffff
mov dword [ebp + 0x1850], eax
call fcn.00424ea0
mov eax, dword [ebp + 0x1850]
mov ecx, ebp
mov dword [ebp + 0x184c], eax
mov byte [ebp + 0x10], 1
call fcn.00426030
mov ecx, ebp
call fcn.004257c0
cmp byte [ebp + 0x10], bl
jne 0x417842
mov ecx, dword [0x450f2c]
push ebx
push str.DirectX_error
push str.DirectX_unavailable.__Falling_back_on_basic_audio_video_functionality.
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [ebp + 0x198c]
mov eax, 0x420890
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, 0x41f940
lea esi, [ebp + 0x1988]
mov dword [esp + 0x58], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
cmp edx, dword [esi + 8]
mov dword [esp + 0x28], 0x41f8e0
mov dword [esp + 0x54], 0x422a00
mov dword [esp + 0x60], fcn.00420dd0
mov dword [esp + 0x5c], 0x420c30
mov dword [esp + 0x64], 0x420ea0
mov dword [esp + 0x68], 0x421020
mov dword [esp + 0x70], 0x421240
mov dword [esp + 0x80], 0x4218b0
mov dword [esp + 0x84], 0x4219b0
mov dword [esp + 0x88], 0x421b70
mov dword [esp + 0x8c], 0x421cd0
mov dword [esp + 0x94], 0x4206f0
jl 0x41790f
mov ecx, esi
call fcn.00414d20
cmp dword [esi], ebx
jne 0x41791a
mov ecx, esi
call fcn.00414d20
mov edi, dword [esi + 4]
mov eax, dword [esi]
imul edi, edi, 0x70
add edi, eax
mov eax, 0x41f940
mov ecx, 0x1c
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0x198c]
lea esi, [ebp + 0x1988]
inc edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
mov eax, 0x4212f0
mov dword [esi + 4], edx
mov ecx, dword [esi + 8]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov eax, edx
cmp eax, ecx
mov dword [esp + 0x28], 0x41f8e0
mov dword [esp + 0x30], 0x41fbf0
mov dword [esp + 0x50], 0x420890
mov dword [esp + 0x54], 0x422a00
mov dword [esp + 0x60], fcn.00420dd0
mov dword [esp + 0x5c], 0x420c30
mov dword [esp + 0x64], 0x420ea0
mov dword [esp + 0x68], 0x421020
mov dword [esp + 0x6c], 0x421110
mov dword [esp + 0x70], 0x421240
mov dword [esp + 0x7c], 0x421670
mov dword [esp + 0x80], 0x4218b0
mov dword [esp + 0x84], 0x4219b0
mov dword [esp + 0x88], 0x421b70
mov dword [esp + 0x8c], 0x421cd0
mov dword [esp + 0x94], 0x4206f0
jl 0x417a14
mov ecx, esi
call fcn.00414d20
cmp dword [esi], ebx
jne 0x417a1f
mov ecx, esi
call fcn.00414d20
mov edi, dword [esi + 4]
mov edx, dword [esi]
imul edi, edi, 0x70
add edi, edx
mov ecx, 0x1c
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x198c]
lea esi, [ebp + 0x1988]
inc ecx
mov dword [esi + 4], ecx
cmp ecx, dword [esi + 8]
mov dword [esp + 0x28], 0x41f8e0
mov dword [esp + 0x2c], 0x41f940
mov dword [esp + 0x30], 0x41fbf0
mov dword [esp + 0x34], 0x41fcf0
mov dword [esp + 0x38], 0x41fe30
mov dword [esp + 0x3c], 0x420030
mov dword [esp + 0x40], 0x4206f0
mov dword [esp + 0x44], fcn.00420880
mov dword [esp + 0x48], fcn.00420880
mov dword [esp + 0x4c], fcn.00420880
mov dword [esp + 0x50], 0x420890
mov dword [esp + 0x54], 0x422a00
mov dword [esp + 0x58], 0x420930
mov dword [esp + 0x60], fcn.00420dd0
mov dword [esp + 0x5c], 0x420c30
mov dword [esp + 0x64], 0x420ea0
mov dword [esp + 0x68], 0x421020
mov dword [esp + 0x6c], 0x421110
mov dword [esp + 0x70], 0x421240
mov dword [esp + 0x74], 0x4212f0
mov dword [esp + 0x78], 0x421480
mov dword [esp + 0x7c], 0x421670
mov dword [esp + 0x80], 0x4218b0
mov dword [esp + 0x84], 0x4219b0
mov dword [esp + 0x88], 0x421b70
mov dword [esp + 0x8c], 0x421cd0
mov dword [esp + 0x94], 0x4206f0
jl 0x417b37
mov ecx, esi
call fcn.00414d20
cmp dword [esi], ebx
jne 0x417b42
mov ecx, esi
call fcn.00414d20
mov edi, dword [esi + 4]
mov ecx, dword [esi]
imul edi, edi, 0x70
add edi, ecx
mov ecx, 0x1c
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
inc dword [ebp + 0x198c]
mov eax, dword [str._images__s.tga]
lea edx, [ebp + 0x69c]
mov dword [edx], eax
mov ecx, dword [0x445b68]
mov dword [edx + 4], ecx
mov eax, dword [0x445b6c]
mov dword [edx + 8], eax
mov cx, word [0x445b70]
mov word [edx + 0xc], cx
mov al, byte [0x445b72]
mov byte [edx + 0xe], al
mov edx, dword [str._sprites__s.spr]
lea ecx, [ebp + 0x79c]
mov dword [ecx], edx
mov eax, dword [0x445b58]
mov dword [ecx + 4], eax
mov edx, dword [0x445b5c]
mov dword [ecx + 8], edx
mov eax, dword [0x445b60]
mov dword [ecx + 0xc], eax
mov edx, dword [str._fonts__s.fnt]
lea ecx, [ebp + 0x89c]
mov dword [ecx], edx
mov eax, dword [0x445b48]
mov dword [ecx + 4], eax
mov edx, dword [0x445b4c]
mov dword [ecx + 8], edx
mov ax, word [0x445b50]
mov word [ecx + 0xc], ax
mov edx, dword [str._anims__s.anm]
lea ecx, [ebp + 0x99c]
mov dword [ecx], edx
mov eax, dword [0x445b38]
mov dword [ecx + 4], eax
mov edx, dword [0x445b3c]
mov dword [ecx + 8], edx
mov ax, word [0x445b40]
mov word [ecx + 0xc], ax
mov edx, dword [str._ui__s.aui]
lea ecx, [ebp + 0xa9c]
mov dword [ecx], edx
mov eax, dword [0x445b2c]
mov dword [ecx + 4], eax
mov dx, word [0x445b30]
mov word [ecx + 8], dx
mov al, byte [0x445b32]
mov byte [ecx + 0xa], al
mov edx, dword [str._fx__s.afx]
lea ecx, [ebp + 0xb9c]
mov dword [ecx], edx
mov eax, dword [0x445b20]
mov dword [ecx + 4], eax
mov dx, word [0x445b24]
mov word [ecx + 8], dx
mov al, byte [0x445b26]
mov byte [ecx + 0xa], al
mov edx, dword [str._sounds__s.wav]
lea ecx, [ebp + 0xc9c]
mov dword [ecx], edx
mov eax, dword [0x445b10]
mov dword [ecx + 4], eax
mov edx, dword [0x445b14]
mov dword [ecx + 8], edx
mov ax, word [0x445b18]
mov word [ecx + 0xc], ax
mov dl, byte [0x445b1a]
mov byte [ecx + 0xe], dl
mov ecx, dword [str._music__s.mid]
lea eax, [ebp + 0xd9c]
mov dword [eax], ecx
mov edx, dword [0x445b00]
mov dword [eax + 4], edx
mov ecx, dword [0x445b04]
mov dword [eax + 8], ecx
mov dx, word [0x445b08]
mov word [eax + 0xc], dx
mov ecx, dword [str._text__s.atx]
lea eax, [ebp + 0xe9c]
mov dword [eax], ecx
mov edx, dword [0x445af0]
mov dword [eax + 4], edx
mov ecx, dword [0x445af4]
mov dword [eax + 8], ecx
mov dl, byte [0x445af8]
mov byte [eax + 0xc], dl
mov ecx, dword [str._configs__s.cfg]
lea eax, [ebp + 0xf9c]
mov dword [eax], ecx
mov edx, dword [0x445ae0]
mov dword [eax + 4], edx
mov ecx, dword [0x445ae4]
mov dword [eax + 8], ecx
mov edx, dword [0x445ae8]
mov dword [eax + 0xc], edx
mov ecx, dword [str._scripts__s.asc]
lea eax, [ebp + 0x109c]
mov dword [eax], ecx
mov edx, dword [0x445ad0]
mov dword [eax + 4], edx
mov ecx, dword [0x445ad4]
mov dword [eax + 8], ecx
mov edx, dword [0x445ad8]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], edx
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x544]
mov eax, dword [ebp + 0x94]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x458]
mov eax, dword [ebp + 0x98]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x478]
push 0x200
lea ecx, [esp + 0x8d0]
push str.scratchWidth
push ecx
mov word [esp + 0x8d8], bx
call fcn.00435306
add esp, 0xc
mov edx, dword [ebp]
lea eax, [esp + 0x8cc]
push eax
mov ecx, ebp
mov dword [esp + 0x1adc], 0x1a
call dword [edx + 0x6a4]
push 0x200
lea ecx, [esp + 0xed0]
push str.scratchHeight
push ecx
mov dword [ebp + 0x3c], eax
mov word [esp + 0xed8], bx
call fcn.00435306
add esp, 0xc
mov edx, dword [ebp]
lea eax, [esp + 0xecc]
push eax
mov ecx, ebp
mov dword [esp + 0x1adc], 0x1b
call dword [edx + 0x6a4]
mov ecx, dword [ebp + 0x3c]
mov dword [ebp + 0x40], eax
imul ecx, eax
mov dword [esp + 0x1ad8], 0xffffffff
mov word [esp + 0xecc], bx
shl ecx, 2
push ecx
call fcn.00435409
mov ecx, dword [ebp + 0x40]
imul ecx, dword [ebp + 0x3c]
shl ecx, 2
mov edx, ecx
shr ecx, 2
mov edi, eax
mov dword [ebp + 0x88], edi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
add esp, 4
xor eax, eax
mov ecx, 0x100
mov edi, 0x456d78
rep stosd dword es:[edi], eax
mov byte [0x45713b], 0xa
mov byte [0x45713f], 0x14
mov byte [0x457143], 0x1e
mov byte [0x457147], 0x28
mov byte [0x45714b], 0x32
mov byte [0x45714f], 0x3c
mov byte [0x457153], 0x46
mov byte [0x457157], 0x50
mov byte [0x45715b], 0x5a
mov byte [0x45715f], 0x64
mov byte [0x457163], 0x82
mov byte [0x457167], 0x96
mov byte [0x45716b], 0xaa
mov byte [0x45716f], 0xbe
mov byte [0x457173], 0xd2
mov byte [0x457177], 0xff
mov eax, 0x456d7b
mov cl, byte [eax]
mov byte [eax - 1], cl
mov byte [eax - 2], cl
mov byte [eax - 3], cl
mov byte [eax], 0xff
add eax, 4
cmp eax, 0x45717b
jl 0x417eb5
mov ecx, ebp
call fcn.00425530
mov ecx, ebp
call fcn.0041b7d0
push ebx
call dword [sym.imp.USER32.dll_ShowCursor]
cmp byte [ebp + 0x1c], bl
je 0x417eee
mov ecx, ebp
call fcn.0041cc20
mov ecx, dword [esp + 0x1ad0]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1ac4]
xor ecx, dword [esp + 0x1ad4]
pop ebp
pop ebx
add esp, 0x1acc
jmp fcn.0043558f