Function at 0x405fd0
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [0x42c6fc]
mov eax, dword [0x430db4]
push esi
push edi
push 5
push str.hota
push dword [eax + ecx*4]
call fcn.00410e9d
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 0xc
test eax, eax
jne 0x404daf
push eax
push dword [0x42c704]
call edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x3fb
push dword [0x430c54]
call esi
push eax
call edi
push 0
push 0x40a
push dword [0x430c54]
call esi
push eax
call edi
push 0
push 0x3fc
push dword [0x430c54]
call esi
push eax
call edi
push 0
push 0x3fd
push dword [0x430c54]
call esi
push eax
call edi
push 0
push 0x3fe
push dword [0x430c54]
call esi
push eax
call edi
push 0
push 0x3ff
push dword [0x430c54]
call esi
push eax
call edi
push 0
push 0x45c
push dword [0x430c54]
call esi
push eax
call edi
push 0
push 0x40d
push dword [0x430c54]
call esi
push eax
call edi
pop edi
pop esi
ret
push 5
push dword [0x42c704]
call edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0x3fb
push dword [0x430c54]
call esi
push eax
call edi
push 5
push 0x40a
push dword [0x430c54]
call esi
push eax
call edi
push 5
push 0x3fc
push dword [0x430c54]
call esi
push eax
call edi
push 5
push 0x3fd
push dword [0x430c54]
call esi
push eax
call edi
push 5
push 0x3fe
push dword [0x430c54]
call esi
push eax
call edi
push 5
push 0x3ff
push dword [0x430c54]
call esi
push eax
call edi
push 5
push 0x45c
push dword [0x430c54]
call esi
push eax
call edi
push 5
push 0x40d
push dword [0x430c54]
call esi
push eax
call edi
pop edi
pop esi
ret
push ecx
mov eax, dword [0x430dd0]
push ebx
push ebp
push esi
push edi
test eax, eax
je 0x4066d3
mov ebx, dword [0x42c6fc]
cmp ebx, eax
jge 0x4066d3
test ebx, ebx
js 0x4066d3
mov eax, dword [0x430dcc]
mov ebx, dword [eax + ebx*4]
test ebx, ebx
je 0x4066d3
push 1
push 0
push str.Graphics.Resolution
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
push 1
push 1
push str.Graphics.Resolution
mov ecx, ebx
mov esi, eax
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
lea ecx, [esi - 0x320]
cmp ecx, 0xc80
ja 0x406056
cmp eax, 0x258
jl 0x406056
cmp eax, 0xfa0
jle 0x406078
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
imul edi, eax, 0x298
call esi
mov ecx, eax
mov eax, edi
cdq
idiv ecx
mov esi, eax
mov eax, 0x298
push eax
push esi
push str._dx_d
push 0x42c708
mov byte [0x42c708], 0
call fcn.00401180
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x10
push 0x42c708
push 0
push 0xc
push dword [0x42c4d8]
call ebp
cmp dword [0x430de8], 0
mov esi, dword [0x42c700]
jle 0x4060eb
push str.en.ini
push 0
push str.Language
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027e0
push 0
mov ecx, eax
call fcn.00405a30
push eax
push 0x14e
push dword [0x430928]
call ebp
push 0
push 0
push 0x147
push dword [0x430928]
call ebp
mov ecx, dword [0x430de4]
mov eax, dword [ecx + eax*4]
mov dword [0x42c700], eax
cmp esi, eax
je 0x406113
call fcn.00403720
push 3
push 0
push str.Graphics.Mode
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
cmp eax, 5
jle 0x406137
mov edi, 5
jmp 0x406151
push 3
push 0
push str.Graphics.Mode
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
mov edi, eax
push 0
push edi
push 0x14e
push dword [0x42c6f4]
call ebp
mov ecx, edi
call fcn.00404240
cmp edi, 3
je 0x406179
cmp edi, 0x1f4
je 0x406179
push 0
jmp 0x40617b
push 5
push dword [0x430d88]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
cmp edi, 5
jne 0x40619a
push edi
push dword [0x430b3c]
call esi
push edi
jmp 0x4061a6
push 0
push dword [0x430b3c]
call esi
push 0
push dword [0x42c924]
call esi
push 2
push 0
push str.Graphics.SimpleFilter
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
push 0
push eax
push 0x14e
push dword [0x430d88]
call ebp
push 2
push 0
push str.Graphics.ComplexFilter
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
cmp eax, 0xc
jle 0x4061fa
mov edi, 0xc
jmp 0x406214
push 2
push 0
push str.Graphics.ComplexFilter
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
mov edi, eax
push 0
push 0
push 0x146
push dword [0x430b3c]
call ebp
cmp eax, edi
jge 0x40623c
push 0
push 0
push 0x146
push dword [0x430b3c]
call ebp
jmp 0x406278
push 2
push 0
push str.Graphics.ComplexFilter
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
cmp eax, 0xc
jle 0x406260
mov eax, 0xc
jmp 0x406278
push 2
push 0
push str.Graphics.ComplexFilter
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
push 0
push eax
push 0x14e
push dword [0x430b3c]
call ebp
push 2
push 0
push str.Graphics.ComplexFilter
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
cmp eax, 0xc
jle 0x4062b5
push 0xc
push 0
push str.Graphics.ComplexFilter
mov ecx, ebx
call fcn.004029c0
push 0
push 0
push str.Graphics.Threads
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
test eax, eax
jne 0x4062e4
push dword [0x430df0]
mov ecx, ebx
push eax
push str.Graphics.Threads
call fcn.004029c0
push dword [0x430df0]
mov ecx, ebx
push 0
push str.Graphics.Threads
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
push 0
dec eax
push eax
push 0x14e
push dword [0x42c924]
call ebp
push str.Main_Game_Full_Screen
mov ecx, ebx
call fcn.00402460
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
inc eax
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x415
push dword [0x430c54]
call edi
push eax
call esi
push 1
push 0
push str.Update.CheckAtStart
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
push 0
push eax
push 0xf1
push 0x3f9
push dword [0x430c54]
call edi
push eax
call ebp
push 0
push 0
push str.Main_Game_Full_Screen
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
push 0
push eax
push 0xf1
push 0x415
push dword [0x430c54]
call edi
push eax
call ebp
push 1
push 0
push str.Graphics.SystemCursors
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
push 0
push eax
push 0xf1
push 0x431
push dword [0x430c54]
call edi
push eax
call ebp
push 0
push 0
push str.Misc.TournamentSaver
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
push 0
push eax
push 0xf1
push 0x42f
push dword [0x430c54]
call edi
push eax
call ebp
push 0
push 0
push str.Misc.BattleSaver
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
push 0
push eax
push 0xf1
push 0x45b
push dword [0x430c54]
call edi
push eax
call ebp
push 0
push 0
push 0x184
push dword [0x42c6ec]
call ebp
mov ecx, dword [0x42c6fc]
mov eax, dword [0x430db4]
push 5
push str.hota
push dword [eax + ecx*4]
call fcn.00410e9d
add esp, 0xc
push 0
test eax, eax
jne 0x4064b2
push 0x458
push dword [0x430d70]
call edi
push eax
call esi
push 0
push 0x457
push dword [0x430d70]
call edi
push eax
call esi
push 5
push 0x45a
push dword [0x430d70]
call edi
push eax
call esi
push 0
push 0x459
push dword [0x430d70]
call edi
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x404ce0
push 0
push str.Sys.NoCD
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
push 0
push eax
push 0xf1
push dword [0x42c704]
call ebp
push 0
push 0
push 0x4270e8
mov ecx, ebx
call fcn.00402460
push eax
mov ecx, ebx
call fcn.004027a0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x40650d
push eax
push 0x458
push dword [0x430d70]
call edi
push eax
call esi
push 5
jmp 0x406521
push 5
push 0x458
push dword [0x430d70]
call edi
push eax
call esi
push 0
push 0x457
push dword [0x430d70]
call edi
push eax
call esi
push 0
push 0x45a
push dword [0x430d70]
call edi
push eax
call esi
push 0
push 0x459
push dword [0x430d70]
call edi
push eax
call esi
push 0
push dword [esp + 0x14]
push 0xf1
push 0x40d
push dword [0x430c54]
call edi
push eax
call ebp
push 0x4270e8
mov ecx, ebx
call fcn.00402460
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push ecx
push 0x40d
push dword [0x430c54]
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push str.Packs
mov ecx, ebx
call fcn.00402460
xor esi, esi
mov edi, eax
mov dword [esp + 0x10], edi
cmp dword [0x430dc4], esi
jle 0x4065d7
jmp 0x4065c0
mov ecx, dword [0x430dc0]
mov ecx, dword [ecx + esi*4]
call fcn.004011d0
inc esi
cmp esi, dword [0x430dc4]
jl 0x4065c0
mov ecx, dword [0x430dc0]
call fcn.004011d0
mov dword [0x430dc0], 0
mov dword [0x430dc8], 0
mov dword [0x430dc4], 0
cmp edi, 0xffffffff
jle 0x4066c7
push edi
mov ecx, ebx
xor ebp, ebp
call fcn.00402770
test eax, eax
jle 0x4066c7
jmp 0x406620
push str.:NO_PACK:
push ebp
push edi
mov ecx, ebx
call fcn.004027e0
mov edi, eax
push str.:NO_PACK:
push edi
call fcn.004110d3
add esp, 8
test eax, eax
je 0x4066b2
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406647
sub ecx, edx
inc ecx
call fcn.004011a0
mov ecx, dword [0x430dc4]
mov esi, eax
inc ecx
push ecx
mov ecx, 0x430dc0
call fcn.0040a8b0
mov edx, dword [0x430dc4]
mov ecx, dword [0x430dc0]
mov dword [ecx + edx*4 - 4], esi
mov edx, edi
mov ecx, dword [0x430dc4]
test ecx, ecx
jne 0x406687
int3
mov eax, dword [0x430dc0]
mov ecx, dword [eax + ecx*4 - 4]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x406690
push edi
push 0
push 0x180
push dword [0x42c6ec]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x10]
mov ecx, ebx
push edi
inc ebp
call fcn.00402770
cmp ebp, eax
jl 0x406620
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x404ce0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret