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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7d1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xae0
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [edi + 0x10]
cmp esi, 0x2af8
jb 0x47b606
push 0x4b8c14
push str.Too_many_controls.
mov ecx, 0x4e6d58
call fcn.00447a20
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 0x47b633
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 0x47b5e0
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 - 0x234]
mov ecx, edi
push esi
push eax
call fcn.00482650
mov cl, byte [ebp + 8]
mov dword [ebp - 0x38], 0
cmp cl, 0x1a
jne 0x47b7fc
mov ecx, dword [ebp + 0x10]
call fcn.00478e00
mov ecx, eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
jne 0x47b6b3
mov ecx, dword [ebp + 0x10]
call fcn.00404ab0
mov edx, dword [0x4e4b90]
xor ecx, ecx
test edx, edx
jle 0x47b6ac
mov esi, dword [0x4e4b8c]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x38], edi
cmp dword [edi + 4], eax
mov edi, dword [ebp - 0x1c]
je 0x47b6f7
inc ecx
cmp ecx, edx
jl 0x47b696
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 0x47b85f
cmp byte [edi + 0xc0], 0xff
jne 0x47b82e
push 0x4b8c14
push str.Too_many_tab_controls.
mov ecx, 0x4e6d58
call fcn.00447a20
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 0x47b7a7
cmp dword [edi + 0x78], 0x80000000
jne 0x47b762
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e6440]
push 0x60
push dword [0x4e6ce8]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4db8d8]
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 0x47b79e
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e6440]
push 0x60
push dword [0x4e6ce8]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4db8c0]
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 - 0x234]
mov al, byte [edi + 0x45]
or edx, 0x10000000
mov byte [ebp - 0xa3], al
mov ecx, edx
mov dword [ebp - 0x234], ecx
cmp ah, 6
jne 0x47b89d
or ecx, 0x4000
cmp byte [edi + 0x44], 0
mov dword [ebp - 0x234], ecx
jne 0x47b8c3
mov ecx, edx
or ecx, 0x24000
mov dword [ebp - 0x234], ecx
jmp 0x47b8c3
cmp cl, 0x14
jne 0x47b812
or byte [esi + 5], 0x80
mov byte [ebp + 8], 0x13
mov byte [ebp - 0x16], 0x13
jmp 0x47b6c4
cmp cl, 0x15
jne 0x47b6b6
mov cl, 0x13
mov word [ebp - 0xa1], 0x301
mov byte [ebp + 8], cl
jmp 0x47b6b6
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.00488440
test eax, eax
je 0x47b710
push eax
mov ecx, edi
call fcn.00488950
jmp 0x47b710
cmp cl, 0x19
jne 0x47b6fe
cmp dword [edi + 8], 0
je 0x47b894
push 0x4b8c14
push str.Too_many_status_bars.
mov ecx, 0x4e6d58
call fcn.00447a20
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 0x47b710
cmp byte [edi + 0x44], 0
je 0x47b8af
or ecx, 0x20000
mov dword [ebp - 0x234], ecx
cmp ah, 2
je 0x47b8e7
cmp ah, 0x10
je 0x47b8e7
cmp ah, 0x11
je 0x47b8e7
cmp ah, 0x12
je 0x47b8e7
cmp byte [esi + 4], 0xa
mov byte [ebp - 0x33], 1
je 0x47b8d9
mov eax, dword [edi + 0x54]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 0x234]
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x1d8], eax
mov ah, byte [ebp + 8]
jmp 0x47b8fd
mov byte [ebp - 0x33], 0
cmp ah, 0x12
jne 0x47b8fd
mov dword [esi + 0x10], 0xff000000
mov ecx, dword [ebp - 0x234]
movzx eax, ah
mov dword [ebp - 0x44], eax
add eax, 0xfffffffc
cmp eax, 0x16
ja case.0x47b90f.6
jmp dword [eax*4 + 0x47eb0c]
or ecx, 0x210000
mov dword [ebp - 0x234], ecx
jmp case.0x47b90f.6
or ecx, 0x210042
mov dword [ebp - 0x234], ecx
jmp case.0x47b90f.6
or ecx, 0x210080
or dword [ebp - 0x22c], 0x200
mov dword [ebp - 0x234], ecx
jmp case.0x47b90f.6
or dword [ebp - 0x224], 0x30
or ecx, 0x10008
or dword [ebp - 0x22c], 0x200
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x220], 1
jmp case.0x47b90f.6
or ecx, 0x10027
or dword [ebp - 0x22c], 0x200
mov dword [ebp - 0x234], ecx
jmp case.0x47b90f.6
or ecx, 0x10000
or dword [ebp - 0x22c], 0x200
mov dword [ebp - 0x234], ecx
jmp case.0x47b90f.6
or ecx, 0x36
mov dword [ebp - 0x234], ecx
jmp case.0x47b90f.6
or ecx, 0x1000c
mov dword [ebp - 0x234], ecx
jmp case.0x47b90f.6
or ecx, 1
mov dword [ebp - 0x234], ecx
jmp case.0x47b90f.6
movzx eax, byte [ebp - 0xa3]
xor edx, edx
cmp byte [ebp - 0xa1], dl
cmove eax, edx
or ecx, 0x10200
mov byte [ebp - 0xa3], al
mov dword [ebp - 0x234], ecx
jmp case.0x47b90f.6
or ecx, 0x4000000
mov dword [ebp - 0x234], ecx
jmp case.0x47b90f.6
test dword [edi + 0x3c], 0x40000
je 0x47ba2b
or ecx, 0x100
or ecx, 0x800
mov dword [ebp - 0x234], ecx
jmp case.0x47b90f.6
cmp byte [0x4e7a16], 0
je case.0x47b90f.6
or ecx, 0x10000
mov dword [ebp - 0x234], ecx
jmp case.0x47b90f.6
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47b90f.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 0x47ba7a
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.0x47b90f.6
mov ecx, dword [ebp - 0x38]
push 0x4b8c14
push 0x4b8c14
call fcn.00482ad0
push 0
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call fcn.0047f9b0
test eax, eax
jne 0x47bad4
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 - 0x1d8]
cmp dl, 0xa
je 0x47bae5
mov eax, dword [esi + 0x10]
cmp eax, 0xff000000
mov eax, dword [ebp - 0x1d4]
setne byte [ebp - 0xa5]
cmp eax, 0xff000000
jne 0x47bb0f
cmp dl, 0xb
je 0x47bb30
mov dword [ebp - 0x1d4], 0xffffffff
jmp 0x47bb30
cmp eax, 0xffffffff
jne 0x47bb30
mov ecx, dword [edi + 0x5c]
cmp ecx, 0xff000000
je 0x47bb30
cmp dl, 0x12
je 0x47bb30
cmp dl, 0x19
cmovne eax, ecx
mov dword [ebp - 0x1d4], eax
mov edx, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x230]
movss xmm0, dword [ebp - 0x204]
mov esi, dword [ebp - 0x208]
movss xmm1, dword [0x4db8a8]
cmp edx, 0x80000000
jne 0x47bbd9
cmp esi, 0x80000000
jne 0x47bbd9
comiss xmm0, xmm1
ja 0x47bbd9
mov eax, dword [ebp + 0x10]
mov edi, eax
test eax, eax
je 0x47bbc3
movzx eax, word [eax]
test ax, ax
je 0x47bbc3
mov esi, eax
nop word [eax + eax]
mov ecx, 0x4d8ea4
mov edx, 0xa
nop word [eax + eax]
cmp si, dx
je 0x47bbc7
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x47bb90
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x47bb80
mov ecx, dword [ebp - 0x230]
mov edx, dword [ebp - 0x20c]
mov esi, dword [ebp - 0x208]
xor edi, edi
jmp 0x47bbe3
mov ecx, dword [ebp - 0x230]
mov edx, dword [ebp - 0x20c]
mov esi, dword [ebp - 0x208]
mov edi, ecx
not edi
and edi, 0x2000
mov eax, dword [ebp - 0x228]
not eax
mov dword [ebp - 0x24c], edi
and eax, dword [ebp - 0x22c]
mov dword [ebp - 0x30], eax
mov eax, ecx
not eax
and eax, dword [ebp - 0x234]
or eax, 0x40000000
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x44]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x47bc1e.10
movzx eax, byte [eax + 0x47eb90]
jmp dword [eax*4 + 0x47eb68]
mov eax, dword [ebp - 0x10]
and eax, 0xfffffff7
or eax, 7
jmp 0x47bc3f
mov eax, dword [ebp - 0x10]
test al, 1
je 0x47bc8b
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 0x47bee2
cmp dword [edi + 0xc], 0
jne 0x47bee2
test byte [edi + 5], 1
jne 0x47bee2
mov ecx, dword [ecx]
cmp word [ecx], 0x31
jne 0x47bdbd
cmp word [ecx + 2], 0
jne 0x47bdbd
xor eax, eax
mov word [ebp - 0xaec], ax
jmp 0x47bdd5
and eax, 0xfffffff0
jmp 0x47bc3d
mov eax, dword [ebp - 0x10]
and eax, 6
cmp al, 6
mov eax, dword [ebp - 0x10]
jne 0x47bca5
and eax, 0xfffffff6
or eax, 6
jmp 0x47bc3d
and eax, 0xfffffff3
or eax, 3
jmp 0x47bc3d
mov eax, dword [ebp - 0x10]
and eax, 0xfffffff9
or eax, 9
test eax, 0x20000
je 0x47bc3d
test ecx, 0x10000
jne 0x47bc3d
or eax, 0x10000
jmp 0x47bc3d
or dword [ebp - 0x10], 3
jmp case.0x47bc1e.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
test al, 1
je 0x47bcf7
and eax, 0xfffffff1
or eax, 1
mov dword [ebp - 0x10], eax
jmp 0x47bc48
and eax, 0xfffffff2
or eax, 2
mov dword [ebp - 0x10], eax
jmp 0x47bc48
or dword [ebp - 0x10], 1
jmp case.0x47bc1e.10
comiss xmm0, xmm1
ja 0x47bd2b
push 0xa
push dword [ebp + 0x10]
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov ecx, dword [ebp - 0x230]
add esp, 8
test eax, eax
je 0x47bd35
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 0x47bc45
not ecx
and ecx, 0x201040
or eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x47bc45
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
or eax, 0x4000000
cmp dword [ecx + 0x60], 0
je 0x47bd6f
test byte [edi + 5], 0x20
je 0x47bd78
cmp dword [edi + 0x10], 0xff000000
je 0x47bd86
or eax, 0x2000
mov byte [ebp - 0xa3], 0
jmp 0x47bd8b
and eax, 0xffffdfff
mov dword [ebp - 0x10], eax
mov al, byte [ebp - 0xa0]
cmp edx, 0x80000000
je 0x47bda4
and al, 0xfe
mov byte [ebp - 0xa0], al
cmp esi, 0x80000000
je 0x47bc48
and al, 0xfd
mov byte [ebp - 0xa0], al
jmp 0x47bc48
lea edx, [ebp - 0xaec]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x47bdc5
push dword [ebp + 0x10]
lea eax, [ebp - 0xaec]
push str.Button_s
push 0x400
push eax
call fcn.0049c260
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b8c14
mov edx, 0x4d8ec0
lea ecx, [ebp - 0xaec]
call fcn.0049c9f0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b8c14
mov edx, 0x4d7994
lea ecx, [ebp - 0xaec]
call fcn.0049c9f0
add esp, 0x40
lea ecx, [ebp - 0xaec]
mov edx, 0x4d5764
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b8c14
call fcn.0049c9f0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b8c14
mov edx, 0x4d5b04
lea ecx, [ebp - 0xaec]
call fcn.0049c9f0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b8c14
mov edx, 0x4d86d4
lea ecx, [ebp - 0xaec]
call fcn.0049c9f0
add esp, 0x48
lea ecx, [ebp - 0xaec]
mov edx, 0x4d8ec4
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b8c14
call fcn.0049c9f0
add esp, 0x18
lea eax, [ebp - 0xaec]
mov ecx, 0x4e6d58
push 4
push 0
push eax
call fcn.004311c0
mov esi, eax
test esi, esi
je 0x47bed2
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x47bedf
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.00488440
mov ecx, eax
mov dword [ebp - 0x2e0], 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 0x47bf23
mov eax, dword [esi + 0x18]
mov ecx, edi
shl ecx, 6
add eax, 0xffffffc0
add eax, ecx
mov ecx, dword [ebp - 0x40]
jmp 0x47bf29
lea eax, [ebp - 0x2ec]
cmp dword [ebp - 0x214], 0x80000000
mov dword [ebp - 0x48], eax
jne 0x47c01e
cmp dword [ebp - 0x210], 0x80000000
jne 0x47c01e
test ecx, ecx
je 0x47bfb5
xor edx, edx
test edi, edi
je 0x47bf92
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 0x47bf7d
mov al, byte [ecx]
cmp al, byte [edi + 6]
jne 0x47bf7d
inc edx
add ecx, 0x40
sub esi, 1
jne 0x47bf70
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x1c]
test edx, edx
jne 0x47bfb5
mov ecx, dword [ebp - 0x40]
push ecx
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call fcn.004886d0
mov eax, dword [esi + 0x78]
add eax, dword [ebp - 0x78]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x214], eax
mov eax, dword [esi + 0x7c]
add eax, dword [ebp - 0x74]
jmp 0x47bfd0
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x214], eax
mov eax, dword [esi + 0x8c]
add eax, dword [esi + 0x84]
add eax, dword [esi + 0x7c]
mov dword [ebp - 0x210], eax
mov ah, byte [ebp + 8]
cmp ah, 1
je 0x47bfe3
cmp ah, 0x17
jne 0x47c021
test edi, edi
je 0x47c021
mov edx, dword [ebp - 0x48]
mov al, byte [edx + 4]
cmp al, 1
je 0x47bff5
cmp al, 0x17
jne 0x47c021
mov ecx, dword [ebp - 0x14]
mov al, byte [edx + 6]
cmp al, byte [ecx + 6]
jne 0x47c021
mov al, byte [edx + 7]
cmp al, byte [ecx + 7]
jne 0x47c021
push 0x60
push dword [0x4e6ce8]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x210], eax
mov ah, byte [ebp + 8]
cmp ah, 0xe
je 0x47c034
cmp ah, 0xa
je 0x47c034
cmp ah, 0xb
je 0x47c034
xor cl, cl
jmp 0x47c036
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 - 0x208], 0x80000000
mov byte [ebp - 0x15], ch
jne 0x47c1e3
movss xmm1, dword [0x4db898]
comiss xmm1, dword [ebp - 0x204]
jbe 0x47c1e3
mov eax, dword [ebp - 0x44]
add eax, 0xfffffffd
cmp eax, 0x17
ja case.0x47c082.4
movzx eax, byte [eax + 0x47ebd4]
jmp dword [eax*4 + 0x47eba4]
mov edx, dword [ebp - 0x10]
mov eax, edx
and al, 3
mov dword [ebp - 0x204], 0x40400000
cmp al, 1
je 0x47c228
cmp byte [0x4e7a12], 0
je 0x47c228
test edx, 0x400
jne 0x47c228
xor ch, ch
mov byte [ebp - 0x15], ch
jmp 0x47c228
mov dword [ebp - 0x204], 0x40000000
jmp 0x47c228
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
jne case.0x47c082.4
test byte [ebp - 0x10], 4
je 0x47c0f6
mov dword [ebp - 0x204], 0x40400000
jmp 0x47c228
mov dword [ebp - 0x204], 0x3f800000
jmp case.0x47c082.4
mov dword [ebp - 0x204], 0x3f800000
jmp 0x47c228
test byte [ebp - 0x10], 0x40
je 0x47c14f
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4e6440]
push 0x60
push dword [0x4e6ce8]
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 - 0x208], eax
jmp case.0x47c082.4
mov dword [ebp - 0x204], 0x40a00000
jmp case.0x47c082.4
mov edx, dword [ebp - 0x10]
test dl, 2
je 0x47c175
mov dword [ebp - 0x204], 0x40a00000
jmp 0x47c228
push dword [ebp - 0x1e8]
mov ecx, esi
push edx
call fcn.00487c70
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x15]
mov dword [ebp - 0x208], eax
jmp case.0x47c082.4
test byte [ebp - 0x10], 4
je 0x47c11a
mov dword [ebp - 0x204], 0x40a00000
jmp 0x47c228
mov dword [ebp - 0x204], 0x41200000
jmp 0x47c228
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47c082.4
lea ecx, [ebp - 0x260]
push ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x254]
sub eax, dword [ebp - 0x25c]
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x15]
mov dword [ebp - 0x208], eax
jmp case.0x47c082.4
mov al, byte [ebp + 8]
cmp al, 7
je 0x47c1ee
cmp al, 8
jne case.0x47c082.4
cmp byte [0x4e7a12], 0
je case.0x47c082.4
or dword [ebp - 0x10], 0x400
movss xmm0, dword [ebp - 0x204]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], 0
jbe 0x47c3bb
movss xmm1, dword [0x4db898]
cmp byte [ebp + 8], 3
je 0x47c237
mov al, byte [ebp - 0x16]
sub al, 7
cmp al, 1
ja 0x47c24b
movss xmm0, dword [ebp - 0x204]
addss xmm0, xmm1
movss dword [ebp - 0x204], xmm0
test ch, ch
je 0x47c385
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul edx, dword [esi + 0x50], 0x94
mov ecx, dword [0x4e6440]
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 - 0x29c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
movss xmm2, dword [ebp - 0x204]
cvtps2pd xmm0, xmm2
mov esi, dword [ebp - 0x1c]
addsd xmm0, qword [0x4db8b8]
cvttsd2si ecx, xmm0
movd xmm0, dword [ebp - 0x29c]
cvtdq2ps xmm0, xmm0
lea eax, [ecx - 1]
imul eax, dword [ebp - 0x28c]
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 [0x4db8b8]
cvttsd2si edx, xmm0
mov dword [ebp - 0x208], edx
cmp eax, 0x15
ja case.0x47c2f6.5
movzx eax, byte [eax + 0x47ec00]
jmp dword [eax*4 + 0x47ebec]
push 0x60
push dword [0x4e6ce8]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x208], eax
test dword [ebp - 0x10], 0x100000
je case.0x47c2f6.5
push 3
call edi
add dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x20]
jmp 0x47c3bd
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4e6440]
push 0x60
push dword [0x4e6ce8]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x20]
jmp 0x47c3bd
mov eax, dword [esi + 0x7c]
imul eax, ecx
mov ecx, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x208], eax
jmp 0x47c3bd
lea eax, [ecx + 1]
imul eax, dword [esi + 0x7c]
add eax, edx
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x20]
jmp 0x47c3bd
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], 0
test cl, cl
jne 0x47c3bb
push 0x60
push dword [0x4e6ce8]
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
xor ecx, ecx
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], ecx
jmp 0x47c3bd
xor ecx, ecx
cmp dword [ebp - 0x208], 0x80000000
mov edx, dword [ebp - 0x20c]
mov byte [ebp - 0x31], 0
je 0x47c3df
cmp edx, 0x80000000
jne 0x47ca75
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.0x47c400.2
movzx eax, byte [eax + 0x47ec24]
jmp dword [eax*4 + 0x47ec18]
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je case.0x47c400.2
test ecx, ecx
jne 0x47c449
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 [0x4e6440]
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 - 0x29c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov esi, dword [ebp - 0x288]
add esi, 4
test dword [ebp - 0x10], 0x200000
mov dword [ebp + 0xc], esi
je 0x47c475
push 2
call edi
add esi, eax
mov dword [ebp + 0xc], esi
mov esi, dword [ebp + 0x10]
cmp word [esi], 0
je 0x47c4ab
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47c483
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0xa
jne 0x47c4ab
mov eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x29c]
add eax, ecx
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x20c]
mov esi, 0x2c40
mov eax, dword [ebp - 0x20]
mov edi, esi
test eax, eax
jne 0x47c4f9
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 [0x4e6440]
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x20c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov cl, byte [ebp + 8]
cmp cl, 1
jne 0x47c516
mov eax, dword [ebp - 0x10]
mov esi, eax
and esi, 0x80
or esi, 4
shl esi, 4
or esi, edi
jmp 0x47c558
cmp cl, 5
je 0x47c520
cmp cl, 6
jne 0x47c555
lea ecx, [ebp - 0x29c]
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 - 0x288]
add edi, 2
mov edx, dword [ebp - 0x20c]
add edi, eax
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 8]
mov dword [ebp + 0xc], edi
jmp 0x47c55b
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
test eax, 0x800000
je 0x47c58e
cmp cl, 1
je 0x47c56c
cmp cl, 0x17
jne 0x47c58e
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 - 0x20c]
add eax, eax
mov dword [ebp - 0x70], eax
cmp edx, 0x80000000
je 0x47c599
or esi, 0x10
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
cmp edx, 0x80000000
jne 0x47c5c1
mov dword [ebp - 0x23c], 0
jmp 0x47c5c9
sub edx, edi
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp - 0x208]
xor ecx, ecx
cmp eax, 0x80000000
cmove eax, ecx
mov dword [ebp - 0x238], eax
xor eax, eax
cmp byte [ebp + 8], 0x17
mov dword [ebp - 0x6c], eax
jne 0x47c7cb
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 0x47c607
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.004b658e
mov edx, eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov edi, edx
mov esi, eax
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
movzx ecx, word [eax]
test cx, cx
je 0x47c784
cmp cx, 0x3c
jne 0x47c755
mov cx, word [esi + 2]
call fcn.00413070
cmp ax, 0x41
jne 0x47c755
add esi, 4
movzx eax, word [esi]
cmp eax, 0x20
je 0x47c680
cmp eax, 9
jne 0x47c685
add esi, 2
jmp 0x47c673
cmp eax, 0x3e
je 0x47c6fc
nop word [eax + eax]
movzx ecx, word [esi]
mov eax, ecx
test eax, 0xffffff80
jne 0x47c6b7
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 0x47c6b7
add esi, 2
jmp 0x47c690
cmp cx, 0x3d
jne 0x47c755
mov eax, 0x22
cmp ax, word [esi + 2]
jne 0x47c755
push eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
je 0x47c755
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x47c6f2
cmp eax, 9
jne 0x47c6f7
add esi, 2
jmp 0x47c6e5
cmp eax, 0x3e
jne 0x47c690
add esi, 2
je 0x47c755
mov edx, 0x4d8ec8
mov ecx, esi
call fcn.0049c600
mov edi, eax
mov dword [ebp - 0x250], edi
test edi, edi
je 0x47c752
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 0x47c74a
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 0x47c732
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x250]
lea eax, [edi + 6]
mov edi, dword [ebp - 0x28]
jmp 0x47c767
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 0x47c653
mov edx, dword [ebp - 0x248]
xor eax, eax
mov word [edi], ax
cmp edi, edx
jbe 0x47c794
movzx eax, word [edi - 2]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x5c]
cmp word [edx], 0
lea eax, [ebp - 0x244]
push eax
push 0xffffffffffffffff
mov eax, 0x4d7c9c
cmovne eax, edx
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x248]
mov edi, eax
call fcn.004b6597
mov ecx, dword [ebp - 0x6c]
add esp, 4
jmp 0x47c818
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x244]
push eax
push 0xffffffffffffffff
mov eax, 0x4d7c9c
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 0x47c816
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47c800
sub ecx, edx
sar ecx, 1
movzx ecx, word [esi + ecx*2 - 2]
jmp 0x47c818
xor ecx, ecx
mov esi, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x44]
sub esi, dword [ebp - 0x244]
sub eax, 1
je 0x47c841
sub eax, 3
je 0x47c838
sub eax, 8
je 0x47c841
jmp 0x47c865
cmp dword [ebp - 0x24c], 0
jne 0x47c865
test cx, cx
je 0x47c865
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 0x47c865
mov eax, dword [ebp - 0x5c]
test eax, eax
jns 0x47c865
sub esi, eax
mov eax, dword [ebp - 0x208]
mov cl, byte [ebp + 8]
cmp eax, 0x80000000
je 0x47c886
cmp edi, eax
jle 0x47c9a9
cmp cl, 0xc
je 0x47c9a9
mov edx, dword [ebp - 0x70]
add edx, edi
mov dword [ebp - 0x208], edx
cmp cl, 0xc
jne 0x47c97a
push 0x60
push dword [0x4e6ce8]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x208], eax
test dword [ebp - 0x10], 0x100000
je 0x47c8c7
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [ebp - 0x208], eax
mov edi, dword [ebp - 0x1c]
mov cl, byte [ebp + 8]
mov edx, dword [ebp - 0x20c]
cmp edx, 0x80000000
je 0x47c8df
cmp esi, edx
jle case.0x47c400.2
mov edx, dword [ebp + 0xc]
add edx, esi
mov byte [ebp - 0x31], 1
mov dword [ebp - 0x20c], edx
cmp cl, 4
jne case.0x47c400.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
imul edx, dword [edi + 0x50], 0x94
add eax, eax
mov ecx, dword [0x4e6440]
mov ecx, dword [edx + ecx + 0x84]
mov edx, dword [ebp - 0x20c]
add ecx, eax
add edx, ecx
mov dword [ebp - 0x20c], edx
mov edi, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
cmp edx, 0x80000000
jne case.0x47c973.4
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e6440]
push 0x60
push dword [0x4e6ce8]
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.0x47c973.4
movzx ecx, byte [eax + 0x47ec60]
jmp dword [ecx*4 + 0x47ec3c]
mov edi, dword [ebp - 0x1c]
cmp cl, 4
jne 0x47c8cd
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e6440]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
add eax, edx
mov dword [ebp - 0x208], eax
jmp 0x47c8ca
mov edi, dword [ebp - 0x1c]
jmp 0x47c8cd
mov dword [ebp - 0x20c], edx
jmp case.0x47c973.4
lea eax, [edx + edx]
mov dword [ebp - 0x20c], eax
jmp case.0x47c973.4
mov eax, dword [ebp - 0x10]
test al, 0x40
je 0x47ca03
mov dword [ebp - 0x20c], edx
jmp 0x47ca81
mov eax, dword [ebp - 0x10]
test al, 2
je 0x47c9d1
push dword [ebp - 0x1e8]
mov ecx, edi
push eax
call fcn.00487c70
mov dword [ebp - 0x20c], eax
jmp case.0x47c973.4
mov eax, dword [ebp - 0x10]
test al, 4
je 0x47c9d1
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e6440]
push 0x60
push dword [0x4e6ce8]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
push eax
call esi
mov dword [ebp - 0x20c], eax
jmp case.0x47c973.4
mov eax, dword [edi + 0x78]
lea eax, [edx + eax*2]
mov dword [ebp - 0x20c], eax
jmp case.0x47c973.4
mov eax, dword [edi + 0x78]
lea eax, [eax + eax*2]
lea eax, [eax + edx*2]
mov dword [ebp - 0x20c], eax
jmp case.0x47c973.4
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47c973.4
lea ecx, [ebp - 0x260]
push ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x258]
sub eax, dword [ebp - 0x260]
mov dword [ebp - 0x20c], eax
jmp case.0x47c973.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 0x47cb8a
test al, 4
jne 0x47cb8a
movss xmm0, dword [0x4db898]
comiss xmm0, dword [ebp - 0x204]
jbe 0x47cb8a
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47cadd
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4e6440]
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 - 0x29c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x60
push dword [0x4e6ce8]
push 8
call esi
mov esi, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x29c]
sub esi, eax
mov edx, dword [ebp - 0x10]
sub esi, ecx
test edx, 0x100000
je 0x47cb25
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x29c]
sub esi, eax
mov edx, dword [ebp - 0x10]
test esi, esi
jle 0x47cb80
mov eax, dword [ebp - 0x28c]
add eax, ecx
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
addss xmm1, dword [0x4db898]
comiss xmm1, dword [0x4db8a8]
movss dword [ebp - 0x204], xmm1
jbe 0x47cb8a
mov ecx, dword [ebp - 0x230]
not ecx
mov eax, ecx
and eax, 4
or edx, eax
mov dword [ebp - 0x10], edx
test dl, 4
je 0x47cb8a
and ecx, 0x201040
or edx, ecx
mov dword [ebp - 0x10], edx
jmp 0x47cb8a
mov dword [ebp - 0x204], 0x3f800000
cmp byte [ebp - 0xa3], 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 0x47cbc8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [ebp + 0xf], 1
test eax, eax
je 0x47cbcc
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 0x47cc6b
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47cc82
push str.ahk_dlg
push dword [eax]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x47cc36
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x210]
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 - 0x214], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x40]
push 0xfffffffffffffff0
push dword [eax]
call esi
test eax, 0x10000000
je 0x47cc82
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 0x47cc82
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.0x47cc7b.20
jmp dword [eax*4 + 0x47ec78]
mov ecx, dword [ebp - 0x10]
and ecx, 0xefffffff
mov dword [ebp - 0x10], ecx
jmp 0x47cc6e
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47cca1
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47cca3
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47ccb4
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47ccb6
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
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.0x47cc7b.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47cd11
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47cd13
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47cd24
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47cd26
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
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.0x47cc7b.20
mov eax, dword [ebp - 0x20c]
xor ecx, ecx
mov edx, dword [ebp - 0x208]
cmp eax, 0x80000000
mov esi, dword [edi + 0xcc]
cmove eax, ecx
cmp edx, 0x80000000
mov dword [ebp - 0x20c], eax
cmove edx, ecx
mov dword [ebp - 0x208], edx
test esi, esi
je 0x47cdac
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x47cdae
xor esi, esi
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47cdbf
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47cdc1
xor ecx, ecx
push 0
push dword [0x4e4bfc]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push edx
push eax
mov eax, dword [ebp - 0x210]
sub eax, esi
mov esi, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x214]
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.0x47cc7b.20
push dword [ebp - 0x1c4]
mov ecx, edi
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push esi
push edx
call fcn.00482980
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47e57b
mov byte [ebp - 0x16], 1
jmp 0x47e57b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47ce4b
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47ce4d
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47ce5e
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47ce60
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
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.0x47cc7b.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47cebb
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47cebd
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47cece
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47ced0
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
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.0x47cc7b.20
test byte [ebp - 0x10], 1
je case.0x47cc7b.20
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x10]
cmp ecx, eax
jae 0x47cf64
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 0x47cf6a
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 0x47e57b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47cfa8
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47cfaa
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47cfbb
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47cfbd
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
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.0x47cc7b.20
mov ecx, dword [ebp - 0x1c8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x47e57b
push 0
push ecx
push 0xf1
push eax
call esi
jmp 0x47e57b
cmp dword [ebp - 0x1d0], 0
mov esi, dword [ebp - 0x14]
je 0x47d046
cmp byte [esi + 4], 8
jne 0x47d046
and ecx, 0xffffffbf
mov dword [ebp - 0x10], ecx
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d057
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d059
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d06a
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d06c
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b8c14
push str.Combobox
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
je 0x47d1ac
imul edx, dword [edi + 0x50], 0x94
movzx ecx, byte [ebp + 0xf]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [0x4e6440]
push dword [edx + ecx + 0x90]
push 0x30
push eax
call esi
cmp byte [ebp - 0x15], 0
je 0x47d1a4
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 [0x4e6ce8]
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 - 0x208]
lea eax, [eax + edi*2]
cmp ecx, eax
jge 0x47d16b
mov ecx, eax
mov dword [ebp - 0x208], ecx
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push 1
push ecx
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
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.0x47cc7b.20
movss xmm0, dword [ebp - 0x204]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47d13a
push 0x60
push dword [0x4e6ce8]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x204]
cvttss2si ecx, xmm0
add ecx, eax
add ecx, esi
jmp 0x47d134
mov ecx, dword [ebp - 0x208]
jmp 0x47d13d
mov al, byte [ebp - 0x16]
mov byte [ebp - 0x29], al
jmp case.0x47cc7b.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d1c8
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d1ca
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d1db
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d1dd
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b8c14
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 0x47d1ac
mov eax, dword [ebp - 0xf8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47d24f
lea ecx, [ebp - 0x1c0]
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 [0x4e6440]
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 [0x4e6ce8]
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 0x47d2a9
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [ebp - 0x208]
cmp ecx, esi
jge 0x47d2b7
mov ecx, esi
jmp 0x47d307
movss xmm0, dword [ebp - 0x204]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47d30d
push 0x60
push dword [0x4e6ce8]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, dword [ebp - 0x5c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x204]
cvttss2si ecx, xmm0
add ecx, eax
mov dword [ebp - 0x208], ecx
test edi, edi
je 0x47d30d
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x208]
add ecx, eax
mov dword [ebp - 0x208], ecx
mov eax, dword [ebp - 0x14]
push 1
push ecx
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
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.0x47cc7b.20
mov eax, dword [ebp - 0x220]
cmp eax, 4
je 0x47d351
and ecx, 0xfffffffc
or ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d362
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d364
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d375
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d377
xor ecx, ecx
mov eax, dword [ebp - 0x208]
mov esi, 0xc8
push 0
push dword [0x4e4bfc]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x20c]
mov eax, dword [ebp - 0x210]
sub eax, edx
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b8c14
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.0x47cc7b.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 0x47d3fc
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47cc7b.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 - 0xa2]
mov byte [ecx + 5], al
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47d431
or byte [eax + 5], 0x80
cmp dword [ebp - 0x220], 4
jne 0x47d44f
push 0
push 4
push 0x108e
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47d455
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x47d46e
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x1036
push dword [eax]
call esi
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
push dword [ebp - 0x14]
call fcn.00487dd0
cmp dword [ebp - 0x208], 0x80000000
jne case.0x47cc7b.20
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e6440]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call esi
mov eax, dword [ebp - 0x220]
mov byte [ebp - 0x29], 1
sub eax, 1
je 0x47d607
sub eax, 3
je 0x47d5d9
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47d501
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4e6440]
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 - 0x29c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [ebp - 0x220], 0
jne 0x47d59e
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 + 0x4dba70]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [ebp - 0x204]
subss xmm0, dword [0x4db898]
mulss xmm0, xmm1
call fcn.004b7370
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 - 0x29c]
cvtdq2ps xmm0, xmm0
add eax, 0x10
mulss xmm0, dword [ebp - 0x204]
addss xmm0, xmm1
cvttss2si ecx, xmm0
add eax, ecx
jmp 0x47d62a
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x29c]
cmp eax, ecx
movss xmm0, dword [ebp - 0x204]
cmovg ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
subss xmm0, dword [0x4db898]
addss xmm1, xmm0
cvttss2si eax, xmm1
add eax, 0xb
jmp 0x47d62a
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 - 0x204]
cvttss2si eax, xmm0
add eax, 7
jmp 0x47d62a
movss xmm0, dword [ebp - 0x204]
push 0xffffffffffffffff
call fcn.004b7370
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 - 0x20c]
mov dword [ebp - 0x208], eax
push dword [ebp - 0x210]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x214]
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
jmp 0x47e57b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d667
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d669
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d67a
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d67c
xor ecx, ecx
mov eax, dword [ebp - 0x208]
mov esi, 0xc8
push 0
push dword [0x4e4bfc]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x20c]
mov eax, dword [ebp - 0x210]
sub eax, edx
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b8c14
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.0x47cc7b.20
cmp dword [ebp - 0x1c8], 0
mov dword [edi + 0x4c], esi
je 0x47d6f8
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 - 0x234]
mov ecx, edi
push eax
push esi
call fcn.00487e80
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x47d725
push eax
push 0
push 0x1109
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47d72b
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x208], 0x80000000
jne case.0x47cc7b.20
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e6440]
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 - 0x208], eax
cmp eax, 2
jge 0x47d790
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e6440]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x204]
cvttss2si eax, xmm0
jmp 0x47d627
test cl, 4
jne 0x47d7d0
cmp dword [ebp - 0x1d0], 0
jge 0x47d7be
and ecx, 0xffefff7f
jmp 0x47d7cd
mov eax, dword [ebp - 0x230]
not eax
and eax, 0x80
or ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47d7e5
test cl, 4
je 0x47d7e5
mov ecx, eax
call fcn.0049cf50
mov esi, eax
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d7f8
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d7fa
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d80b
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d80d
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
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 0x47d8c9
test byte [ebp - 0x10], 0x20
je 0x47d882
mov cx, word [ebp - 0xa8]
test cx, cx
je 0x47d882
push 0
movzx eax, cx
push eax
push 0xcc
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1d0]
xor ecx, ecx
test eax, eax
push ecx
cmovs eax, ecx
push eax
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x14]
push 0xc5
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x47d8c9
lea ecx, [ebp - 0x1c0]
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.0x47cc7b.20
cmp esi, dword [ebp + 0x10]
je case.0x47cc7b.20
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp case.0x47cc7b.20
mov esi, dword [ebp + 0x10]
mov byte [ebp - 0x15], 0
cmp word [esi], 0
je 0x47d944
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 0x47d91c
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 0x10]
and eax, 0xfffffff6
or eax, 4
mov dword [ebp - 0x10], eax
jmp 0x47d947
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 0x47d93e
and eax, 0xfffffffb
or eax, 9
mov dword [ebp - 0x10], eax
jmp 0x47d947
mov byte [ebp - 0x15], 1
jmp 0x47d947
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x200], 2
jne 0x47d956
or eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d967
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d969
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d97a
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d97c
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b8c14
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.0x47cc7b.20
cmp byte [ebp - 0x15], 0
je 0x47d9eb
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 0x47d9f1
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x47da10
lea edx, [ebp - 0xd4]
push edx
push eax
push 0x1004
push ecx
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x200]
test edx, edx
je 0x47da39
lea eax, [ebp - 0xf4]
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 0x47da3c
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
cmp eax, 0xff000000
je 0x47e57b
push eax
push 1
push 0x1006
push ecx
call esi
jmp 0x47e57b
cmp dword [ebp - 0xb4], 0
jne 0x47da88
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47da88
lea edx, [ebp - 0xf4]
mov ecx, eax
call fcn.0049bc30
mov dword [ebp - 0xb4], eax
cmp eax, 3
jne 0x47da88
or dword [ebp - 0x10], 2
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47da99
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47da9b
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47daac
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47daae
xor ecx, ecx
mov eax, dword [ebp - 0x208]
mov esi, 0x64
push 0
push dword [0x4e4bfc]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20c]
test eax, eax
cmovs eax, esi
push eax
mov eax, dword [ebp - 0x210]
sub eax, edx
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b8c14
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.0x47cc7b.20
mov esi, dword [ebp - 0x10]
mov ecx, eax
and esi, 2
je 0x47db35
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 - 0xb0]
test edx, edx
je 0x47db5a
lea ecx, [ebp - 0xd4]
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 - 0xb4]
test edx, edx
je 0x47dbb2
test esi, esi
je 0x47db99
cmp edx, 1
jne 0x47db80
movups xmm0, xmmword [ebp - 0xf4]
mov eax, dword [ebp - 0x14]
movups xmmword [ebp - 0xe4], xmm0
mov ecx, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0xf4]
push eax
push 0
push 0x1006
push ecx
call esi
jmp 0x47dbb8
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xf4]
push ecx
push 0
push 0x1002
push eax
call esi
jmp 0x47dbb8
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x10]
cmp eax, 0xff000000
je 0x47dbd1
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 [0x4e6440]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call esi
cmp dword [ebp - 0x20c], 0x80000000
mov byte [ebp - 0x29], 1
je 0x47dc12
cmp dword [ebp - 0x208], 0x80000000
jne 0x47e57b
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x1009
push dword [eax]
call esi
test eax, eax
je 0x47e57b
mov ecx, dword [ebp - 0x20c]
test ecx, ecx
jns 0x47dc7d
test byte [ebp - 0x10], 0x10
je 0x47dc41
mov eax, dword [ebp - 0x50]
jmp 0x47dc5e
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 - 0x20c]
cmovl eax, dword [ebp - 0x50]
cmp ecx, 0x80000000
jne 0x47dc6a
mov ecx, eax
jmp 0x47dc77
add eax, 6
imul eax, ecx
mov ecx, 0xfffffffa
sub ecx, eax
mov dword [ebp - 0x20c], ecx
mov edx, dword [ebp - 0x208]
cmp edx, 0x80000000
jne 0x47dd5f
movss xmm0, dword [ebp - 0x204]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x208], edx
jbe 0x47dd5f
ucomiss xmm0, dword [0x4db898]
lahf
test ah, 0x44
jnp 0x47dd5f
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47dcf2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4e6440]
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 - 0x29c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [ebp - 0x10], 0x10
mov ecx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x208]
je 0x47dd17
add eax, 4
add eax, ecx
movss xmm2, dword [ebp - 0x204]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
subss xmm2, dword [0x4db898]
cvttss2si eax, xmm0
movd xmm1, eax
lea eax, [ecx - 2]
mov ecx, dword [ebp - 0x20c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
subss xmm1, xmm0
cvttss2si edx, xmm1
mov dword [ebp - 0x208], edx
push 1
push edx
push ecx
jmp 0x47d639
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47dd79
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47dd7b
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47dd8c
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dd8e
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b8c14
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.0x47cc7b.20
mov ecx, dword [ebp + 0x10]
cmp word [ecx], 0
je 0x47de07
push 0
call fcn.004879b0
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 0x47de0d
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1d0]
test ecx, ecx
jle 0x47e57b
push 6
push ecx
push 0x403
push eax
call esi
jmp 0x47e57b
test cl, 0x10
je 0x47de4f
cmp dword [edi + 8], 0
jne 0x47de43
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47de4f
cmp byte [eax + 5], 0
jge 0x47de4f
and ecx, 0xffffffef
mov byte [ebp - 0x15], 1
mov dword [ebp - 0x10], ecx
jmp 0x47de53
mov byte [ebp - 0x15], 0
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47de64
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47de66
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47de77
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47de79
xor ecx, ecx
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push esi
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b8c14
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.0x47cc7b.20
mov cl, byte [ebp - 0x15]
test cl, cl
je 0x47deeb
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 0x47e034
test byte [ebp - 0x10], 0x10
jne 0x47df03
test cl, cl
je 0x47e034
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 - 0x20c], eax
mov eax, dword [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x210], 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 0x47dfd6
mov esi, dword [ebp - 0x10]
and esi, 4
je 0x47dfa7
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x214]
add dword [ebp - 0x50], eax
add ecx, eax
push 1
push dword [ebp - 0x208]
mov dword [ebp - 0x214], ecx
push eax
push dword [ebp - 0x210]
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 - 0x20c]
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 0x47dfde
mov edx, dword [ebp - 0x10]
mov esi, edx
and esi, 4
test esi, esi
je 0x47dff2
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x214], ecx
sub eax, ecx
jmp 0x47dff8
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x58]
cmp byte [ebp - 0xa6], 0
mov dword [ebp - 0x20c], eax
jne 0x47e04e
mov eax, dword [ebp - 0x48]
cmp byte [eax + 4], 9
jne 0x47e03d
mov byte [ebp - 0xa6], 1
test dl, 0x40
je 0x47e028
mov dword [ebp - 0x1f8], 0x7fff
jmp 0x47e04e
mov dword [ebp - 0x1fc], 0x7fff
jmp 0x47e04e
cmp byte [ebp - 0xa6], 0
jne 0x47e04e
mov byte [ebp - 0xa6], 1
mov dword [ebp - 0x1f8], 0x64
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x234]
push eax
push esi
mov ecx, edi
call fcn.00487c00
mov ecx, dword [ebp + 0x10]
call fcn.00417020
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 0x47e57b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e09b
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e09d
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e0ae
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e0b0
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b8c14
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.0x47cc7b.20
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
push edx
call fcn.00487d00
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je case.0x47cc7b.20
mov ecx, eax
call fcn.00417020
mov esi, dword [ebp - 0x14]
mov ecx, edi
push eax
push esi
call fcn.00487cb0
push eax
push 1
push 0x405
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47e57b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e156
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e158
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e169
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e16b
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b8c14
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.0x47cc7b.20
push dword [ebp - 0x10]
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
push edx
call fcn.00487ee0
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47e1fa
push 0
mov ecx, eax
call fcn.00417020
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 0x47e57b
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 0x32], 0
jmp 0x47e57b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e21a
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e21c
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e22d
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e22f
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b8c14
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.0x47cc7b.20
cmp byte [ebp - 0xa1], 0
je 0x47e2b3
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
push edx
call fcn.00488c10
test eax, eax
jne 0x47e2b0
mov esi, dword [ebp - 0x14]
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47cc7b.20
mov edx, dword [ebp - 0x14]
mov al, byte [ebp - 0xa0]
test al, al
je 0x47e2ce
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 0x487470
push 0xfffffffffffffffc
mov byte [edi + 0xc2], 0
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x4e5668], eax
jmp case.0x47cc7b.20
cmp byte [0x4e8d60], 0
jne 0x47e34d
push 0x4d8a60
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x47e34d
push str.AtlAxWinInit
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47e33d
call eax
test eax, eax
setne al
mov byte [0x4e8d60], al
jmp 0x47e342
mov al, byte [0x4e8d60]
test al, al
jne 0x47e34d
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e35e
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e360
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e371
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e373
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
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.0x47cc7b.20
mov ecx, eax
call fcn.004749a0
mov ecx, eax
test ecx, ecx
jne 0x47e3e0
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47cc7b.20
mov eax, dword [esi + 8]
push ecx
test eax, eax
je 0x47e3f4
mov ecx, eax
call fcn.004a0470
jmp case.0x47cc7b.20
mov eax, dword [ecx]
call dword [eax + 8]
jmp case.0x47cc7b.20
mov si, word [ebp - 0x9e]
test si, si
jne 0x47e425
push 0x4b8c14
push str.A_window_class_is_required.
mov ecx, 0x4e6d58
call fcn.00447a20
mov esi, eax
jmp 0x47eaeb
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e436
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e438
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e449
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e44b
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e4bfc]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
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.0x47cc7b.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.0x47cc7b.20
mov ecx, dword [ebp - 0x1d4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 8], eax
cmp ecx, 0xffffffff
je 0x47e57b
push ecx
push 0
push 0x2001
push eax
call esi
jmp 0x47e57b
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je case.0x47cc7b.20
mov esi, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
mov dword [esi], eax
cmp dword [ecx + 0xa8], 0
jne 0x47e501
mov eax, dword [ebp - 0x20c]
mov dword [ecx + 0xa8], eax
cmp dword [ecx + 0xac], 0
jne 0x47e516
mov eax, dword [ebp - 0x208]
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 0x47e538
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x47e53a
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e54b
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e54d
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 1
push dword [ebp - 0x208]
sub eax, edx
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
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 0x47e59e
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x47e594
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 0x47e5c1
push 0x4b8c14
push str.Cant_create_control.
mov ecx, 0x4e6d58
call fcn.00447a20
mov esi, eax
jmp 0x47eaeb
mov al, byte [ebp - 0x31]
inc dword [edi + 0x10]
mov edx, dword [ebp - 0x84]
mov byte [edi + 0xc7], al
mov eax, dword [ebp - 0x218]
test eax, eax
jne 0x47e5e5
test edx, edx
je 0x47e664
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x47e658
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 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 - 0x23c], 0
mov dword [ebp - 0x240], 0xffffffff
mov eax, dword [eax]
cdq
mov dword [ebp - 0x64], edx
lea edx, [ebp - 0x78]
push edx
push 1
lea edx, [ebp - 0x260]
mov dword [ebp - 0x60], 1
push edx
mov dword [ebp - 0x68], eax
lea edx, [ebp - 0x2ac]
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 0x47e664
mov ecx, dword [ebp - 0x14]
push dword [ecx]
mov ecx, eax
call fcn.0049f860
mov edx, dword [ebp - 0x14]
cmp byte [edx + 4], 6
jne 0x47e68e
mov ecx, dword [ebp - 0x1c8]
test ecx, ecx
je 0x47e688
mov eax, dword [edi + 0x10]
push ecx
dec eax
mov ecx, edi
push eax
push edx
call fcn.00487af0
mov edx, dword [ebp - 0x14]
mov byte [edi + 0x44], 1
jmp 0x47e692
mov byte [edi + 0x44], 0
test dword [ebp - 0x230], 0x10000000
je 0x47e6a2
or byte [edx + 5], 8
test dword [ebp - 0x234], 0x8000000
je 0x47e6b2
or byte [edx + 5], 0x10
cmp byte [ebp - 0x32], 0
jne 0x47e6dc
cmp dword [edx + 0x10], 0xff000000
je 0x47e6d0
mov al, byte [edx + 4]
cmp al, 5
je 0x47e6dc
cmp al, 6
je 0x47e6dc
cmp al, 3
je 0x47e6dc
cmp byte [edx + 4], 3
jne 0x47e6f6
test byte [edx + 5], 0x40
je 0x47e6f6
mov eax, dword [ebp - 0x14]
mov edx, 0x4b8c14
push 0x4b8c14
mov ecx, dword [eax]
call fcn.0049e390
mov edx, dword [ebp - 0x14]
add esp, 4
cmp byte [ebp - 0x29], 0
jne 0x47e720
cmp byte [ebp - 0x33], 0
je 0x47e720
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e6440]
push dword [ecx + eax + 0x90]
push 0x30
push dword [edx]
call esi
cmp dword [ebp - 0xac], 4
jne 0x47e736
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0xb
push dword [eax]
call esi
push 0
push dword [ebp - 0x200]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.004826c0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 4], 0x13
jne 0x47e809
movss xmm0, dword [ebp - 0x204]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47e7f4
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 0x47e79a
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 0x47e79e
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 0x47e7c6
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 - 0x20c]
mov dword [ebp - 0x208], eax
push dword [ebp - 0x210]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x214]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x47e806
cmp byte [ebp - 0xa1], 0
je 0x47e809
push dword [eax]
mov ecx, edi
call fcn.00488d10
mov eax, dword [ebp - 0x14]
cmp byte [ebp - 0x16], 0
je 0x47e864
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 - 0x208], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
cmp byte [ebp + 8], 9
mov dword [ebp - 0x20c], eax
jne 0x47e864
test dword [ebp - 0x10], 0x100000
je 0x47e864
mov ecx, dword [ebp - 0x1cc]
test ecx, ecx
jns 0x47e855
lea ecx, [eax + eax*2]
mov dword [ebp - 0x1cc], 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 0x47e8ca
mov eax, dword [ebp - 0x24]
cmp eax, dword [edi + 4]
jne 0x47e8ca
cmp byte [ebp - 0x34], 0
je 0x47e8b1
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 0x47e8ca
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 0x47e8e0
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [ebp + 8], 0x19
je 0x47eae6
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x24]
cmp edx, ecx
je 0x47e928
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x210]
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 - 0x214], esi
mov dword [ebp - 0x210], edi
jmp 0x47e934
mov edi, dword [ebp - 0x210]
mov esi, dword [ebp - 0x214]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x208]
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 0x47e996
cmp byte [ebp - 0xa0], 0
jne 0x47e996
cmp edx, dword [eax + 0x90]
jle 0x47e988
mov dword [eax + 0x90], edx
cmp ecx, dword [eax + 0x94]
jle 0x47e996
mov dword [eax + 0x94], ecx
cmp byte [ebp - 0xa4], 0
jne 0x47e9d6
mov eax, dword [eax + 0x10]
cmp eax, 1
je 0x47e9d3
cmp eax, 2
jne 0x47e9b8
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
cmp byte [eax + 4], 0x19
je 0x47e9d3
mov edi, dword [ebp - 0x1c]
cmp edx, dword [edi + 0xa0]
jle 0x47e9c9
mov dword [edi + 0xa0], edx
cmp ecx, dword [edi + 0xa4]
jle 0x47e9f1
jmp 0x47e9eb
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 0x47ea29
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47ea29
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 0x47ea55
mov ecx, dword [edi + 0xcc]
test ecx, ecx
je 0x47ea55
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 - 0x214]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x210]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x20c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x208]
mov dword [ecx + 0x20], eax
mov esi, 1
lea ecx, [ebp - 0x2ec]
call fcn.0047ece0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc