Function at 0x47b6f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b858b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xae4
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [edi + 0x10]
cmp esi, 0x2af8
jb 0x47b746
push 0x4b9c40
push str.Too_many_controls.
mov ecx, 0x4e7b70
call fcn.00447e20
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x14]
cmp esi, eax
jb 0x47b773
add eax, 0x3e8
shl eax, 6
push eax
push dword [edi + 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
test eax, eax
je 0x47b720
add dword [edi + 0x14], 0x3e8
mov esi, dword [edi + 0x10]
mov dword [edi + 0x18], eax
push 0x40
shl esi, 6
add esi, dword [edi + 0x18]
push 0
push esi
mov dword [ebp - 0x14], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x238]
mov ecx, edi
push esi
push eax
call fcn.00482780
mov cl, byte [ebp + 8]
mov dword [ebp - 0x38], 0
cmp cl, 0x1a
jne 0x47b93c
mov ecx, dword [ebp + 0x10]
call fcn.00478e50
mov ecx, eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
jne 0x47b7f3
mov ecx, dword [ebp + 0x10]
call fcn.00404ce0
mov edx, dword [0x4e59e0]
xor ecx, ecx
test edx, edx
jle 0x47b7ec
mov esi, dword [0x4e59dc]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x38], edi
cmp dword [edi + 4], eax
mov edi, dword [ebp - 0x1c]
je 0x47b837
inc ecx
cmp ecx, edx
jl 0x47b7d6
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x38], 0
mov cl, byte [ebp + 8]
mov al, cl
mov byte [ebp - 0x16], al
cmp cl, 0x13
jne 0x47b99f
cmp byte [edi + 0xc0], 0xff
jne 0x47b96e
push 0x4b9c40
push str.Too_many_tab_controls.
mov ecx, 0x4e7b70
call fcn.00447e20
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp - 0x14]
mov byte [ebp - 0x16], 0x1a
mov al, byte [edi + 0xc1]
mov byte [esi + 6], al
mov al, byte [edi + 0xc2]
mov byte [esi + 7], al
cmp dword [edi + 0x10], 0
mov edx, dword [sym.imp.KERNEL32.dll_MulDiv]
jne 0x47b8e7
cmp dword [edi + 0x78], 0x80000000
jne 0x47b8a2
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e72b4]
push 0x60
push dword [0x4e7b5c]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4dcfd0]
cvttsd2si eax, xmm0
push eax
call edx
mov edx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [edi + 0x78], eax
cmp dword [edi + 0x7c], 0x80000000
jne 0x47b8de
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e72b4]
push 0x60
push dword [0x4e7b5c]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4dcfb8]
cvttsd2si eax, xmm0
push eax
call edx
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x78]
mov dword [edi + 0x80], eax
mov ah, byte [ebp + 8]
mov byte [esi + 4], ah
mov edx, dword [ebp - 0x238]
mov al, byte [edi + 0x45]
or edx, 0x10000000
mov byte [ebp - 0xa5], al
mov ecx, edx
mov dword [ebp - 0x238], ecx
cmp ah, 6
jne 0x47b9dd
or ecx, 0x4000
cmp byte [edi + 0x44], 0
mov dword [ebp - 0x238], ecx
jne 0x47ba03
mov ecx, edx
or ecx, 0x24000
mov dword [ebp - 0x238], ecx
jmp 0x47ba03
cmp cl, 0x14
jne 0x47b952
or byte [esi + 5], 0x80
mov byte [ebp + 8], 0x13
mov byte [ebp - 0x16], 0x13
jmp 0x47b804
cmp cl, 0x15
jne 0x47b7f6
mov cl, 0x13
mov word [ebp - 0xa3], 0x301
mov byte [ebp + 8], cl
jmp 0x47b7f6
mov byte [esi + 6], 0xff
mov ecx, edi
mov al, byte [edi + 0xc0]
mov byte [esi + 7], al
movzx eax, byte [edi + 0xc1]
push eax
call fcn.00488520
test eax, eax
je 0x47b850
push eax
mov ecx, edi
call fcn.00488a30
jmp 0x47b850
cmp cl, 0x19
jne 0x47b83e
cmp dword [edi + 8], 0
je 0x47b9d4
push 0x4b9c40
push str.Too_many_status_bars.
mov ecx, 0x4e7b70
call fcn.00447e20
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov byte [esi + 6], 0xff
jmp 0x47b850
cmp byte [edi + 0x44], 0
je 0x47b9ef
or ecx, 0x20000
mov dword [ebp - 0x238], ecx
cmp ah, 2
je 0x47ba27
cmp ah, 0x10
je 0x47ba27
cmp ah, 0x11
je 0x47ba27
cmp ah, 0x12
je 0x47ba27
cmp byte [esi + 4], 0xa
mov byte [ebp - 0x33], 1
je 0x47ba19
mov eax, dword [edi + 0x54]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 0x238]
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x1dc], eax
mov ah, byte [ebp + 8]
jmp 0x47ba3d
mov byte [ebp - 0x33], 0
cmp ah, 0x12
jne 0x47ba3d
mov dword [esi + 0x10], 0xff000000
mov ecx, dword [ebp - 0x238]
movzx eax, ah
mov dword [ebp - 0x44], eax
add eax, 0xfffffffc
cmp eax, 0x16
ja case.0x47ba4f.6
jmp dword [eax*4 + 0x47ec3c]
or ecx, 0x210000
mov dword [ebp - 0x238], ecx
jmp case.0x47ba4f.6
or ecx, 0x210042
mov dword [ebp - 0x238], ecx
jmp case.0x47ba4f.6
or ecx, 0x210080
or dword [ebp - 0x230], 0x200
mov dword [ebp - 0x238], ecx
jmp case.0x47ba4f.6
or dword [ebp - 0x228], 0x30
or ecx, 0x10008
or dword [ebp - 0x230], 0x200
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x224], 1
jmp case.0x47ba4f.6
or ecx, 0x10027
or dword [ebp - 0x230], 0x200
mov dword [ebp - 0x238], ecx
jmp case.0x47ba4f.6
or ecx, 0x10000
or dword [ebp - 0x230], 0x200
mov dword [ebp - 0x238], ecx
jmp case.0x47ba4f.6
or ecx, 0x36
mov dword [ebp - 0x238], ecx
jmp case.0x47ba4f.6
or ecx, 0x1000c
mov dword [ebp - 0x238], ecx
jmp case.0x47ba4f.6
or ecx, 1
mov dword [ebp - 0x238], ecx
jmp case.0x47ba4f.6
movzx eax, byte [ebp - 0xa5]
xor edx, edx
cmp byte [ebp - 0xa3], dl
cmove eax, edx
or ecx, 0x10200
mov byte [ebp - 0xa5], al
mov dword [ebp - 0x238], ecx
jmp case.0x47ba4f.6
or ecx, 0x4000000
mov dword [ebp - 0x238], ecx
jmp case.0x47ba4f.6
test dword [edi + 0x3c], 0x40000
je 0x47bb6b
or ecx, 0x100
or ecx, 0x800
mov dword [ebp - 0x238], ecx
jmp case.0x47ba4f.6
cmp byte [0x4e8853], 0
je case.0x47ba4f.6
or ecx, 0x10000
mov dword [ebp - 0x238], ecx
jmp case.0x47ba4f.6
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47ba4f.6
push dword [edi + 4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x3c]
test eax, eax
jns 0x47bbba
and eax, 0x3fffffff
or eax, 0x40000000
mov dword [ecx + 0x3c], eax
push eax
push 0xfffffffffffffff0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x38]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne case.0x47ba4f.6
mov ecx, dword [ebp - 0x38]
push 0x4b9c40
push 0x4b9c40
call fcn.00482bc0
push 0
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call fcn.0047fae0
test eax, eax
jne 0x47bc14
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov dl, byte [ebp + 8]
mov eax, dword [ebp - 0x1dc]
cmp dl, 0xa
je 0x47bc25
mov eax, dword [esi + 0x10]
cmp eax, 0xff000000
mov eax, dword [ebp - 0x1d8]
setne byte [ebp - 0xa9]
cmp eax, 0xff000000
jne 0x47bc4f
cmp dl, 0xb
je 0x47bc70
mov dword [ebp - 0x1d8], 0xffffffff
jmp 0x47bc70
cmp eax, 0xffffffff
jne 0x47bc70
mov ecx, dword [edi + 0x5c]
cmp ecx, 0xff000000
je 0x47bc70
cmp dl, 0x12
je 0x47bc70
cmp dl, 0x19
cmovne eax, ecx
mov dword [ebp - 0x1d8], eax
mov edx, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x234]
movss xmm0, dword [ebp - 0x208]
mov esi, dword [ebp - 0x20c]
movss xmm1, dword [0x4dcfa0]
cmp edx, 0x80000000
jne 0x47bd19
cmp esi, 0x80000000
jne 0x47bd19
comiss xmm0, xmm1
ja 0x47bd19
mov eax, dword [ebp + 0x10]
mov edi, eax
test eax, eax
je 0x47bd03
movzx eax, word [eax]
test ax, ax
je 0x47bd03
mov esi, eax
nop word [eax + eax]
mov ecx, 0x4da344
mov edx, 0xa
nop word [eax + eax]
cmp si, dx
je 0x47bd07
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x47bcd0
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x47bcc0
mov ecx, dword [ebp - 0x234]
mov edx, dword [ebp - 0x210]
mov esi, dword [ebp - 0x20c]
xor edi, edi
jmp 0x47bd23
mov ecx, dword [ebp - 0x234]
mov edx, dword [ebp - 0x210]
mov esi, dword [ebp - 0x20c]
mov edi, ecx
not edi
and edi, 0x2000
mov eax, dword [ebp - 0x22c]
not eax
mov dword [ebp - 0x250], edi
and eax, dword [ebp - 0x230]
mov dword [ebp - 0x30], eax
mov eax, ecx
not eax
and eax, dword [ebp - 0x238]
or eax, 0x40000000
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x44]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x47bd5e.10
movzx eax, byte [eax + 0x47ecc0]
jmp dword [eax*4 + 0x47ec98]
mov eax, dword [ebp - 0x10]
and eax, 0xfffffff7
or eax, 7
jmp 0x47bd7f
mov eax, dword [ebp - 0x10]
test al, 1
je 0x47bdcb
and eax, 0xfffffff1
or eax, 1
or eax, edi
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp byte [ebp + 8], 4
jne 0x47c022
cmp dword [edi + 0xc], 0
jne 0x47c022
test byte [edi + 5], 1
jne 0x47c022
mov ecx, dword [ecx]
cmp word [ecx], 0x31
jne 0x47befd
cmp word [ecx + 2], 0
jne 0x47befd
xor eax, eax
mov word [ebp - 0xaf0], ax
jmp 0x47bf15
and eax, 0xfffffff0
jmp 0x47bd7d
mov eax, dword [ebp - 0x10]
and eax, 6
cmp al, 6
mov eax, dword [ebp - 0x10]
jne 0x47bde5
and eax, 0xfffffff6
or eax, 6
jmp 0x47bd7d
and eax, 0xfffffff3
or eax, 3
jmp 0x47bd7d
mov eax, dword [ebp - 0x10]
and eax, 0xfffffff9
or eax, 9
test eax, 0x20000
je 0x47bd7d
test ecx, 0x10000
jne 0x47bd7d
or eax, 0x10000
jmp 0x47bd7d
or dword [ebp - 0x10], 3
jmp case.0x47bd5e.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
test al, 1
je 0x47be37
and eax, 0xfffffff1
or eax, 1
mov dword [ebp - 0x10], eax
jmp 0x47bd88
and eax, 0xfffffff2
or eax, 2
mov dword [ebp - 0x10], eax
jmp 0x47bd88
or dword [ebp - 0x10], 1
jmp case.0x47bd5e.10
comiss xmm0, xmm1
ja 0x47be6b
push 0xa
push dword [ebp + 0x10]
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov ecx, dword [ebp - 0x234]
add esp, 8
test eax, eax
je 0x47be75
mov eax, ecx
not eax
and eax, 4
or dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
test al, 4
je 0x47bd85
not ecx
and ecx, 0x201040
or eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x47bd85
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
or eax, 0x4000000
cmp dword [ecx + 0x60], 0
je 0x47beaf
test byte [edi + 5], 0x20
je 0x47beb8
cmp dword [edi + 0x10], 0xff000000
je 0x47bec6
or eax, 0x2000
mov byte [ebp - 0xa5], 0
jmp 0x47becb
and eax, 0xffffdfff
mov dword [ebp - 0x10], eax
mov al, byte [ebp - 0xa2]
cmp edx, 0x80000000
je 0x47bee4
and al, 0xfe
mov byte [ebp - 0xa2], al
cmp esi, 0x80000000
je 0x47bd88
and al, 0xfd
mov byte [ebp - 0xa2], al
jmp 0x47bd88
lea edx, [ebp - 0xaf0]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x47bf05
push dword [ebp + 0x10]
lea eax, [ebp - 0xaf0]
push str.Button_s
push 0x400
push eax
call fcn.0049c6a0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b9c40
mov edx, 0x4da360
lea ecx, [ebp - 0xaf0]
call fcn.0049ce30
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b9c40
mov edx, 0x4d8f2c
lea ecx, [ebp - 0xaf0]
call fcn.0049ce30
add esp, 0x40
lea ecx, [ebp - 0xaf0]
mov edx, 0x4d6ca4
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b9c40
call fcn.0049ce30
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b9c40
mov edx, 0x4d70bc
lea ecx, [ebp - 0xaf0]
call fcn.0049ce30
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b9c40
mov edx, 0x4d9c3c
lea ecx, [ebp - 0xaf0]
call fcn.0049ce30
add esp, 0x48
lea ecx, [ebp - 0xaf0]
mov edx, 0x4da364
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b9c40
call fcn.0049ce30
add esp, 0x18
lea eax, [ebp - 0xaf0]
mov ecx, 0x4e7b70
push 4
push 0
push eax
call fcn.00430f80
mov esi, eax
test esi, esi
je 0x47c012
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x47c01f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0xc], esi
movzx eax, byte [edi + 6]
mov esi, dword [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00488520
mov ecx, eax
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x6c], edi
test edi, edi
je 0x47c063
mov eax, dword [esi + 0x18]
mov ecx, edi
shl ecx, 6
add eax, 0xffffffc0
add eax, ecx
mov ecx, dword [ebp - 0x40]
jmp 0x47c069
lea eax, [ebp - 0x2f0]
cmp dword [ebp - 0x218], 0x80000000
mov dword [ebp - 0x48], eax
jne 0x47c15e
cmp dword [ebp - 0x214], 0x80000000
jne 0x47c15e
test ecx, ecx
je 0x47c0f5
xor edx, edx
test edi, edi
je 0x47c0d2
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0x18]
mov esi, edi
mov edi, dword [ebp - 0x14]
mov cl, byte [ecx + 7]
mov byte [ebp + 0xf], cl
lea ecx, [eax + 6]
mov ah, byte [ebp + 0xf]
nop dword [eax]
cmp byte [ecx + 1], ah
jne 0x47c0bd
mov al, byte [ecx]
cmp al, byte [edi + 6]
jne 0x47c0bd
inc edx
add ecx, 0x40
sub esi, 1
jne 0x47c0b0
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x1c]
test edx, edx
jne 0x47c0f5
mov ecx, dword [ebp - 0x40]
push ecx
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call fcn.004887b0
mov eax, dword [esi + 0x78]
add eax, dword [ebp - 0x78]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x218], eax
mov eax, dword [esi + 0x7c]
add eax, dword [ebp - 0x74]
jmp 0x47c110
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x218], eax
mov eax, dword [esi + 0x8c]
add eax, dword [esi + 0x84]
add eax, dword [esi + 0x7c]
mov dword [ebp - 0x214], eax
mov ah, byte [ebp + 8]
cmp ah, 1
je 0x47c123
cmp ah, 0x17
jne 0x47c161
test edi, edi
je 0x47c161
mov edx, dword [ebp - 0x48]
mov al, byte [edx + 4]
cmp al, 1
je 0x47c135
cmp al, 0x17
jne 0x47c161
mov ecx, dword [ebp - 0x14]
mov al, byte [edx + 6]
cmp al, byte [ecx + 6]
jne 0x47c161
mov al, byte [edx + 7]
cmp al, byte [ecx + 7]
jne 0x47c161
push 0x60
push dword [0x4e7b5c]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x214], eax
mov ah, byte [ebp + 8]
cmp ah, 0xe
je 0x47c174
cmp ah, 0xa
je 0x47c174
cmp ah, 0xb
je 0x47c174
xor cl, cl
jmp 0x47c176
mov cl, 1
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ch, cl
xor ch, 1
mov byte [ebp + 0xf], cl
cmp dword [ebp - 0x20c], 0x80000000
mov byte [ebp - 0x15], ch
jne 0x47c313
movss xmm1, dword [0x4dcf90]
comiss xmm1, dword [ebp - 0x208]
jbe 0x47c313
mov eax, dword [ebp - 0x44]
add eax, 0xfffffffd
cmp eax, 0x17
ja case.0x47c1c2.4
movzx eax, byte [eax + 0x47ed04]
jmp dword [eax*4 + 0x47ecd4]
mov edx, dword [ebp - 0x10]
mov eax, edx
and al, 3
mov dword [ebp - 0x208], 0x40400000
cmp al, 1
je 0x47c34f
test edx, 0x400
jne 0x47c34f
xor ch, ch
mov byte [ebp - 0x15], ch
jmp 0x47c34f
mov dword [ebp - 0x208], 0x40000000
jmp 0x47c34f
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
jne case.0x47c1c2.4
test byte [ebp - 0x10], 4
je 0x47c229
mov dword [ebp - 0x208], 0x40400000
jmp 0x47c34f
mov dword [ebp - 0x208], 0x3f800000
jmp case.0x47c1c2.4
mov dword [ebp - 0x208], 0x3f800000
jmp 0x47c34f
test byte [ebp - 0x10], 0x40
je 0x47c282
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4e72b4]
push 0x60
push dword [0x4e7b5c]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x15]
mov dword [ebp - 0x20c], eax
jmp case.0x47c1c2.4
mov dword [ebp - 0x208], 0x40a00000
jmp case.0x47c1c2.4
mov edx, dword [ebp - 0x10]
test dl, 2
je 0x47c2a8
mov dword [ebp - 0x208], 0x40a00000
jmp 0x47c34f
push dword [ebp - 0x1ec]
mov ecx, esi
push edx
call fcn.00487d10
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x15]
mov dword [ebp - 0x20c], eax
jmp case.0x47c1c2.4
test byte [ebp - 0x10], 4
je 0x47c24d
mov dword [ebp - 0x208], 0x40a00000
jmp 0x47c34f
mov dword [ebp - 0x208], 0x41200000
jmp 0x47c34f
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47c1c2.4
lea ecx, [ebp - 0x264]
push ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x258]
sub eax, dword [ebp - 0x260]
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x15]
mov dword [ebp - 0x20c], eax
jmp case.0x47c1c2.4
mov al, byte [ebp + 8]
cmp al, 7
je 0x47c31e
cmp al, 8
jne case.0x47c1c2.4
or dword [ebp - 0x10], 0x400
movss xmm0, dword [ebp - 0x208]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], 0
jbe 0x47c4e2
movss xmm1, dword [0x4dcf90]
cmp byte [ebp + 8], 3
je 0x47c35e
mov al, byte [ebp - 0x16]
sub al, 7
cmp al, 1
ja 0x47c372
movss xmm0, dword [ebp - 0x208]
addss xmm0, xmm1
movss dword [ebp - 0x208], xmm0
test ch, ch
je 0x47c4ac
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul edx, dword [esi + 0x50], 0x94
mov ecx, dword [0x4e72b4]
mov dword [ebp - 0x20], eax
push dword [edx + ecx + 0x90]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
movss xmm2, dword [ebp - 0x208]
cvtps2pd xmm0, xmm2
mov esi, dword [ebp - 0x1c]
addsd xmm0, qword [0x4dcfb0]
cvttsd2si ecx, xmm0
movd xmm0, dword [ebp - 0x2a0]
cvtdq2ps xmm0, xmm0
lea eax, [ecx - 1]
imul eax, dword [ebp - 0x290]
mulss xmm0, xmm2
movd xmm1, eax
mov eax, dword [ebp - 0x44]
cvtdq2ps xmm1, xmm1
add eax, 0xfffffffd
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x4dcfb0]
cvttsd2si edx, xmm0
mov dword [ebp - 0x20c], edx
cmp eax, 0x15
ja case.0x47c41d.5
movzx eax, byte [eax + 0x47ed30]
jmp dword [eax*4 + 0x47ed1c]
push 0x60
push dword [0x4e7b5c]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x20c], eax
test dword [ebp - 0x10], 0x100000
je case.0x47c41d.5
push 3
call edi
add dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x20]
jmp 0x47c4e4
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4e72b4]
push 0x60
push dword [0x4e7b5c]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x20]
jmp 0x47c4e4
mov eax, dword [esi + 0x7c]
imul eax, ecx
mov ecx, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x20c], eax
jmp 0x47c4e4
lea eax, [ecx + 1]
imul eax, dword [esi + 0x7c]
add eax, edx
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x20]
jmp 0x47c4e4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], 0
test cl, cl
jne 0x47c4e2
push 0x60
push dword [0x4e7b5c]
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
xor ecx, ecx
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], ecx
jmp 0x47c4e4
xor ecx, ecx
cmp dword [ebp - 0x20c], 0x80000000
mov edx, dword [ebp - 0x210]
mov byte [ebp - 0x31], 0
je 0x47c506
cmp edx, 0x80000000
jne 0x47cba5
xor eax, eax
mov esi, 0x400
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 0x16
ja case.0x47c527.2
movzx eax, byte [eax + 0x47ed54]
jmp dword [eax*4 + 0x47ed48]
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je case.0x47c527.2
test ecx, ecx
jne 0x47c570
mov esi, dword [ebp - 0x1c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [esi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4e72b4]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2a0]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov esi, dword [ebp - 0x28c]
add esi, 4
test dword [ebp - 0x10], 0x200000
mov dword [ebp + 0xc], esi
je 0x47c59c
push 2
call edi
add esi, eax
mov dword [ebp + 0xc], esi
mov esi, dword [ebp + 0x10]
cmp word [esi], 0
je 0x47c5d8
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47c5b0
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0xa
jne 0x47c5d8
mov eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x2a0]
add eax, ecx
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x210]
mov esi, 0x2c40
mov eax, dword [ebp - 0x20]
mov edi, esi
test eax, eax
jne 0x47c626
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
imul ecx, dword [eax + 0x50], 0x94
mov eax, dword [0x4e72b4]
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x210]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov cl, byte [ebp + 8]
cmp cl, 1
jne 0x47c643
mov eax, dword [ebp - 0x10]
mov esi, eax
and esi, 0x80
or esi, 4
shl esi, 4
or esi, edi
jmp 0x47c685
cmp cl, 5
je 0x47c64d
cmp cl, 6
jne 0x47c682
lea ecx, [ebp - 0x2a0]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [ebp + 0xc]
add eax, dword [ebp - 0x28c]
add edi, 2
mov edx, dword [ebp - 0x210]
add edi, eax
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 8]
mov dword [ebp + 0xc], edi
jmp 0x47c688
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
test eax, 0x800000
je 0x47c6bb
cmp cl, 1
je 0x47c699
cmp cl, 0x17
jne 0x47c6bb
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
add edi, edi
push 6
mov dword [ebp + 0xc], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [ebp - 0x210]
add eax, eax
mov dword [ebp - 0x70], eax
cmp edx, 0x80000000
je 0x47c6c6
or esi, 0x10
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
cmp edx, 0x80000000
jne 0x47c6ee
mov dword [ebp - 0x240], 0
jmp 0x47c6f6
sub edx, edi
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x20c]
xor ecx, ecx
cmp eax, 0x80000000
cmove eax, ecx
mov dword [ebp - 0x23c], eax
xor eax, eax
cmp byte [ebp + 8], 0x17
mov dword [ebp - 0x6c], eax
jne 0x47c8fb
mov eax, dword [ebp - 0x10]
mov ecx, esi
or ecx, 0x800
and al, 4
cmove ecx, esi
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47c734
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b6d36
mov edx, eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov edi, edx
mov esi, eax
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
movzx ecx, word [eax]
test cx, cx
je 0x47c8b4
cmp cx, 0x3c
jne 0x47c885
mov cx, word [esi + 2]
call fcn.004130a0
cmp ax, 0x41
jne 0x47c885
add esi, 4
movzx eax, word [esi]
cmp eax, 0x20
je 0x47c7ad
cmp eax, 9
jne 0x47c7b2
add esi, 2
jmp 0x47c7a0
cmp eax, 0x3e
je 0x47c82c
nop word [eax + eax]
movzx ecx, word [esi]
mov eax, ecx
test eax, 0xffffff80
jne 0x47c7e7
push 0x107
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
movzx ecx, word [esi]
add esp, 8
test eax, eax
je 0x47c7e7
add esi, 2
jmp 0x47c7c0
cmp cx, 0x3d
jne 0x47c885
mov eax, 0x22
cmp ax, word [esi + 2]
jne 0x47c885
push eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
je 0x47c885
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x47c822
cmp eax, 9
jne 0x47c827
add esi, 2
jmp 0x47c815
cmp eax, 0x3e
jne 0x47c7c0
add esi, 2
je 0x47c885
mov edx, 0x4da368
mov ecx, esi
call fcn.0049ca40
mov edi, eax
mov dword [ebp - 0x254], edi
test edi, edi
je 0x47c882
mov edx, edi
xor eax, eax
sub edx, esi
xor ecx, ecx
inc edx
shr edx, 1
cmp esi, edi
cmova edx, eax
test edx, edx
je 0x47c87a
mov edi, dword [ebp - 0x28]
sub esi, edi
mov ax, word [edi + esi]
inc ecx
mov word [edi], ax
add edi, 2
cmp ecx, edx
jb 0x47c862
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x254]
lea eax, [edi + 6]
mov edi, dword [ebp - 0x28]
jmp 0x47c897
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ax, word [eax]
mov word [edi], ax
add edi, 2
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], edi
add eax, 2
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
movzx eax, word [eax]
mov ecx, eax
test ax, ax
jne 0x47c780
mov edx, dword [ebp - 0x24c]
xor eax, eax
mov word [edi], ax
cmp edi, edx
jbe 0x47c8c4
movzx eax, word [edi - 2]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x5c]
cmp word [edx], 0
lea eax, [ebp - 0x248]
push eax
push 0xffffffffffffffff
mov eax, 0x4d91e0
cmovne eax, edx
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x24c]
mov edi, eax
call fcn.004b6d3f
mov ecx, dword [ebp - 0x6c]
add esp, 4
jmp 0x47c948
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x248]
push eax
push 0xffffffffffffffff
mov eax, 0x4d91e0
cmp word [esi], cx
cmovne eax, esi
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp word [esi], 0
mov edi, eax
je 0x47c946
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47c930
sub ecx, edx
sar ecx, 1
movzx ecx, word [esi + ecx*2 - 2]
jmp 0x47c948
xor ecx, ecx
mov esi, dword [ebp - 0x240]
mov eax, dword [ebp - 0x44]
sub esi, dword [ebp - 0x248]
sub eax, 1
je 0x47c971
sub eax, 3
je 0x47c968
sub eax, 8
je 0x47c971
jmp 0x47c995
cmp dword [ebp - 0x250], 0
jne 0x47c995
test cx, cx
je 0x47c995
movzx eax, cx
lea ecx, [ebp - 0x64]
push ecx
push eax
push eax
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
test eax, eax
je 0x47c995
mov eax, dword [ebp - 0x5c]
test eax, eax
jns 0x47c995
sub esi, eax
mov eax, dword [ebp - 0x20c]
mov cl, byte [ebp + 8]
cmp eax, 0x80000000
je 0x47c9b6
cmp edi, eax
jle 0x47cad9
cmp cl, 0xc
je 0x47cad9
mov edx, dword [ebp - 0x70]
add edx, edi
mov dword [ebp - 0x20c], edx
cmp cl, 0xc
jne 0x47caaa
push 0x60
push dword [0x4e7b5c]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x20c], eax
test dword [ebp - 0x10], 0x100000
je 0x47c9f7
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [ebp - 0x20c], eax
mov edi, dword [ebp - 0x1c]
mov cl, byte [ebp + 8]
mov edx, dword [ebp - 0x210]
cmp edx, 0x80000000
je 0x47ca0f
cmp esi, edx
jle case.0x47c527.2
mov edx, dword [ebp + 0xc]
add edx, esi
mov byte [ebp - 0x31], 1
mov dword [ebp - 0x210], edx
cmp cl, 4
jne case.0x47c527.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
imul edx, dword [edi + 0x50], 0x94
add eax, eax
mov ecx, dword [0x4e72b4]
mov ecx, dword [edx + ecx + 0x84]
mov edx, dword [ebp - 0x210]
add ecx, eax
add edx, ecx
mov dword [ebp - 0x210], edx
mov edi, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
cmp edx, 0x80000000
jne case.0x47caa3.4
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e72b4]
push 0x60
push dword [0x4e7b5c]
mov eax, dword [ecx + eax + 0x84]
mov ecx, eax
shl ecx, 4
sub ecx, eax
push ecx
call esi
mov edx, eax
mov eax, dword [ebp - 0x44]
add eax, 0xfffffffd
cmp eax, 0x17
ja case.0x47caa3.4
movzx ecx, byte [eax + 0x47ed90]
jmp dword [ecx*4 + 0x47ed6c]
mov edi, dword [ebp - 0x1c]
cmp cl, 4
jne 0x47c9fd
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e72b4]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
add eax, edx
mov dword [ebp - 0x20c], eax
jmp 0x47c9fa
mov edi, dword [ebp - 0x1c]
jmp 0x47c9fd
mov dword [ebp - 0x210], edx
jmp case.0x47caa3.4
lea eax, [edx + edx]
mov dword [ebp - 0x210], eax
jmp case.0x47caa3.4
mov eax, dword [ebp - 0x10]
test al, 0x40
je 0x47cb33
mov dword [ebp - 0x210], edx
jmp 0x47cbb1
mov eax, dword [ebp - 0x10]
test al, 2
je 0x47cb01
push dword [ebp - 0x1ec]
mov ecx, edi
push eax
call fcn.00487d10
mov dword [ebp - 0x210], eax
jmp case.0x47caa3.4
mov eax, dword [ebp - 0x10]
test al, 4
je 0x47cb01
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e72b4]
push 0x60
push dword [0x4e7b5c]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
push eax
call esi
mov dword [ebp - 0x210], eax
jmp case.0x47caa3.4
mov eax, dword [edi + 0x78]
lea eax, [edx + eax*2]
mov dword [ebp - 0x210], eax
jmp case.0x47caa3.4
mov eax, dword [edi + 0x78]
lea eax, [eax + eax*2]
lea eax, [eax + edx*2]
mov dword [ebp - 0x210], eax
jmp case.0x47caa3.4
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47caa3.4
lea ecx, [ebp - 0x264]
push ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x25c]
sub eax, dword [ebp - 0x264]
mov dword [ebp - 0x210], eax
jmp case.0x47caa3.4
mov edi, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, dword [ebp - 0x10]
cmp byte [ebp + 8], 0xc
jne 0x47ccba
test al, 4
jne 0x47ccba
movss xmm0, dword [0x4dcf90]
comiss xmm0, dword [ebp - 0x208]
jbe 0x47ccba
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47cc0d
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4e72b4]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x2a0]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x60
push dword [0x4e7b5c]
push 8
call esi
mov esi, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x2a0]
sub esi, eax
mov edx, dword [ebp - 0x10]
sub esi, ecx
test edx, 0x100000
je 0x47cc55
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x2a0]
sub esi, eax
mov edx, dword [ebp - 0x10]
test esi, esi
jle 0x47ccb0
mov eax, dword [ebp - 0x290]
add eax, ecx
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
addss xmm1, dword [0x4dcf90]
comiss xmm1, dword [0x4dcfa0]
movss dword [ebp - 0x208], xmm1
jbe 0x47ccba
mov ecx, dword [ebp - 0x234]
not ecx
mov eax, ecx
and eax, 4
or edx, eax
mov dword [ebp - 0x10], edx
test dl, 4
je 0x47ccba
and ecx, 0x201040
or edx, ecx
mov dword [ebp - 0x10], edx
jmp 0x47ccba
mov dword [ebp - 0x208], 0x3f800000
cmp byte [ebp - 0xa5], 0
mov eax, dword [edi + 0x10]
sete byte [ebp - 0x32]
mov byte [ebp - 0x16], 0
add eax, 3
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47ccf8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [ebp + 0xf], 1
test eax, eax
je 0x47ccfc
mov byte [ebp + 0xf], 0
mov eax, dword [ebp - 0x14]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov byte [ebp - 0x34], 0
cmp byte [eax + 6], 0xff
jae 0x47cd9b
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47cdb2
push str.ahk_dlg
push dword [eax]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x47cd66
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x214]
push 1
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x60]
push ecx
push eax
push dword [edi + 4]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x40]
push 0xfffffffffffffff0
push dword [eax]
call esi
test eax, 0x10000000
je 0x47cdb2
mov eax, dword [ebp - 0x40]
push 0
push 0
push 0x130b
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + 7]
cmp eax, ecx
jne 0x47cdb2
mov al, byte [ebp + 0xf]
mov byte [ebp - 0x34], al
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 0x19
ja case.0x47cdab.20
jmp dword [eax*4 + 0x47eda8]
mov ecx, dword [ebp - 0x10]
and ecx, 0xefffffff
mov dword [ebp - 0x10], ecx
jmp 0x47cd9e
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47cdd1
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47cdd3
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47cde4
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47cde6
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.static
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
jmp case.0x47cdab.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47ce41
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47ce43
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47ce54
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47ce56
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.SysLink
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
jmp case.0x47cdab.20
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov edx, dword [ebp - 0x20c]
cmp eax, 0x80000000
mov esi, dword [edi + 0xcc]
cmove eax, ecx
cmp edx, 0x80000000
mov dword [ebp - 0x210], eax
cmove edx, ecx
mov dword [ebp - 0x20c], edx
test esi, esi
je 0x47cedc
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x47cede
xor esi, esi
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47ceef
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47cef1
xor ecx, ecx
push 0
push dword [0x4e5a50]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push edx
push eax
mov eax, dword [ebp - 0x214]
sub eax, esi
mov esi, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push esi
push str.static
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
mov dword [edx], eax
test eax, eax
je case.0x47cdab.20
push dword [ebp - 0x1c8]
mov ecx, edi
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push esi
push edx
call fcn.00482a70
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47e6ab
mov byte [ebp - 0x16], 1
jmp 0x47e6ab
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47cf7b
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47cf7d
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47cf8e
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47cf90
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
jmp case.0x47cdab.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47cfeb
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47cfed
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47cffe
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d000
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x47cdab.20
test byte [ebp - 0x10], 1
je case.0x47cdab.20
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x10]
cmp ecx, eax
jae 0x47d094
mov eax, dword [edi + 0x18]
push 1
shl ecx, 6
push 0xfffffffffffffff0
push dword [ecx + eax]
call esi
mov ecx, dword [edi + 0x1c]
and eax, 0xfffe
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [edi + 0x18]
shl ecx, 6
push 0xf4
push dword [ecx + eax]
call esi
mov eax, dword [edi + 0x10]
jmp 0x47d09a
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov dword [edi + 0x1c], eax
add eax, 3
push eax
push 0x401
push dword [edi + 4]
call esi
mov eax, dword [ebp - 0x10]
push 1
movzx eax, ax
push eax
mov eax, dword [ebp - 0x14]
push 0xf4
push dword [eax]
call esi
jmp 0x47e6ab
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d0d8
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d0da
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d0eb
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d0ed
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x47cdab.20
mov ecx, dword [ebp - 0x1cc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x47e6ab
push 0
push ecx
push 0xf1
push eax
call esi
jmp 0x47e6ab
cmp dword [ebp - 0x1d4], 0
mov esi, dword [ebp - 0x14]
je 0x47d176
cmp byte [esi + 4], 8
jne 0x47d176
and ecx, 0xffffffbf
mov dword [ebp - 0x10], ecx
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d187
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d189
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d19a
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d19c
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c40
push str.Combobox
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
je 0x47d2dc
imul edx, dword [edi + 0x50], 0x94
movzx ecx, byte [ebp + 0xf]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [0x4e72b4]
push dword [edx + ecx + 0x90]
push 0x30
push eax
call esi
cmp byte [ebp - 0x15], 0
je 0x47d2d4
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x154
push dword [eax]
call esi
mov ecx, dword [ebp - 0x10]
mov edi, eax
xor eax, eax
and cl, 3
cmp cl, 1
push 0x60
push dword [0x4e7b5c]
sete al
push 8
lea eax, [eax*2 + 2]
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [ebp - 0x5c]
add eax, esi
mov ecx, dword [ebp - 0x20c]
lea eax, [eax + edi*2]
cmp ecx, eax
jge 0x47d29b
mov ecx, eax
mov dword [ebp - 0x20c], ecx
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push 1
push ecx
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
mov al, 1
mov byte [ebp - 0x16], al
mov byte [ebp - 0x29], al
jmp case.0x47cdab.20
movss xmm0, dword [ebp - 0x208]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47d26a
push 0x60
push dword [0x4e7b5c]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x208]
cvttss2si ecx, xmm0
add ecx, eax
add ecx, esi
jmp 0x47d264
mov ecx, dword [ebp - 0x20c]
jmp 0x47d26d
mov al, byte [ebp - 0x16]
mov byte [ebp - 0x29], al
jmp case.0x47cdab.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d2f8
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d2fa
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d30b
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d30d
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c40
push str.Listbox
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
test edx, edx
je 0x47d2dc
mov eax, dword [ebp - 0xfc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47d37f
lea ecx, [ebp - 0x1c4]
push ecx
push eax
push 0x192
push edx
call esi
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e72b4]
push dword [ecx + eax + 0x90]
push 0x30
push edx
call esi
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x1a1
push dword [eax]
call esi
push 0x60
push dword [0x4e7b5c]
mov edi, eax
push 8
mov dword [ebp - 0x5c], edi
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea esi, [edi + eax]
mov edi, dword [ebp - 0x10]
and edi, 0x100000
je 0x47d3d9
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [ebp - 0x20c]
cmp ecx, esi
jge 0x47d3e7
mov ecx, esi
jmp 0x47d437
movss xmm0, dword [ebp - 0x208]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47d43d
push 0x60
push dword [0x4e7b5c]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, dword [ebp - 0x5c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x208]
cvttss2si ecx, xmm0
add ecx, eax
mov dword [ebp - 0x20c], ecx
test edi, edi
je 0x47d43d
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x20c]
add ecx, eax
mov dword [ebp - 0x20c], ecx
mov eax, dword [ebp - 0x14]
push 1
push ecx
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
mov edi, dword [ebp - 0x1c]
mov al, 1
mov byte [ebp - 0x16], al
mov byte [ebp - 0x29], al
jmp case.0x47cdab.20
mov eax, dword [ebp - 0x224]
cmp eax, 4
je 0x47d481
and ecx, 0xfffffffc
or ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d492
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d494
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d4a5
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d4a7
xor ecx, ecx
mov eax, dword [ebp - 0x20c]
mov esi, 0xc8
push 0
push dword [0x4e5a50]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x210]
mov eax, dword [ebp - 0x214]
sub eax, edx
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c40
push str.SysListView32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
test eax, eax
je case.0x47cdab.20
push 0x3f8
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
jne 0x47d52c
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47cdab.20
push 0x3f8
mov dword [edi + 0x48], esi
push 0
push dword [esi + 0x10]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x10]
add esp, 0xc
mov dword [eax], 0xffffffff
mov ecx, dword [esi + 0x10]
mov al, byte [ebp - 0xa4]
mov byte [ecx + 5], al
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47d561
or byte [eax + 5], 0x80
cmp dword [ebp - 0x224], 4
jne 0x47d57f
push 0
push 4
push 0x108e
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47d585
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x47d59e
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x1036
push dword [eax]
call esi
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
push dword [ebp - 0x14]
call fcn.00487eb0
cmp dword [ebp - 0x20c], 0x80000000
jne case.0x47cdab.20
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e72b4]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call esi
mov eax, dword [ebp - 0x224]
mov byte [ebp - 0x29], 1
sub eax, 1
je 0x47d737
sub eax, 3
je 0x47d709
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47d631
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4e72b4]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x2a0]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [ebp - 0x224], 0
jne 0x47d6ce
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x1033
push dword [eax]
call esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4dd110]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [ebp - 0x208]
subss xmm0, dword [0x4dcf90]
mulss xmm0, xmm1
call fcn.004b7ba0
mov esi, eax
push 0xc
shr esi, 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm1, esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebp - 0x2a0]
cvtdq2ps xmm0, xmm0
add eax, 0x10
mulss xmm0, dword [ebp - 0x208]
addss xmm0, xmm1
cvttss2si ecx, xmm0
add eax, ecx
jmp 0x47d75a
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x2a0]
cmp eax, ecx
movss xmm0, dword [ebp - 0x208]
cmovg ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
subss xmm0, dword [0x4dcf90]
addss xmm1, xmm0
cvttss2si eax, xmm1
add eax, 0xb
jmp 0x47d75a
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x1033
push dword [eax]
call esi
shr eax, 0x10
sub eax, 3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x208]
cvttss2si eax, xmm0
add eax, 7
jmp 0x47d75a
movss xmm0, dword [ebp - 0x208]
push 0xffffffffffffffff
call fcn.004b7ba0
dec eax
push eax
mov eax, dword [ebp - 0x14]
push 0x1040
push dword [eax]
call esi
shr eax, 0x10
add eax, 4
push 1
push eax
push dword [ebp - 0x210]
mov dword [ebp - 0x20c], eax
push dword [ebp - 0x214]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x218]
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
jmp 0x47e6ab
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d797
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d799
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d7aa
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d7ac
xor ecx, ecx
mov eax, dword [ebp - 0x20c]
mov esi, 0xc8
push 0
push dword [0x4e5a50]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x210]
mov eax, dword [ebp - 0x214]
sub eax, edx
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c40
push str.SysTreeView32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
test eax, eax
je case.0x47cdab.20
cmp dword [ebp - 0x1cc], 0
mov dword [edi + 0x4c], esi
je 0x47d828
mov eax, dword [ebp - 0x10]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
push esi
call fcn.00487f60
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x47d855
push eax
push 0
push 0x1109
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47d85b
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x20c], 0x80000000
jne case.0x47cdab.20
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e72b4]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call esi
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x111c
push dword [eax]
mov byte [ebp - 0x29], 1
call esi
mov dword [ebp - 0x20c], eax
cmp eax, 2
jge 0x47d8c0
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e72b4]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x208]
cvttss2si eax, xmm0
jmp 0x47d757
test cl, 4
jne 0x47d900
cmp dword [ebp - 0x1d4], 0
jge 0x47d8ee
and ecx, 0xffefff7f
jmp 0x47d8fd
mov eax, dword [ebp - 0x234]
not eax
and eax, 0x80
or ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47d915
test cl, 4
je 0x47d915
mov ecx, eax
call fcn.0049d390
mov esi, eax
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d928
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d92a
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d93b
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d93d
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
test esi, esi
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
cmovne eax, esi
push eax
push str.edit
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
test edx, edx
je 0x47d9f9
test byte [ebp - 0x10], 0x20
je 0x47d9b2
mov cx, word [ebp - 0xac]
test cx, cx
je 0x47d9b2
push 0
movzx eax, cx
push eax
push 0xcc
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1d4]
xor ecx, ecx
test eax, eax
push ecx
cmovs eax, ecx
push eax
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x14]
push 0xc5
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x47d9f9
lea ecx, [ebp - 0x1c4]
push ecx
push eax
mov eax, dword [ebp - 0x14]
push 0xcb
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
je case.0x47cdab.20
cmp esi, dword [ebp + 0x10]
je case.0x47cdab.20
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp case.0x47cdab.20
mov esi, dword [ebp + 0x10]
mov byte [ebp - 0x15], 0
cmp word [esi], 0
je 0x47da74
push str.LongDate
push esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
call esi
add esp, 8
test eax, eax
jne 0x47da4c
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 0x10]
and eax, 0xfffffff6
or eax, 4
mov dword [ebp - 0x10], eax
jmp 0x47da77
push str.Time
push dword [ebp + 0x10]
call esi
mov esi, dword [ebp + 0x10]
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x47da6e
and eax, 0xfffffffb
or eax, 9
mov dword [ebp - 0x10], eax
jmp 0x47da77
mov byte [ebp - 0x15], 1
jmp 0x47da77
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x204], 2
jne 0x47da86
or eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47da97
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47da99
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47daaa
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47daac
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c40
push str.SysDateTimePick32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
test ecx, ecx
je case.0x47cdab.20
cmp byte [ebp - 0x15], 0
je 0x47db1b
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x1032
push ecx
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
jmp 0x47db21
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x47db40
lea edx, [ebp - 0xd8]
push edx
push eax
push 0x1004
push ecx
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x204]
test edx, edx
je 0x47db69
lea eax, [ebp - 0xf8]
push eax
xor eax, eax
cmp edx, 1
setne al
push eax
push 0x1002
push ecx
call esi
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
jmp 0x47db6c
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
cmp eax, 0xff000000
je 0x47e6ab
push eax
push 1
push 0x1006
push ecx
call esi
jmp 0x47e6ab
cmp dword [ebp - 0xb8], 0
jne 0x47dbb8
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47dbb8
lea edx, [ebp - 0xf8]
mov ecx, eax
call fcn.0049c070
mov dword [ebp - 0xb8], eax
cmp eax, 3
jne 0x47dbb8
or dword [ebp - 0x10], 2
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47dbc9
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47dbcb
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47dbdc
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dbde
xor ecx, ecx
mov eax, dword [ebp - 0x20c]
mov esi, 0x64
push 0
push dword [0x4e5a50]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x210]
test eax, eax
cmovs eax, esi
push eax
mov eax, dword [ebp - 0x214]
sub eax, edx
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c40
push str.SysMonthCal32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x47cdab.20
mov esi, dword [ebp - 0x10]
mov ecx, eax
and esi, 2
je 0x47dc65
push 0
push 0x16e
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov ecx, eax
mov edx, dword [ebp - 0xb4]
test edx, edx
je 0x47dc8a
lea ecx, [ebp - 0xd8]
push ecx
push edx
push 0x1012
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov ecx, eax
mov edx, dword [ebp - 0xb8]
test edx, edx
je 0x47dce2
test esi, esi
je 0x47dcc9
cmp edx, 1
jne 0x47dcb0
movups xmm0, xmmword [ebp - 0xf8]
mov eax, dword [ebp - 0x14]
movups xmmword [ebp - 0xe8], xmm0
mov ecx, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0xf8]
push eax
push 0
push 0x1006
push ecx
call esi
jmp 0x47dce8
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xf8]
push ecx
push 0
push 0x1002
push eax
call esi
jmp 0x47dce8
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x10]
cmp eax, 0xff000000
je 0x47dd01
push eax
push 1
push 0x100a
push dword [ecx]
call esi
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e72b4]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call esi
cmp dword [ebp - 0x210], 0x80000000
mov byte [ebp - 0x29], 1
je 0x47dd42
cmp dword [ebp - 0x20c], 0x80000000
jne 0x47e6ab
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x1009
push dword [eax]
call esi
test eax, eax
je 0x47e6ab
mov ecx, dword [ebp - 0x210]
test ecx, ecx
jns 0x47ddad
test byte [ebp - 0x10], 0x10
je 0x47dd71
mov eax, dword [ebp - 0x50]
jmp 0x47dd8e
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x1015
push dword [eax]
call esi
cmp eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x210]
cmovl eax, dword [ebp - 0x50]
cmp ecx, 0x80000000
jne 0x47dd9a
mov ecx, eax
jmp 0x47dda7
add eax, 6
imul eax, ecx
mov ecx, 0xfffffffa
sub ecx, eax
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x20c]
cmp edx, 0x80000000
jne 0x47de8f
movss xmm0, dword [ebp - 0x208]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x20c], edx
jbe 0x47de8f
ucomiss xmm0, dword [0x4dcf90]
lahf
test ah, 0x44
jnp 0x47de8f
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47de22
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4e72b4]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x2a0]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [ebp - 0x10], 0x10
mov ecx, dword [ebp - 0x2a0]
mov eax, dword [ebp - 0x20c]
je 0x47de47
add eax, 4
add eax, ecx
movss xmm2, dword [ebp - 0x208]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
subss xmm2, dword [0x4dcf90]
cvttss2si eax, xmm0
movd xmm1, eax
lea eax, [ecx - 2]
mov ecx, dword [ebp - 0x210]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
subss xmm1, xmm0
cvttss2si edx, xmm1
mov dword [ebp - 0x20c], edx
push 1
push edx
push ecx
jmp 0x47d769
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47dea9
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47deab
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47debc
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47debe
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c40
push str.msctls_hotkey32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
test eax, eax
je case.0x47cdab.20
mov ecx, dword [ebp + 0x10]
cmp word [ecx], 0
je 0x47df37
push 0
call fcn.00487a50
movzx eax, ax
push eax
push 0x401
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
jmp 0x47df3d
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1d4]
test ecx, ecx
jle 0x47e6ab
push 6
push ecx
push 0x403
push eax
call esi
jmp 0x47e6ab
test cl, 0x10
je 0x47df7f
cmp dword [edi + 8], 0
jne 0x47df73
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47df7f
cmp byte [eax + 5], 0
jge 0x47df7f
and ecx, 0xffffffef
mov byte [ebp - 0x15], 1
mov dword [ebp - 0x10], ecx
jmp 0x47df83
mov byte [ebp - 0x15], 0
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47df94
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47df96
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47dfa7
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dfa9
xor ecx, ecx
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push esi
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c40
push str.msctls_updown32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x47cdab.20
mov cl, byte [ebp - 0x15]
test cl, cl
je 0x47e01b
mov ecx, dword [ebp - 0x48]
push 0
push dword [ecx]
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov cl, byte [ebp - 0x15]
cmp dword [edi + 0x10], 0
je 0x47e164
test byte [ebp - 0x10], 0x10
jne 0x47e033
test cl, cl
je 0x47e164
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x58]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
sub eax, ecx
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x214], edx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x80]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp byte [edi + 0xc7], 0
je 0x47e106
mov esi, dword [ebp - 0x10]
and esi, 4
je 0x47e0d7
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x218]
add dword [ebp - 0x50], eax
add ecx, eax
push 1
push dword [ebp - 0x20c]
mov dword [ebp - 0x218], ecx
push eax
push dword [ebp - 0x214]
mov eax, dword [ebp - 0x14]
push ecx
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x7c]
sub eax, ecx
add edx, dword [ebp - 0x210]
push 1
push eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], edx
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [ebp - 0x48]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0x10]
jmp 0x47e10e
mov edx, dword [ebp - 0x10]
mov esi, edx
and esi, 4
test esi, esi
je 0x47e122
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x218], ecx
sub eax, ecx
jmp 0x47e128
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x58]
cmp byte [ebp - 0xaa], 0
mov dword [ebp - 0x210], eax
jne 0x47e17e
mov eax, dword [ebp - 0x48]
cmp byte [eax + 4], 9
jne 0x47e16d
mov byte [ebp - 0xaa], 1
test dl, 0x40
je 0x47e158
mov dword [ebp - 0x1fc], 0x7fff
jmp 0x47e17e
mov dword [ebp - 0x200], 0x7fff
jmp 0x47e17e
cmp byte [ebp - 0xaa], 0
jne 0x47e17e
mov byte [ebp - 0xaa], 1
mov dword [ebp - 0x1fc], 0x64
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x238]
push eax
push esi
mov ecx, edi
call fcn.00487ca0
mov ecx, dword [ebp + 0x10]
call fcn.004180f0
push eax
movsx eax, byte [esi + 5]
sar eax, 0x1f
and eax, 0xa
push 0
add eax, 0x467
push eax
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47e6ab
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e1cb
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e1cd
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e1de
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e1e0
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c40
push str.msctls_trackbar32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
test eax, eax
je case.0x47cdab.20
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
push edx
call fcn.00487da0
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je case.0x47cdab.20
mov ecx, eax
call fcn.004180f0
mov esi, dword [ebp - 0x14]
mov ecx, edi
push eax
push esi
call fcn.00487d50
push eax
push 1
push 0x405
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47e6ab
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e286
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e288
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e299
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e29b
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c40
push str.msctls_progress32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
test eax, eax
je case.0x47cdab.20
push dword [ebp - 0x10]
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
push edx
call fcn.00487fc0
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47e32a
push 0
mov ecx, eax
call fcn.004180f0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [ebp - 0x14]
push 0x402
push dword [eax]
call esi
mov byte [ebp - 0x32], 0
jmp 0x47e6ab
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 0x32], 0
jmp 0x47e6ab
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e34a
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e34c
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e35d
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e35f
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c40
push str.SysTabControl32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
test eax, eax
je case.0x47cdab.20
cmp byte [ebp - 0xa3], 0
je 0x47e3e3
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
push edx
call fcn.00488cf0
test eax, eax
jne 0x47e3e0
mov esi, dword [ebp - 0x14]
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47cdab.20
mov edx, dword [ebp - 0x14]
mov al, byte [ebp - 0xa2]
test al, al
je 0x47e3fe
movsx eax, al
push eax
push str.ahk_autosize
push dword [edx]
call dword [sym.imp.USER32.dll_SetPropW]
mov al, byte [edi + 0xc0]
mov byte [edi + 0xc1], al
inc al
mov byte [edi + 0xc0], al
mov eax, dword [ebp - 0x14]
push 0x4876f0
push 0xfffffffffffffffc
mov byte [edi + 0xc2], 0
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x4e64d4], eax
jmp case.0x47cdab.20
cmp byte [0x4e9b68], 0
jne 0x47e47d
push 0x4d9f10
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x47e47d
push str.AtlAxWinInit
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47e46d
call eax
test eax, eax
setne al
mov byte [0x4e9b68], al
jmp 0x47e472
mov al, byte [0x4e9b68]
test al, al
jne 0x47e47d
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e48e
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e490
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e4a1
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e4a3
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.AtlAxWin
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
test eax, eax
je case.0x47cdab.20
mov ecx, eax
call fcn.004748b0
mov ecx, eax
test ecx, ecx
jne 0x47e510
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47cdab.20
mov eax, dword [esi + 8]
push ecx
test eax, eax
je 0x47e524
mov ecx, eax
call fcn.004a0d80
jmp case.0x47cdab.20
mov eax, dword [ecx]
call dword [eax + 8]
jmp case.0x47cdab.20
mov si, word [ebp - 0xa0]
test si, si
jne 0x47e555
push 0x4b9c40
push str.A_window_class_is_required.
mov ecx, 0x4e7b70
call fcn.00447e20
mov esi, eax
jmp 0x47ec1b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e566
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e568
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e579
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e57b
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e5a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
movzx eax, si
push dword [ebp + 0x10]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
jmp case.0x47cdab.20
push dword [ebp - 0x28]
push dword [edi + 4]
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x47cdab.20
mov ecx, dword [ebp - 0x1d8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 8], eax
cmp ecx, 0xffffffff
je 0x47e6ab
push ecx
push 0
push 0x2001
push eax
call esi
jmp 0x47e6ab
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je case.0x47cdab.20
mov esi, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
mov dword [esi], eax
cmp dword [ecx + 0xa8], 0
jne 0x47e631
mov eax, dword [ebp - 0x210]
mov dword [ecx + 0xa8], eax
cmp dword [ecx + 0xac], 0
jne 0x47e646
mov eax, dword [ebp - 0x20c]
mov dword [ecx + 0xac], eax
mov eax, dword [edi + 0x10]
add eax, 3
push eax
push 0xfffffffffffffff4
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [edi + 0xcc]
test edx, edx
je 0x47e668
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x47e66a
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e67b
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e67d
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 1
push dword [ebp - 0x20c]
sub eax, edx
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x47e6ce
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x47e6c4
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x47e6f1
push 0x4b9c40
push str.Cant_create_control.
mov ecx, 0x4e7b70
call fcn.00447e20
mov esi, eax
jmp 0x47ec1b
mov al, byte [ebp - 0x31]
inc dword [edi + 0x10]
mov edx, dword [ebp - 0x84]
mov byte [edi + 0xc7], al
mov eax, dword [ebp - 0x21c]
test eax, eax
jne 0x47e715
test edx, edx
je 0x47e794
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x47e788
lea eax, [ebp - 0x248]
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x14]
push 2
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x244], 0xffffffff
mov eax, dword [eax]
cdq
mov dword [ebp - 0x64], edx
lea edx, [ebp - 0x78]
push edx
push 1
lea edx, [ebp - 0x264]
mov dword [ebp - 0x60], 1
push edx
mov dword [ebp - 0x68], eax
lea edx, [ebp - 0x2b0]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x1c]
push dword [ebp - 0x84]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x47e794
mov ecx, dword [ebp - 0x14]
push dword [ecx]
mov ecx, eax
call fcn.004a0170
mov edx, dword [ebp - 0x14]
cmp byte [edx + 4], 6
jne 0x47e7be
mov ecx, dword [ebp - 0x1cc]
test ecx, ecx
je 0x47e7b8
mov eax, dword [edi + 0x10]
push ecx
dec eax
mov ecx, edi
push eax
push edx
call fcn.00487b90
mov edx, dword [ebp - 0x14]
mov byte [edi + 0x44], 1
jmp 0x47e7c2
mov byte [edi + 0x44], 0
test dword [ebp - 0x234], 0x10000000
je 0x47e7d2
or byte [edx + 5], 8
test dword [ebp - 0x238], 0x8000000
je 0x47e7e2
or byte [edx + 5], 0x10
cmp byte [ebp - 0x32], 0
jne 0x47e80c
cmp dword [edx + 0x10], 0xff000000
je 0x47e800
mov al, byte [edx + 4]
cmp al, 5
je 0x47e80c
cmp al, 6
je 0x47e80c
cmp al, 3
je 0x47e80c
cmp byte [edx + 4], 3
jne 0x47e826
test byte [edx + 5], 0x40
je 0x47e826
mov eax, dword [ebp - 0x14]
mov edx, 0x4b9c40
push 0x4b9c40
mov ecx, dword [eax]
call fcn.0049e8f0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp byte [ebp - 0x29], 0
jne 0x47e850
cmp byte [ebp - 0x33], 0
je 0x47e850
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e72b4]
push dword [ecx + eax + 0x90]
push 0x30
push dword [edx]
call esi
cmp dword [ebp - 0xb0], 4
jne 0x47e866
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0xb
push dword [eax]
call esi
push 0
push dword [ebp - 0x204]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.004827f0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 4], 0x13
jne 0x47e939
movss xmm0, dword [ebp - 0x208]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47e924
lea ecx, [ebp - 0x58]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x10]
mov eax, ecx
and al, 0x82
cmp al, 2
jne 0x47e8ca
mov eax, dword [ebp - 0x14]
and ecx, 0xfffffffd
push ecx
push 0xfffffffffffffff0
mov byte [ebp + 0x13], 1
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x47e8ce
mov byte [ebp + 0x13], 0
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x14]
push 1
push 0x1328
push dword [eax]
call esi
cmp byte [ebp + 0x13], 0
je 0x47e8f6
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push 0xfffffffffffffff0
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
push 1
push eax
push dword [ebp - 0x210]
mov dword [ebp - 0x20c], eax
push dword [ebp - 0x214]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x218]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x47e936
cmp byte [ebp - 0xa3], 0
je 0x47e939
push dword [eax]
mov ecx, edi
call fcn.00488df0
mov eax, dword [ebp - 0x14]
cmp byte [ebp - 0x16], 0
je 0x47e994
lea ecx, [ebp - 0x58]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
cmp byte [ebp + 8], 9
mov dword [ebp - 0x210], eax
jne 0x47e994
test dword [ebp - 0x10], 0x100000
je 0x47e994
mov ecx, dword [ebp - 0x1d0]
test ecx, ecx
jns 0x47e985
lea ecx, [eax + eax*2]
mov dword [ebp - 0x1d0], ecx
mov eax, dword [ebp - 0x14]
push 0
push ecx
push 0x194
push dword [eax]
call esi
mov ecx, dword [ebp - 0x40]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
test ecx, ecx
je 0x47e9fa
mov eax, dword [ebp - 0x24]
cmp eax, dword [edi + 4]
jne 0x47e9fa
cmp byte [ebp - 0x34], 0
je 0x47e9e1
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x58]
push eax
push dword [edi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
lea eax, [ebp - 0x58]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x40]
cmp byte [ecx + 5], 0
jge 0x47e9fa
mov eax, dword [ebp - 0x14]
push 0x13
push 0
push 0
push 0
push 0
push dword [eax]
push dword [ecx]
call esi
mov eax, dword [edi + 8]
test eax, eax
je 0x47ea10
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [ebp + 8], 0x19
je 0x47ec16
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x24]
cmp edx, ecx
je 0x47ea58
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x214]
push 1
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], edi
jmp 0x47ea64
mov edi, dword [ebp - 0x214]
mov esi, dword [ebp - 0x218]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x20c]
mov dword [edx + 0x8c], ecx
add ecx, edi
mov dword [edx + 0x88], eax
mov dword [edx + 0x80], esi
mov dword [edx + 0x84], edi
lea edx, [esi + eax]
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 4]
mov ecx, dword [ebp + 8]
jne 0x47eac6
cmp byte [ebp - 0xa2], 0
jne 0x47eac6
cmp edx, dword [eax + 0x90]
jle 0x47eab8
mov dword [eax + 0x90], edx
cmp ecx, dword [eax + 0x94]
jle 0x47eac6
mov dword [eax + 0x94], ecx
cmp byte [ebp - 0xa6], 0
jne 0x47eb06
mov eax, dword [eax + 0x10]
cmp eax, 1
je 0x47eb03
cmp eax, 2
jne 0x47eae8
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
cmp byte [eax + 4], 0x19
je 0x47eb03
mov edi, dword [ebp - 0x1c]
cmp edx, dword [edi + 0xa0]
jle 0x47eaf9
mov dword [edi + 0xa0], edx
cmp ecx, dword [edi + 0xa4]
jle 0x47eb21
jmp 0x47eb1b
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x9c], edi
mov edi, dword [ebp - 0x1c]
mov dword [eax + 0x98], esi
mov dword [edi + 0xa0], edx
mov dword [edi + 0xa4], ecx
mov eax, dword [edi + 0x3c]
mov esi, dword [sym.imp.USER32.dll_SetScrollInfo]
test eax, 0x100000
je 0x47eb59
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47eb59
mov eax, dword [edi + 0x90]
add eax, dword [edi + 0x78]
push 1
mov dword [ecx + 0xc], eax
push dword [edi + 0xd0]
push 0
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x3c]
test eax, 0x200000
je 0x47eb85
mov ecx, dword [edi + 0xcc]
test ecx, ecx
je 0x47eb85
mov eax, dword [edi + 0x94]
add eax, dword [edi + 0x7c]
push 1
mov dword [ecx + 0xc], eax
push dword [edi + 0xcc]
push 1
push dword [edi + 4]
call esi
mov ecx, dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x9c]
movss dword [ecx + 0x24], xmm0
movss xmm0, dword [ebp - 0x98]
movss dword [ecx + 0x28], xmm0
movss xmm0, dword [ebp - 0x94]
movss dword [ecx + 0x2c], xmm0
movss xmm0, dword [ebp - 0x90]
movss dword [ecx + 0x30], xmm0
mov al, byte [ebp - 0x8c]
mov byte [ecx + 0x34], al
mov al, byte [ebp - 0x8b]
mov byte [ecx + 0x35], al
mov al, byte [ebp - 0x8a]
mov byte [ecx + 0x36], al
mov al, byte [ebp - 0x89]
mov byte [ecx + 0x37], al
mov al, byte [ebp - 0x88]
mov byte [ecx + 0x38], al
mov al, byte [ebp - 0x87]
mov byte [ecx + 0x39], al
mov eax, dword [ebp - 0x218]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x214]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x210]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x20c]
mov dword [ecx + 0x20], eax
mov esi, 1
lea ecx, [ebp - 0x2f0]
call fcn.0047ee10
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc