Function at 0x407430
Capabilities:
Get common file path
Hide graphical window

Disassembly:
mov eax, 0x1094
call fcn.00464610
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 0x496630
xor ebx, ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
push edi
mov dword [esi + 0x18], eax
mov dword [esp + 0x10a0], ebx
mov dword [esi + 0x1c], eax
lea edi, [esi + 0x4c]
mov ebp, 0x10
mov ecx, edi
call fcn.00409230
add edi, 0x10
dec ebp
jne 0x407462
lea edi, [esi + 0x14c]
mov ecx, edi
call fcn.0040f040
lea ecx, [edi + 0x10]
call fcn.00409190
lea ecx, [edi + 0x20]
call fcn.004091b0
xor ebp, ebp
mov dword [edi + 0x30], 0x496630
lea ecx, [esi + 0x1a4]
mov dword [edi + 0x34], ebp
mov dword [edi + 0x38], ebp
mov dword [edi + 0x44], ebp
mov dword [edi + 0x48], 0xffffffff
call fcn.00406070
lea edi, [esi + 0x1e4]
mov ecx, edi
call fcn.0040f1b0
lea ecx, [edi + 0x10]
call fcn.0040f1b0
lea ecx, [esi + 0x228]
call fcn.0041fd30
lea ecx, [esi + 0x244]
call fcn.00434fd0
push ebp
push ebp
lea ecx, [esi + 0x25c]
call fcn.00431bb0
mov dword [esi], 0x480284
xor ecx, ecx
mov edx, dword [ecx + 0x486e5c]
mov eax, 0x5a80f33b
shl edx, 0xc
imul edx
sar edx, 0xb
mov eax, edx
add ecx, 4
shr eax, 0x1f
add edx, eax
mov eax, 0x5a80f33b
mov dword [ecx + 0x487658], edx
mov edx, dword [ecx + 0x487258]
shl edx, 0xc
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ecx, 0x400
mov dword [ecx + 0x487a58], edx
jl 0x4074f0
mov edi, dword [esi + 4]
mov ecx, dword [esp + 0x10b8]
and edi, 0xfffdfffd
mov dword [esi + 4], edi
mov edx, dword [ecx + 0x120]
mov eax, edi
mov edi, 1
and eax, 0xffff1082
and edx, edi
xor eax, edx
mov dword [esi + 0x204], ebp
or eax, 0x11080
mov dword [esi + 0x28], 0x280
mov dword [esi + 4], eax
mov dword [esi + 0x2c], 0x1e0
mov dword [esi + 0x214], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x284], ebp
mov dword [esi + 0x280], ebp
mov dword [esi + 0x288], ebp
mov dword [esi + 0x20], ebp
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esi + 0x24], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x30], edi
lea edi, [esi + 0x28c]
mov ecx, 0x800
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [esi + 0x218]
xor ecx, ecx
mov edx, dword [esp + 0x10a8]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ecx, esi
mov dword [esi + 0x208], edx
call fcn.0040d9d0
push 0x40c
call fcn.004640eb
add esp, 4
cmp eax, ebp
je 0x407607
push 1
mov ecx, eax
call fcn.00406d50
mov dword [0x496644], eax
jmp 0x40760d
mov dword [0x496644], ebp
mov edx, dword [0x5e0658]
cmp edx, ebp
je 0x407635
cmp byte [edx], 0
je 0x407635
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00403bc0
jmp 0x40763d
mov dword [esp + 0x20], 0x496630
lea eax, [esp + 0x2c]
push 0x489228
push eax
lea ecx, [esp + 0x18]
push 0x488aa4
push ecx
lea ecx, [esp + 0x30]
call fcn.00405af0
mov ecx, eax
call fcn.00405a50
mov eax, dword [esp + 0x10]
cmp eax, 0x496630
je 0x407675
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, 0x496630
je 0x407689
push eax
call fcn.004640e0
add esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0xa0]
push edx
push 0x1000
call ebp
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x30]
push eax
call fcn.00409130
mov ecx, dword [esp + 0x30]
push 0x488aa4
push ecx
lea ecx, [esp + 0x24]
call fcn.00405010
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.00405010
mov ecx, dword [esp + 0x14]
push str..cfg
push ecx
lea ecx, [esp + 0x18]
call fcn.00405010
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
mov dword [esp + 0x28], 0x496630
call fcn.00405f70
mov eax, dword [esp + 0x10]
cmp eax, 0x496630
je 0x407712
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, 0x496630
je 0x407726
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, 0x496630
je 0x40773a
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, 0x496630
je 0x40774e
push eax
call fcn.004640e0
add esp, 4
mov edi, dword [esp + 0x10b0]
push str..cfg
mov eax, dword [edi]
push eax
call fcn.00465750
add esp, 8
test eax, eax
je 0x4077fb
lea ecx, [esp + 0xa0]
push ecx
push 0x1000
call ebp
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x1c]
push edx
call fcn.00409130
mov eax, dword [esp + 0x1c]
push 0x488aa4
push eax
lea ecx, [esp + 0x1c]
call fcn.00405010
mov ecx, dword [edi]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00405010
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
call fcn.00405f70
mov eax, dword [esp + 0x10]
cmp eax, 0x496630
je 0x4077d3
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, 0x496630
je 0x4077e7
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, 0x496630
je 0x4077fb
push eax
call fcn.004640e0
add esp, 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x407837
mov ecx, dword [0x496644]
push eax
push 0x48921c
push 0xc
push 0x489218
push ecx
call fcn.00407250
mov eax, dword [esp + 0x38]
add esp, 0x14
cmp eax, 0x496630
je 0x408226
jmp 0x40821d
push 4
call fcn.004640eb
mov edi, eax
add esp, 4
test edi, edi
je 0x4078a6
lea edx, [esp + 0xa0]
push edx
push 0x1000
call ebp
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x14]
push eax
call fcn.00409130
mov ecx, dword [esp + 0x14]
push str.Strings.ini
push ecx
lea ecx, [esp + 0x18]
call fcn.00405010
lea edx, [esp + 0x10]
mov ecx, edi
push edx
mov dword [esp + 0x10a4], 3
mov dword [edi], 0x496630
call fcn.00405f70
mov ebx, dword [esp + 0x10a0]
mov dword [0x49675c], edi
jmp 0x4078b0
mov dword [0x49675c], 0
test bl, 2
je 0x4078d3
mov eax, dword [esp + 0x10]
and ebx, 0xfffffffd
cmp eax, 0x496630
mov dword [esp + 0x10a0], ebx
je 0x4078d3
push eax
call fcn.004640e0
add esp, 4
test bl, 1
je 0x4078f6
mov eax, dword [esp + 0x14]
and ebx, 0xfffffffe
cmp eax, 0x496630
mov dword [esp + 0x10a0], ebx
je 0x4078f6
push eax
call fcn.004640e0
add esp, 4
mov eax, str.Title
test eax, eax
je 0x407928
mov al, byte [str.Title]
test al, al
je 0x407928
mov edi, str.Title
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Title
lea ecx, [esp + 0x20]
call fcn.00403bc0
jmp 0x407930
mov dword [esp + 0x18], 0x496630
mov ecx, str.common
test ecx, ecx
je 0x40795f
mov al, byte [str.common]
test al, al
je 0x40795f
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.common
lea ecx, [esp + 0x28]
call fcn.00403bc0
jmp 0x407967
mov dword [esp + 0x20], 0x496630
lea edx, [esp + 0x2c]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00405fb0
push eax
lea ecx, [esi + 0x10]
call fcn.00405080
mov eax, dword [esp + 0x10]
cmp eax, 0x496630
je 0x4079a1
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, 0x496630
je 0x4079b5
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, 0x496630
je 0x4079c9
push eax
call fcn.004640e0
add esp, 4
push 4
call fcn.004640eb
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x407aa1
mov eax, str.RegPath
test eax, eax
je 0x407a0f
mov al, byte [str.RegPath]
test al, al
je 0x407a0f
mov edi, str.RegPath
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.RegPath
lea ecx, [esp + 0x28]
call fcn.00403bc0
jmp 0x407a17
mov dword [esp + 0x20], 0x496630
mov ecx, str.common
or ebx, 4
test ecx, ecx
je 0x407a49
mov al, byte [str.common]
test al, al
je 0x407a49
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.common
lea ecx, [esp + 0x20]
call fcn.00403bc0
jmp 0x407a51
mov dword [esp + 0x18], 0x496630
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push edx
push str.SOFTWAREGromada_
or ebx, 8
call fcn.00405010
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
or ebx, 0x10
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x1c]
or ebx, 0x20
push edx
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x10b0], ebx
call fcn.00405fb0
push eax
mov ecx, ebp
call fcn.00406cc0
mov dword [0x498b94], ebp
jmp 0x407aab
mov dword [0x498b94], 0
test bl, 0x20
je 0x407ace
mov eax, dword [esp + 0x14]
and ebx, 0xffffffdf
cmp eax, 0x496630
mov dword [esp + 0x10a0], ebx
je 0x407ace
push eax
call fcn.004640e0
add esp, 4
test bl, 0x10
je 0x407af1
mov eax, dword [esp + 0x10]
and ebx, 0xffffffef
cmp eax, 0x496630
mov dword [esp + 0x10a0], ebx
je 0x407af1
push eax
call fcn.004640e0
add esp, 4
test bl, 8
je 0x407b14
mov eax, dword [esp + 0x18]
and ebx, 0xfffffff7
cmp eax, 0x496630
mov dword [esp + 0x10a0], ebx
je 0x407b14
push eax
call fcn.004640e0
add esp, 4
test bl, 4
je 0x407b37
mov eax, dword [esp + 0x20]
and ebx, 0xfffffffb
cmp eax, 0x496630
mov dword [esp + 0x10a0], ebx
je 0x407b37
push eax
call fcn.004640e0
add esp, 4
mov ecx, str.VSync
test ecx, ecx
je 0x407b66
mov al, byte [str.VSync]
test al, al
je 0x407b66
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.VSync
lea ecx, [esp + 0x28]
call fcn.00403bc0
jmp 0x407b6e
mov dword [esp + 0x20], 0x496630
mov edx, str.graph
test edx, edx
je 0x407b9e
mov al, byte [str.graph]
test al, al
je 0x407b9e
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00403bc0
mov ebp, 0x496630
jmp 0x407ba7
mov ebp, 0x496630
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x20]
push 1
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00405f90
mov ebx, dword [esp + 0x10b8]
neg eax
mov edx, dword [ebx + 0x120]
sbb eax, eax
and eax, 2
or edx, eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov dword [ebx + 0x120], edx
je 0x407be9
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x407bfa
push eax
call fcn.004640e0
add esp, 4
mov edx, str.StartDialogIsFull
test edx, edx
je 0x407c25
mov al, byte [str.StartDialogIsFull]
test al, al
je 0x407c25
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00403bc0
jmp 0x407c29
mov dword [esp + 0x20], ebp
mov eax, str.game
test eax, eax
je 0x407c5b
mov al, byte [str.game]
test al, al
je 0x407c5b
mov edi, str.game
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.game
lea ecx, [esp + 0x20]
call fcn.00403bc0
jmp 0x407c5f
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00405f90
mov edx, dword [ebx + 0x120]
neg eax
sbb eax, eax
and eax, 4
or edx, eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov dword [ebx + 0x120], edx
je 0x407c9a
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x407cab
push eax
call fcn.004640e0
add esp, 4
mov eax, str.Device
test eax, eax
je 0x407cdd
mov al, byte [str.Device]
test al, al
je 0x407cdd
mov edi, str.Device
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Device
lea ecx, [esp + 0x20]
call fcn.00403bc0
jmp 0x407ce1
mov dword [esp + 0x18], ebp
mov ecx, dword [ebx + 0x124]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [0x498b94]
push edx
call fcn.00425d90
mov dword [ebx + 0x124], eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x407d0f
push eax
call fcn.004640e0
add esp, 4
mov eax, str.ScreenX
test eax, eax
je 0x407d41
mov al, byte [str.ScreenX]
test al, al
je 0x407d41
mov edi, str.ScreenX
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.ScreenX
lea ecx, [esp + 0x20]
call fcn.00403bc0
jmp 0x407d45
mov dword [esp + 0x18], ebp
mov ecx, dword [ebx + 0x128]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [0x498b94]
push edx
call fcn.00425d90
mov dword [ebx + 0x128], eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x407d73
push eax
call fcn.004640e0
add esp, 4
mov eax, str.ScreenY
test eax, eax
je 0x407da5
mov al, byte [str.ScreenY]
test al, al
je 0x407da5
mov edi, str.ScreenY
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.ScreenY
lea ecx, [esp + 0x20]
call fcn.00403bc0
jmp 0x407da9
mov dword [esp + 0x18], ebp
mov ecx, dword [ebx + 0x12c]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [0x498b94]
push edx
call fcn.00425d90
mov dword [ebx + 0x12c], eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x407dd7
push eax
call fcn.004640e0
add esp, 4
mov eax, 0x489194
test eax, eax
je 0x407e09
mov al, byte [0x489194]
test al, al
je 0x407e09
mov edi, 0x489194
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x489194
lea ecx, [esp + 0x20]
call fcn.00403bc0
jmp 0x407e0d
mov dword [esp + 0x18], ebp
mov ecx, dword [ebx + 0x130]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [0x498b94]
push edx
call fcn.00425d90
mov dword [ebx + 0x130], eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x407e3b
push eax
call fcn.004640e0
add esp, 4
mov eax, str.FullScreen
test eax, eax
je 0x407e6d
mov al, byte [str.FullScreen]
test al, al
je 0x407e6d
mov edi, str.FullScreen
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.FullScreen
lea ecx, [esp + 0x20]
call fcn.00403bc0
jmp 0x407e71
mov dword [esp + 0x18], ebp
mov ecx, dword [ebx + 0x134]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [0x498b94]
push edx
call fcn.00425d90
mov dword [ebx + 0x134], eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x407e9f
push eax
call fcn.004640e0
add esp, 4
push 0xbe4
call fcn.004640eb
mov edi, eax
add esp, 4
test edi, edi
je 0x407ec4
push ebx
mov ecx, edi
call fcn.00401490
mov dword [0x4b8c74], edi
xor ebx, ebx
jmp 0x407ecc
xor ebx, ebx
mov dword [0x4b8c74], ebx
mov eax, str.StartDialog
test eax, eax
je 0x407efe
mov al, byte [str.StartDialog]
test al, al
je 0x407efe
mov edi, str.StartDialog
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.StartDialog
lea ecx, [esp + 0x28]
call fcn.00403bc0
jmp 0x407f02
mov dword [esp + 0x20], ebp
mov ecx, str.game
test ecx, ecx
je 0x407f31
mov al, byte [str.game]
test al, al
je 0x407f31
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.game
lea ecx, [esp + 0x20]
call fcn.00403bc0
jmp 0x407f35
mov dword [esp + 0x18], ebp
lea edx, [esp + 0x20]
push 1
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.00405f90
mov edi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x407f5d
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x407f6e
push eax
call fcn.004640e0
add esp, 4
cmp edi, ebx
je 0x407f8f
mov ecx, dword [esi + 0x208]
push ebx
push 0x403270
push ebx
push str.START_DIALOG
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
je 0x40800e
cmp dword [esp + 0x10ac], ebx
jne 0x40803b
mov edx, dword [esi + 0x208]
push str.AppIcon
push edx
mov dword [esp + 0x58], ebx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
and al, 1
neg al
sbb eax, eax
push 4
and eax, str.AppMenu
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [esi + 0x208]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x48], edx
push eax
mov dword [esp + 0x3c], 3
mov dword [esp + 0x40], 0x403ce0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x40803b
lea ecx, [esp + 0x24]
call fcn.00431b90
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x409119
push eax
call fcn.004640e0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1094
ret 0x14
mov ecx, dword [0x4b8c74]
mov ebx, 0x80
test byte [ecx + 0x34], bl
je 0x40804f
xor ebp, ebp
jmp 0x4080a7
mov edx, str.WindowPositionX
test edx, edx
je 0x40807a
mov al, byte [str.WindowPositionX]
test al, al
je 0x40807a
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00403bc0
jmp 0x408082
mov dword [esp + 0x18], 0x496630
mov edi, dword [esp + 0x10a0]
mov ecx, dword [0x498b94]
lea eax, [esp + 0x18]
or edi, 0x40
push 0
push eax
mov dword [esp + 0x10a8], edi
call fcn.00425d90
mov ebp, eax
test byte [esp + 0x10a0], 0x40
je 0x4080d6
mov edx, dword [esp + 0x10a0]
mov eax, dword [esp + 0x18]
and edx, 0xffffffbf
cmp eax, 0x496630
mov dword [esp + 0x10a0], edx
je 0x4080d6
push eax
call fcn.004640e0
add esp, 4
mov ecx, dword [0x4b8c74]
test byte [ecx + 0x34], bl
je 0x4080e5
xor edi, edi
jmp 0x40813c
mov edx, str.WindowPositionY
test edx, edx
je 0x408110
mov al, byte [str.WindowPositionY]
test al, al
je 0x408110
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00403bc0
jmp 0x408118
mov dword [esp + 0x18], 0x496630
mov edi, dword [esp + 0x10a0]
mov ecx, dword [0x498b94]
lea eax, [esp + 0x18]
or edi, ebx
push 0
push eax
mov dword [esp + 0x10a8], edi
call fcn.00425d90
mov edi, eax
test byte [esp + 0x10a0], 0x80
je 0x40816b
mov edx, dword [esp + 0x10a0]
mov eax, dword [esp + 0x18]
and dl, 0x7f
cmp eax, 0x496630
mov dword [esp + 0x10a0], edx
je 0x40816b
push eax
call fcn.004640e0
add esp, 4
mov ecx, dword [0x4b8c74]
mov dword [0x496760], esi
mov ebx, dword [esi + 0x208]
push 0
mov eax, dword [ecx + 0x244]
mov ecx, dword [ecx + 0x240]
push ebx
push 0
push 0
push eax
push ecx
mov ecx, dword [0x4b8c74]
mov edx, dword [esi + 0x10]
push edi
mov eax, dword [ecx + 0x34]
mov ecx, dword [esp + 0x48]
and al, 0x80
push ebp
neg al
sbb eax, eax
and eax, 0xef360000
add eax, 0x90ca0000
push eax
push edx
push ecx
push 0x40000
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [esp + 0x10b4]
mov dword [esi + 0x20c], eax
push edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x20c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esi + 0x208]
push str.AppAccel
push ecx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov edx, dword [esi + 0x20c]
mov dword [esi + 0x210], eax
mov ecx, dword [0x4b8c74]
push edx
call fcn.004279f0
test eax, eax
je 0x40824d
mov eax, dword [esp + 0x24]
cmp eax, 0x496630
je 0x408226
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, 0x496630
je 0x409119
push eax
call fcn.004640e0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1094
ret 0x14
mov eax, str.FontSizeY
test eax, eax
je 0x408284
mov al, byte [str.FontSizeY]
test al, al
je 0x408284
mov edi, str.FontSizeY
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.FontSizeY
lea ecx, [esp + 0x18]
call fcn.00403bc0
mov ebx, 0x496630
jmp 0x40828d
mov ebx, 0x496630
mov dword [esp + 0x10], ebx
mov ecx, str.graph
test ecx, ecx
je 0x4082bc
mov al, byte [str.graph]
test al, al
je 0x4082bc
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.graph
lea ecx, [esp + 0x1c]
call fcn.00403bc0
jmp 0x4082c0
mov dword [esp + 0x14], ebx
mov edx, str.FontSizeX
test edx, edx
je 0x4082eb
mov al, byte [str.FontSizeX]
test al, al
je 0x4082eb
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00403bc0
jmp 0x4082ef
mov dword [esp + 0x1c], ebx
mov eax, str.graph
test eax, eax
je 0x408321
mov al, byte [str.graph]
test al, al
je 0x408321
mov edi, str.graph
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.graph
lea ecx, [esp + 0x38]
call fcn.00403bc0
jmp 0x408325
mov dword [esp + 0x30], ebx
mov ecx, str.Arial
test ecx, ecx
je 0x408354
mov al, byte [str.Arial]
test al, al
je 0x408354
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Arial
lea ecx, [esp + 0x3c]
call fcn.00403bc0
jmp 0x408358
mov dword [esp + 0x34], ebx
mov edx, str.Font
test edx, edx
je 0x408383
mov al, byte [str.Font]
test al, al
je 0x408383
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00403bc0
jmp 0x408387
mov dword [esp + 0x20], ebx
mov eax, str.graph
test eax, eax
je 0x4083b9
mov al, byte [str.graph]
test al, al
je 0x4083b9
mov edi, str.graph
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.graph
lea ecx, [esp + 0x20]
call fcn.00403bc0
jmp 0x4083bd
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x10]
push 8
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00405f90
push eax
lea eax, [esp + 0x20]
push 0
lea ecx, [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00405f90
push eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.00405fb0
mov ecx, dword [0x4b8c74]
push eax
call fcn.00402260
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x408423
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x408434
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x408445
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x408456
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x408467
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x408478
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x408489
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x40849a
push eax
call fcn.004640e0
add esp, 4
lea ecx, [esp + 0x60]
call fcn.00406070
mov eax, str.objects.res
test eax, eax
je 0x4084d5
mov al, byte [str.objects.res]
test al, al
je 0x4084d5
mov edi, str.objects.res
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.objects.res
lea ecx, [esp + 0x24]
call fcn.00403bc0
jmp 0x4084d9
mov dword [esp + 0x1c], ebx
mov ecx, str.Resource
test ecx, ecx
je 0x408508
mov al, byte [str.Resource]
test al, al
je 0x408508
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Resource
lea ecx, [esp + 0x1c]
call fcn.00403bc0
jmp 0x40850c
mov dword [esp + 0x14], ebx
mov edx, str.game
test edx, edx
je 0x408537
mov al, byte [str.game]
test al, al
je 0x408537
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00403bc0
jmp 0x40853b
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.00405fb0
lea edi, [esi + 0x1c]
push eax
mov ecx, edi
call fcn.00405080
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x408574
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x408585
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x408596
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4085a7
push eax
call fcn.004640e0
add esp, 4
push 0x41544144
push edi
lea ecx, [esp + 0x68]
call fcn.004062e0
test eax, eax
je 0x40861e
mov ecx, dword [0x496644]
push 0
push str.resource_file
push 7
push 0x489218
push ecx
call fcn.00407250
add esp, 0x14
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], 0x480270
call fcn.004060b0
lea ecx, [esp + 0x6c]
call fcn.00431b90
lea ecx, [esp + 0x24]
call fcn.00431b90
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x409119
push eax
call fcn.004640e0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1094
ret 0x14
push 0x3dc
call fcn.004640eb
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4086a1
mov edx, str.SoundHighQuality
test edx, edx
je 0x40865c
mov al, byte [str.SoundHighQuality]
test al, al
je 0x40865c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00403bc0
jmp 0x408660
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x10a0]
mov ecx, dword [0x498b94]
lea eax, [esp + 0x10]
or edi, 0x100
push 0
push eax
mov dword [esp + 0x10a8], edi
call fcn.00425d90
mov edx, dword [esi + 0x20c]
lea ecx, [esp + 0x60]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.00417670
mov dword [0x49777c], eax
jmp 0x4086ab
mov dword [0x49777c], 0
mov eax, dword [esp + 0x10a0]
test ah, 1
je 0x4086c8
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4086c8
push eax
call fcn.004640e0
add esp, 4
push 0x64
call fcn.004640eb
add esp, 4
test eax, eax
je 0x4086e9
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
call fcn.004268c0
mov dword [0x498b9c], eax
jmp 0x4086f3
mov dword [0x498b9c], 0
mov edx, str.DebugMode
test edx, edx
je 0x40871e
mov al, byte [str.DebugMode]
test al, al
je 0x40871e
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00403bc0
jmp 0x408722
mov dword [esp + 0x14], ebx
mov eax, str.game
test eax, eax
je 0x408754
mov al, byte [str.game]
test al, al
je 0x408754
mov edi, str.game
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.game
lea ecx, [esp + 0x18]
call fcn.00403bc0
jmp 0x408758
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x14]
push 0
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00405f90
mov ecx, dword [0x498b9c]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x408787
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x408798
push eax
call fcn.004640e0
add esp, 4
lea edx, [esp + 0x60]
mov ecx, esi
push edx
call fcn.0040dd40
mov ecx, dword [0x49676c]
mov eax, dword [esi + 0x284]
push 0x44
mov dword [ecx + 0x404], eax
call fcn.004640eb
add esp, 4
test eax, eax
je 0x4087e8
mov edx, dword [esi + 0x288]
lea ecx, [esi + 0x28c]
push edx
mov edx, dword [esi + 0x28]
push ecx
mov ecx, dword [esi + 0x2c]
push ecx
push edx
mov ecx, eax
call fcn.00425fe0
mov dword [0x498b98], eax
jmp 0x4087f2
mov dword [0x498b98], 0
lea ecx, [esp + 0x60]
call fcn.004060b0
push 0
call dword [sym.imp.USER32.dll_SetCursor]
push 0x114
call fcn.004640eb
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x408849
mov edx, dword [0x4b8c74]
push 0
push 0
push 0
mov eax, dword [edx + 0x244]
mov edi, dword [edx + 0x240]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [0x49676c]
push eax
call fcn.0043ba60
jmp 0x40884b
xor eax, eax
mov ecx, eax
mov dword [0x5e0560], eax
call fcn.0043bb40
mov ecx, 0x4890d0
test ecx, ecx
je 0x408886
mov al, byte [0x4890d0]
test al, al
je 0x408886
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4890d0
lea ecx, [esp + 0x24]
call fcn.00403bc0
jmp 0x40888a
mov dword [esp + 0x1c], ebx
mov edx, str.Left
test edx, edx
je 0x4088b5
mov al, byte [str.Left]
test al, al
je 0x4088b5
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00403bc0
jmp 0x4088b9
mov dword [esp + 0x14], ebx
mov eax, str.control
test eax, eax
je 0x4088eb
mov al, byte [str.control]
test al, al
je 0x4088eb
mov edi, str.control
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.control
lea ecx, [esp + 0x18]
call fcn.00403bc0
jmp 0x4088ef
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00405fb0
mov edx, dword [eax]
movsx eax, byte [edx]
mov dword [0x48a0ec], eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x408927
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x408938
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x408949
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40895a
push eax
call fcn.004640e0
add esp, 4
mov ecx, 0x4890bc
test ecx, ecx
je 0x408989
mov al, byte [0x4890bc]
test al, al
je 0x408989
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4890bc
lea ecx, [esp + 0x24]
call fcn.00403bc0
jmp 0x40898d
mov dword [esp + 0x1c], ebx
mov edx, 0x4890b8
test edx, edx
je 0x4089b8
mov al, byte [0x4890b8]
test al, al
je 0x4089b8
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00403bc0
jmp 0x4089bc
mov dword [esp + 0x14], ebx
mov eax, str.control
test eax, eax
je 0x4089ee
mov al, byte [str.control]
test al, al
je 0x4089ee
mov edi, str.control
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.control
lea ecx, [esp + 0x18]
call fcn.00403bc0
jmp 0x4089f2
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00405fb0
mov edx, dword [eax]
movsx eax, byte [edx]
mov dword [0x48a0fc], eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x408a2a
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x408a3b
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x408a4c
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x408a5d
push eax
call fcn.004640e0
add esp, 4
mov ecx, 0x4890b4
test ecx, ecx
je 0x408a8c
mov al, byte [0x4890b4]
test al, al
je 0x408a8c
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4890b4
lea ecx, [esp + 0x24]
call fcn.00403bc0
jmp 0x408a90
mov dword [esp + 0x1c], ebx
mov edx, str.Right
test edx, edx
je 0x408abb
mov al, byte [str.Right]
test al, al
je 0x408abb
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00403bc0
jmp 0x408abf
mov dword [esp + 0x14], ebx
mov eax, str.control
test eax, eax
je 0x408af1
mov al, byte [str.control]
test al, al
je 0x408af1
mov edi, str.control
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.control
lea ecx, [esp + 0x18]
call fcn.00403bc0
jmp 0x408af5
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00405fb0
mov edx, dword [eax]
movsx eax, byte [edx]
mov dword [0x48a0f4], eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x408b2d
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x408b3e
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x408b4f
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x408b60
push eax
call fcn.004640e0
add esp, 4
mov ecx, 0x4890a8
test ecx, ecx
je 0x408b8f
mov al, byte [0x4890a8]
test al, al
je 0x408b8f
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4890a8
lea ecx, [esp + 0x24]
call fcn.00403bc0
jmp 0x408b93
mov dword [esp + 0x1c], ebx
mov edx, str.Down
test edx, edx
je 0x408bbe
mov al, byte [str.Down]
test al, al
je 0x408bbe
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00403bc0
jmp 0x408bc2
mov dword [esp + 0x14], ebx
mov eax, str.control
test eax, eax
je 0x408bf4
mov al, byte [str.control]
test al, al
je 0x408bf4
mov edi, str.control
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.control
lea ecx, [esp + 0x18]
call fcn.00403bc0
jmp 0x408bf8
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00405fb0
mov edx, dword [eax]
movsx eax, byte [edx]
mov dword [0x48a104], eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x408c30
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x408c41
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x408c52
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x408c63
push eax
call fcn.004640e0
add esp, 4
mov ecx, str.Relative
test ecx, ecx
je 0x408c92
mov al, byte [str.Relative]
test al, al
je 0x408c92
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Relative
lea ecx, [esp + 0x1c]
call fcn.00403bc0
jmp 0x408c96
mov dword [esp + 0x14], ebx
mov edx, str.control
test edx, edx
je 0x408cc1
mov al, byte [str.control]
test al, al
je 0x408cc1
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00403bc0
jmp 0x408cc5
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x14]
push 0
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00405f90
mov dword [0x49878c], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x408cf0
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x408d01
push eax
call fcn.004640e0
add esp, 4
mov edx, str.LBUTTON
test edx, edx
je 0x408d2c
mov al, byte [str.LBUTTON]
test al, al
je 0x408d2c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00403bc0
jmp 0x408d30
mov dword [esp + 0x1c], ebx
mov eax, str.First
test eax, eax
je 0x408d62
mov al, byte [str.First]
test al, al
je 0x408d62
mov edi, str.First
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.First
lea ecx, [esp + 0x1c]
call fcn.00403bc0
jmp 0x408d66
mov dword [esp + 0x14], ebx
mov ecx, str.control
test ecx, ecx
je 0x408d95
mov al, byte [str.control]
test al, al
je 0x408d95
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.control
lea ecx, [esp + 0x18]
call fcn.00403bc0
jmp 0x408d99
mov dword [esp + 0x10], ebx
push ecx
lea eax, [esp + 0x20]
mov edx, esp
push eax
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x18]
push ecx
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00405fb0
call fcn.00420280
mov dword [0x48a108], eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
je 0x408dd3
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x408de4
push eax
call fcn.004640e0
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x408df5
push eax
call fcn.004640e0
add esp, 4
mov ecx, str.RBUTTON
test ecx, ecx
je 0x408e24
mov al, byte [str.RBUTTON]
test al, al
je 0x408e24
mov dword [esp + 0x1c], ebx
mov edx, str.Second
test edx, edx
je 0x408e53
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1094
ret 0x14