Function at 0x40a420
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d551
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x47d220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2dc], esi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x2f8], edi
mov dword [ebp - 0x2e4], 0
push 0xf
push str.JsBasicWndClass
mov dword [ebp - 4], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
call fcn.00408520
push dword [esi + 4]
lea ecx, [esi + 0x34]
mov dword [ebp - 4], 1
call fcn.00406150
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
fstp qword [ebp - 0x2ec]
call esi
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [ebp - 0x2ec]
movsd qword [ebp - 0x2f4], xmm0
fld qword [ebp - 0x2f4]
fstp qword [esp]
call fcn.0043e970
add esp, 8
fstp qword [ebp - 0x300]
push 1
call esi
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [ebp - 0x2ec]
movsd qword [ebp - 0x2ec], xmm0
fld qword [ebp - 0x2ec]
fstp qword [esp]
call fcn.0043e970
fstp qword [ebp - 0x308]
add esp, 8
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
push 0x14
push str.dat:build_index.html
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
call fcn.00408520
push 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 0x2e4], 2
push 0
push eax
call fcn.00438a20
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x114]
push eax
call esi
lea eax, [ebp - 0x114]
push eax
call esi
push str.debug_url.set
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40a65d
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00438a20
add esp, 0xc
lea ecx, [ebp - 0x114]
cmp dword [ebp - 0x2c4], 0x10
lea eax, [ebp - 0x2d8]
cmovae eax, dword [ebp - 0x2d8]
push ecx
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
push 0x462f90
push str.DebugUrl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x218], 0
je 0x40a65d
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a641
sub ecx, edx
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00408520
lea ecx, [ebp - 0x260]
call fcn.004045a0
movups xmm0, xmmword [ebp - 0x2d8]
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2e4], 0
mov byte [ebp - 4], 2
movups xmmword [ebp - 0x260], xmm0
movq xmm0, qword [ebp - 0x2c8]
movq qword [ebp - 0x250], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x230], xmm0
movq qword [ebp - 0x220], xmm0
call fcn.004233e0
mov ecx, dword [ebp - 0x2dc]
lea eax, [ebp - 0x2e8]
push eax
mov byte [ebp - 4], 4
call fcn.0040b740
mov eax, dword [eax]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x94], ecx
test eax, eax
jne 0x40a6f0
xor edx, edx
mov dword [ebp - 0x94], edx
jmp 0x40a7ec
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a6f5
sub ecx, edx
sar ecx, 1
push 0x80
lea eax, [ecx + 1]
lea esi, [eax*4]
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.0040a0e0
add esp, 0x10
push 0
push 0
push esi
push dword [ebp - 0x94]
mov esi, dword [ebp - 0x2dc]
push dword [ebp - 0x2e0]
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x2f0], ecx
test eax, eax
jne 0x40a7de
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40a7d8
push 0
push 0
push 0
push 0
push dword [ebp - 0x2e0]
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
lea eax, [ebp - 0x90]
push 0x80
push eax
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.0040a0e0
add esp, 0x10
push 0
push 0
push esi
push dword [ebp - 0x94]
push dword [ebp - 0x2e0]
push dword [ebp - 0x2dc]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
jmp 0x40a7de
mov ecx, dword [ebp - 0x2f0]
test ecx, ecx
jne 0x40b6c1
mov edx, dword [ebp - 0x94]
mov ecx, edx
mov byte [ebp - 4], 6
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a810
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.00408520
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x2c0]
call fcn.00420630
push 0xd
push str.web_resources
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 8
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
call fcn.00408520
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00423510
mov ecx, eax
call fcn.00420c30
mov edx, dword [ebp - 0x2c4]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x40a8cf
mov ecx, dword [ebp - 0x2d8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a8c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6e0
push edx
push ecx
call fcn.004311d1
add esp, 8
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
call fcn.00420bc0
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x40a933
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a929
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6e5
push edx
push ecx
call fcn.004311d1
add esp, 8
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
cmp eax, ecx
je 0x40a967
push eax
call fcn.0043bec0
add esp, 4
mov edx, dword [ebp - 0x2e8]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a989
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.00420630
push 3
push 0x462de8
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00423510
mov ecx, eax
call fcn.00420c30
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x40aa2e
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40aa24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6ea
push edx
push ecx
call fcn.004311d1
add esp, 8
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 4
call fcn.00420bc0
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x278]
lea ecx, [ebp - 0x2c0]
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.00420760
push 0xa
push str.class_name
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00423510
mov ecx, eax
call fcn.00420c30
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x40ab0b
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ab01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6ef
push edx
push ecx
call fcn.004311d1
add esp, 8
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 4
call fcn.00420bc0
push 0x462e00
lea ecx, [ebp - 0x2c0]
call fcn.00420760
push 5
push str.entry
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00423510
mov ecx, eax
call fcn.00420c30
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0xe
cmp edx, 0x10
jb 0x40abd8
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40abce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6f4
push edx
push ecx
call fcn.004311d1
add esp, 8
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 4
call fcn.00420bc0
push 0
lea ecx, [ebp - 0x2c0]
call fcn.004206a0
push 4
push str.icon
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00423510
mov ecx, eax
call fcn.00420c30
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x10
cmp edx, 0x10
jb 0x40aca2
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ac98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6f9
push edx
push ecx
call fcn.004311d1
add esp, 8
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 4
call fcn.00420bc0
push 0x462e00
lea ecx, [ebp - 0x2c0]
call fcn.00420760
push 0xd
push str.register_func
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00423510
mov ecx, eax
call fcn.00420c30
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x40ad6f
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ad65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6fe
push edx
push ecx
call fcn.004311d1
add esp, 8
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 4
call fcn.00420bc0
push 0x462e00
lea ecx, [ebp - 0x2c0]
call fcn.00420760
push 9
push str.auto_show
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00423510
mov ecx, eax
call fcn.00420c30
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x40ae3c
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ae32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b703
push edx
push ecx
call fcn.004311d1
add esp, 8
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 4
call fcn.00420bc0
push 0x462e30
lea ecx, [ebp - 0x2c0]
call fcn.00420760
push 7
push str.timeout
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00423510
mov ecx, eax
call fcn.00420c30
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x16
cmp edx, 0x10
jb 0x40af09
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40aeff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b708
push edx
push ecx
call fcn.004311d1
add esp, 8
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 4
call fcn.00420bc0
push str.__disable_web_security___enable_extensions
lea ecx, [ebp - 0x2c0]
call fcn.00420760
push 0xf
push str.special_command
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00423510
mov ecx, eax
call fcn.00420c30
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x18
cmp edx, 0x10
jb 0x40afd6
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40afcc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b70d
push edx
push ecx
call fcn.004311d1
add esp, 8
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 4
call fcn.00420bc0
xorps xmm0, xmm0
lea ecx, [ebp - 0x248]
movups xmmword [ebp - 0x248], xmm0
movq qword [ebp - 0x238], xmm0
call fcn.004233e0
push 0
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0x1a
call fcn.004206a0
push 4
push str.left
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x248]
call fcn.00423510
mov ecx, eax
call fcn.00420c30
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x1b
cmp edx, 0x10
jb 0x40b0c1
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b0b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b712
push edx
push ecx
call fcn.004311d1
add esp, 8
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 0x1a
call fcn.00420bc0
push 0
lea ecx, [ebp - 0x2c0]
call fcn.004206a0
push 3
push 0x462e78
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x248]
call fcn.00423510
mov ecx, eax
call fcn.00420c30
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x1d
cmp edx, 0x10
jb 0x40b18b
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b181
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b717
push edx
push ecx
call fcn.004311d1
add esp, 8
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 0x1a
call fcn.00420bc0
cvttsd2si eax, qword [ebp - 0x300]
lea ecx, [ebp - 0x2c0]
push eax
call fcn.004206a0
push 5
push str.right
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x248]
call fcn.00423510
mov ecx, eax
call fcn.00420c30
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x1f
cmp edx, 0x10
jb 0x40b25c
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b252
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b71c
push edx
push ecx
call fcn.004311d1
add esp, 8
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 0x1a
call fcn.00420bc0
cvttsd2si eax, qword [ebp - 0x308]
lea ecx, [ebp - 0x2c0]
push eax
call fcn.004206a0
push 6
push str.bottom
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x248]
call fcn.00423510
mov ecx, eax
call fcn.00420c30
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x21
cmp edx, 0x10
jb 0x40b32d
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b323
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b721
push edx
push ecx
call fcn.004311d1
add esp, 8
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 0x1a
call fcn.00420bc0
push 0
push 0x462734
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
call fcn.00408520
push 3
push 0x462e8c
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x23
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 0x24
push eax
lea ecx, [ebp - 0x248]
call fcn.00423980
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00423510
mov ecx, eax
call fcn.00420c80
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x23
cmp edx, 0x10
jb 0x40b423
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b419
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b726
push edx
push ecx
call fcn.004311d1
add esp, 8
mov edx, dword [ebp - 0x2c4]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 0x1a
cmp edx, 0x10
jb 0x40b47c
mov ecx, dword [ebp - 0x2d8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b472
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b72b
push edx
push ecx
call fcn.004311d1
add esp, 8
xorps xmm0, xmm0
lea ecx, [ebp - 0x290]
movups xmmword [ebp - 0x290], xmm0
movq qword [ebp - 0x280], xmm0
call fcn.004233e0
push 0
push 0x462734
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
call fcn.00408520
push 6
push str.window
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x230]
call fcn.00423980
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x290]
call fcn.00423510
mov ecx, eax
call fcn.00420c80
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x26
cmp edx, 0x10
jb 0x40b569
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b55f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b730
push edx
push ecx
call fcn.004311d1
add esp, 8
mov edx, dword [ebp - 0x2c4]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
mov byte [ebp - 4], 0x25
cmp edx, 0x10
jb 0x40b5c2
mov ecx, dword [ebp - 0x2d8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b5b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b735
push edx
push ecx
call fcn.004311d1
add esp, 8
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
push 0
push 0x462734
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x2e4], 1
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00408520
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x28
push eax
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x290]
call fcn.00423f20
mov esi, eax
cmp edi, esi
je 0x40b655
mov ecx, edi
call fcn.004045a0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x2c0]
call fcn.004045a0
lea ecx, [ebp - 0x2a8]
call fcn.004045a0
lea ecx, [ebp - 0x290]
call fcn.00420bc0
lea ecx, [ebp - 0x248]
call fcn.00420bc0
lea ecx, [ebp - 0x230]
call fcn.00420bc0
lea ecx, [ebp - 0x260]
call fcn.004045a0
lea ecx, [ebp - 0x278]
call fcn.004045a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00431482
mov esp, ebp
pop ebp
ret 4
push 0x80
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x94]
call fcn.00402a40
add esp, 0xc
call fcn.00405410
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
call fcn.0043bdd9
int3