Function at 0x515010
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cef8
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5edd38]
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 - 0xf4], esi
push 0x16
push dword [esi + 0x11c]
lea edi, [esi + 4]
push dword [esi + 0x118]
mov dword [ebp - 0xfc], edi
push 0
push 0
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi]
mov ecx, edi
call fcn.005104d0
mov ecx, dword [0x5f3910]
lea eax, [ebp - 0x28]
push 0x23
push eax
call fcn.0049ac06
mov esi, dword [esi + 0x130]
push 0x40f
push dword [edi]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x14
push 0x64
push 0x64
lea ecx, [esi - 2]
mov edi, eax
push ecx
push ecx
push 0
xorps xmm0, xmm0
push edi
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0xfc]
lea eax, [ebp - 0x38]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x30]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0xf4]
mov ecx, edi
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push 0xffffffffffffffff
push dword [edi + 0x120]
lea eax, [ebp - 0xbc]
push 0x8c
push dword [edi + 0x130]
push 0x410
push eax
call fcn.00516060
cmp dword [edi + 0x98], 8
lea ecx, [edi + 0x84]
mov edx, ecx
jb 0x515133
mov edx, dword [ecx]
mov eax, dword [ecx + 0x10]
lea eax, [edx + eax*2]
jb 0x51513d
mov ecx, dword [ecx]
xor edi, edi
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], di
mov edx, 7
mov edi, dword [ebp - 0xf4]
mov dword [ebp - 0x5c], edx
cmp ecx, eax
je 0x51516d
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.00408f30
mov edx, dword [ebp - 0x5c]
cmp edx, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
mov dword [ebp - 0xd0], eax
mov eax, dword [edi + 0x120]
sub eax, 5
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xb0]
add eax, 3
push 0x414
push dword [esi]
mov dword [ebp - 0xd4], eax
mov eax, dword [edi + 0x130]
mov dword [ebp - 0xcc], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp - 0xd0], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc0], eax
movups xmmword [ebp - 0x38], xmm0
je 0x515275
push 1
push dword [edi + 0x104]
push 0x30
push 0x414
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [ebp - 0xd0]
push dword [ebp - 0xc0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x404
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x14
push 0x1e
push dword [ebp - 0xc8]
mov esi, eax
push dword [ebp - 0xd4]
push dword [ebp - 0xcc]
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push dword [edi + 0x104]
push 0x30
push 0x404
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [ebp - 0xd0]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0xac]
push eax
push esi
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [ebp - 0xa4]
lea esi, [edi + 4]
add eax, dword [ebp - 0xa8]
jmp 0x51527a
mov eax, 0xfffffffd
push 0x14
push eax
push dword [ebp - 0xc8]
mov eax, dword [ebp - 0xd4]
add eax, 0xfffffffe
push eax
mov eax, dword [ebp - 0xcc]
add eax, 0xfffffffe
push eax
push 0
push dword [ebp - 0xc0]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0xc0]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x38]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x30]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
movups xmm0, xmmword [ebp - 0x38]
mov ecx, dword [0x5f3910]
lea eax, [ebp - 0xec]
push 0x24
push eax
movups xmmword [ebp - 0xbc], xmm0
call fcn.0049ac06
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xc4], eax
cmp ecx, eax
je 0x51534c
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x51531a
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x51536e
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.0040a2e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push 0
push eax
mov eax, dword [ebp - 0xb0]
push 0xffffffffffffffff
push dword [edi + 0x120]
add eax, 0xa
mov byte [ebp - 4], 1
push eax
push dword [edi + 0x130]
lea eax, [ebp - 0xe4]
push 0x411
push eax
call fcn.00516060
mov ecx, dword [0x5f3910]
push 0x25
movups xmm0, xmmword [eax]
lea eax, [ebp - 0xec]
push eax
movups xmmword [ebp - 0xbc], xmm0
call fcn.0049ac06
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xc4], eax
cmp ecx, eax
je 0x51542b
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp ecx, 8
jb 0x5153f9
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x51544d
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.0040a2e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push 0
push eax
mov eax, dword [ebp - 0xb0]
push 0xffffffffffffffff
push dword [edi + 0x120]
add eax, 0xa
mov byte [ebp - 4], 1
push eax
push dword [edi + 0x130]
lea eax, [ebp - 0xe4]
push 0x412
push eax
call fcn.00516060
cmp dword [edi + 0xb0], 8
lea ecx, [edi + 0x9c]
mov edx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xbc], xmm0
jb 0x5154a9
mov edx, dword [ecx]
mov eax, dword [ecx + 0x10]
lea eax, [edx + eax*2]
jb 0x5154b3
mov ecx, dword [ecx]
xor edi, edi
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], di
mov edx, 7
mov edi, dword [ebp - 0xf4]
mov dword [ebp - 0x44], edx
cmp ecx, eax
je 0x5154e3
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.00408f30
mov edx, dword [ebp - 0x44]
cmp edx, 8
mov byte [ebp - 4], 6
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 0xc0], eax
mov eax, dword [edi + 0x120]
sub eax, 5
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xb0]
add eax, 3
push 0x415
push dword [esi]
mov dword [ebp - 0xc8], eax
mov eax, dword [edi + 0x130]
mov dword [ebp - 0xd4], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp - 0xc0], 0
xorps xmm0, xmm0
mov dword [ebp - 0xd0], eax
movups xmmword [ebp - 0x38], xmm0
je 0x5155eb
push 1
push dword [edi + 0x104]
push 0x30
push 0x415
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [ebp - 0xc0]
push dword [ebp - 0xd0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x404
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x14
push 0x1e
push dword [ebp - 0xcc]
mov esi, eax
push dword [ebp - 0xc8]
push dword [ebp - 0xd4]
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push dword [edi + 0x104]
push 0x30
push 0x404
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [ebp - 0xc0]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0xac]
push eax
push esi
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [ebp - 0xa4]
lea esi, [edi + 4]
add eax, dword [ebp - 0xa8]
jmp 0x5155f0
mov eax, 0xfffffffd
push 0x14
push eax
push dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc8]
add eax, 0xfffffffe
push eax
mov eax, dword [ebp - 0xd4]
add eax, 0xfffffffe
push eax
push 0
push dword [ebp - 0xd0]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0xd0]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x38]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x30]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
movups xmm0, xmmword [ebp - 0x38]
mov ecx, dword [0x5f3910]
lea eax, [ebp - 0xec]
push 0x26
push eax
movups xmmword [ebp - 0xbc], xmm0
call fcn.0049ac06
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xc4], eax
cmp ecx, eax
je 0x5156c2
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp ecx, 8
jb 0x515690
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 8
cmp eax, 8
jb 0x5156e4
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.0040a2e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push 0
push eax
mov eax, dword [ebp - 0xb0]
push 0xffffffffffffffff
push dword [edi + 0x120]
add eax, 0xa
mov byte [ebp - 4], 6
push eax
push dword [edi + 0x130]
lea eax, [ebp - 0xe4]
push 0x413
push eax
call fcn.00516060
mov ecx, dword [0x5f3910]
push 0x27
movups xmm0, xmmword [eax]
lea eax, [ebp - 0xec]
push eax
movups xmmword [ebp - 0xbc], xmm0
call fcn.0049ac06
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xc4], eax
cmp ecx, eax
je 0x5157a1
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 9
cmp ecx, 8
jb 0x51576f
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x5157c3
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.0040a2e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x407
cmovae eax, dword [ebp - 0x28]
push dword [esi]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc4], eax
mov eax, dword [edi + 0x130]
mov byte [ebp - 4], 6
mov dword [ebp - 0xc8], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp - 0xcc], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc0], eax
movups xmmword [ebp - 0x38], xmm0
je 0x51583d
push 1
push dword [edi + 0x100]
push 0x30
push 0x407
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [ebp - 0xcc]
push dword [ebp - 0xc0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0xc4]
push 0x14
push 0x28
push 0xaa
add eax, 8
push eax
mov eax, dword [ebp - 0xc8]
add eax, 0xfffffffe
push eax
push 0
push dword [ebp - 0xc0]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0xc0]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x38]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x30]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
movups xmm0, xmmword [ebp - 0x38]
push 0x407
push dword [esi]
movups xmmword [ebp - 0xbc], xmm0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 0xc8], eax
call dword [sym.imp.USER32.dll_GetDC]
push dword [edi + 0x100]
mov dword [ebp - 0xcc], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0xc8]
mov dword [ebp - 0xc0], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [0x5f3910]
inc eax
mov dword [ebp - 0xd4], eax
xorps xmm0, xmm0
push 0x27
lea eax, [ebp - 0xec]
movlpd qword [ebp - 0x40], xmm0
push eax
call fcn.0049ac06
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xc4], eax
cmp ecx, eax
je 0x51595d
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp ecx, 8
jb 0x51592b
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 0xc
cmp eax, 8
jb 0x51597f
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.0040a2e0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x40]
push ecx
push dword [ebp - 0xd4]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0xcc]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push dword [ebp - 0xc0]
push dword [ebp - 0xcc]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
add eax, 0xa
push 0x16
push eax
add ecx, 0xa
mov dword [ebp - 0x3c], eax
push ecx
push 0
push 0
push 0
push dword [ebp - 0xc8]
mov dword [ebp - 0x40], ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x405
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [edi + 0xed], 0
mov dword [ebp - 0xf0], eax
je 0x515c2b
mov ecx, dword [0x5f3910]
lea eax, [ebp - 0xec]
push 0x406
push eax
call fcn.0049ac06
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xc4], eax
cmp ecx, eax
je 0x515a76
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xd
cmp ecx, 8
jb 0x515a44
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 0xe
cmp eax, 8
jb 0x515a98
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.0040a2e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x130]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0xc0], eax
mov eax, dword [edi + 0x120]
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 0x11c]
sub eax, ecx
mov byte [ebp - 4], 6
sub eax, dword [0x5eda38]
push 0x405
push dword [esi]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xd0], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp - 0xc0], 0
xorps xmm0, xmm0
mov dword [ebp - 0xd4], eax
movups xmmword [ebp - 0x38], xmm0
je 0x515bc9
push 1
push dword [edi + 0x100]
push 0x30
push 0x405
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [ebp - 0xc0]
push dword [ebp - 0xd4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x404
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0xcc]
mov esi, eax
push 0x14
push 0x1e
add ecx, 0xffffffec
push ecx
push dword [ebp - 0xd0]
push dword [ebp - 0xc8]
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push dword [edi + 0x100]
push 0x30
push 0x404
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [ebp - 0xc0]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0xac]
push eax
push esi
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0
push 0
push 0xba
push 0x404
push dword [edi + 4]
lea esi, [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
imul eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xd0]
add edx, eax
sub ecx, eax
jmp 0x515bd4
mov ecx, dword [ebp - 0xd0]
mov edx, 0xfffffffe
push 0x14
push edx
push dword [ebp - 0xcc]
lea eax, [ecx - 2]
push eax
mov eax, dword [ebp - 0xc8]
add eax, 0xfffffffe
push eax
push 0
push dword [ebp - 0xd4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0xd4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x38]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x30]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 5
push dword [ebp - 0xf0]
jmp 0x515c2e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x40c
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [edi + 0xef], 0
mov dword [ebp - 0xf8], eax
je 0x515ef6
mov ecx, dword [0x5f3910]
lea eax, [ebp - 0xec]
push 0x40d
push eax
call fcn.0049ac06
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xf0], eax
cmp ecx, eax
je 0x515ccb
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xf
cmp ecx, 8
jb 0x515c99
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 0x10
cmp eax, 8
jb 0x515ced
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.0040a2e0
mov ecx, dword [edi + 0x130]
mov eax, dword [edi + 0x11c]
sub eax, ecx
mov byte [ebp - 4], 6
sub eax, dword [0x5eda38]
cmp byte [edi + 0xed], 0
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
je 0x515d62
push 0x405
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0xbc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 0x130]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [edi + 0x130]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0x40c
cmovae ecx, dword [ebp - 0x28]
add eax, 0xfffffff6
push dword [esi]
mov dword [ebp - 0xd4], ecx
mov ecx, dword [edi + 0x120]
mov dword [ebp - 0xcc], 0xfffffffe
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp - 0xd4], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc8], eax
movups xmmword [ebp - 0xe4], xmm0
je 0x515e8b
push 1
push dword [edi + 0x100]
push 0x30
push 0x40c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [ebp - 0xd4]
push dword [ebp - 0xc8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x404
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0xc4]
mov esi, eax
push 0x14
push 0x1e
add ecx, 0xffffffec
push ecx
push dword [ebp - 0xc0]
push dword [ebp - 0xd0]
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push dword [edi + 0x100]
push 0x30
push 0x404
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push dword [ebp - 0xd4]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0xac]
push eax
push esi
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0
push 0
push 0xba
push 0x404
push dword [edi + 4]
lea esi, [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
imul eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
add ecx, eax
mov dword [ebp - 0xcc], ecx
mov ecx, dword [ebp - 0xc0]
sub ecx, eax
jmp 0x515e91
mov ecx, dword [ebp - 0xc0]
push 0x14
push dword [ebp - 0xcc]
lea eax, [ecx - 2]
push dword [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xd0]
add eax, 0xfffffffe
push eax
push 0
push dword [ebp - 0xc8]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0xe4]
push eax
push dword [ebp - 0xc8]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0xe4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0xdc]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 5
push dword [ebp - 0xf8]
jmp 0x515ef9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x40c
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
movzx ecx, byte [edi + 0xf0]
push 0
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xf4]
mov esi, dword [edi + 0x12c]
mov edi, dword [edi + 0x128]
push 0x401
mov eax, dword [ecx + 0x130]
push dword [ecx + 4]
mov dword [ebp - 0xf8], eax
mov eax, dword [ecx + 0x120]
mov dword [ebp - 0xf0], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0xf8]
push 0x14
push esi
push edi
lea ecx, [eax - 2]
mov dword [ebp - 0xc4], edx
push ecx
mov ecx, dword [ebp - 0xf0]
add eax, 8
add ecx, eax
push ecx
push 0
push edx
movups xmmword [ebp - 0xe4], xmm0
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0xe4]
push eax
push dword [ebp - 0xc4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0xfc]
lea eax, [ebp - 0xe4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0xdc]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0x11
cmp eax, 8
jb 0x515fdf
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x12
cmp eax, 8
jb 0x51600c
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0x13
cmp eax, 8
jb 0x51603c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
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.00401682
mov esp, ebp
pop ebp
ret