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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3c3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xae8
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x1c], esi
mov edi, dword [esi + 0x10]
cmp edi, 0x2af8
jb 0x47b216
push 0x4da3cc
push str.Too_many_controls.
mov ecx, 0x509c28
call fcn.00447960
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x14]
cmp edi, eax
jb 0x47b242
add eax, 0x3e8
shl eax, 6
push eax
push dword [esi + 0x18]
call fcn.004bb7b0
add esp, 8
test eax, eax
je 0x47b1f0
add dword [esi + 0x14], 0x3e8
mov edi, dword [esi + 0x10]
mov dword [esi + 0x18], eax
push 0x40
shl edi, 6
add edi, dword [esi + 0x18]
push 0
push edi
mov dword [ebp - 0x14], edi
call fcn.004b7c10
add esp, 0xc
lea eax, [ebp - 0x23c]
mov ecx, esi
push edi
push eax
call fcn.00482270
mov cl, byte [ebp + 8]
mov dword [ebp - 0x38], 0
cmp cl, 0x1a
jne 0x47b40e
mov ecx, dword [ebp + 0x10]
call fcn.00478960
mov ecx, eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
jne 0x47b2c5
mov ecx, dword [ebp + 0x10]
call fcn.00404d50
mov edx, dword [0x507aa0]
xor ecx, ecx
test edx, edx
jle 0x47b2be
mov esi, dword [0x507a9c]
mov edx, dword [esi + ecx*4]
mov dword [ebp - 0x38], edx
cmp dword [edx + 4], eax
mov edx, dword [0x507aa0]
je 0x47b309
inc ecx
cmp ecx, edx
jl 0x47b2a5
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
mov cl, byte [ebp + 8]
mov al, cl
mov byte [ebp - 0x16], al
cmp cl, 0x13
jne 0x47b471
cmp byte [esi + 0xc0], 0xff
jne 0x47b440
push 0x4da3cc
push str.Too_many_tab_controls.
mov ecx, 0x509c28
call fcn.00447960
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 - 0x1c]
mov byte [ebp - 0x16], 0x1a
mov al, byte [esi + 0xc1]
mov byte [edi + 6], al
mov al, byte [esi + 0xc2]
mov byte [edi + 7], al
cmp dword [esi + 0x10], 0
mov edx, dword [sym.imp.KERNEL32.dll_MulDiv]
jne 0x47b3b9
cmp dword [esi + 0x78], 0x80000000
jne 0x47b374
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x50936c]
push 0x60
push dword [0x509c14]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4fd540]
cvttsd2si eax, xmm0
push eax
call edx
mov edx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x78], eax
cmp dword [esi + 0x7c], 0x80000000
jne 0x47b3b0
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x50936c]
push 0x60
push dword [0x509c14]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4fd528]
cvttsd2si eax, xmm0
push eax
call edx
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x78]
mov dword [esi + 0x80], eax
mov ah, byte [ebp + 8]
mov byte [edi + 4], ah
mov edx, dword [ebp - 0x23c]
mov al, byte [esi + 0x45]
or edx, 0x10000000
mov byte [ebp - 0xa9], al
mov ecx, edx
mov dword [ebp - 0x23c], ecx
cmp ah, 6
jne 0x47b4af
or ecx, 0x4000
cmp byte [esi + 0x44], 0
mov dword [ebp - 0x23c], ecx
jne 0x47b4d5
mov ecx, edx
or ecx, 0x24000
mov dword [ebp - 0x23c], ecx
jmp 0x47b4d5
cmp cl, 0x14
jne 0x47b424
or byte [edi + 5], 0x80
mov byte [ebp + 8], 0x13
mov byte [ebp - 0x16], 0x13
jmp 0x47b2d6
cmp cl, 0x15
jne 0x47b2c8
mov cl, 0x13
mov word [ebp - 0xa7], 0x301
mov byte [ebp + 8], cl
jmp 0x47b2c8
mov byte [edi + 6], 0xff
mov ecx, esi
mov al, byte [esi + 0xc0]
mov byte [edi + 7], al
movzx eax, byte [esi + 0xc1]
push eax
call fcn.00487fc0
test eax, eax
je 0x47b322
push eax
mov ecx, esi
call fcn.004884d0
jmp 0x47b322
cmp cl, 0x19
jne 0x47b310
cmp dword [esi + 8], 0
je 0x47b4a6
push 0x4da3cc
push str.Too_many_status_bars.
mov ecx, 0x509c28
call fcn.00447960
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov byte [edi + 6], 0xff
jmp 0x47b322
cmp byte [esi + 0x44], 0
je 0x47b4c1
or ecx, 0x20000
mov dword [ebp - 0x23c], ecx
cmp ah, 2
je 0x47b4f9
cmp ah, 0x10
je 0x47b4f9
cmp ah, 0x11
je 0x47b4f9
cmp ah, 0x12
je 0x47b4f9
cmp byte [edi + 4], 0xa
mov byte [ebp - 0x33], 1
je 0x47b4eb
mov eax, dword [esi + 0x54]
mov dword [edi + 0x10], eax
mov ecx, dword [ebp - 0x23c]
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x1e0], eax
mov ah, byte [ebp + 8]
jmp 0x47b50f
mov byte [ebp - 0x33], 0
cmp ah, 0x12
jne 0x47b50f
mov dword [edi + 0x10], 0xff000000
mov ecx, dword [ebp - 0x23c]
movzx eax, ah
mov dword [ebp - 0x6c], eax
add eax, 0xfffffffc
cmp eax, 0x16
ja case.0x47b521.6
jmp dword [eax*4 + 0x47e6f4]
or ecx, 0x210000
mov dword [ebp - 0x23c], ecx
jmp case.0x47b521.6
or ecx, 0x210042
mov dword [ebp - 0x23c], ecx
jmp case.0x47b521.6
or ecx, 0x210080
or dword [ebp - 0x234], 0x200
mov dword [ebp - 0x23c], ecx
jmp case.0x47b521.6
or dword [ebp - 0x22c], 0x30
or ecx, 0x10008
or dword [ebp - 0x234], 0x200
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x228], 1
jmp case.0x47b521.6
or ecx, 0x10027
or dword [ebp - 0x234], 0x200
mov dword [ebp - 0x23c], ecx
jmp case.0x47b521.6
or ecx, 0x10000
or dword [ebp - 0x234], 0x200
mov dword [ebp - 0x23c], ecx
jmp case.0x47b521.6
or ecx, 0x36
mov dword [ebp - 0x23c], ecx
jmp case.0x47b521.6
or ecx, 0x1000c
mov dword [ebp - 0x23c], ecx
jmp case.0x47b521.6
or ecx, 1
mov dword [ebp - 0x23c], ecx
jmp case.0x47b521.6
movzx eax, byte [ebp - 0xa9]
xor edx, edx
cmp byte [ebp - 0xa7], dl
cmove eax, edx
or ecx, 0x10200
mov byte [ebp - 0xa9], al
mov dword [ebp - 0x23c], ecx
jmp case.0x47b521.6
or ecx, 0x4000000
mov dword [ebp - 0x23c], ecx
jmp case.0x47b521.6
test dword [esi + 0x3c], 0x40000
je 0x47b63d
or ecx, 0x100
or ecx, 0x800
mov dword [ebp - 0x23c], ecx
jmp case.0x47b521.6
cmp byte [0x50a903], 0
je case.0x47b521.6
or ecx, 0x10000
mov dword [ebp - 0x23c], ecx
jmp case.0x47b521.6
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47b521.6
push dword [esi + 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 0x47b68c
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.0x47b521.6
mov ecx, dword [ebp - 0x38]
push 0x4da3cc
push 0x4da3cc
call fcn.004826b0
push 0
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x23c]
mov ecx, esi
push eax
push dword [ebp + 0xc]
call fcn.0047f5a0
test eax, eax
jne 0x47b6e6
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 - 0x1e0]
cmp dl, 0xa
je 0x47b6f7
mov eax, dword [edi + 0x10]
cmp eax, 0xff000000
mov eax, dword [ebp - 0x1dc]
setne byte [ebp - 0xad]
cmp eax, 0xff000000
jne 0x47b721
cmp dl, 0xb
je 0x47b742
mov dword [ebp - 0x1dc], 0xffffffff
jmp 0x47b742
cmp eax, 0xffffffff
jne 0x47b742
mov ecx, dword [esi + 0x5c]
cmp ecx, 0xff000000
je 0x47b742
cmp dl, 0x12
je 0x47b742
cmp dl, 0x19
cmovne eax, ecx
mov dword [ebp - 0x1dc], eax
mov edx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x238]
movss xmm0, dword [ebp - 0x20c]
movss xmm1, dword [0x4fd510]
cmp edx, 0x80000000
jne 0x47b7e3
cmp dword [ebp - 0x210], 0x80000000
jne 0x47b7e3
comiss xmm0, xmm1
ja 0x47b7e3
mov eax, dword [ebp + 0x10]
mov edi, eax
test eax, eax
je 0x47b7d0
movzx eax, word [eax]
test ax, ax
je 0x47b7d0
mov esi, eax
nop word [eax + eax]
mov ecx, 0x4fa904
mov edx, 0xa
nop word [eax + eax]
cmp si, dx
je 0x47b7d4
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x47b7a0
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x47b790
mov ecx, dword [ebp - 0x238]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x214]
xor edi, edi
jmp 0x47b7ed
mov ecx, dword [ebp - 0x238]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x214]
mov edi, ecx
not edi
and edi, 0x2000
mov eax, dword [ebp - 0x230]
not eax
mov dword [ebp - 0x254], edi
and eax, dword [ebp - 0x234]
mov dword [ebp - 0x30], eax
mov eax, ecx
not eax
and eax, dword [ebp - 0x23c]
or eax, 0x40000000
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffffd
mov dword [ebp - 0x68], eax
cmp eax, 0x10
ja case.0x47b82b.10
movzx eax, byte [eax + 0x47e778]
jmp dword [eax*4 + 0x47e750]
mov ecx, dword [ebp - 0x10]
and ecx, 0xfffffff7
or ecx, 7
mov dword [ebp - 0x10], ecx
jmp case.0x47b82b.10
mov eax, dword [ebp - 0x10]
test al, 1
je 0x47b898
and eax, 0xfffffff1
or eax, 1
or eax, edi
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x14]
cmp byte [ebp + 8], 4
jne 0x47baef
cmp dword [edi + 0xc], 0
jne 0x47baef
test byte [edi + 5], 1
jne 0x47baef
mov ecx, dword [esi]
cmp word [ecx], 0x31
jne 0x47b9ca
cmp word [ecx + 2], 0
jne 0x47b9ca
xor eax, eax
mov word [ebp - 0xaf4], ax
jmp 0x47b9e2
and eax, 0xfffffff0
jmp 0x47b84d
mov eax, dword [ebp - 0x10]
and eax, 6
cmp al, 6
mov eax, dword [ebp - 0x10]
jne 0x47b8b2
and eax, 0xfffffff6
or eax, 6
jmp 0x47b84d
and eax, 0xfffffff3
or eax, 3
jmp 0x47b84d
mov eax, dword [ebp - 0x10]
and eax, 0xfffffff9
or eax, 9
test eax, 0x20000
je 0x47b84d
test ecx, 0x10000
jne 0x47b84d
or eax, 0x10000
jmp 0x47b84d
or dword [ebp - 0x10], 3
jmp case.0x47b82b.10
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
test al, 1
je 0x47b901
and eax, 0xfffffff1
or eax, 1
mov dword [ebp - 0x10], eax
jmp 0x47b855
and eax, 0xfffffff2
or eax, 2
mov dword [ebp - 0x10], eax
jmp 0x47b855
or dword [ebp - 0x10], 1
jmp case.0x47b82b.10
comiss xmm0, xmm1
ja 0x47b934
push 0xa
push dword [ebp + 0x10]
call fcn.004b7267
mov ecx, dword [ebp - 0x238]
add esp, 8
test eax, eax
je 0x47b93e
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 0x47b855
not ecx
and ecx, 0x201040
or eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x47b855
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
or ecx, 0x4000000
cmp dword [esi + 0x60], 0
je 0x47b976
test byte [edi + 5], 0x20
je 0x47b97f
cmp dword [edi + 0x10], 0xff000000
je 0x47b98e
or ecx, 0x2000
mov byte [ebp - 0xa9], 0
jmp 0x47b994
and ecx, 0xffffdfff
mov al, byte [ebp - 0xa6]
mov dword [ebp - 0x10], ecx
cmp edx, 0x80000000
je 0x47b9ad
and al, 0xfe
mov byte [ebp - 0xa6], al
cmp dword [ebp - 0x210], 0x80000000
je 0x47b855
and al, 0xfd
mov byte [ebp - 0xa6], al
jmp 0x47b855
lea edx, [ebp - 0xaf4]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x47b9d2
push dword [ebp + 0x10]
lea eax, [ebp - 0xaf4]
push str.Button_s
push 0x400
push eax
call fcn.0049bc10
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4da3cc
mov edx, 0x4fa920
lea ecx, [ebp - 0xaf4]
call fcn.0049c380
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4da3cc
mov edx, 0x4f94dc
lea ecx, [ebp - 0xaf4]
call fcn.0049c380
add esp, 0x40
lea ecx, [ebp - 0xaf4]
mov edx, 0x4f7264
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4da3cc
call fcn.0049c380
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4da3cc
mov edx, 0x4f7674
lea ecx, [ebp - 0xaf4]
call fcn.0049c380
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4da3cc
mov edx, 0x4fa1fc
lea ecx, [ebp - 0xaf4]
call fcn.0049c380
add esp, 0x48
lea ecx, [ebp - 0xaf4]
mov edx, 0x4fa924
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4da3cc
call fcn.0049c380
add esp, 0x18
lea eax, [ebp - 0xaf4]
mov ecx, 0x509c28
push 4
push 0
push eax
call fcn.00430d50
mov esi, eax
test esi, esi
je 0x47badf
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x47baec
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.00487fc0
mov ecx, eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x70], edi
test edi, edi
je 0x47bb30
mov eax, dword [esi + 0x18]
mov ecx, edi
shl ecx, 6
add eax, 0xffffffc0
add eax, ecx
mov ecx, dword [ebp - 0x40]
jmp 0x47bb36
lea eax, [ebp - 0x2f4]
cmp dword [ebp - 0x21c], 0x80000000
mov dword [ebp - 0x44], eax
jne 0x47bc2e
cmp dword [ebp - 0x218], 0x80000000
jne 0x47bc2e
test ecx, ecx
je 0x47bbc5
xor edx, edx
test edi, edi
je 0x47bba2
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 word [eax + eax]
cmp byte [ecx + 1], ah
jne 0x47bb8d
mov al, byte [ecx]
cmp al, byte [edi + 6]
jne 0x47bb8d
inc edx
add ecx, 0x40
sub esi, 1
jne 0x47bb80
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x1c]
test edx, edx
jne 0x47bbc5
mov ecx, dword [ebp - 0x40]
push ecx
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00488250
mov eax, dword [esi + 0x78]
add eax, dword [ebp - 0x7c]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x21c], eax
mov eax, dword [esi + 0x7c]
add eax, dword [ebp - 0x78]
jmp 0x47bbe0
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x21c], eax
mov eax, dword [esi + 0x8c]
add eax, dword [esi + 0x84]
add eax, dword [esi + 0x7c]
mov dword [ebp - 0x218], eax
mov ah, byte [ebp + 8]
cmp ah, 1
je 0x47bbf3
cmp ah, 0x17
jne 0x47bc31
test edi, edi
je 0x47bc31
mov edx, dword [ebp - 0x44]
mov al, byte [edx + 4]
cmp al, 1
je 0x47bc05
cmp al, 0x17
jne 0x47bc31
mov ecx, dword [ebp - 0x14]
mov al, byte [edx + 6]
cmp al, byte [ecx + 6]
jne 0x47bc31
mov al, byte [edx + 7]
cmp al, byte [ecx + 7]
jne 0x47bc31
push 0x60
push dword [0x509c14]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x218], eax
mov ah, byte [ebp + 8]
cmp ah, 0xe
je 0x47bc44
cmp ah, 0xa
je 0x47bc44
cmp ah, 0xb
je 0x47bc44
xor cl, cl
jmp 0x47bc46
mov cl, 1
mov ch, cl
mov byte [ebp + 0xf], cl
xor ch, 1
cmp dword [ebp - 0x210], 0x80000000
mov byte [ebp - 0x15], ch
jne 0x47bdda
movss xmm1, dword [0x4fd500]
comiss xmm1, dword [ebp - 0x20c]
jbe 0x47bdda
mov edi, dword [ebp - 0x68]
cmp edi, 0x17
ja case.0x47bc89.1
movzx eax, byte [edi + 0x47e7bc]
jmp dword [eax*4 + 0x47e78c]
mov edx, dword [ebp - 0x10]
mov eax, edx
and al, 3
mov dword [ebp - 0x20c], 0x40400000
cmp al, 1
je 0x47be19
test edx, 0x400
jne 0x47be19
xor ch, ch
mov byte [ebp - 0x15], ch
jmp 0x47be19
mov dword [ebp - 0x20c], 0x40000000
jmp 0x47be19
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
jne case.0x47bc89.1
test byte [ebp - 0x10], 4
je 0x47bcf0
mov dword [ebp - 0x20c], 0x40400000
jmp 0x47be19
mov dword [ebp - 0x20c], 0x3f800000
jmp case.0x47bc89.1
mov dword [ebp - 0x20c], 0x3f800000
jmp 0x47be19
test byte [ebp - 0x10], 0x40
je 0x47bd49
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x50936c]
push 0x60
push dword [0x509c14]
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 - 0x210], eax
jmp case.0x47bc89.1
mov dword [ebp - 0x20c], 0x40a00000
jmp case.0x47bc89.1
mov edx, dword [ebp - 0x10]
test dl, 2
je 0x47bd6f
mov dword [ebp - 0x20c], 0x40a00000
jmp 0x47be19
push dword [ebp - 0x1f0]
mov ecx, esi
push edx
call fcn.004877b0
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x15]
mov dword [ebp - 0x210], eax
jmp case.0x47bc89.1
test byte [ebp - 0x10], 4
je 0x47bd14
mov dword [ebp - 0x20c], 0x40a00000
jmp 0x47be19
mov dword [ebp - 0x20c], 0x41200000
jmp 0x47be19
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47bc89.1
lea ecx, [ebp - 0x268]
push ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x25c]
sub eax, dword [ebp - 0x264]
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x15]
mov dword [ebp - 0x210], eax
jmp case.0x47bc89.1
mov al, byte [ebp + 8]
cmp al, 7
je 0x47bde5
cmp al, 8
jne 0x47bdec
or dword [ebp - 0x10], 0x400
mov edi, dword [ebp - 0x68]
movss xmm0, dword [ebp - 0x20c]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], 0
jbe 0x47bfa5
movss xmm1, dword [0x4fd500]
cmp byte [ebp + 8], 3
je 0x47be28
mov al, byte [ebp - 0x16]
sub al, 7
cmp al, 1
ja 0x47be3c
movss xmm0, dword [ebp - 0x20c]
addss xmm0, xmm1
movss dword [ebp - 0x20c], xmm0
test ch, ch
je 0x47bf6f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul edx, dword [esi + 0x50], 0x94
mov ecx, dword [0x50936c]
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 - 0x2a4]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
movss xmm2, dword [ebp - 0x20c]
cvtps2pd xmm0, xmm2
addsd xmm0, qword [0x4fd520]
cvttsd2si ecx, xmm0
movd xmm0, dword [ebp - 0x2a4]
cvtdq2ps xmm0, xmm0
lea eax, [ecx - 1]
imul eax, dword [ebp - 0x294]
mulss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x4fd520]
cvttsd2si edx, xmm0
mov dword [ebp - 0x210], edx
cmp edi, 0x15
ja case.0x47beda.2
movzx eax, byte [edi + 0x47e7e8]
jmp dword [eax*4 + 0x47e7d4]
push 0x60
push dword [0x509c14]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x210], eax
test dword [ebp - 0x10], 0x100000
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
je 0x47bf10
push 3
call edi
add dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x20]
jmp 0x47bfad
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x50936c]
push 0x60
push dword [0x509c14]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x20]
jmp 0x47bfa7
mov eax, dword [esi + 0x7c]
imul eax, ecx
mov ecx, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x210], eax
jmp 0x47bfa7
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x20]
imul eax, dword [esi + 0x7c]
add eax, edx
mov dword [ebp - 0x210], eax
jmp 0x47bfa7
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], 0
test cl, cl
jne 0x47bfa5
push 0x60
push dword [0x509c14]
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
xor ecx, ecx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], ecx
jmp 0x47bfa7
xor ecx, ecx
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [ebp - 0x210], 0x80000000
mov edx, dword [ebp - 0x214]
mov byte [ebp - 0x31], 0
je 0x47bfcf
cmp edx, 0x80000000
jne 0x47c662
xor eax, eax
mov esi, 0x400
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
dec eax
cmp eax, 0x16
ja case.0x47bff0.2
movzx eax, byte [eax + 0x47e80c]
jmp dword [eax*4 + 0x47e800]
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je case.0x47bff0.2
test ecx, ecx
jne 0x47c039
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 [0x50936c]
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 - 0x2a4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov esi, dword [ebp - 0x290]
add esi, 4
test dword [ebp - 0x10], 0x200000
mov dword [ebp + 0xc], esi
je 0x47c065
push 2
call edi
add esi, eax
mov dword [ebp + 0xc], esi
mov esi, dword [ebp + 0x10]
cmp word [esi], 0
je 0x47c09b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47c073
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0xa
jne 0x47c09b
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x2a4]
add eax, ecx
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x214]
mov esi, 0x2c40
mov eax, dword [ebp - 0x20]
mov edi, esi
test eax, eax
jne 0x47c0e9
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 [0x50936c]
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x214]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov cl, byte [ebp + 8]
cmp cl, 1
jne 0x47c106
mov eax, dword [ebp - 0x10]
mov esi, eax
and esi, 0x80
or esi, 4
shl esi, 4
or esi, edi
jmp 0x47c148
cmp cl, 5
je 0x47c110
cmp cl, 6
jne 0x47c145
lea ecx, [ebp - 0x2a4]
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 - 0x290]
add edi, 2
mov edx, dword [ebp - 0x214]
add edi, eax
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 8]
mov dword [ebp + 0xc], edi
jmp 0x47c14b
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
test eax, 0x800000
je 0x47c17e
cmp cl, 1
je 0x47c15c
cmp cl, 0x17
jne 0x47c17e
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 - 0x214]
add eax, eax
mov dword [ebp - 0x74], eax
cmp edx, 0x80000000
je 0x47c189
or esi, 0x10
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
cmp edx, 0x80000000
jne 0x47c1b1
mov dword [ebp - 0x244], 0
jmp 0x47c1b9
sub edx, edi
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x210]
xor ecx, ecx
cmp eax, 0x80000000
cmove eax, ecx
mov dword [ebp - 0x240], eax
xor eax, eax
cmp byte [ebp + 8], 0x17
mov dword [ebp - 0x70], eax
jne 0x47c3b9
mov eax, dword [ebp - 0x10]
mov ecx, esi
or ecx, 0x800
and al, 4
cmove ecx, esi
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47c1f7
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.004b6200
mov edx, eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov edi, edx
mov esi, eax
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
movzx ecx, word [eax]
test cx, cx
je 0x47c372
cmp cx, 0x3c
jne 0x47c343
mov cx, word [esi + 2]
call fcn.00412f70
cmp ax, 0x41
jne 0x47c343
add esi, 4
movzx eax, word [esi]
cmp eax, 0x20
je 0x47c270
cmp eax, 9
jne 0x47c275
add esi, 2
jmp 0x47c263
cmp eax, 0x3e
je 0x47c2ea
nop word [eax + eax]
movzx ecx, word [esi]
mov eax, ecx
test eax, 0xffffff80
jne 0x47c2a6
push 0x107
push eax
call fcn.004be8e0
movzx ecx, word [esi]
add esp, 8
test eax, eax
je 0x47c2a6
add esi, 2
jmp 0x47c280
cmp cx, 0x3d
jne 0x47c343
mov eax, 0x22
cmp ax, word [esi + 2]
jne 0x47c343
push eax
lea eax, [esi + 4]
push eax
call fcn.004b7267
add esp, 8
test eax, eax
je 0x47c343
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x47c2e0
cmp eax, 9
jne 0x47c2e5
add esi, 2
jmp 0x47c2d3
cmp eax, 0x3e
jne 0x47c280
add esi, 2
je 0x47c343
mov edx, 0x4fa928
mov ecx, esi
call fcn.0049bfa0
mov edi, eax
mov dword [ebp - 0x258], edi
test edi, edi
je 0x47c340
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 0x47c338
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 0x47c320
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x258]
lea eax, [edi + 6]
mov edi, dword [ebp - 0x28]
jmp 0x47c355
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 0x47c243
mov edx, dword [ebp - 0x250]
xor eax, eax
mov word [edi], ax
cmp edi, edx
jbe 0x47c382
movzx eax, word [edi - 2]
mov dword [ebp - 0x70], eax
push dword [ebp - 0x58]
cmp word [edx], 0
lea eax, [ebp - 0x24c]
push eax
push 0xffffffffffffffff
mov eax, 0x4f97a4
cmovne eax, edx
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x250]
mov edi, eax
call fcn.004b6209
mov ecx, dword [ebp - 0x70]
add esp, 4
jmp 0x47c408
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x24c]
push eax
push 0xffffffffffffffff
mov eax, 0x4f97a4
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 0x47c406
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47c3f0
sub ecx, edx
sar ecx, 1
movzx ecx, word [esi + ecx*2 - 2]
jmp 0x47c408
xor ecx, ecx
mov esi, dword [ebp - 0x244]
mov eax, dword [ebp - 0x6c]
sub esi, dword [ebp - 0x24c]
sub eax, 1
je 0x47c431
sub eax, 3
je 0x47c428
sub eax, 8
je 0x47c431
jmp 0x47c455
cmp dword [ebp - 0x254], 0
jne 0x47c455
test cx, cx
je 0x47c455
movzx eax, cx
lea ecx, [ebp - 0x60]
push ecx
push eax
push eax
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
test eax, eax
je 0x47c455
mov eax, dword [ebp - 0x58]
test eax, eax
jns 0x47c455
sub esi, eax
mov eax, dword [ebp - 0x210]
mov cl, byte [ebp + 8]
cmp eax, 0x80000000
je 0x47c476
cmp edi, eax
jle 0x47c596
cmp cl, 0xc
je 0x47c596
mov edx, dword [ebp - 0x74]
add edx, edi
mov dword [ebp - 0x210], edx
cmp cl, 0xc
jne 0x47c567
push 0x60
push dword [0x509c14]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x210], eax
test dword [ebp - 0x10], 0x100000
je 0x47c4b7
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [ebp - 0x210], eax
mov edi, dword [ebp - 0x1c]
mov cl, byte [ebp + 8]
mov edx, dword [ebp - 0x214]
cmp edx, 0x80000000
je 0x47c4cf
cmp esi, edx
jle case.0x47bff0.2
mov edx, dword [ebp + 0xc]
add edx, esi
mov byte [ebp - 0x31], 1
mov dword [ebp - 0x214], edx
cmp cl, 4
jne case.0x47bff0.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
imul edx, dword [edi + 0x50], 0x94
add eax, eax
mov ecx, dword [0x50936c]
mov ecx, dword [edx + ecx + 0x84]
mov edx, dword [ebp - 0x214]
add ecx, eax
add edx, ecx
mov dword [ebp - 0x214], edx
mov edi, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
cmp edx, 0x80000000
jne case.0x47c560.1
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x50936c]
push 0x60
push dword [0x509c14]
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 - 0x68]
cmp eax, 0x17
ja case.0x47c560.1
movzx ecx, byte [eax + 0x47e848]
jmp dword [ecx*4 + 0x47e824]
mov edi, dword [ebp - 0x1c]
cmp cl, 4
jne 0x47c4bd
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x50936c]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
add eax, edx
mov dword [ebp - 0x210], eax
jmp 0x47c4ba
mov edi, dword [ebp - 0x1c]
jmp 0x47c4bd
mov dword [ebp - 0x214], edx
jmp case.0x47c560.1
lea eax, [edx + edx]
mov dword [ebp - 0x214], eax
jmp case.0x47c560.1
mov eax, dword [ebp - 0x10]
test al, 0x40
je 0x47c5f0
mov dword [ebp - 0x214], edx
jmp 0x47c66e
mov eax, dword [ebp - 0x10]
test al, 2
je 0x47c5be
push dword [ebp - 0x1f0]
mov ecx, edi
push eax
call fcn.004877b0
mov dword [ebp - 0x214], eax
jmp case.0x47c560.1
mov eax, dword [ebp - 0x10]
test al, 4
je 0x47c5be
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x50936c]
push 0x60
push dword [0x509c14]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
push eax
call esi
mov dword [ebp - 0x214], eax
jmp case.0x47c560.1
mov eax, dword [edi + 0x78]
lea eax, [edx + eax*2]
mov dword [ebp - 0x214], eax
jmp case.0x47c560.1
mov eax, dword [edi + 0x78]
lea eax, [eax + eax*2]
lea eax, [eax + edx*2]
mov dword [ebp - 0x214], eax
jmp case.0x47c560.1
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47c560.1
lea ecx, [ebp - 0x268]
push ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x260]
sub eax, dword [ebp - 0x268]
mov dword [ebp - 0x214], eax
jmp case.0x47c560.1
mov edi, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, dword [ebp - 0x10]
cmp byte [ebp + 8], 0xc
jne 0x47c777
test al, 4
jne 0x47c777
movss xmm0, dword [0x4fd500]
comiss xmm0, dword [ebp - 0x20c]
jbe 0x47c777
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47c6ca
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x50936c]
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 - 0x2a4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x60
push dword [0x509c14]
push 8
call esi
mov esi, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x2a4]
sub esi, eax
mov edx, dword [ebp - 0x10]
sub esi, ecx
test edx, 0x100000
je 0x47c712
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x2a4]
sub esi, eax
mov edx, dword [ebp - 0x10]
test esi, esi
jle 0x47c76d
mov eax, dword [ebp - 0x294]
add eax, ecx
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
addss xmm1, dword [0x4fd500]
comiss xmm1, dword [0x4fd510]
movss dword [ebp - 0x20c], xmm1
jbe 0x47c777
mov ecx, dword [ebp - 0x238]
not ecx
mov eax, ecx
and eax, 4
or edx, eax
mov dword [ebp - 0x10], edx
test dl, 4
je 0x47c777
and ecx, 0x201040
or edx, ecx
mov dword [ebp - 0x10], edx
jmp 0x47c777
mov dword [ebp - 0x20c], 0x3f800000
cmp byte [ebp - 0xa9], 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 0x47c7b5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [ebp + 0xf], 1
test eax, eax
je 0x47c7b9
mov byte [ebp + 0xf], 0
mov edx, dword [ebp - 0x14]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov byte [ebp - 0x34], 0
cmp byte [edx + 6], 0xff
jae 0x47c858
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47c872
push str.ahk_dlg
push dword [eax]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x47c823
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x218]
push 1
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x5c]
push ecx
push eax
push dword [edi + 4]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x40]
push 0xfffffffffffffff0
push dword [eax]
call esi
test eax, 0x10000000
je 0x47c86f
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 0x47c872
mov al, byte [ebp + 0xf]
mov byte [ebp - 0x34], al
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x6c]
dec eax
cmp eax, 0x19
ja case.0x47c868.20
jmp dword [eax*4 + 0x47e860]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
and ecx, 0xefffffff
mov dword [ebp - 0x10], ecx
jmp 0x47c85b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47c891
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47c893
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47c8a4
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47c8a6
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
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.0x47c868.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47c901
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47c903
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47c914
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47c916
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
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.0x47c868.20
mov eax, dword [ebp - 0x214]
xor ecx, ecx
mov edx, dword [ebp - 0x210]
cmp eax, 0x80000000
mov esi, dword [edi + 0xcc]
cmove eax, ecx
cmp edx, 0x80000000
mov dword [ebp - 0x214], eax
cmove edx, ecx
mov dword [ebp - 0x210], edx
test esi, esi
je 0x47c99c
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x47c99e
xor esi, esi
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47c9af
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47c9b1
xor ecx, ecx
push 0
push dword [0x507b10]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push edx
push eax
mov eax, dword [ebp - 0x218]
sub eax, esi
mov esi, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x21c]
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.0x47c868.20
push dword [ebp - 0x1cc]
mov ecx, edi
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push esi
push edx
call fcn.00482560
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47e169
mov byte [ebp - 0x16], 1
jmp 0x47e169
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47ca3b
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47ca3d
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47ca4e
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47ca50
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
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.0x47c868.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47caab
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47caad
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47cabe
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47cac0
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
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.0x47c868.20
test byte [ebp - 0x10], 1
je case.0x47c868.20
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x10]
cmp ecx, eax
jae 0x47cb54
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 0x47cb5a
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 0x47e169
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47cb98
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47cb9a
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47cbab
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47cbad
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
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.0x47c868.20
mov ecx, dword [ebp - 0x1d0]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x47e169
push 0
push ecx
push 0xf1
push eax
call esi
jmp 0x47e169
cmp dword [ebp - 0x1d8], 0
je 0x47cc33
cmp byte [edx + 4], 8
jne 0x47cc33
and ecx, 0xffffffbf
mov dword [ebp - 0x10], ecx
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47cc44
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47cc46
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47cc57
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47cc59
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4da3cc
push str.Combobox
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je 0x47cd9b
imul edx, dword [edi + 0x50], 0x94
movzx ecx, byte [ebp + 0xf]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [0x50936c]
push dword [edx + ecx + 0x90]
push 0x30
push eax
call esi
cmp byte [ebp - 0x15], 0
je 0x47cd93
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 [0x509c14]
sete al
push 8
lea eax, [eax*2 + 2]
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [ebp - 0x58]
add eax, esi
mov ecx, dword [ebp - 0x210]
lea eax, [eax + edi*2]
cmp ecx, eax
jge 0x47cd5a
mov ecx, eax
mov dword [ebp - 0x210], ecx
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push 1
push ecx
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
mov al, 1
mov byte [ebp - 0x16], al
mov byte [ebp - 0x29], al
jmp case.0x47c868.20
movss xmm0, dword [ebp - 0x20c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47cd2a
push 0x60
push dword [0x509c14]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x20c]
cvttss2si ecx, xmm0
add ecx, eax
add ecx, esi
jmp 0x47cd24
mov ecx, dword [ebp - 0x210]
jmp 0x47cd2d
mov al, byte [ebp - 0x16]
mov byte [ebp - 0x29], al
jmp case.0x47c868.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47cdb7
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47cdb9
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47cdca
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47cdcc
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4da3cc
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 0x47cd9b
mov eax, dword [ebp - 0x100]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47ce3e
lea ecx, [ebp - 0x1c8]
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 [0x50936c]
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 [0x509c14]
mov edi, eax
push 8
mov dword [ebp - 0x58], edi
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea esi, [edi + eax]
mov edi, dword [ebp - 0x10]
and edi, 0x100000
je 0x47ce98
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [ebp - 0x210]
cmp ecx, esi
jge 0x47cea6
mov ecx, esi
jmp 0x47cef6
movss xmm0, dword [ebp - 0x20c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47cefc
push 0x60
push dword [0x509c14]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, dword [ebp - 0x58]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x20c]
cvttss2si ecx, xmm0
add ecx, eax
mov dword [ebp - 0x210], ecx
test edi, edi
je 0x47cefc
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x210]
add ecx, eax
mov dword [ebp - 0x210], ecx
mov eax, dword [ebp - 0x14]
push 1
push ecx
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, dword [ebp - 0x1c]
mov al, 1
mov byte [ebp - 0x16], al
mov byte [ebp - 0x29], al
jmp case.0x47c868.20
mov eax, dword [ebp - 0x228]
cmp eax, 4
je 0x47cf3f
and ecx, 0xfffffffc
or ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47cf50
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47cf52
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47cf63
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47cf65
xor ecx, ecx
mov eax, dword [ebp - 0x210]
mov esi, 0xc8
push 0
push dword [0x507b10]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x214]
mov eax, dword [ebp - 0x218]
sub eax, edx
push eax
mov eax, dword [ebp - 0x21c]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4da3cc
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.0x47c868.20
push 0x3f8
call fcn.004bb7a0
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
jne 0x47cfe9
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47c868.20
push 0x3f8
mov dword [edi + 0x48], esi
push 0
push dword [esi + 0x10]
call fcn.004b7c10
mov eax, dword [esi + 0x10]
add esp, 0xc
mov dword [eax], 0xffffffff
mov ecx, dword [esi + 0x10]
mov al, byte [ebp - 0xa8]
mov byte [ecx + 5], al
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47d01e
or byte [eax + 5], 0x80
cmp dword [ebp - 0x228], 4
jne 0x47d03c
push 0
push 4
push 0x108e
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47d042
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x47d05b
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x1036
push dword [eax]
call esi
lea eax, [ebp - 0x23c]
mov ecx, edi
push eax
push dword [ebp - 0x14]
call fcn.00487950
cmp dword [ebp - 0x210], 0x80000000
jne case.0x47c868.20
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x50936c]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call esi
mov eax, dword [ebp - 0x228]
mov byte [ebp - 0x29], 1
sub eax, 1
je 0x47d1f4
sub eax, 3
je 0x47d1c6
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47d0ee
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x50936c]
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 - 0x2a4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [ebp - 0x228], 0
jne 0x47d18b
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 + 0x4fd680]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [ebp - 0x20c]
subss xmm0, dword [0x4fd500]
mulss xmm0, xmm1
call fcn.004d27b0
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 - 0x2a4]
cvtdq2ps xmm0, xmm0
add eax, 0x10
mulss xmm0, dword [ebp - 0x20c]
addss xmm0, xmm1
cvttss2si ecx, xmm0
add eax, ecx
jmp 0x47d217
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x2a4]
cmp eax, ecx
movss xmm0, dword [ebp - 0x20c]
cmovg ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
subss xmm0, dword [0x4fd500]
addss xmm1, xmm0
cvttss2si eax, xmm1
add eax, 0xb
jmp 0x47d217
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 - 0x20c]
cvttss2si eax, xmm0
add eax, 7
jmp 0x47d217
movss xmm0, dword [ebp - 0x20c]
push 0xffffffffffffffff
call fcn.004d27b0
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 - 0x214]
mov dword [ebp - 0x210], eax
push dword [ebp - 0x218]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x21c]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x47e169
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d253
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d255
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d266
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d268
xor ecx, ecx
mov eax, dword [ebp - 0x210]
mov esi, 0xc8
push 0
push dword [0x507b10]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x214]
mov eax, dword [ebp - 0x218]
sub eax, edx
push eax
mov eax, dword [ebp - 0x21c]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4da3cc
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.0x47c868.20
cmp dword [ebp - 0x1d0], 0
mov dword [edi + 0x4c], esi
je 0x47d2e4
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 - 0x23c]
mov ecx, edi
push eax
push esi
call fcn.00487a00
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x47d311
push eax
push 0
push 0x1109
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47d317
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x210], 0x80000000
jne case.0x47c868.20
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x50936c]
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 - 0x210], eax
cmp eax, 2
jge 0x47d37c
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x50936c]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x20c]
cvttss2si eax, xmm0
jmp 0x47d214
test cl, 4
jne 0x47d3bc
cmp dword [ebp - 0x1d8], 0
jge 0x47d3aa
and ecx, 0xffefff7f
jmp 0x47d3b9
mov eax, dword [ebp - 0x238]
not eax
and eax, 0x80
or ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47d3d1
test cl, 4
je 0x47d3d1
mov ecx, eax
call fcn.0049c8d0
mov esi, eax
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d3e4
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d3e6
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d3f7
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d3f9
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
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 0x47d4b5
test byte [ebp - 0x10], 0x20
je 0x47d46e
mov cx, word [ebp - 0xb0]
test cx, cx
je 0x47d46e
push 0
movzx eax, cx
push eax
push 0xcc
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1d8]
xor ecx, ecx
test eax, eax
push ecx
cmovs eax, ecx
push eax
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x14]
push 0xc5
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x47d4b5
lea ecx, [ebp - 0x1c8]
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.0x47c868.20
cmp esi, dword [ebp + 0x10]
je case.0x47c868.20
push esi
call fcn.004bb7ab
add esp, 4
jmp case.0x47c868.20
mov esi, dword [ebp + 0x10]
mov byte [ebp - 0x15], 0
cmp word [esi], 0
je 0x47d527
push str.LongDate
push esi
call fcn.004ba0a7
add esp, 8
test eax, eax
jne 0x47d501
mov eax, dword [ebp - 0x10]
and eax, 0xfffffff6
or eax, 4
mov dword [ebp - 0x10], eax
jmp 0x47d52a
push str.Time
push esi
call fcn.004ba0a7
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x47d521
and eax, 0xfffffffb
or eax, 9
mov dword [ebp - 0x10], eax
jmp 0x47d52a
mov byte [ebp - 0x15], 1
jmp 0x47d52a
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x208], 2
jne 0x47d539
or eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d54a
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d54c
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d55d
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d55f
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4da3cc
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.0x47c868.20
cmp byte [ebp - 0x15], 0
je 0x47d5ce
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 0x47d5d4
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x47d5f3
lea edx, [ebp - 0xdc]
push edx
push eax
push 0x1004
push ecx
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x208]
test edx, edx
je 0x47d61c
lea eax, [ebp - 0xfc]
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 0x47d61f
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
cmp eax, 0xff000000
je 0x47e169
push eax
push 1
push 0x1006
push ecx
call esi
jmp 0x47e169
cmp dword [ebp - 0xbc], 0
jne 0x47d66b
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47d66b
lea edx, [ebp - 0xfc]
mov ecx, eax
call fcn.0049b5d0
mov dword [ebp - 0xbc], eax
cmp eax, 3
jne 0x47d66b
or dword [ebp - 0x10], 2
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d67c
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d67e
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d68f
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d691
xor ecx, ecx
mov eax, dword [ebp - 0x210]
mov esi, 0x64
push 0
push dword [0x507b10]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x214]
test eax, eax
cmovs eax, esi
push eax
mov eax, dword [ebp - 0x218]
sub eax, edx
push eax
mov eax, dword [ebp - 0x21c]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4da3cc
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.0x47c868.20
mov esi, dword [ebp - 0x10]
mov ecx, eax
and esi, 2
je 0x47d718
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 - 0xb8]
test edx, edx
je 0x47d73d
lea ecx, [ebp - 0xdc]
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 - 0xbc]
test edx, edx
je 0x47d795
test esi, esi
je 0x47d77c
cmp edx, 1
jne 0x47d763
movups xmm0, xmmword [ebp - 0xfc]
mov eax, dword [ebp - 0x14]
movups xmmword [ebp - 0xec], xmm0
mov ecx, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0xfc]
push eax
push 0
push 0x1006
push ecx
call esi
jmp 0x47d79b
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xfc]
push ecx
push 0
push 0x1002
push eax
call esi
jmp 0x47d79b
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x10]
cmp eax, 0xff000000
je 0x47d7b4
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 [0x50936c]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call esi
cmp dword [ebp - 0x214], 0x80000000
mov byte [ebp - 0x29], 1
je 0x47d7f5
cmp dword [ebp - 0x210], 0x80000000
jne 0x47e169
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x1009
push dword [eax]
call esi
test eax, eax
je 0x47e169
mov ecx, dword [ebp - 0x214]
test ecx, ecx
jns 0x47d860
test byte [ebp - 0x10], 0x10
je 0x47d824
mov eax, dword [ebp - 0x4c]
jmp 0x47d841
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x1015
push dword [eax]
call esi
cmp eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x214]
cmovl eax, dword [ebp - 0x4c]
cmp ecx, 0x80000000
jne 0x47d84d
mov ecx, eax
jmp 0x47d85a
add eax, 6
imul eax, ecx
mov ecx, 0xfffffffa
sub ecx, eax
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x210]
cmp edx, 0x80000000
jne 0x47d942
movss xmm0, dword [ebp - 0x20c]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x210], edx
jbe 0x47d942
ucomiss xmm0, dword [0x4fd500]
lahf
test ah, 0x44
jnp 0x47d942
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47d8d5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x50936c]
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 - 0x2a4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [ebp - 0x10], 0x10
mov ecx, dword [ebp - 0x2a4]
mov eax, dword [ebp - 0x210]
je 0x47d8fa
add eax, 4
add eax, ecx
movss xmm2, dword [ebp - 0x20c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
subss xmm2, dword [0x4fd500]
cvttss2si eax, xmm0
movd xmm1, eax
lea eax, [ecx - 2]
mov ecx, dword [ebp - 0x214]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
subss xmm1, xmm0
cvttss2si edx, xmm1
mov dword [ebp - 0x210], edx
push 1
push edx
push ecx
jmp 0x47d226
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d95c
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d95e
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d96f
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d971
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4da3cc
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.0x47c868.20
mov ecx, dword [ebp + 0x10]
cmp word [ecx], 0
je 0x47d9ea
push 0
call fcn.004874f0
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 0x47d9f0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1d8]
test ecx, ecx
jle 0x47e169
push 6
push ecx
push 0x403
push eax
call esi
jmp 0x47e169
test cl, 0x10
je 0x47da32
cmp dword [edi + 8], 0
jne 0x47da26
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47da32
cmp byte [eax + 5], 0
jge 0x47da32
and ecx, 0xffffffef
mov byte [ebp - 0x15], 1
mov dword [ebp - 0x10], ecx
jmp 0x47da36
mov byte [ebp - 0x15], 0
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47da47
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47da49
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47da5a
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47da5c
xor ecx, ecx
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push esi
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4da3cc
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.0x47c868.20
mov cl, byte [ebp - 0x15]
test cl, cl
je 0x47dace
mov ecx, dword [ebp - 0x44]
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 0x47dc22
test byte [ebp - 0x10], 0x10
jne 0x47dae6
test cl, cl
je 0x47dc22
lea ecx, [ebp - 0x54]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x54]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
sub eax, ecx
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x48]
sub eax, edx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x218], edx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x84]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp byte [edi + 0xc7], 0
je 0x47dbc1
mov esi, dword [ebp - 0x10]
and esi, 4
je 0x47db8f
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x21c]
add dword [ebp - 0x4c], eax
add ecx, eax
push 1
push dword [ebp - 0x210]
mov dword [ebp - 0x21c], ecx
push eax
push dword [ebp - 0x218]
mov eax, dword [ebp - 0x14]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x80]
sub eax, ecx
add edx, dword [ebp - 0x214]
push 1
push eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x7c], edx
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [ebp - 0x44]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0x10]
jmp 0x47dbc9
mov edx, dword [ebp - 0x10]
mov esi, edx
and esi, 4
test esi, esi
je 0x47dbe0
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x21c], ecx
sub eax, ecx
jmp 0x47dbe6
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x54]
cmp byte [ebp - 0xae], 0
mov dword [ebp - 0x214], eax
jne 0x47dc3c
mov eax, dword [ebp - 0x44]
cmp byte [eax + 4], 9
jne 0x47dc2b
mov byte [ebp - 0xae], 1
test dl, 0x40
je 0x47dc16
mov dword [ebp - 0x200], 0x7fff
jmp 0x47dc3c
mov dword [ebp - 0x204], 0x7fff
jmp 0x47dc3c
cmp byte [ebp - 0xae], 0
jne 0x47dc3c
mov byte [ebp - 0xae], 1
mov dword [ebp - 0x200], 0x64
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x23c]
push eax
push esi
mov ecx, edi
call fcn.00487740
mov ecx, dword [ebp + 0x10]
call fcn.00417fc0
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 0x47e169
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47dc89
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47dc8b
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47dc9c
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dc9e
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4da3cc
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.0x47c868.20
lea eax, [ebp - 0x23c]
mov ecx, edi
push eax
push edx
call fcn.00487840
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je case.0x47c868.20
mov ecx, eax
call fcn.00417fc0
mov esi, dword [ebp - 0x14]
mov ecx, edi
push eax
push esi
call fcn.004877f0
push eax
push 1
push 0x405
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47e169
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47dd44
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47dd46
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47dd57
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dd59
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4da3cc
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.0x47c868.20
push dword [ebp - 0x10]
lea eax, [ebp - 0x23c]
mov ecx, edi
push eax
push edx
call fcn.00487a60
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47dde8
push 0
mov ecx, eax
call fcn.00417fc0
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 0x47e169
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 0x32], 0
jmp 0x47e169
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47de08
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47de0a
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47de1b
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47de1d
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4da3cc
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.0x47c868.20
cmp byte [ebp - 0xa7], 0
je 0x47dea1
lea eax, [ebp - 0x23c]
mov ecx, edi
push eax
push edx
call fcn.00488790
test eax, eax
jne 0x47de9e
mov esi, dword [ebp - 0x14]
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47c868.20
mov edx, dword [ebp - 0x14]
mov al, byte [ebp - 0xa6]
test al, al
je 0x47debc
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 0x487190
push 0xfffffffffffffffc
mov byte [edi + 0xc2], 0
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x508590], eax
jmp case.0x47c868.20
cmp byte [0x50bc18], 0
jne 0x47df3b
push 0x4fa4d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x47df3b
push str.AtlAxWinInit
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47df2b
call eax
test eax, eax
setne al
mov byte [0x50bc18], al
jmp 0x47df30
mov al, byte [0x50bc18]
test al, al
jne 0x47df3b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47df4c
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47df4e
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47df5f
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47df61
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
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.0x47c868.20
mov ecx, eax
call fcn.00474400
mov ecx, eax
test ecx, ecx
jne 0x47dfce
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47c868.20
mov eax, dword [esi + 8]
push ecx
test eax, eax
je 0x47dfe2
mov ecx, eax
call fcn.004a0140
jmp case.0x47c868.20
mov eax, dword [ecx]
call dword [eax + 8]
jmp case.0x47c868.20
mov si, word [ebp - 0xa4]
test si, si
jne 0x47e013
push 0x4da3cc
push str.A_window_class_is_required.
mov ecx, 0x509c28
call fcn.00447960
mov esi, eax
jmp 0x47e6d4
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e024
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e026
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e037
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e039
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 0
push dword [0x507b10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
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.0x47c868.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.0x47c868.20
mov ecx, dword [ebp - 0x1dc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 8], eax
cmp ecx, 0xffffffff
je 0x47e169
push ecx
push 0
push 0x2001
push eax
call esi
jmp 0x47e169
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je case.0x47c868.20
mov eax, dword [ecx + 4]
mov dword [edx], eax
cmp dword [ecx + 0xa8], 0
jne 0x47e0ec
mov eax, dword [ebp - 0x214]
mov dword [ecx + 0xa8], eax
cmp dword [ecx + 0xac], 0
jne 0x47e101
mov eax, dword [ebp - 0x210]
mov dword [ecx + 0xac], eax
mov eax, dword [edi + 0x10]
add eax, 3
push eax
push 0xfffffffffffffff4
push dword [edx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [edi + 0xcc]
test edx, edx
je 0x47e123
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x47e125
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e136
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e138
xor ecx, ecx
mov eax, dword [ebp - 0x218]
push 1
push dword [ebp - 0x210]
sub eax, edx
push dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x47e18c
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x47e182
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 0x47e1af
push 0x4da3cc
push str.Cant_create_control.
mov ecx, 0x509c28
call fcn.00447960
mov esi, eax
jmp 0x47e6d4
mov al, byte [ebp - 0x31]
inc dword [edi + 0x10]
mov edx, dword [ebp - 0x88]
mov byte [edi + 0xc7], al
mov eax, dword [ebp - 0x220]
test eax, eax
jne 0x47e1cf
test edx, edx
je 0x47e24d
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x47e241
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x14]
push 2
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x248], 0xffffffff
mov eax, dword [eax]
cdq
mov dword [ebp - 0x60], edx
lea edx, [ebp - 0x7c]
push edx
push 1
lea edx, [ebp - 0x268]
mov dword [ebp - 0x5c], 1
push edx
mov dword [ebp - 0x64], eax
lea edx, [ebp - 0x2b4]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x1c]
push dword [ebp - 0x88]
call fcn.004bb7ab
add esp, 4
jmp 0x47e24d
mov ecx, dword [ebp - 0x14]
push dword [ecx]
mov ecx, eax
call fcn.0049f530
mov edx, dword [ebp - 0x14]
cmp byte [edx + 4], 6
jne 0x47e277
mov ecx, dword [ebp - 0x1d0]
test ecx, ecx
je 0x47e271
mov eax, dword [edi + 0x10]
push ecx
dec eax
mov ecx, edi
push eax
push edx
call fcn.00487630
mov edx, dword [ebp - 0x14]
mov byte [edi + 0x44], 1
jmp 0x47e27b
mov byte [edi + 0x44], 0
test dword [ebp - 0x238], 0x10000000
je 0x47e28b
or byte [edx + 5], 8
test dword [ebp - 0x23c], 0x8000000
je 0x47e29b
or byte [edx + 5], 0x10
cmp byte [ebp - 0x32], 0
jne 0x47e2c5
cmp dword [edx + 0x10], 0xff000000
je 0x47e2b9
mov al, byte [edx + 4]
cmp al, 5
je 0x47e2c5
cmp al, 6
je 0x47e2c5
cmp al, 3
je 0x47e2c5
cmp byte [edx + 4], 3
jne 0x47e2df
test byte [edx + 5], 0x40
je 0x47e2df
mov eax, dword [ebp - 0x14]
mov edx, 0x4da3cc
push 0x4da3cc
mov ecx, dword [eax]
call fcn.0049de20
mov edx, dword [ebp - 0x14]
add esp, 4
cmp byte [ebp - 0x29], 0
jne 0x47e309
cmp byte [ebp - 0x33], 0
je 0x47e309
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x50936c]
push dword [ecx + eax + 0x90]
push 0x30
push dword [edx]
call esi
cmp dword [ebp - 0xb4], 4
jne 0x47e31f
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0xb
push dword [eax]
call esi
push 0
push dword [ebp - 0x208]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.004822e0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 4], 0x13
jne 0x47e3f2
movss xmm0, dword [ebp - 0x20c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47e3dd
lea ecx, [ebp - 0x54]
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 0x47e383
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 0x47e387
mov byte [ebp + 0x13], 0
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x14]
push 1
push 0x1328
push dword [eax]
call esi
cmp byte [ebp + 0x13], 0
je 0x47e3af
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 - 0x48]
sub eax, dword [ebp - 0x50]
push 1
push eax
push dword [ebp - 0x214]
mov dword [ebp - 0x210], eax
push dword [ebp - 0x218]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x21c]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x47e3ef
cmp byte [ebp - 0xa7], 0
je 0x47e3f2
push dword [eax]
mov ecx, edi
call fcn.00488890
mov eax, dword [ebp - 0x14]
cmp byte [ebp - 0x16], 0
je 0x47e44d
lea ecx, [ebp - 0x54]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
cmp byte [ebp + 8], 9
mov dword [ebp - 0x214], eax
jne 0x47e44d
test dword [ebp - 0x10], 0x100000
je 0x47e44d
mov ecx, dword [ebp - 0x1d4]
test ecx, ecx
jns 0x47e43e
lea ecx, [eax + eax*2]
mov dword [ebp - 0x1d4], 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 0x47e4b3
mov eax, dword [ebp - 0x24]
cmp eax, dword [edi + 4]
jne 0x47e4b3
cmp byte [ebp - 0x34], 0
je 0x47e49a
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x54]
push eax
push dword [edi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
lea eax, [ebp - 0x54]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x40]
cmp byte [ecx + 5], 0
jge 0x47e4b3
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 0x47e4c9
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [ebp + 8], 0x19
je 0x47e6cf
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x24]
cmp edx, ecx
je 0x47e511
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x218]
push 1
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x5c]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], edi
jmp 0x47e51d
mov edi, dword [ebp - 0x218]
mov esi, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x210]
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 0x47e57f
cmp byte [ebp - 0xa6], 0
jne 0x47e57f
cmp edx, dword [eax + 0x90]
jle 0x47e571
mov dword [eax + 0x90], edx
cmp ecx, dword [eax + 0x94]
jle 0x47e57f
mov dword [eax + 0x94], ecx
cmp byte [ebp - 0xaa], 0
jne 0x47e5bf
mov eax, dword [eax + 0x10]
cmp eax, 1
je 0x47e5bc
cmp eax, 2
jne 0x47e5a1
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
cmp byte [eax + 4], 0x19
je 0x47e5bc
mov edi, dword [ebp - 0x1c]
cmp edx, dword [edi + 0xa0]
jle 0x47e5b2
mov dword [edi + 0xa0], edx
cmp ecx, dword [edi + 0xa4]
jle 0x47e5da
jmp 0x47e5d4
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 0x47e612
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e612
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 0x47e63e
mov ecx, dword [edi + 0xcc]
test ecx, ecx
je 0x47e63e
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 - 0xa0]
movss dword [ecx + 0x24], xmm0
movss xmm0, dword [ebp - 0x9c]
movss dword [ecx + 0x28], xmm0
movss xmm0, dword [ebp - 0x98]
movss dword [ecx + 0x2c], xmm0
movss xmm0, dword [ebp - 0x94]
movss dword [ecx + 0x30], xmm0
mov al, byte [ebp - 0x90]
mov byte [ecx + 0x34], al
mov al, byte [ebp - 0x8f]
mov byte [ecx + 0x35], al
mov al, byte [ebp - 0x8e]
mov byte [ecx + 0x36], al
mov al, byte [ebp - 0x8d]
mov byte [ecx + 0x37], al
mov al, byte [ebp - 0x8c]
mov byte [ecx + 0x38], al
mov al, byte [ebp - 0x8b]
mov byte [ecx + 0x39], al
mov eax, dword [ebp - 0x21c]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x218]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x214]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x210]
mov dword [ecx + 0x20], eax
mov esi, 1
lea ecx, [ebp - 0x2f4]
call fcn.0047e8d0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc