Function at 0x41e0d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0916
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x320
mov eax, dword [0x54006c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x320], esi
lea eax, [ebp - 0x318]
xorps xmm0, xmm0
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x318], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x66c]
mov eax, dword [ebx + 8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x694], eax
mov dword [ebp - 0x32c], ecx
test ecx, ecx
je 0x41e189
mov al, byte [ecx + 0x2c]
mov byte [ebp - 0x319], al
mov eax, dword [ecx + 0x50]
mov byte [ecx + 0x2c], 0
test eax, eax
je 0x41e179
push 0
push 0
push 0x401
push dword [eax]
call edi
mov ecx, dword [ebp - 0x32c]
cmp byte [ebp - 0x319], 0
je 0x41e189
mov eax, dword [ecx]
push 0
call dword [eax + 0x24]
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x694]
cmp eax, 9
ja case.default.0x41e1a5
jmp dword [eax*4 + 0x41f4bc]
push 0
push dword [esi + 0x670]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x308]
call fcn.00423716
sub esp, 0xc
mov dword [ebp - 4], 0
push 0xc8
push ecx
lea ecx, [ebp - 0x308]
call fcn.004239db
mov eax, dword [esi + 0x668]
lea ecx, [ebp - 0x298]
mov dword [eax + 0x28], 0
lea eax, [ebp - 0x308]
push eax
call fcn.00419290
mov esi, dword [esi + 0x668]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x41e216
inc dword [eax + 4]
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x54], eax
test ecx, ecx
je 0x41e22f
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jg 0x41e22f
mov eax, dword [ecx]
push 1
call dword [eax]
movups xmm0, xmmword [ebp - 0x294]
push 0
push 1
movups xmmword [esi + 0x58], xmm0
mov ecx, esi
movups xmm0, xmmword [ebp - 0x284]
movups xmmword [esi + 0x68], xmm0
mov eax, dword [ebp - 0x274]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x270]
mov dword [esi + 0x7c], eax
mov al, byte [ebp - 0x26c]
mov byte [esi + 0x80], al
mov eax, dword [ebp - 0x268]
mov dword [esi + 0x84], eax
call fcn.00425b23
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x298]
test ecx, ecx
je 0x41e297
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jg 0x41e297
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 0
call fcn.00420500
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [eax + 4]
push 0x8c
call esi
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x310]
sub eax, dword [ebp - 0x318]
mov dword [ebp - 0x32c], eax
call fcn.00420500
push 0x60
push dword [eax]
push 0x60
call esi
mov dword [ebp - 0x330], eax
call fcn.00420500
push 0x60
push dword [eax]
push 0x60
call esi
mov dword [ebp - 0x328], eax
call fcn.00420500
push 0x60
push dword [eax + 4]
push 0x2c
call esi
mov esi, dword [ebp - 0x310]
mov edi, eax
sub esi, dword [ebp - 0x318]
call fcn.00420500
push 0x60
push dword [eax]
push 0x60
call dword [sym.imp.KERNEL32.dll_MulDiv]
sub esi, eax
mov dword [ebp - 0x224], edi
mov eax, esi
mov esi, dword [ebp - 0x320]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esi + 0x668]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x32c]
sub eax, dword [ebp - 0x330]
cdq
sub eax, edx
lea edx, [ebp - 0x228]
sar eax, 1
add eax, dword [ebp - 0x328]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x21c], eax
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0x14]
mov edi, dword [esi + 0x668]
mov al, byte [edi + 0x2c]
mov byte [ebp - 0x319], al
mov eax, dword [edi + 0x50]
mov byte [edi + 0x2c], 1
test eax, eax
je 0x41e3a1
push 0
push 1
push 0x401
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
cmp byte [ebp - 0x319], 1
je 0x41e3b3
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x24]
lea ecx, [ebp - 0x2d4]
call fcn.00423716
push 0x52dd94
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
call fcn.004146c0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 4
push eax
push 0xe1
push 0
lea ecx, [ebp - 0x2d4]
call fcn.00423896
lea ecx, [ebp - 0x248]
call fcn.00418e80
mov eax, dword [esi + 0x690]
lea ecx, [ebp - 0x2a0]
push 0
push 0xf
mov dword [eax + 0x28], 0
lea eax, [ebp - 0x2d4]
push eax
call fcn.004191f0
mov byte [ebp - 4], 5
mov ecx, dword [esi + 0x690]
push eax
call fcn.0042410d
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2a0]
test ecx, ecx
je 0x41e44a
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jg 0x41e44a
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x690]
push dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2d4]
call fcn.00423ae5
lea esi, [eax + 0x98]
call fcn.00420500
push 0x60
push dword [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea ecx, [ebp - 0x2d4]
mov dword [ebp - 0x324], eax
call fcn.00423ab9
mov ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 3
mov esi, edx
add edx, 0x7b
shr esi, 0x1f
add esi, edx
call fcn.00420500
push 0x60
push dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
call esi
mov edi, eax
call fcn.00420500
push 0x60
push dword [eax + 4]
push 0x98
call esi
mov esi, eax
call fcn.00420500
push 0x60
push dword [eax]
push 0x7b
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x224], esi
lea edx, [ebp - 0x228]
mov esi, dword [ebp - 0x320]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x220], edi
mov ecx, dword [esi + 0x690]
mov dword [ebp - 0x21c], eax
push 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x690]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x324], ecx
mov al, byte [ecx + 0x2c]
mov byte [ebp - 0x319], al
mov eax, dword [ecx + 0x50]
mov byte [ecx + 0x2c], 1
test eax, eax
je 0x41e550
push 0
push 1
push 0x401
push dword [eax]
call edi
mov ecx, dword [ebp - 0x324]
cmp byte [ebp - 0x319], 1
je 0x41e560
mov eax, dword [ecx]
push 0
call dword [eax + 0x24]
mov esi, dword [esi + 0x690]
mov ecx, esi
push 0x32
call fcn.00425546
mov al, byte [esi + 0x2c]
mov byte [ebp - 0x319], al
mov eax, dword [esi + 0x50]
mov byte [esi + 0x2c], 1
test eax, eax
je 0x41e590
push 0
push 1
push 0x401
push dword [eax]
call edi
cmp byte [ebp - 0x319], 1
je 0x41e5a2
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x24]
call fcn.00420500
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [eax + 4]
push 0x28
call esi
mov dword [ebp - 0x324], eax
call fcn.00420500
push 0x60
push dword [eax]
push 0x8c
call esi
mov edi, eax
call fcn.00420500
push 0x60
push dword [eax + 4]
push 0x9a
call esi
mov esi, eax
call fcn.00420500
push 0x60
push dword [eax]
push 0xa7
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 1
push dword [ebp - 0x324]
push edi
push esi
mov esi, dword [ebp - 0x320]
push eax
push dword [esi + 0x674]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [0x542d54]
push dword [esi + 0x674]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [0x5473e8]
push 0x30
push dword [esi + 0x674]
call eax
push 5
push dword [esi + 0x674]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebp - 0x318]
mov esi, dword [ebp - 0x310]
call fcn.00420500
push 0x60
push dword [eax + 4]
push 0x27
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x30c]
sub esi, edi
mov edx, ecx
push 1
sub edx, eax
sub ecx, edx
push ecx
push esi
push edx
push edi
mov edi, dword [ebp - 0x320]
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x5473d8]
push 0
mov dword [edi + 0x664], eax
mov eax, dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [edi + 0x660], 2
mov dword [edi + 0x65c], 1
mov esi, dword [0x542384]
push 0
push dword [edi + 0x47c]
call eax
push esi
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2d4]
test ecx, ecx
je 0x41e707
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jg 0x41e707
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x308]
test ecx, ecx
je case.default.0x41e1a5
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jg case.default.0x41e1a5
mov eax, dword [ecx]
push 1
call dword [eax]
jmp case.default.0x41e1a5
mov esi, dword [esi + 0x690]
mov ecx, esi
call fcn.0042548d
mov al, byte [esi + 0x2c]
mov byte [ebp - 0x319], al
mov eax, dword [esi + 0x50]
mov byte [esi + 0x2c], 0
test eax, eax
je 0x41e762
push 0
push 0
push 0x401
push dword [eax]
call edi
cmp byte [ebp - 0x319], 0
je 0x41e774
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x24]
call fcn.00420500
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [eax + 4]
push 0x19
call edi
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x310]
sub eax, dword [ebp - 0x318]
mov dword [ebp - 0x328], eax
call fcn.00420500
push 0x60
push dword [eax + 4]
push 0x95
call edi
mov esi, eax
call fcn.00420500
push 0x60
push dword [eax]
push 0
call edi
push 1
push dword [ebp - 0x324]
push dword [ebp - 0x328]
push esi
mov esi, dword [ebp - 0x320]
push eax
push dword [esi + 0x674]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [0x542dec]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi + 0x674]
call edi
push dword [0x542df4]
push dword [esi + 0x680]
call edi
push 5
push dword [esi + 0x680]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x320]
mov esi, dword [0x5423ac]
push 0
push 0
push dword [eax + 0x47c]
mov eax, dword [sym.imp.USER32.dll_InvalidateRect]
call eax
mov eax, dword [ebp - 0x320]
push esi
push dword [eax + 0x47c]
call edi
jmp case.default.0x41e1a5
mov esi, dword [esi + 0x690]
mov ecx, esi
call fcn.0042548d
mov al, byte [esi + 0x2c]
mov byte [ebp - 0x319], al
mov eax, dword [esi + 0x50]
mov byte [esi + 0x2c], 0
test eax, eax
je 0x41e871
push 0
push 0
push 0x401
push dword [eax]
call edi
cmp byte [ebp - 0x319], 0
je 0x41e883
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x24]
call fcn.00420500
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [eax + 4]
push 0x19
call edi
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x310]
sub eax, dword [ebp - 0x318]
mov dword [ebp - 0x328], eax
call fcn.00420500
push 0x60
push dword [eax + 4]
push 0x95
call edi
mov esi, eax
call fcn.00420500
push 0x60
push dword [eax]
push 4
call edi
push 1
push dword [ebp - 0x324]
push dword [ebp - 0x328]
push esi
mov esi, dword [ebp - 0x320]
push eax
push dword [esi + 0x674]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [0x542d5c]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi + 0x674]
call edi
push 0
push dword [esi + 0x670]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
call fcn.0044e0c0
lea eax, [ebp - 0x248]
push eax
call fcn.00451840
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c7830
add esp, 0xc
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
cmovae eax, dword [ebp - 0x248]
push eax
push dword [0x542de4]
lea eax, [ebp - 0x218]
push 0x100
push eax
call fcn.0041a590
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x320]
push dword [eax + 0x680]
call edi
mov eax, dword [ebp - 0x320]
push 5
push dword [eax + 0x680]
call esi
mov eax, dword [ebp - 0x320]
mov esi, dword [0x54238c]
push 0
push 0
push dword [eax + 0x47c]
mov eax, dword [sym.imp.USER32.dll_InvalidateRect]
call eax
mov eax, dword [ebp - 0x320]
push esi
push dword [eax + 0x47c]
call edi
lea ecx, [ebp - 0x248]
call fcn.00418e80
jmp case.default.0x41e1a5
mov ecx, dword [esi + 0x690]
mov dword [ebp - 0x32c], ecx
call fcn.0042548d
mov ecx, dword [ebp - 0x32c]
mov al, byte [ecx + 0x2c]
mov byte [ebp - 0x319], al
mov eax, dword [ecx + 0x50]
mov byte [ecx + 0x2c], 0
test eax, eax
je 0x41ea0a
push 0
push 0
push 0x401
push dword [eax]
call edi
mov ecx, dword [ebp - 0x32c]
cmp byte [ebp - 0x319], 0
je 0x41ea1a
mov eax, dword [ecx]
push 0
call dword [eax + 0x24]
mov ecx, dword [esi + 0x668]
mov dword [ebp - 0x324], ecx
mov al, byte [ecx + 0x2c]
mov byte [ebp - 0x319], al
mov eax, dword [ecx + 0x50]
mov byte [ecx + 0x2c], 0
test eax, eax
je 0x41ea4d
push 0
push 0
push 0x401
push dword [eax]
call edi
mov ecx, dword [ebp - 0x324]
cmp byte [ebp - 0x319], 0
je 0x41ea5d
mov eax, dword [ecx]
push 0
call dword [eax + 0x24]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x674]
call edi
cmp dword [esi + 0x698], 1
mov eax, dword [0x542d74]
cmove eax, dword [0x542d7c]
push eax
push dword [esi + 0x670]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [esi + 0x670]
call edi
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c7830
lea eax, [esi + 0x6b0]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x41eabb
mov eax, dword [eax]
push eax
push dword [0x542ddc]
lea eax, [ebp - 0x218]
push 0x100
push eax
call fcn.0041a590
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
push dword [esi + 0x67c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [esi + 0x67c]
call edi
lea eax, [esi + 0x740]
push eax
lea ecx, [ebp - 0x248]
call fcn.00414740
push 0x52ded8
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 9
call fcn.004146c0
push 0x52dedc
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xa
call fcn.004146c0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0041c250
add esp, 4
lea ecx, [ebp - 0x230]
call fcn.00418e80
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 9
call fcn.00418e80
push 0x52dedc
lea ecx, [ebp - 0x230]
call fcn.004146c0
push 0x52ded8
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xc
call fcn.004146c0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x248]
call fcn.0041c250
add esp, 4
lea ecx, [ebp - 0x260]
call fcn.00418e80
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 9
call fcn.00418e80
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push dword [esi + 0x684]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [esi + 0x684]
call edi
mov ecx, esi
call fcn.00420080
cmp dword [esi + 0x698], 1
jne 0x41ecb4
mov eax, dword [ebp - 0x318]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x220], eax
call fcn.00420500
push 0x60
push dword [eax + 4]
push 0x27
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [ebp - 0x30c]
mov ecx, edx
sub ecx, eax
mov dword [ebp - 0x21c], edx
push ecx
mov dword [ebp - 0x224], ecx
lea eax, [esi + 0x47c]
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x320], eax
push ecx
mov ecx, eax
call fcn.00423110
mov eax, dword [0x5473d8]
lea ecx, [esi + 0x478]
mov dword [esi + 0x660], 2
mov dword [esi + 0x65c], 1
mov dword [esi + 0x664], eax
push dword [0x542d94]
call fcn.00427a85
mov esi, dword [ebp - 0x320]
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
push 5
push dword [esi]
call edi
lea ecx, [ebp - 0x248]
call fcn.00418e80
jmp case.default.0x41e1a5
push 5
push dword [esi + 0x688]
call edi
mov ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x310]
sub eax, ecx
mov dword [ebp - 0x228], ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
call fcn.00420500
push 0x60
push dword [eax + 4]
push 0x27
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x30c]
mov edi, ecx
sub edi, eax
mov dword [ebp - 0x328], ecx
push ecx
lea eax, [ebp - 0x228]
mov dword [ebp - 0x21c], ecx
push eax
lea ecx, [esi + 0x28c]
mov dword [ebp - 0x224], edi
call fcn.00423110
mov ecx, dword [ebp - 0x320]
mov eax, dword [0x5473d8]
mov dword [ecx + 0x470], 6
mov dword [ecx + 0x46c], 1
mov dword [ecx + 0x474], eax
add ecx, 0x288
push dword [0x542d94]
call fcn.00427a85
push 5
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x324]
mov esi, dword [ebp - 0x320]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x328]
push ecx
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x228]
lea eax, [esi + 0x47c]
mov dword [ebp - 0x224], edi
push ecx
mov ecx, eax
mov dword [ebp - 0x320], eax
call fcn.00423110
mov eax, dword [0x5473d8]
lea ecx, [esi + 0x478]
mov dword [esi + 0x660], 2
mov dword [esi + 0x65c], 0
mov dword [esi + 0x664], eax
push dword [0x542dbc]
call fcn.00427a85
mov esi, dword [ebp - 0x320]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi]
call edi
lea ecx, [ebp - 0x248]
call fcn.00418e80
jmp case.default.0x41e1a5
mov ecx, dword [esi + 0x698]
cmp ecx, 4
je 0x41ee21
cmp ecx, 5
jne 0x41ee7e
mov ecx, dword [esi + 0x690]
mov dword [ebp - 0x32c], ecx
call fcn.0042548d
mov ecx, dword [ebp - 0x32c]
mov al, byte [ecx + 0x2c]
mov byte [ebp - 0x319], al
mov eax, dword [ecx + 0x50]
mov byte [ecx + 0x2c], 0
test eax, eax
je 0x41ee5f
push 0
push 0
push 0x401
push dword [eax]
call edi
mov ecx, dword [ebp - 0x32c]
cmp byte [ebp - 0x319], 0
je 0x41ee6f
mov eax, dword [ecx]
push 0
call dword [eax + 0x24]
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x674]
call eax
mov ecx, dword [esi + 0x668]
mov dword [ebp - 0x324], ecx
mov al, byte [ecx + 0x2c]
mov byte [ebp - 0x319], al
mov eax, dword [ecx + 0x50]
mov byte [ecx + 0x2c], 1
test eax, eax
je 0x41eeb1
push 0
push 1
push 0x401
push dword [eax]
call edi
mov ecx, dword [ebp - 0x324]
cmp byte [ebp - 0x319], 1
je 0x41eec1
mov eax, dword [ecx]
push 0
call dword [eax + 0x24]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x670]
call edi
push 0
push dword [esi + 0x67c]
call edi
cmp dword [esi + 0x68c], 0
je 0x41f049
call fcn.00420500
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [eax + 4]
push 0xa7
call esi
mov dword [ebp - 0x324], eax
call fcn.00420500
push 0x60
push dword [eax]
push 0x1b
call esi
mov edi, eax
call fcn.00420500
push 0x60
push dword [eax + 4]
push 0xa2
call esi
mov esi, eax
call fcn.00420500
push 0x60
push dword [eax]
push 0x1b
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x224], esi
lea edx, [ebp - 0x228]
mov esi, dword [ebp - 0x320]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x310]
sub eax, edi
mov ecx, dword [esi + 0x68c]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x21c], eax
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0x14]
mov eax, dword [esi + 0x68c]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x41ef98
cmp ecx, 0x64
jg 0x41ef98
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0x64
mov edi, dword [esi + 0x68c]
mov eax, dword [esi + 0x7e4]
mov ecx, dword [edi + 0x60]
cmp eax, ecx
je 0x41f005
sub eax, ecx
mov byte [edi + 0x69], 1
mov ecx, eax
cdq
xor eax, edx
shr ecx, 0x1f
sub eax, edx
mov dword [ebp - 0x324], ecx
mov byte [edi + 0x68], cl
mov ecx, dword [edi + 0x5c]
cdq
idiv ecx
mov dword [edi + 0x64], eax
test edx, edx
je 0x41efd5
inc eax
mov dword [edi + 0x64], eax
cmp byte [ebp - 0x324], 0
je 0x41efe0
neg ecx
mov eax, dword [edi + 0x60]
add eax, ecx
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x60], eax
cmp eax, ecx
jg 0x41eff6
mov ecx, dword [edi + 0x54]
cmp eax, ecx
jge 0x41eff9
mov dword [edi + 0x60], ecx
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x24]
dec dword [edi + 0x64]
mov edi, dword [esi + 0x68c]
mov al, byte [edi + 0x2c]
mov byte [ebp - 0x319], al
mov eax, dword [edi + 0x50]
mov byte [edi + 0x2c], 1
test eax, eax
je 0x41f031
push 0
push 1
push 0x401
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
cmp byte [ebp - 0x319], 1
je 0x41f043
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x24]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x542d64]
push dword [esi + 0x678]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [esi + 0x678]
call edi
push 0
push dword [esi + 0x684]
call edi
push 0
push dword [esi + 0x688]
call edi
push 0
push dword [esi + 0x28c]
call edi
mov edi, dword [ebp - 0x318]
mov esi, dword [ebp - 0x310]
call fcn.00420500
push 0x60
push dword [eax + 4]
push 0x27
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x30c]
sub esi, edi
mov edx, ecx
push 1
sub edx, eax
sub ecx, edx
push ecx
push esi
push edx
push edi
mov edi, dword [ebp - 0x320]
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [sym.imp.USER32.dll_InvalidateRect]
push 0
mov dword [edi + 0x660], 2
mov esi, dword [0x542384]
push 0
push dword [edi + 0x47c]
call eax
push esi
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0x47c]
call eax
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x41e1a5
mov eax, dword [ebp - 0x310]
mov esi, dword [ebp - 0x318]
sub eax, esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 0x328], edi
call fcn.00420500
push 0x60
push dword [eax + 4]
push 0x27
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x30c]
sub edi, esi
mov edx, ecx
sub edx, eax
mov eax, dword [ebp - 0x320]
push 1
sub ecx, edx
mov dword [ebp - 0x330], edx
push ecx
push edi
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
push edx
push esi
push dword [eax + 0x28c]
mov dword [ebp - 0x324], ecx
call edi
mov eax, dword [ebp - 0x320]
push 0
push 0
mov dword [eax + 0x470], 6
mov dword [eax + 0x46c], 0
push dword [eax + 0x28c]
mov eax, dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [0x542e04]
call eax
push esi
mov esi, dword [ebp - 0x320]
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x310]
mov ecx, dword [ebp - 0x328]
sub eax, ecx
push 1
push dword [ebp - 0x324]
push eax
push dword [ebp - 0x330]
push ecx
push dword [esi + 0x47c]
call edi
mov edi, dword [ebp - 0x320]
mov esi, dword [0x542384]
push 0
push 0
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
push dword [edi + 0x47c]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
call edi
mov eax, dword [ebp - 0x320]
mov esi, dword [0x542dfc]
push 0
push 0
push dword [eax + 0x47c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
mov esi, dword [ebp - 0x320]
push dword [esi + 0x47c]
call edi
push dword [0x542dc4]
push dword [esi + 0x678]
call edi
push dword [esi + 0x678]
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x41e1a5
push dword [0x542d6c]
push dword [esi + 0x678]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebp - 0x318]
mov esi, dword [ebp - 0x310]
call fcn.00420500
push 0x60
push dword [eax + 4]
push 0x27
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x30c]
sub esi, edi
mov edx, ecx
push 1
sub edx, eax
sub ecx, edx
push ecx
push esi
push edx
push edi
mov edi, dword [ebp - 0x320]
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [0x542384]
push 0
push 0
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, edi
call fcn.0041f7c0
jmp case.default.0x41e1a5
mov eax, dword [ebp - 0x310]
mov esi, dword [ebp - 0x318]
sub eax, esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 0x328], edi
call fcn.00420500
push 0x60
push dword [eax + 4]
push 0x27
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x30c]
sub edi, esi
mov edx, ecx
sub edx, eax
mov eax, dword [ebp - 0x320]
push 1
sub ecx, edx
mov dword [ebp - 0x330], edx
push ecx
push edi
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
push edx
push esi
push dword [eax + 0x28c]
mov dword [ebp - 0x324], ecx
call edi
mov eax, dword [ebp - 0x320]
push 0
push 0
mov dword [eax + 0x470], 6
mov dword [eax + 0x46c], 0
push dword [eax + 0x28c]
mov esi, dword [0x542e04]
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
mov esi, dword [ebp - 0x320]
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x5473d8]
push 5
push dword [esi + 0x28c]
mov dword [esi + 0x474], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x310]
mov ecx, dword [ebp - 0x328]
sub eax, ecx
push 1
push dword [ebp - 0x324]
push eax
push dword [ebp - 0x330]
push ecx
push dword [esi + 0x47c]
call edi
mov edi, dword [ebp - 0x320]
mov esi, dword [0x542dfc]
push 0
push 0
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
push dword [edi + 0x47c]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
call esi
cmp dword [edi + 0x694], 8
mov eax, dword [0x5473d8]
mov dword [edi + 0x660], 2
mov dword [edi + 0x65c], 0
mov dword [edi + 0x664], eax
jne 0x41f44f
call fcn.0041e090
neg eax
sbb eax, eax
and eax, 0x32
add eax, 0x26b
jmp 0x41f454
mov eax, 0x273
push dword [eax*8 + 0x541a74]
push dword [edi + 0x678]
call esi
push dword [edi + 0x678]
call dword [sym.imp.USER32.dll_SetFocus]
push 1
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, edi
call fcn.0041f7c0
jmp case.default.0x41e1a5
push dword [0x541a9c]
push dword [esi + 0x678]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00465694
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4