Function at 0x414fe0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489b08
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x100], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10c], eax
xor eax, eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x108], eax
cmp byte [edi + 0x7fe], al
je 0x415b84
push eax
lea eax, [ebp - 0xf4]
push 9
push eax
call fcn.00483c80
push 0
lea edx, [ebp - 0xf4]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.0040edb0
add esp, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0xcc], 0
jne 0x415092
lea ecx, [ebp - 0x68]
call fcn.0040c8d0
mov ecx, 1
mov dword [ebp - 0x108], ecx
cmp dword [eax + 0x10], 0
jne 0x415098
mov byte [ebp - 0xf6], cl
jmp 0x41509f
mov ecx, dword [ebp - 0x108]
mov byte [ebp - 0xf6], 0
test cl, 1
je 0x4150b5
and ecx, 0xfffffffe
mov dword [ebp - 0x108], ecx
lea ecx, [ebp - 0x68]
call fcn.004087f0
push 1
push dword [edi + 0xac]
lea esi, [edi + 0xac]
mov dword [edi + 0x7e8], 1
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [edi + 0xa8]
neg eax
push 1
sbb eax, eax
and eax, esi
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push dword [edi + 0x67c]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004164c0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [eax + 4]
push 0x1e
call esi
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov edi, dword [eax + 8]
sub edi, dword [eax]
call fcn.004164c0
push 0x60
push dword [eax + 4]
push 0xb3
call esi
mov esi, eax
call fcn.004164c0
push 0x60
push dword [eax]
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0
call eax
push 1
push dword [ebp - 0x104]
push edi
push esi
mov esi, dword [ebp - 0x100]
push eax
push dword [esi + 0x67c]
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push dword [0x4bc908]
push 0x30
push dword [esi + 0x67c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 0x670]
call dword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x88], 0
push eax
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x84], 0
movups xmmword [ebp - 0x9c], xmm0
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x80], 0xff
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
sub esp, 0xc
mov byte [ebp - 4], 2
push 0x197
push ecx
lea ecx, [ebp - 0xac]
call fcn.00419c6d
mov eax, dword [esi + 0x668]
mov dword [eax + 0x28], 0
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0x44], edi
test edi, edi
je 0x415214
inc dword [edi + 4]
mov ecx, dword [ebp - 0x84]
movups xmm0, xmmword [ebp - 0xa8]
mov eax, dword [ebp - 0x88]
movups xmm1, xmmword [ebp - 0x98]
mov esi, dword [esi + 0x668]
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x1c], ecx
mov cl, byte [ebp - 0x80]
mov byte [ebp - 0xf5], cl
mov byte [ebp - 0x18], cl
mov ecx, dword [ebp - 0x7c]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x104], eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x20], eax
movups xmmword [ebp - 0xbc], xmm1
mov dword [ebp - 0x110], ecx
movups xmmword [ebp - 0x30], xmm1
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 3
test edi, edi
je 0x41527c
inc dword [edi + 4]
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x54], edi
test ecx, ecx
je 0x4152a6
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jg 0x4152a6
mov eax, dword [ecx]
push 1
call dword [eax]
movups xmm0, xmmword [ebp - 0x60]
mov eax, dword [ebp - 0x104]
movups xmm1, xmmword [ebp - 0xbc]
mov dword [esi + 0x78], eax
mov ecx, esi
mov eax, dword [ebp - 0x114]
mov dword [esi + 0x7c], eax
mov al, byte [ebp - 0xf5]
push 0
mov byte [esi + 0x80], al
mov eax, dword [ebp - 0x110]
push 1
movups xmmword [esi + 0x58], xmm0
mov dword [esi + 0x84], eax
movups xmmword [esi + 0x68], xmm1
call fcn.0041bdc4
mov byte [ebp - 4], 2
test edi, edi
je 0x4152f6
dec dword [edi + 4]
cmp dword [edi + 4], 0
jg 0x4152f6
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
call fcn.004164c0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [eax + 4]
push 0x7a
call esi
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0xfc], eax
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
mov dword [ebp - 0x110], eax
call fcn.004164c0
push 0x60
push dword [eax]
push 0x60
call esi
mov dword [ebp - 0x114], eax
call fcn.004164c0
push 0x60
push dword [eax]
push 0x60
call esi
mov dword [ebp - 0x104], eax
call fcn.004164c0
push 0x60
push dword [eax + 4]
push 0x1a
call esi
mov edi, eax
mov eax, dword [ebp - 0x10c]
mov esi, dword [eax + 8]
sub esi, dword [eax]
call fcn.004164c0
push 0x60
push dword [eax]
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
call eax
sub esi, eax
mov dword [ebp - 0x74], edi
mov eax, esi
mov esi, dword [ebp - 0x100]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esi + 0x668]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x114]
cdq
sub eax, edx
lea edx, [ebp - 0x78]
sar eax, 1
add eax, dword [ebp - 0x104]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0x14]
mov ecx, dword [esi + 0x668]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xfc], ecx
mov al, byte [ecx + 0x2c]
mov byte [ebp - 0xf5], al
mov eax, dword [ecx + 0x50]
mov byte [ecx + 0x2c], 1
test eax, eax
je 0x4153f6
push 0
push 1
push 0x401
push dword [eax]
call edi
mov ecx, dword [ebp - 0xfc]
cmp byte [ebp - 0xf5], 1
je 0x415406
mov eax, dword [ecx]
push 0
call dword [eax + 0x24]
mov ecx, dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, 1
cmp ax, word [0x4bc578]
mov al, byte [ebp - 0xf6]
jne 0x4154fe
xor al, 1
mov byte [ebp - 0xf5], al
movzx eax, al
mov dword [ebp - 0x110], eax
push dword [eax*8 + 0x4b9154]
push dword [esi + 0x674]
call ecx
call fcn.004164c0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [eax + 4]
push 0x1c
call esi
mov ecx, dword [ebp - 0x10c]
mov edi, eax
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
mov dword [ebp - 0xfc], eax
call fcn.004164c0
push 0x60
push dword [eax + 4]
push 0x14
call esi
mov esi, eax
call fcn.004164c0
push 0x60
push dword [eax]
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0
call eax
mov ecx, dword [ebp - 0x6c]
push 1
push edi
push dword [ebp - 0xfc]
add ecx, esi
mov esi, dword [ebp - 0x100]
push ecx
push eax
push dword [esi + 0x674]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [0x4bc908]
push 0x30
push dword [esi + 0x674]
call edi
push 5
push dword [esi + 0x674]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
cmp ax, word [0x4bc578]
jne 0x415502
mov eax, dword [ebp - 0x110]
push dword [eax*8 + 0x4b9174]
push dword [esi + 0x678]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x415520
xor al, 1
jmp 0x41550e
mov al, byte [ebp - 0xf5]
mov ecx, dword [sym.imp.USER32.dll_SetWindowTextW]
movzx eax, al
push dword [eax*8 + 0x4b9164]
push dword [esi + 0x678]
call ecx
push 1
push dword [0x4bc908]
push 0x30
push dword [esi + 0x678]
call edi
mov eax, 1
cmp ax, word [0x4bc578]
jne 0x415578
call fcn.004164c0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [eax + 4]
push 0x19
call esi
mov ecx, dword [ebp - 0x10c]
mov edi, eax
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
mov dword [ebp - 0xfc], eax
call fcn.004164c0
push 0x60
push dword [eax + 4]
push 0xa9
jmp 0x4155ae
call fcn.004164c0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [eax + 4]
push 0x19
call esi
mov ecx, dword [ebp - 0x10c]
mov edi, eax
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
mov dword [ebp - 0xfc], eax
call fcn.004164c0
push 0x60
push dword [eax + 4]
push 0x9b
call esi
mov esi, eax
call fcn.004164c0
push 0x60
push dword [eax]
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
push 4
call eax
push 1
push edi
push dword [ebp - 0xfc]
push esi
mov esi, dword [ebp - 0x100]
push eax
push dword [esi + 0x678]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x678]
call edi
push 0
push dword [esi + 0x684]
call edi
mov edi, dword [esi + 0x698]
test edi, edi
je 0x415645
mov al, byte [edi + 0x2c]
mov byte [ebp - 0xf5], al
mov eax, dword [edi + 0x50]
mov byte [edi + 0x2c], 1
test eax, eax
je 0x41562a
push 0
push 1
push 0x401
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [ebp - 0xf5], 1
je 0x4159e2
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x24]
jmp 0x4159e2
push 0xe4
call fcn.004585d6
mov edi, eax
add esp, 4
test edi, edi
je 0x415ba1
mov dword [ebp - 0x110], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc4]
push dword [0x4b91a4]
call fcn.00404500
mov byte [ebp - 4], 5
mov ecx, edi
mov eax, dword [ebp - 0x108]
or eax, 2
mov dword [ebp - 0x108], eax
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xc4]
push eax
push dword [esi + 4]
call fcn.0041fe39
mov ecx, eax
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x108]
mov dword [esi + 0x698], ecx
test al, 2
je 0x4156cb
lea ecx, [ebp - 0xc4]
call fcn.004087f0
mov ecx, dword [esi + 0x698]
mov dword [ecx + 0x28], 3
lea ecx, [ebp - 0x50]
call fcn.0040ba40
mov byte [ebp - 4], 7
mov eax, 0xaaaaaa
mov edi, dword [esi + 0x698]
lea esi, [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], 0xaaaaaa
mov dword [ebp - 0x20], 0xaaaaaa
lea edx, [edi + 0x58]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 1
mov dword [edi + 0x54], ecx
cmp edx, esi
je 0x41572c
cmp dword [ebp - 0x38], 8
mov eax, esi
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
mov ecx, edx
push eax
call fcn.00408440
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x50]
mov dl, byte [ebp - 0x34]
mov dh, byte [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov dword [edi + 0x7c], esi
lea esi, [ebp - 0x4c]
mov byte [edi + 0x70], dl
mov dword [edi + 0x74], eax
mov byte [edi + 0x78], dh
mov dword [edi + 0x98], ecx
lea ecx, [edi + 0x9c]
cmp ecx, esi
mov esi, dword [ebp - 0x100]
je 0x415777
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.00408440
mov dh, byte [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dl, byte [ebp - 0x34]
mov dword [edi + 0xb8], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0xc0], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0xc4], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0xc8], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xcc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0xd0], eax
mov al, byte [ebp - 0x14]
mov byte [edi + 0xb4], dl
mov byte [edi + 0xbc], dh
mov byte [edi + 0xd4], al
call fcn.004164c0
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [eax]
push 0x50
call edi
mov dword [ebp - 0x60], eax
call fcn.004164c0
push 0x60
push dword [eax + 4]
push 0xd0
call edi
mov dword [ebp - 0x5c], eax
call fcn.004164c0
push 0x60
push dword [eax]
push 0xc8
call edi
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x58], eax
call fcn.004164c0
push 0x60
push dword [eax + 4]
push 0x19
call edi
mov ecx, dword [esi + 0x698]
lea edx, [ebp - 0x60]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
push 0
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
mov eax, dword [esi + 0x698]
mov dword [eax + 0xdc], esi
mov dword [eax + 0xd8], 0x415bc0
mov edi, dword [esi + 0x698]
add esi, 0x20
mov ecx, dword [esi + 0x58]
lea eax, [esi + 0x54]
sub ecx, dword [eax]
sar ecx, 3
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x114], eax
mov dword [ebp - 0xfc], ecx
test edi, edi
je 0x4159d6
mov eax, dword [edi]
mov ecx, edi
mov dword [edi + 0xc], esi
mov eax, dword [eax + 8]
call eax
test eax, eax
jne 0x415893
mov ecx, dword [ebp - 0x108]
mov esi, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
push eax
mov ecx, edi
call dword [esi + 4]
mov esi, dword [ebp - 0x108]
mov eax, dword [edi + 4]
inc eax
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x110], eax
mov dword [edi + 4], eax
mov dword [ebp - 0x118], 0
mov byte [ebp - 4], 8
mov eax, dword [esi + 0x54]
mov ecx, dword [ebp - 0xfc]
mov edx, dword [esi + 0x58]
lea ecx, [eax + ecx*8]
mov dword [ebp - 0x104], ecx
cmp edx, dword [esi + 0x5c]
je 0x4159b2
cmp ecx, edx
jne 0x4158eb
mov dword [edx], edi
inc dword [edi + 4]
mov dword [edx + 4], 0
add dword [esi + 0x58], 8
jmp 0x4159c5
mov eax, dword [ebp - 0x110]
lea esi, [edx - 8]
inc eax
mov dword [ebp - 0xb0], 0
mov dword [edi + 4], eax
mov eax, dword [esi]
mov dword [edx], eax
test eax, eax
je 0x41590d
inc dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x108]
add dword [eax + 0x58], 8
cmp esi, ecx
je 0x41596e
sub edx, esi
mov dword [ebp - 0xfc], edx
nop dword [eax]
mov eax, dword [esi - 8]
sub esi, 8
test eax, eax
je 0x41593d
inc dword [eax + 4]
mov ecx, dword [edx + esi]
mov dword [edx + esi], eax
test ecx, ecx
je 0x41595c
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jg 0x41595c
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x104]
mov eax, dword [edx + esi - 4]
mov dword [edx + esi + 4], eax
cmp esi, ecx
jne 0x415930
test edi, edi
je 0x415975
inc dword [edi + 4]
mov edx, dword [ecx]
mov dword [ecx], edi
test edx, edx
je 0x415994
dec dword [edx + 4]
cmp dword [edx + 4], 0
jg 0x415994
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 4], 0
test edi, edi
je 0x4159c5
dec dword [edi + 4]
cmp dword [edi + 4], 0
jg 0x4159c5
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
jmp 0x4159c5
lea eax, [ebp - 0x11c]
push eax
push ecx
mov ecx, dword [ebp - 0x114]
call fcn.0041d25f
dec dword [edi + 4]
cmp dword [edi + 4], 0
jg 0x4159d6
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0040bab0
mov eax, dword [ebp - 0x10c]
mov esi, dword [eax]
mov eax, dword [eax + 8]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x104], eax
call fcn.004164c0
push 0x60
push dword [eax + 4]
push 0x27
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x104]
mov edi, eax
mov eax, dword [ebp - 0x10c]
sub ecx, esi
push 1
push edi
push ecx
mov eax, dword [eax + 0xc]
sub eax, edi
push eax
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x100]
push esi
push dword [eax + 0x28c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0x100]
mov edx, 0x1320
mov eax, dword [0x4bc8f8]
cmp byte [ebp - 0xf6], 0
push 0
mov dword [ecx + 0x474], eax
mov eax, 0x1470
cmove eax, edx
mov dword [ecx + 0x470], 6
mov dword [ecx + 0x46c], 1
push 0
push dword [ecx + 0x28c]
mov esi, dword [eax + 0x4b7c64]
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
mov esi, dword [ebp - 0x100]
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_SetFocus]
push 1
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x104]
push 1
push edi
mov eax, dword [eax + 8]
sub eax, ecx
push eax
push dword [ebp - 0xfc]
push ecx
push dword [esi + 0x47c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, dword [ebp - 0x100]
mov eax, dword [0x4bc8f8]
push 0
mov dword [esi + 0x660], 2
mov dword [esi + 0x65c], 0
mov dword [esi + 0x664], eax
mov esi, dword [0x4b8fac]
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 5
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [edi + 0x47c]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0xac]
test ecx, ecx
je 0x415b6e
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jg 0x415b6e
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0xdc]
call fcn.004087f0
lea ecx, [ebp - 0xf4]
call fcn.004087f0
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.00453c11
mov esp, ebp
pop ebp
ret 4
push 0x4b34a8
lea eax, [ebp - 0xf5]
push eax
call fcn.00456e9d
int3