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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be380
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0c
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov esi, dword [edi + 0x10]
cmp esi, 0x2af8
jb 0x47c066
push 0x4bfba0
push str.Too_many_controls.
mov ecx, 0x4eb958
call fcn.0043ec50
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 0x47c093
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 0x47c040
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 - 0x10], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x240]
push esi
push eax
call fcn.00483910
mov al, byte [ebp + 8]
mov dword [ebp - 0x44], 0
mov byte [ebp + 0xb], al
cmp al, 0x1a
jne 0x47c157
xor esi, esi
cmp dword [0x4e97ec], esi
jle 0x47c109
mov eax, dword [0x4e97e8]
push dword [ebp + 0x10]
mov eax, dword [eax + esi*4]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x47c0fa
inc esi
cmp esi, dword [0x4e97ec]
jl 0x47c0d5
jmp 0x47c109
mov eax, dword [0x4e97e8]
mov ecx, dword [eax + esi*4]
mov dword [ebp - 0x44], ecx
test ecx, ecx
jne 0x47c13d
mov ecx, dword [ebp + 0x10]
call fcn.0041eef0
mov edx, dword [0x4e97ec]
xor ecx, ecx
test edx, edx
jle 0x47c136
mov esi, dword [0x4e97e8]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x44], edi
cmp dword [edi + 4], eax
mov edi, dword [ebp - 0x18]
je 0x47c13d
inc ecx
cmp ecx, edx
jl 0x47c123
mov dword [ebp - 0x44], 0
mov esi, dword [ebp - 0x10]
mov al, byte [edi + 0xc1]
mov byte [esi + 6], al
mov al, byte [edi + 0xc2]
mov byte [esi + 7], al
jmp 0x47c1f5
cmp al, 0x14
jne 0x47c165
or byte [esi + 5], 0x80
mov byte [ebp + 0xb], 0x13
jmp 0x47c180
cmp al, 0x15
jne 0x47c178
mov byte [ebp + 0xb], 0x13
mov word [ebp - 0xab], 0x301
jmp 0x47c180
cmp al, 0x13
jne 0x47c2f6
cmp byte [edi + 0xc0], 0xff
jne 0x47c1af
push 0x4bfba0
push str.Too_many_tab_controls.
mov ecx, 0x4eb958
call fcn.0043ec50
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
mov al, byte [edi + 0xc0]
mov byte [esi + 7], al
mov ch, byte [edi + 0xc1]
cmp ch, 0xff
je 0x47c1f5
mov esi, dword [edi + 0x10]
xor cl, cl
xor eax, eax
test esi, esi
je 0x47c1f2
mov edi, dword [edi + 0x18]
lea edx, [edi + 4]
cmp byte [edx], 0x13
jne 0x47c1e7
cmp cl, ch
je 0x47c2db
inc cl
inc eax
add edx, 0x40
cmp eax, esi
jb 0x47c1d8
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
cmp dword [edi + 0x10], 0
mov edx, dword [sym.imp.KERNEL32.dll_MulDiv]
jne 0x47c28c
cmp dword [edi + 0x78], 0x80000000
jne 0x47c247
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4eb09c]
push 0x60
push dword [0x4eb944]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4e1138]
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 0x47c283
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4eb09c]
push 0x60
push dword [0x4eb944]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4e1120]
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 + 0xb]
mov byte [esi + 4], ah
mov edx, dword [ebp - 0x240]
mov al, byte [edi + 0x45]
or edx, 0x10000000
mov byte [ebp - 0xad], al
mov ecx, edx
mov al, byte [edi + 0x44]
mov dword [ebp - 0x240], ecx
cmp ah, 6
jne 0x47c333
or ecx, 0x4000
mov dword [ebp - 0x240], ecx
test al, al
jne 0x47c357
mov ecx, edx
or ecx, 0x24000
mov dword [ebp - 0x240], ecx
jmp 0x47c357
shl eax, 6
add eax, edi
mov edi, dword [ebp - 0x18]
je 0x47c1f2
push eax
mov ecx, edi
call fcn.0048a200
jmp 0x47c1f2
cmp al, 0x19
jne 0x47c140
cmp dword [edi + 8], 0
je 0x47c32a
push 0x4bfba0
push str.Too_many_status_bars.
mov ecx, 0x4eb958
call fcn.0043ec50
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 0x47c1f5
test al, al
je 0x47c343
or ecx, 0x20000
mov dword [ebp - 0x240], ecx
cmp ah, 2
je 0x47c37b
cmp ah, 0x10
je 0x47c37b
cmp ah, 0x11
je 0x47c37b
cmp ah, 0x12
je 0x47c37b
cmp byte [esi + 4], 0xa
mov byte [ebp - 0x3f], 1
je 0x47c36d
mov eax, dword [edi + 0x54]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 0x240]
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x1e4], eax
mov ah, byte [ebp + 0xb]
jmp 0x47c391
mov byte [ebp - 0x3f], 0
cmp ah, 0x12
jne 0x47c391
mov dword [esi + 0x10], 0xff000000
mov ecx, dword [ebp - 0x240]
mov edx, dword [sym.imp.USER32.dll_SetWindowLongW]
movzx eax, ah
mov dword [ebp - 0x54], eax
add eax, 0xfffffffc
mov dword [ebp - 0x58], edx
cmp eax, 0x16
ja case.0x47c3ac.6
jmp dword [eax*4 + 0x47f828]
or ecx, 0x210000
mov dword [ebp - 0x240], ecx
jmp case.0x47c3ac.6
or ecx, 0x210042
mov dword [ebp - 0x240], ecx
jmp case.0x47c3ac.6
or ecx, 0x210080
or dword [ebp - 0x238], 0x200
mov dword [ebp - 0x240], ecx
jmp case.0x47c3ac.6
or dword [ebp - 0x230], 0x30
or ecx, 0x10008
or dword [ebp - 0x238], 0x200
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x22c], 1
jmp case.0x47c3ac.6
or ecx, 0x10027
or dword [ebp - 0x238], 0x200
mov dword [ebp - 0x240], ecx
jmp case.0x47c3ac.6
or ecx, 0x10000
or dword [ebp - 0x238], 0x200
mov dword [ebp - 0x240], ecx
jmp case.0x47c3ac.6
or ecx, 0x36
mov dword [ebp - 0x240], ecx
jmp case.0x47c3ac.6
or ecx, 0x1000c
mov dword [ebp - 0x240], ecx
jmp case.0x47c3ac.6
or ecx, 1
mov dword [ebp - 0x240], ecx
jmp case.0x47c3ac.6
movzx eax, byte [ebp - 0xad]
xor edx, edx
cmp byte [ebp - 0xab], dl
cmove eax, edx
or ecx, 0x10200
mov byte [ebp - 0xad], al
mov dword [ebp - 0x240], ecx
jmp case.0x47c3ac.6
or ecx, 0x4000000
mov dword [ebp - 0x240], ecx
jmp case.0x47c3ac.6
test dword [edi + 0x3c], 0x40000
je 0x47c4c8
or ecx, 0x100
or ecx, 0x800
mov dword [ebp - 0x240], ecx
jmp case.0x47c3ac.6
cmp byte [0x4ec633], 0
je case.0x47c3ac.6
or ecx, 0x10000
mov dword [ebp - 0x240], ecx
jmp case.0x47c3ac.6
mov eax, dword [ebp - 0x44]
test eax, eax
je case.0x47c3ac.6
push dword [edi + 4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x3c]
test eax, eax
jns 0x47c517
and eax, 0x3fffffff
or eax, 0x40000000
mov dword [ecx + 0x3c], eax
push eax
push 0xfffffffffffffff0
push dword [ecx + 4]
call dword [ebp - 0x58]
mov eax, dword [ebp - 0x44]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne case.0x47c3ac.6
mov ecx, dword [ebp - 0x44]
push 0x4bfba0
push 0x4bfba0
call fcn.00483d60
push 0
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x240]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call fcn.00480870
test eax, eax
jne 0x47c56e
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 + 0xb]
mov eax, dword [ebp - 0x1e4]
cmp dl, 0xa
je 0x47c57f
mov eax, dword [esi + 0x10]
cmp eax, 0xff000000
mov eax, dword [ebp - 0x1e0]
setne byte [ebp - 0xb1]
cmp eax, 0xff000000
jne 0x47c5a9
cmp dl, 0xb
je 0x47c5ca
mov dword [ebp - 0x1e0], 0xffffffff
jmp 0x47c5ca
cmp eax, 0xffffffff
jne 0x47c5ca
mov ecx, dword [edi + 0x5c]
cmp ecx, 0xff000000
je 0x47c5ca
cmp dl, 0x12
je 0x47c5ca
cmp dl, 0x19
cmovne eax, ecx
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x218], 0x80000000
mov edi, dword [ebp - 0x23c]
movss xmm1, dword [0x4e1108]
jne 0x47c641
cmp dword [ebp - 0x214], 0x80000000
jne 0x47c641
movss xmm0, dword [ebp - 0x210]
comiss xmm0, xmm1
ja 0x47c641
mov eax, dword [ebp + 0x10]
mov esi, eax
test eax, eax
je 0x47c63d
movzx eax, word [eax]
test ax, ax
je 0x47c63d
nop
movzx edx, ax
mov ecx, 0x4de390
mov eax, 0xa
nop dword [eax]
cmp dx, ax
je 0x47c641
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x47c620
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x47c610
xor ecx, ecx
jmp 0x47c64b
mov ecx, edi
not ecx
and ecx, 0x2000
mov eax, dword [ebp - 0x234]
mov edx, edi
not eax
mov dword [ebp - 0x88], ecx
and eax, dword [ebp - 0x238]
not edx
and edx, dword [ebp - 0x240]
mov dword [ebp - 0x30], eax
or edx, 0x40000000
mov eax, dword [ebp - 0x54]
add eax, 0xfffffffd
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x4c], eax
cmp eax, 0x10
ja case.0x47c68a.10
movzx eax, byte [eax + 0x47f8ac]
jmp dword [eax*4 + 0x47f884]
and edx, 0xfffffff7
or edx, 7
jmp 0x47c6a6
test dl, 1
je 0x47c6f5
and edx, 0xfffffff1
or edx, 1
or edx, ecx
mov dword [ebp - 0x14], edx
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp byte [ebp + 0xb], 4
jne 0x47c996
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x47c996
test byte [esi + 5], 1
jne 0x47c996
mov ecx, dword [ecx]
cmp word [ecx], 0x31
jne 0x47c82b
cmp word [ecx + 2], 0
jne 0x47c82b
xor eax, eax
mov word [ebp - 0xb18], ax
jmp 0x47c843
and edx, 0xfffffff0
jmp 0x47c6a4
mov eax, edx
and eax, 6
cmp al, 6
jne 0x47c70b
and edx, 0xfffffff6
or edx, 6
jmp 0x47c6a4
and edx, 0xfffffff3
or edx, 3
jmp 0x47c6a4
and edx, 0xfffffff9
or edx, 9
test edx, 0x20000
je 0x47c6a4
test edi, 0x10000
jne 0x47c6a4
or edx, 0x10000
jmp 0x47c6a4
or edx, 3
jmp 0x47c6a6
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
test dl, 1
je 0x47c759
and edx, 0xfffffff1
or edx, 1
mov dword [ebp - 0x14], edx
jmp 0x47c6af
and edx, 0xfffffff2
or edx, 2
mov dword [ebp - 0x14], edx
jmp 0x47c6af
or edx, 1
jmp 0x47c6a6
movss xmm0, dword [ebp - 0x210]
comiss xmm0, xmm1
ja 0x47c797
push 0xa
push dword [ebp + 0x10]
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov edi, dword [ebp - 0x23c]
add esp, 8
mov edx, dword [ebp - 0x14]
test eax, eax
je 0x47c7a3
mov eax, edi
not eax
and eax, 4
or edx, eax
mov dword [ebp - 0x14], edx
test dl, 4
je case.0x47c68a.10
not edi
and edi, 0x201040
or edx, edi
jmp 0x47c6a6
mov ecx, dword [ebp - 0x18]
or edx, 0x4000000
mov esi, dword [ebp - 0x10]
cmp dword [ecx + 0x60], 0
je 0x47c7d3
test byte [esi + 5], 0x20
je 0x47c7dc
cmp dword [esi + 0x10], 0xff000000
je 0x47c7eb
or edx, 0x2000
mov byte [ebp - 0xad], 0
jmp 0x47c7f1
and edx, 0xffffdfff
cmp dword [ebp - 0x218], 0x80000000
mov al, byte [ebp - 0xaa]
mov dword [ebp - 0x14], edx
je 0x47c80e
and al, 0xfe
mov byte [ebp - 0xaa], al
cmp dword [ebp - 0x214], 0x80000000
je 0x47c6af
and al, 0xfd
mov byte [ebp - 0xaa], al
jmp 0x47c6af
lea edx, [ebp - 0xb18]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x47c833
push dword [ebp + 0x10]
lea eax, [ebp - 0xb18]
push str.Button_s
push 0x400
push eax
call fcn.004a1b60
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4bfba0
mov edx, 0x4de3ac
lea ecx, [ebp - 0xb18]
call fcn.004a2310
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4bfba0
mov edx, 0x4dcc44
lea ecx, [ebp - 0xb18]
call fcn.004a2310
add esp, 0x40
lea ecx, [ebp - 0xb18]
mov edx, 0x4da3c8
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4bfba0
call fcn.004a2310
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4bfba0
mov edx, 0x4da7dc
lea ecx, [ebp - 0xb18]
call fcn.004a2310
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4bfba0
mov edx, 0x4de3b0
lea ecx, [ebp - 0xb18]
call fcn.004a2310
add esp, 0x48
lea ecx, [ebp - 0xb18]
mov edx, 0x4de3b4
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4bfba0
call fcn.004a2310
add esp, 0x18
cmp word [ebp - 0xb18], 0
je 0x47c986
mov esi, dword [0x4ebf78]
test esi, esi
je 0x47c951
lea eax, [ebp - 0xb18]
push eax
push dword [esi + 4]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x47c97a
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x47c933
push 0
push 0
lea eax, [ebp - 0xb18]
mov ecx, 0x4eb958
push eax
call fcn.0042eac0
mov esi, eax
test esi, esi
je 0x47c986
cmp dword [esi + 0x14], 4
jg 0x47c986
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x47c988
test esi, esi
je 0x47c988
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x47c988
xor esi, esi
mov ecx, dword [edi]
test ecx, ecx
je 0x47c994
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi], esi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x38], 0
mov dl, byte [esi + 6]
mov byte [ebp - 0x31], dl
cmp dl, 0xff
je 0x47c9e1
mov eax, dword [ebp - 0x18]
xor cl, cl
mov esi, dword [eax + 0x10]
test esi, esi
je 0x47c9d7
mov edi, dword [eax + 0x18]
lea eax, [edi + 4]
nop dword [eax]
cmp byte [eax], 0x13
jne 0x47c9cc
cmp cl, dl
je 0x47ca0e
add cl, 1
inc dword [ebp - 0x38]
add eax, 0x40
cmp dword [ebp - 0x38], esi
jb 0x47c9c0
mov dword [ebp - 0x38], 0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x30c], 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 4], 0
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x48], edx
test edx, edx
je 0x47ca1b
mov eax, dword [edi + 0x18]
mov ecx, edx
shl ecx, 6
add eax, 0xffffffc0
add eax, ecx
jmp 0x47ca21
mov eax, dword [ebp - 0x38]
shl eax, 6
add eax, edi
mov dword [ebp - 0x38], eax
jmp 0x47c9de
lea eax, [ebp - 0x318]
cmp dword [ebp - 0x220], 0x80000000
mov dword [ebp - 0x70], eax
jne 0x47cb07
cmp dword [ebp - 0x21c], 0x80000000
jne 0x47cb07
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x47ca9f
xor ecx, ecx
test edx, edx
je 0x47ca7f
mov eax, dword [edi + 0x18]
add eax, 6
mov dl, byte [esi + 7]
cmp byte [eax + 1], dl
mov edx, dword [ebp - 0x48]
jne 0x47ca6d
mov dl, byte [ebp - 0x31]
cmp byte [eax], dl
mov edx, dword [ebp - 0x48]
jne 0x47ca6d
inc ecx
add eax, 0x40
sub edx, 1
mov dword [ebp - 0x48], edx
jne 0x47ca57
test ecx, ecx
jne 0x47ca9f
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.00489f80
mov eax, dword [edi + 0x78]
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x220], eax
mov eax, dword [edi + 0x7c]
add eax, dword [ebp - 0x5c]
jmp 0x47caba
mov eax, dword [edi + 0x80]
mov dword [ebp - 0x220], eax
mov eax, dword [edi + 0x8c]
add eax, dword [edi + 0x84]
add eax, dword [edi + 0x7c]
mov dl, byte [ebp + 0xb]
mov dword [ebp - 0x21c], eax
cmp dl, 1
je 0x47cacd
cmp dl, 0x17
jne 0x47cb0a
cmp dword [edi + 0x10], 0
je 0x47cb0a
mov ecx, dword [ebp - 0x70]
mov al, byte [ecx + 4]
cmp al, 1
je 0x47cae1
cmp al, 0x17
jne 0x47cb0a
mov al, byte [ecx + 6]
cmp al, byte [esi + 6]
jne 0x47cb0a
mov al, byte [ecx + 7]
cmp al, byte [esi + 7]
jne 0x47cb0a
push 0x60
push dword [0x4eb944]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x21c], eax
mov dl, byte [ebp + 0xb]
cmp dl, 0xe
je 0x47cb1d
cmp dl, 0xa
je 0x47cb1d
cmp dl, 0xb
je 0x47cb1d
xor cl, cl
jmp 0x47cb1f
mov cl, 1
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
mov ch, cl
xor ch, 1
mov byte [ebp + 0xf], cl
cmp dword [ebp - 0x214], 0x80000000
mov byte [ebp - 0x19], ch
mov dword [ebp - 0x48], eax
jne 0x47ccdf
movss xmm1, dword [0x4e10f8]
comiss xmm1, dword [ebp - 0x210]
jbe 0x47ccdf
mov esi, dword [ebp - 0x4c]
cmp esi, 0x17
ja case.0x47cb6a.1
movzx eax, byte [esi + 0x47f8f0]
jmp dword [eax*4 + 0x47f8c0]
mov edx, dword [ebp - 0x14]
mov eax, edx
and al, 3
mov dword [ebp - 0x210], 0x40400000
cmp al, 1
je 0x47cd1e
test edx, 0x400
jne 0x47cd1e
xor ch, ch
mov byte [ebp - 0x19], ch
jmp 0x47cd1e
mov dword [ebp - 0x210], 0x40a00000
jmp 0x47cd1e
mov dword [ebp - 0x210], 0x40000000
jmp 0x47cd30
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
jne case.0x47cb6a.1
mov edx, dword [ebp - 0x14]
test dl, 4
je 0x47cbe2
mov dword [ebp - 0x210], 0x40400000
jmp 0x47cd44
mov dword [ebp - 0x210], 0x3f800000
jmp case.0x47cb6a.1
mov dword [ebp - 0x210], 0x3f800000
jmp 0x47cd1e
test byte [ebp - 0x14], 0x40
je 0x47cc3b
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4eb09c]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
push 0x60
push dword [0x4eb944]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x19]
mov dword [ebp - 0x214], eax
jmp case.0x47cb6a.1
mov dword [ebp - 0x210], 0x40a00000
jmp case.0x47cb6a.1
mov edx, dword [ebp - 0x14]
test dl, 2
je 0x47cc61
mov dword [ebp - 0x210], 0x40a00000
jmp 0x47cd44
mov eax, dword [ebp - 0x1f4]
mov ecx, 0x14
cmp eax, 1
cmovl eax, ecx
add eax, 5
test dl, 0x10
jne 0x47cc1b
test dl, 8
je 0x47cc84
add eax, 0x10
jmp 0x47cc1b
add eax, 8
jmp 0x47cc1b
test byte [ebp - 0x14], 4
je 0x47cc06
mov dword [ebp - 0x210], 0x40a00000
jmp 0x47cd44
mov dword [ebp - 0x210], 0x41200000
jmp 0x47cd44
mov eax, dword [ebp - 0x44]
test eax, eax
je case.0x47cb6a.1
lea ecx, [ebp - 0x260]
push ecx
push dword [eax + 4]
call dword [ebp - 0x48]
mov eax, dword [ebp - 0x254]
sub eax, dword [ebp - 0x25c]
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x19]
mov dword [ebp - 0x214], eax
jmp case.0x47cb6a.1
cmp dl, 7
je 0x47cce9
cmp dl, 8
jne 0x47ccf0
or dword [ebp - 0x14], 0x400
mov esi, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x210]
comiss xmm0, dword [0x4e10dc]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x50], 0
jbe 0x47cea7
movss xmm1, dword [0x4e10f8]
mov eax, dword [ebp - 0x54]
sub eax, 3
je 0x47cd30
sub eax, 4
je 0x47cd30
sub eax, 1
jne 0x47cd44
movss xmm0, dword [ebp - 0x210]
addss xmm0, xmm1
movss dword [ebp - 0x210], xmm0
test ch, ch
je 0x47ce79
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul edx, dword [edi + 0x50], 0x94
mov ecx, dword [0x4eb09c]
mov dword [ebp - 0x28], eax
push dword [edx + ecx + 0x90]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x29c]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
movss xmm2, dword [ebp - 0x210]
cvtps2pd xmm0, xmm2
addsd xmm0, qword [0x4e1118]
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
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x4e1118]
cvttsd2si edx, xmm0
mov dword [ebp - 0x214], edx
cmp esi, 0x15
ja case.0x47cde6.2
movzx eax, byte [esi + 0x47f91c]
jmp dword [eax*4 + 0x47f908]
push 0x60
push dword [0x4eb944]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x214], eax
test dword [ebp - 0x14], 0x100000
je case.0x47cde6.2
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [ebp - 0x214], eax
mov esi, dword [ebp - 0x28]
jmp 0x47cea9
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4eb09c]
push 0x60
push dword [0x4eb944]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x214], eax
mov esi, dword [ebp - 0x28]
jmp 0x47cea9
mov eax, dword [edi + 0x7c]
mov esi, dword [ebp - 0x28]
imul eax, ecx
add eax, edx
mov dword [ebp - 0x214], eax
jmp 0x47cea9
lea eax, [ecx + 1]
imul eax, dword [edi + 0x7c]
add eax, edx
mov dword [ebp - 0x214], eax
mov esi, dword [ebp - 0x28]
jmp 0x47cea9
xor esi, esi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x28], esi
test cl, cl
jne 0x47cea9
push 0x60
push dword [0x4eb944]
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x28], esi
jmp 0x47cea9
xor esi, esi
cmp dword [ebp - 0x214], 0x80000000
mov byte [ebp - 0x3d], 0
je 0x47cec9
cmp dword [ebp - 0x218], 0x80000000
jne 0x47d592
xor eax, eax
mov ecx, 0x400
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x24], ecx
cmp eax, 0x16
ja case.0x47ceed.2
movzx eax, byte [eax + 0x47f940]
jmp dword [eax*4 + 0x47f934]
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je case.0x47ceed.2
test esi, esi
jne 0x47cf30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov esi, eax
mov eax, dword [0x4eb09c]
mov dword [ebp - 0x28], esi
push dword [ecx + eax + 0x90]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x29c]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov esi, dword [ebp - 0x288]
add esi, 4
test dword [ebp - 0x14], 0x200000
mov dword [ebp - 0x20], esi
je 0x47cf60
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov dword [ebp - 0x20], esi
mov esi, dword [ebp + 0x10]
cmp word [esi], 0
je 0x47cf96
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47cf70
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0xa
jne 0x47cf96
mov eax, dword [ebp - 0x28c]
add eax, dword [ebp - 0x29c]
mov dword [ebp - 0x6c], eax
mov ecx, 0x2c40
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x28]
mov esi, ecx
test eax, eax
jne 0x47cfd5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4eb09c]
mov dword [ebp - 0x28], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
mov cl, byte [ebp + 0xb]
cmp cl, 1
jne 0x47cffa
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
or edi, 0x40
mov dword [ebp - 0x24], edi
test cl, cl
jns 0x47d039
mov edi, esi
or edi, 0x840
mov dword [ebp - 0x24], edi
jmp 0x47d039
cmp cl, 5
je 0x47d004
cmp cl, 6
jne 0x47d033
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 esi, dword [ebp - 0x20]
add eax, dword [ebp - 0x288]
add esi, 2
mov ecx, dword [ebp - 0x14]
add esi, eax
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], esi
jmp 0x47d03c
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov al, byte [ebp + 0xb]
test ecx, 0x800000
je 0x47d071
cmp al, 1
je 0x47d04f
cmp al, 0x17
jne 0x47d071
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
add esi, esi
push 6
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x14]
add eax, eax
mov dword [ebp - 0x6c], eax
mov al, byte [ebp + 0xb]
cmp dword [ebp - 0x218], 0x80000000
je 0x47d097
cmp al, 4
je 0x47d089
cmp al, 5
je 0x47d089
cmp al, 6
jne 0x47d091
test ecx, 0x2000
je 0x47d097
or edi, 0x10
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x218], 0x80000000
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
jne 0x47d0c3
mov dword [ebp - 0x248], 0
jmp 0x47d0d1
mov eax, dword [ebp - 0x218]
sub eax, esi
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x214]
xor edx, edx
cmp eax, 0x80000000
cmove eax, edx
mov dword [ebp - 0x244], eax
xor eax, eax
cmp byte [ebp + 0xb], 0x17
mov dword [ebp - 0x84], eax
jne 0x47d2d0
test cl, 4
je 0x47d107
or edi, 0x800
mov dword [ebp - 0x24], edi
mov edi, dword [ebp + 0x10]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47d110
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.004bcd56
movzx ecx, word [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x5c], esi
mov dword [ebp + 0xc], esi
mov eax, edi
mov dword [ebp - 0x3c], eax
mov edx, ecx
mov edx, esi
test cx, cx
je 0x47d287
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
nop
cmp cx, 0x3c
jne 0x47d25b
movzx esi, word [eax + 2]
test esi, 0xffffff80
jne 0x47d185
push 2
push esi
call edi
add esp, 8
test eax, eax
je 0x47d185
and esi, 0xffffffdf
cmp si, 0x41
jne 0x47d258
mov esi, dword [ebp - 0x3c]
add esi, 4
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x20
je 0x47d1a4
cmp eax, 9
jne 0x47d1a9
add esi, 2
jmp 0x47d195
cmp ecx, 0x3e
je 0x47d220
movzx eax, word [esi]
mov ecx, eax
test eax, 0xffffff80
jne 0x47d1d7
push 0x107
push eax
call edi
add esp, 8
test eax, eax
je 0x47d1d2
add esi, 2
jmp 0x47d1b2
movzx eax, word [esi]
jmp 0x47d1d9
mov eax, ecx
cmp ax, 0x3d
jne 0x47d258
mov eax, 0x22
cmp ax, word [esi + 2]
jne 0x47d258
push eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
je 0x47d258
lea esi, [eax + 2]
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x20
je 0x47d216
cmp eax, 9
jne 0x47d21b
add esi, 2
jmp 0x47d207
cmp ecx, 0x3e
jne 0x47d1b2
add esi, 2
je 0x47d258
mov edx, 0x4de3b8
mov ecx, esi
call fcn.004a1f00
mov edx, dword [ebp + 0xc]
mov ecx, eax
test ecx, ecx
je 0x47d25b
cmp esi, ecx
jae 0x47d253
nop
mov ax, word [esi]
add esi, 2
mov word [edx], ax
add edx, 2
cmp esi, ecx
jb 0x47d240
mov dword [ebp + 0xc], edx
lea eax, [ecx + 6]
jmp 0x47d26d
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x3c]
mov ax, word [eax]
mov word [edx], ax
add edx, 2
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 0xc], edx
add eax, 2
mov dword [ebp - 0x3c], eax
movzx eax, word [eax]
mov ecx, eax
test ax, ax
mov eax, dword [ebp - 0x3c]
jne 0x47d160
mov esi, dword [ebp - 0x5c]
xor eax, eax
mov word [edx], ax
cmp edx, esi
jbe 0x47d29a
movzx eax, word [edx - 2]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x250]
cmp word [esi], 0
push ecx
push eax
push 0xffffffffffffffff
mov eax, 0x4dcf2c
cmovne eax, esi
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
mov edi, eax
call fcn.004bcd5f
mov ecx, dword [ebp - 0x84]
add esp, 4
jmp 0x47d318
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x250]
push edi
push eax
push 0xffffffffffffffff
cmp word [esi], dx
mov eax, 0x4dcf2c
cmovne eax, esi
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp word [esi], 0
mov edi, eax
je 0x47d316
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47d300
sub ecx, edx
sar ecx, 1
movzx ecx, word [esi + ecx*2 - 2]
jmp 0x47d318
xor ecx, ecx
mov esi, dword [ebp - 0x248]
mov eax, dword [ebp - 0x54]
sub esi, dword [ebp - 0x250]
sub eax, 1
je 0x47d341
sub eax, 3
je 0x47d338
sub eax, 8
je 0x47d341
jmp 0x47d365
cmp dword [ebp - 0x88], 0
jne 0x47d365
test cx, cx
je 0x47d365
movzx eax, cx
lea ecx, [ebp - 0x64]
push ecx
push eax
push eax
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
test eax, eax
je 0x47d365
mov eax, dword [ebp - 0x5c]
test eax, eax
jns 0x47d365
sub esi, eax
mov eax, dword [ebp - 0x214]
mov cl, byte [ebp + 0xb]
cmp eax, 0x80000000
je 0x47d386
cmp edi, eax
jle 0x47d49e
cmp cl, 0xc
je 0x47d49e
mov edx, dword [ebp - 0x6c]
add edx, edi
mov dword [ebp - 0x214], edx
cmp cl, 0xc
jne 0x47d46f
push 0x60
push dword [0x4eb944]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x214], eax
test dword [ebp - 0x14], 0x100000
je 0x47d3c7
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [ebp - 0x214], eax
mov edi, dword [ebp - 0x18]
mov cl, byte [ebp + 0xb]
mov eax, dword [ebp - 0x218]
cmp eax, 0x80000000
je 0x47d3de
cmp esi, eax
jle case.0x47ceed.2
mov eax, dword [ebp - 0x20]
add eax, esi
mov byte [ebp - 0x3d], 1
mov dword [ebp - 0x218], eax
cmp cl, 4
jne case.0x47ceed.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
imul edx, dword [edi + 0x50], 0x94
add eax, eax
mov ecx, dword [0x4eb09c]
mov ecx, dword [edx + ecx + 0x84]
add ecx, eax
add dword [ebp - 0x218], ecx
cmp dword [ebp - 0x218], 0x80000000
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
jne case.0x47d468.1
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4eb09c]
push 0x60
push dword [0x4eb944]
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 - 0x4c]
cmp eax, 0x17
ja case.0x47d468.1
movzx ecx, byte [eax + 0x47f97c]
jmp dword [ecx*4 + 0x47f958]
mov edi, dword [ebp - 0x18]
cmp cl, 4
jne 0x47d3cd
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4eb09c]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
add eax, edx
mov dword [ebp - 0x214], eax
jmp 0x47d3ca
mov edi, dword [ebp - 0x18]
jmp 0x47d3cd
mov dword [ebp - 0x218], edx
jmp case.0x47d468.1
lea eax, [edx + edx]
mov dword [ebp - 0x218], eax
jmp case.0x47d468.1
mov ecx, dword [ebp - 0x14]
test cl, 0x40
je 0x47d523
mov dword [ebp - 0x218], edx
jmp 0x47d59b
mov ecx, dword [ebp - 0x14]
test cl, 2
je 0x47d510
mov eax, dword [ebp - 0x1f4]
mov edx, 0x14
cmp eax, 1
cmovl eax, edx
add eax, 5
test cl, 0x10
jne 0x47d500
test cl, 8
je 0x47d4fd
add eax, 0x10
jmp 0x47d500
add eax, 8
push 0x60
push dword [0x4eb944]
push eax
call esi
mov ecx, dword [ebp - 0x14]
mov edx, eax
mov dword [ebp - 0x218], edx
jmp 0x47d59b
mov ecx, dword [ebp - 0x14]
test cl, 4
je 0x47d510
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4eb09c]
push 0x60
push dword [0x4eb944]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
push eax
call esi
mov dword [ebp - 0x218], eax
jmp case.0x47d468.1
mov eax, dword [edi + 0x78]
lea eax, [edx + eax*2]
mov dword [ebp - 0x218], eax
jmp case.0x47d468.1
mov eax, dword [edi + 0x78]
lea eax, [eax + eax*2]
lea eax, [eax + edx*2]
mov dword [ebp - 0x218], eax
jmp case.0x47d468.1
mov eax, dword [ebp - 0x44]
test eax, eax
je case.0x47d468.1
lea ecx, [ebp - 0x260]
push ecx
push dword [eax + 4]
call dword [ebp - 0x48]
mov eax, dword [ebp - 0x258]
sub eax, dword [ebp - 0x260]
mov dword [ebp - 0x218], eax
jmp case.0x47d468.1
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x14]
cmp byte [ebp + 0xb], 0xc
jne 0x47d6a5
test cl, 4
jne 0x47d6a5
movss xmm0, dword [0x4e10f8]
comiss xmm0, dword [ebp - 0x210]
jbe 0x47d6a5
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x47d5f8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4eb09c]
mov dword [ebp - 0x28], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x29c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x60
push dword [0x4eb944]
push 8
call esi
mov esi, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x29c]
sub esi, eax
mov edx, dword [ebp - 0x14]
sub esi, ecx
test edx, 0x100000
je 0x47d640
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x29c]
sub esi, eax
mov edx, dword [ebp - 0x14]
test esi, esi
jle 0x47d69b
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 [0x4e10f8]
comiss xmm1, dword [0x4e1108]
movss dword [ebp - 0x210], xmm1
jbe 0x47d6a5
mov ecx, dword [ebp - 0x23c]
not ecx
mov eax, ecx
and eax, 4
or edx, eax
mov dword [ebp - 0x14], edx
test dl, 4
je 0x47d6a5
and ecx, 0x201040
or edx, ecx
mov dword [ebp - 0x14], edx
jmp 0x47d6a5
mov dword [ebp - 0x210], 0x3f800000
cmp byte [ebp - 0xad], 0
mov esi, dword [ebp - 0x18]
mov edi, dword [edi + 0x10]
sete byte [ebp - 0x3e]
add edi, 3
mov byte [ebp - 0x2a], 0
mov dword [ebp - 0x88], edi
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x29], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47d6e9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [ebp + 0xf], 1
test eax, eax
je 0x47d6ed
mov byte [ebp + 0xf], 0
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov byte [ebp - 0x31], 0
cmp byte [eax + 6], 0xff
mov eax, dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [ebp - 0x4c], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x20], eax
jae 0x47d7a2
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x47d79b
push str.ahk_dlg
push dword [eax]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x47d767
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x21c]
push 1
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x60]
push ecx
push eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
call dword [ebp - 0x4c]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x38]
push 0xfffffffffffffff0
push dword [eax]
call esi
test eax, 0x10000000
je 0x47d79b
mov eax, dword [ebp - 0x38]
push 0
push 0
push 0x130b
push dword [eax]
call dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
movzx ecx, byte [edx + 7]
cmp eax, ecx
jne 0x47d79b
mov al, byte [ebp + 0xf]
mov byte [ebp - 0x31], al
jmp 0x47d7a2
and dword [ebp - 0x14], 0xefffffff
mov eax, dword [ebp - 0x54]
mov ecx, dword [sym.imp.USER32.dll_MoveWindow]
dec eax
mov edx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x6c], edx
mov edx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x54], edx
cmp eax, 0x19
ja case.0x47d7d6.20
jmp dword [eax*4 + 0x47f994]
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47d7f1
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47d7f3
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47d80c
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d80e
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push str.static
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
jmp 0x47ecb8
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47d862
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47d864
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47d87d
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d87f
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push str.SysLink
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
jmp 0x47ecb8
mov edx, dword [ebp - 0x218]
xor eax, eax
mov esi, dword [ebp - 0x214]
cmp edx, 0x80000000
mov ecx, dword [ebp - 0x18]
cmove edx, eax
cmp esi, 0x80000000
mov dword [ebp - 0x218], edx
cmove esi, eax
mov eax, dword [ecx + 0xcc]
mov dword [ebp - 0x214], esi
test eax, eax
je 0x47d8ff
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47d901
xor eax, eax
mov edi, dword [ebp - 0x21c]
mov ecx, dword [ecx + 0xd0]
sub edi, eax
test ecx, ecx
je 0x47d91a
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d91c
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push dword [ebp - 0x88]
push dword [ebp - 0x24]
push esi
mov esi, dword [ebp + 0x10]
push edx
push edi
push eax
push dword [ebp - 0x14]
push esi
push str.static
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
test eax, eax
je 0x47ecb5
push dword [ebp - 0x1d0]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push esi
push edi
call fcn.00483c00
mov esi, dword [ebp - 0x18]
test eax, eax
je 0x47ecb8
mov byte [ebp - 0x2a], 1
jmp 0x47ecb8
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47d99c
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47d99e
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47d9b7
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d9b9
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
jmp 0x47ecb8
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0xcc]
test eax, eax
je 0x47da0d
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47da0f
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ecx + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47da28
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47da2a
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
test eax, eax
je 0x47ecb5
test byte [ebp - 0x14], 1
je 0x47ecb5
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x1c]
mov eax, dword [edx + 0x10]
cmp ecx, eax
jae 0x47dab7
mov eax, dword [edx + 0x18]
shl ecx, 6
push 0xfffffffffffffff0
push dword [ecx + eax]
call esi
mov esi, dword [ebp - 0x18]
and eax, 0xfffe
mov edi, dword [ebp - 0x20]
push 1
push eax
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
shl edx, 6
push 0xf4
push dword [edx + ecx]
call edi
mov eax, dword [esi + 0x10]
jmp 0x47dabc
mov edi, dword [ebp - 0x20]
mov esi, edx
push 0
mov dword [esi + 0x1c], eax
add eax, 3
push eax
push 0x401
push dword [esi + 4]
call edi
mov eax, dword [ebp - 0x14]
push 1
movzx eax, ax
push eax
mov eax, dword [ebp - 0x10]
push 0xf4
push dword [eax]
call edi
mov edi, dword [ebp - 0x10]
jmp 0x47ecb8
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47db00
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47db02
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47db1b
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47db1d
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
test eax, eax
je 0x47ecb8
mov ecx, dword [ebp - 0x1d4]
test ecx, ecx
je 0x47ecb8
push 0
push ecx
push 0xf1
push eax
call dword [ebp - 0x20]
jmp 0x47ecb8
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47db93
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47db95
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47dbae
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dbb0
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
jmp 0x47ecb8
cmp dword [ebp - 0x1dc], 0
je 0x47dc06
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 8
jne 0x47dc06
and dword [ebp - 0x14], 0xffffffbf
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47dc1a
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47dc1c
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47dc35
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dc37
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push 0x4bfba0
push str.Combobox
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
test eax, eax
je 0x47dd67
imul edx, dword [esi + 0x50], 0x94
movzx ecx, byte [ebp + 0xf]
mov esi, dword [ebp - 0x20]
push ecx
mov ecx, dword [0x4eb09c]
push dword [edx + ecx + 0x90]
push 0x30
push eax
call esi
cmp byte [ebp - 0x19], 0
je 0x47dd5f
push 0
push 0
push 0x154
push dword [edi]
call esi
mov ecx, dword [ebp - 0x14]
mov edi, eax
xor eax, eax
and cl, 3
cmp cl, 1
push 0x60
push dword [0x4eb944]
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 - 0x214]
lea eax, [eax + edi*2]
cmp ecx, eax
jge 0x47dd25
mov ecx, eax
mov dword [ebp - 0x214], ecx
mov edi, dword [ebp - 0x10]
push 1
push ecx
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [edi]
call dword [ebp - 0x3c]
mov esi, dword [ebp - 0x18]
mov al, 1
mov byte [ebp - 0x2a], al
mov byte [ebp - 0x29], al
jmp 0x47ecb8
movss xmm0, dword [ebp - 0x210]
comiss xmm0, dword [0x4e10dc]
jbe 0x47dcf8
push 0x60
push dword [0x4eb944]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x210]
cvttss2si ecx, xmm0
add ecx, esi
add ecx, eax
jmp 0x47dcf2
mov ecx, dword [ebp - 0x214]
jmp 0x47dcfb
mov al, byte [ebp - 0x2a]
mov byte [ebp - 0x29], al
jmp 0x47ecb8
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47dd86
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47dd88
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47dda1
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dda3
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push 0x4bfba0
push str.Listbox
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov edx, eax
mov dword [edi], edx
test edx, edx
je 0x47dd67
mov eax, dword [ebp - 0x104]
mov esi, dword [ebp - 0x20]
test eax, eax
je 0x47de05
lea ecx, [ebp - 0x1cc]
push ecx
push eax
push 0x192
push edx
call esi
mov edx, dword [edi]
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [ebp - 0x18]
imul ecx, dword [eax + 0x50], 0x94
mov eax, dword [0x4eb09c]
push dword [ecx + eax + 0x90]
push 0x30
push edx
call esi
push 0
push 0
push 0x1a1
push dword [edi]
call esi
push 0x60
push dword [0x4eb944]
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 - 0x14]
and edi, 0x100000
je 0x47de5f
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [ebp - 0x214]
cmp ecx, esi
jge 0x47de6d
mov ecx, esi
jmp 0x47debe
movss xmm0, dword [ebp - 0x210]
comiss xmm0, dword [0x4e10dc]
jbe 0x47dec4
push 0x60
push dword [0x4eb944]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, dword [ebp - 0x5c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x210]
cvttss2si ecx, xmm0
add ecx, eax
mov dword [ebp - 0x214], ecx
test edi, edi
je 0x47dec4
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x214]
add ecx, eax
mov dword [ebp - 0x214], ecx
mov edi, dword [ebp - 0x10]
push 1
push ecx
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [edi]
call dword [ebp - 0x3c]
mov esi, dword [ebp - 0x18]
mov al, 1
mov byte [ebp - 0x2a], al
mov byte [ebp - 0x29], al
jmp 0x47ecb8
mov eax, dword [ebp - 0x22c]
cmp eax, 4
je 0x47df07
mov ecx, dword [ebp - 0x14]
and ecx, 0xfffffffc
or ecx, eax
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp - 0x214]
mov eax, 0xc8
mov ecx, dword [ebp - 0x18]
cmp esi, 0x80000000
cmove esi, eax
mov eax, dword [ecx + 0xcc]
test eax, eax
je 0x47df2f
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47df31
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ecx + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47df4a
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47df4c
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push esi
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push 0x4bfba0
push str.SysListView32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
test eax, eax
je 0x47ecb5
push 0x3f8
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [edi + 0x10], eax
test eax, eax
jne 0x47dfb4
push dword [edi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi], 0
jmp 0x47ecb5
mov esi, dword [ebp - 0x18]
push 0x3f8
push 0
mov dword [esi + 0x48], edi
push dword [edi + 0x10]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [eax], 0xffffffff
mov ecx, dword [edi + 0x10]
mov al, byte [ebp - 0xac]
mov byte [ecx + 5], al
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x47dfec
or byte [eax + 5], 0x80
cmp dword [ebp - 0x22c], 4
jne 0x47e007
push 0
push 4
push 0x108e
push dword [edi]
mov edi, dword [ebp - 0x20]
call edi
jmp 0x47e00a
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x47e023
push eax
mov eax, dword [ebp - 0x10]
push 0
push 0x1036
push dword [eax]
call edi
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x10]
call fcn.00489700
cmp dword [ebp - 0x214], 0x80000000
jne 0x47dae4
imul ecx, dword [esi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4eb09c]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x10]
push 0x30
push dword [eax]
call edi
mov eax, dword [ebp - 0x22c]
mov byte [ebp - 0x29], 1
sub eax, 1
je 0x47e1bd
sub eax, 3
je 0x47e18c
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x47e0b4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [esi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4eb09c]
mov dword [ebp - 0x28], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x29c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [ebp - 0x22c], 0
jne 0x47e14e
mov eax, dword [ebp - 0x10]
push 0
push 0
push 0x1033
push dword [eax]
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e1280]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [ebp - 0x210]
subss xmm0, dword [0x4e10f8]
mulss xmm0, xmm1
call fcn.004bdcb0
mov esi, eax
push 0xc
shr esi, 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm1, esi
mov esi, dword [ebp - 0x18]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebp - 0x29c]
cvtdq2ps xmm0, xmm0
add eax, 0x10
mulss xmm0, dword [ebp - 0x210]
addss xmm0, xmm1
cvttss2si ecx, xmm0
add eax, ecx
jmp 0x47e362
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x29c]
cmp eax, ecx
movss xmm0, dword [ebp - 0x210]
cmovg ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
subss xmm0, dword [0x4e10f8]
addss xmm1, xmm0
cvttss2si eax, xmm1
add eax, 0xb
jmp 0x47e362
mov eax, dword [ebp - 0x10]
push 0
push 0
push 0x1033
push dword [eax]
call edi
shr eax, 0x10
sub eax, 3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x210]
cvttss2si eax, xmm0
add eax, 7
jmp 0x47e362
movss xmm0, dword [ebp - 0x210]
push 0xffffffffffffffff
call fcn.004bdcb0
dec eax
push eax
mov eax, dword [ebp - 0x10]
push 0x1040
push dword [eax]
call edi
shr eax, 0x10
jmp 0x47e35f
mov edx, dword [ebp - 0x214]
mov eax, 0xc8
mov ecx, dword [ebp - 0x18]
cmp edx, 0x80000000
cmove edx, eax
mov eax, dword [ecx + 0xcc]
test eax, eax
je 0x47e20a
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47e20c
xor eax, eax
mov esi, dword [ebp - 0x21c]
mov ecx, dword [ecx + 0xd0]
sub esi, eax
test ecx, ecx
je 0x47e225
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e227
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push edx
push dword [ebp - 0x218]
push esi
push eax
push dword [ebp - 0x14]
push 0x4bfba0
push str.SysTreeView32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
test eax, eax
je 0x47ecb5
cmp dword [ebp - 0x1d4], 0
mov esi, dword [ebp - 0x18]
mov dword [esi + 0x4c], edi
je 0x47e286
mov eax, dword [ebp - 0x14]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push dword [edi]
call dword [ebp - 0x58]
cmp byte [ebp - 0xb1], 0
je 0x47e2a2
push dword [edi + 0x10]
push 0
push 0x111e
push dword [edi]
mov edi, dword [ebp - 0x20]
call edi
jmp 0x47e2a5
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1e0]
cmp eax, 0xffffffff
je 0x47e2ce
cmp eax, 0xff000000
jne 0x47e2bf
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [ebp - 0x10]
push 0
push 0x111d
push dword [eax]
call edi
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x47e2e7
push eax
mov eax, dword [ebp - 0x10]
push 0
push 0x1109
push dword [eax]
call edi
cmp dword [ebp - 0x214], 0x80000000
jne 0x47dae4
imul ecx, dword [esi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4eb09c]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x10]
push 0x30
push dword [eax]
call edi
mov eax, dword [ebp - 0x10]
push 0
push 0
push 0x111c
push dword [eax]
mov byte [ebp - 0x29], 1
call edi
mov dword [ebp - 0x214], eax
cmp eax, 2
jge 0x47e34c
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4eb09c]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x210]
cvttss2si eax, xmm0
add eax, 4
mov edi, dword [ebp - 0x10]
push 1
push eax
push dword [ebp - 0x218]
mov dword [ebp - 0x214], eax
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [edi]
call dword [ebp - 0x3c]
jmp 0x47ecb8
mov ecx, dword [ebp - 0x14]
test cl, 4
jne 0x47e3b5
cmp dword [ebp - 0x1dc], 0
jge 0x47e3a3
and ecx, 0xffefff7f
jmp 0x47e3b2
mov eax, dword [ebp - 0x23c]
not eax
and eax, 0x80
or ecx, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47e3ca
test cl, 4
je 0x47e3ca
mov ecx, eax
call fcn.004a2870
mov ecx, dword [ebp - 0x18]
mov esi, eax
mov eax, dword [ecx + 0xcc]
test eax, eax
je 0x47e3e0
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47e3e2
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ecx + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47e3fb
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e3fd
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
test esi, esi
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
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 edi, dword [ebp - 0x10]
mov edx, eax
mov dword [edi], edx
test edx, edx
je 0x47e4ad
test byte [ebp - 0x14], 0x20
mov edi, dword [ebp - 0x20]
je 0x47e46b
mov cx, word [ebp - 0xb4]
test cx, cx
je 0x47e46b
push 0
movzx eax, cx
push eax
push 0xcc
push edx
call edi
mov eax, dword [ebp - 0x1dc]
xor ecx, ecx
test eax, eax
push ecx
cmovs eax, ecx
push eax
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x10]
push 0xc5
push dword [eax]
call edi
mov eax, dword [ebp - 0x104]
test eax, eax
je 0x47e4aa
lea ecx, [ebp - 0x1cc]
push ecx
push eax
mov eax, dword [ebp - 0x10]
push 0xcb
push dword [eax]
call edi
mov edi, dword [ebp - 0x10]
test esi, esi
je 0x47ecb5
cmp esi, dword [ebp + 0x10]
je 0x47ecb5
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x47ecb5
mov eax, dword [ebp + 0x10]
mov byte [ebp - 0x19], 0
cmp word [eax], 0
je 0x47e522
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
push str.LongDate
push eax
call esi
add esp, 8
test eax, eax
jne 0x47e4fd
mov eax, dword [ebp - 0x14]
and eax, 0xfffffff6
or eax, 4
mov dword [ebp - 0x14], eax
jmp 0x47e525
push str.Time
push dword [ebp + 0x10]
call esi
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x47e51c
and eax, 0xfffffffb
or eax, 9
mov dword [ebp - 0x14], eax
jmp 0x47e525
mov byte [ebp - 0x19], 1
jmp 0x47e525
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x20c], 2
jne 0x47e534
or eax, 2
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47e548
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47e54a
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47e563
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e565
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push 0x4bfba0
push str.SysDateTimePick32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov ecx, eax
mov dword [edi], ecx
test ecx, ecx
je 0x47ecb8
cmp byte [ebp - 0x19], 0
mov edi, dword [ebp - 0x20]
je 0x47e5c7
push dword [ebp + 0x10]
push 0
push 0x1032
push ecx
call edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x47e5e8
lea edx, [ebp - 0xe0]
push edx
push eax
push 0x1004
push ecx
call edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
jmp 0x47e5eb
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20c]
test edx, edx
je 0x47e612
lea eax, [ebp - 0x100]
push eax
xor eax, eax
cmp edx, 1
setne al
push eax
push 0x1002
push ecx
call edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
cmp eax, 0xff000000
je 0x47dae4
push eax
push 1
push 0x1006
push ecx
call edi
mov edi, dword [ebp - 0x10]
jmp 0x47ecb8
cmp dword [ebp - 0xc0], 0
jne 0x47e6c8
mov ecx, dword [ebp + 0x10]
movzx eax, word [ecx]
test ax, ax
je 0x47e6c8
xor esi, esi
add ecx, 2
cmp eax, 0x2d
je 0x47e69c
push 0x2d
push ecx
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov edi, eax
add esp, 8
test edi, edi
je 0x47e670
xor eax, eax
mov word [edi], ax
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x100]
push 1
call fcn.004a1590
add esp, 4
mov ecx, 1
test eax, eax
cmovne esi, ecx
test edi, edi
je 0x47e6b9
mov eax, 0x2d
lea ecx, [edi + 2]
mov word [edi], ax
cmp word [ecx], 0
je 0x47e6b9
push 1
lea edx, [ebp - 0xf0]
call fcn.004a1590
add esp, 4
test eax, eax
je 0x47e6b9
or esi, 2
mov dword [ebp - 0xc0], esi
cmp esi, 3
jne 0x47e6c8
or dword [ebp - 0x14], 2
mov esi, dword [ebp - 0x214]
mov eax, 0x64
mov edi, dword [ebp - 0x218]
cmp esi, 0x80000000
mov ecx, dword [ebp - 0x18]
cmove esi, eax
test edi, edi
cmovs edi, eax
mov eax, dword [ecx + 0xcc]
test eax, eax
je 0x47e6fb
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47e6fd
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ecx + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47e716
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e718
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push dword [ebp - 0x88]
push dword [ebp - 0x24]
push esi
push edi
push edx
push eax
push dword [ebp - 0x14]
push 0x4bfba0
push str.SysMonthCal32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
test eax, eax
je 0x47ecb5
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
and esi, 2
je 0x47e779
push 0
push 0x16e
push 0x1004
push eax
call edi
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
jmp 0x47e77c
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x47e79b
lea edx, [ebp - 0xe0]
push edx
push ecx
push 0x1012
push eax
call edi
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc0]
test ecx, ecx
je 0x47e7df
test esi, esi
je 0x47e7ce
cmp ecx, 1
jne 0x47e7bc
movups xmm0, xmmword [ebp - 0x100]
movups xmmword [ebp - 0xf0], xmm0
lea eax, [ebp - 0x100]
push eax
push 0
push 0x1006
push dword [edx]
jmp 0x47e7dd
lea ecx, [ebp - 0x100]
push ecx
push 0
push 0x1002
push eax
call edi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x10]
cmp eax, 0xff000000
je 0x47e7f8
push eax
push 1
push 0x100a
push dword [ecx]
call edi
mov esi, dword [ebp - 0x18]
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4eb09c]
imul ecx, dword [esi + 0x50], 0x94
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x10]
push 0x30
push dword [eax]
call edi
cmp dword [ebp - 0x218], 0x80000000
mov byte [ebp - 0x29], 1
je 0x47e83c
cmp dword [ebp - 0x214], 0x80000000
jne 0x47dae4
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x10]
push 0
push 0x1009
push dword [eax]
call edi
test eax, eax
je 0x47dae4
mov ecx, dword [ebp - 0x218]
test ecx, ecx
jns 0x47e8a7
test byte [ebp - 0x14], 0x10
je 0x47e86b
mov eax, dword [ebp - 0x78]
jmp 0x47e888
mov eax, dword [ebp - 0x10]
push 0
push 0
push 0x1015
push dword [eax]
call edi
cmp eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x218]
cmovl eax, dword [ebp - 0x78]
cmp ecx, 0x80000000
jne 0x47e894
mov ecx, eax
jmp 0x47e8a1
add eax, 6
imul eax, ecx
mov ecx, 0xfffffffa
sub ecx, eax
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x214]
cmp edx, 0x80000000
jne 0x47e98a
movss xmm0, dword [ebp - 0x210]
comiss xmm0, dword [0x4e10dc]
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x214], edx
jbe 0x47e98a
ucomiss xmm0, dword [0x4e10f8]
lahf
test ah, 0x44
jnp 0x47e98a
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x47e91d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [esi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4eb09c]
mov dword [ebp - 0x28], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x29c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x214]
je 0x47e942
add eax, 4
add eax, ecx
movss xmm2, dword [ebp - 0x210]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
subss xmm2, dword [0x4e10f8]
cvttss2si eax, xmm0
movd xmm1, eax
lea eax, [ecx - 2]
mov ecx, dword [ebp - 0x218]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
subss xmm1, xmm0
cvttss2si edx, xmm1
mov dword [ebp - 0x214], edx
mov edi, dword [ebp - 0x10]
push 1
push edx
push ecx
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [edi]
call dword [ebp - 0x3c]
jmp 0x47ecb8
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47e9bb
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47e9bd
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47e9d6
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e9d8
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push 0x4bfba0
push str.msctls_hotkey32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
test eax, eax
je 0x47ecb8
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47ea41
mov ecx, eax
call fcn.004892e0
push 0
movzx eax, ax
push eax
push 0x401
push dword [edi]
mov edi, dword [ebp - 0x20]
call edi
jmp 0x47ea44
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1dc]
test eax, eax
jle 0x47dae4
push 6
push eax
mov eax, dword [ebp - 0x10]
push 0x403
push dword [eax]
call edi
mov edi, dword [ebp - 0x10]
jmp 0x47ecb8
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
test al, 0x10
je 0x47ea92
cmp dword [esi + 8], 0
jne 0x47ea86
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x47ea92
cmp byte [ecx + 5], 0
jge 0x47ea92
and eax, 0xffffffef
mov byte [ebp - 0x19], 1
mov dword [ebp - 0x14], eax
jmp 0x47ea96
mov byte [ebp - 0x19], 0
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47eaa7
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47eaa9
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47eac2
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47eac4
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push 0x4bfba0
push str.msctls_updown32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
test eax, eax
je 0x47ecb8
mov cl, byte [ebp - 0x19]
mov edi, dword [ebp - 0x20]
test cl, cl
je 0x47eb2a
mov ecx, dword [ebp - 0x70]
push 0
push dword [ecx]
push 0x469
push eax
call edi
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0x19]
mov eax, dword [edx]
cmp dword [esi + 0x10], 0
je 0x47ec68
test byte [ebp - 0x14], 0x10
jne 0x47eb42
test cl, cl
je 0x47ec68
lea ecx, [ebp - 0x80]
push ecx
push eax
call dword [ebp - 0x48]
push 2
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x24]
push 0
call dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
sub eax, ecx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x74]
sub eax, edx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x21c], edx
push dword [eax]
call dword [ebp - 0x48]
push 2
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x24]
push 0
call dword [ebp - 0x4c]
cmp byte [esi + 0xc7], 0
je 0x47ec0a
mov esi, dword [ebp - 0x14]
and esi, 4
je 0x47ebde
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x220]
add dword [ebp - 0x78], eax
add ecx, eax
push 1
push dword [ebp - 0x214]
mov dword [ebp - 0x220], ecx
push eax
push dword [ebp - 0x21c]
mov eax, dword [ebp - 0x10]
push ecx
push dword [eax]
call dword [ebp - 0x3c]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x64]
sub eax, ecx
add edx, dword [ebp - 0x218]
push 1
push eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x60], edx
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [ebp - 0x70]
push dword [eax]
call dword [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
jmp 0x47ec12
mov edx, dword [ebp - 0x14]
mov esi, edx
and esi, 4
test esi, esi
je 0x47ec26
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x220], ecx
sub eax, ecx
jmp 0x47ec2c
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x80]
cmp byte [ebp - 0xb2], 0
mov dword [ebp - 0x218], eax
jne 0x47ec82
mov eax, dword [ebp - 0x70]
cmp byte [eax + 4], 9
jne 0x47ec71
mov byte [ebp - 0xb2], 1
test dl, 0x40
je 0x47ec5c
mov dword [ebp - 0x204], 0x7fff
jmp 0x47ec82
mov dword [ebp - 0x208], 0x7fff
jmp 0x47ec82
cmp byte [ebp - 0xb2], 0
jne 0x47ec82
mov byte [ebp - 0xb2], 1
mov dword [ebp - 0x204], 0x64
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x240]
push eax
push esi
call fcn.00489580
mov ecx, dword [ebp + 0x10]
call fcn.004112f0
movsx ecx, byte [esi + 5]
sar ecx, 0x1f
push eax
and ecx, 0xa
push 0
add ecx, 0x467
push ecx
push dword [esi]
call edi
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x47ecdb
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x47ecd1
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [edi], 0
jne 0x47f29a
mov eax, str.Cant_create_control.
push 0x4bfba0
push eax
mov ecx, 0x4eb958
call fcn.0043ec50
jmp 0x47f815
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47ed12
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47ed14
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47ed2d
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47ed2f
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push 0x4bfba0
push str.msctls_trackbar32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
test eax, eax
je 0x47ecb8
lea eax, [ebp - 0x240]
push eax
push edi
call fcn.004895f0
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47ecb8
mov ecx, eax
call fcn.004112f0
mov edi, eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 5], 0
jge 0x47edc9
push 0
push 0
push 0x402
push dword [eax]
call dword [ebp - 0x20]
push 0
mov esi, eax
mov eax, dword [ebp - 0x10]
push 0
push 0x401
sub esi, edi
push dword [eax]
call dword [ebp - 0x20]
lea edi, [esi + eax]
mov esi, dword [ebp - 0x18]
push edi
mov edi, dword [ebp - 0x10]
push 1
push 0x405
push dword [edi]
call dword [ebp - 0x20]
jmp 0x47ecb8
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47edf2
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47edf4
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47ee0d
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47ee0f
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push 0x4bfba0
push str.msctls_progress32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
test eax, eax
je 0x47ecb8
push dword [ebp - 0x14]
lea eax, [ebp - 0x240]
mov ecx, esi
push eax
push edi
call fcn.004897b0
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47ee83
mov ecx, eax
call fcn.004112f0
push 0
push eax
push 0x402
push dword [edi]
call dword [ebp - 0x20]
mov byte [ebp - 0x3e], 0
jmp 0x47ecb8
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47eea0
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47eea2
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47eebb
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47eebd
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push 0x4bfba0
push str.SysTabControl32
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
test eax, eax
je 0x47ecb8
cmp byte [ebp - 0xab], 0
je 0x47eff7
push 0
push 0x48a530
push dword [esi + 4]
lea eax, [ebp - 0x2b8]
xorps xmm0, xmm0
push eax
push dword [0x4e9858]
movups xmmword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2b8], 0x50000400
movq qword [ebp - 0x2a8], xmm0
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, eax
test esi, esi
je 0x47ef6c
mov eax, dword [ebp - 0x10]
push esi
push str.ahk_dlg
push dword [eax]
call dword [sym.imp.USER32.dll_SetPropW]
test eax, eax
jne 0x47ef81
push esi
call edi
mov eax, dword [ebp - 0x10]
push dword [eax]
call edi
mov edi, dword [ebp - 0x10]
mov dword [edi], 0
jmp 0x47ecb5
xor edx, edx
cmp byte [ebp - 0xad], dl
je 0x47efb7
push str.uxtheme
call dword [ebp - 0x84]
mov edi, eax
test edi, edi
je 0x47efb2
push str.EnableThemeDialogTexture
push edi
call dword [ebp - 0x6c]
test eax, eax
je 0x47efae
push 6
push esi
call eax
push edi
call dword [ebp - 0x54]
mov edx, 2
mov edi, dword [ebp - 0x10]
mov ecx, edx
or ecx, 1
mov al, byte [edi + 5]
and al, 0x20
cmove ecx, edx
push ecx
push 0xffffffffffffffeb
push esi
call dword [ebp - 0x58]
mov esi, dword [ebp - 0x18]
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esi + 0x40], eax
test eax, 0x10000
jne 0x47eff7
or eax, 0x10000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
mov dword [esi + 0x40], eax
call dword [ebp - 0x58]
mov al, byte [ebp - 0xaa]
test al, al
je 0x47f012
movsx eax, al
push eax
push str.ahk_autosize
push dword [edi]
call dword [sym.imp.USER32.dll_SetPropW]
mov al, byte [esi + 0xc0]
mov byte [esi + 0xc1], al
inc al
push 0x488cc0
push 0xfffffffffffffffc
mov byte [esi + 0xc2], 0
mov byte [esi + 0xc0], al
push dword [edi]
call dword [ebp - 0x58]
mov dword [0x4ea2e8], eax
jmp 0x47ecb8
cmp byte [0x4ed93c], 0
jne 0x47f081
push 0x4ddd68
call ecx
mov esi, eax
test esi, esi
je 0x47f081
push str.AtlAxWinInit
push esi
call dword [ebp - 0x6c]
test eax, eax
je 0x47f074
call eax
test eax, eax
setne al
mov byte [0x4ed93c], al
jmp 0x47f079
mov al, byte [0x4ed93c]
test al, al
jne 0x47f081
push esi
call dword [ebp - 0x54]
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47f095
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47f097
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47f0b0
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47f0b2
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push str.AtlAxWin
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
test eax, eax
je 0x47ecb8
mov ecx, eax
call fcn.004740c0
mov ecx, eax
test ecx, ecx
jne 0x47f115
push dword [edi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi], 0
jmp 0x47ecb8
mov eax, dword [edi + 8]
push ecx
test eax, eax
je 0x47f129
mov ecx, eax
call fcn.004a6440
jmp 0x47ecb8
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x47ecb8
mov si, word [ebp - 0xa8]
test si, si
jne 0x47f149
mov eax, str.A_window_class_is_required.
jmp 0x47ece9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0xcc]
test eax, eax
je 0x47f15d
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47f15f
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ecx + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47f178
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47f17a
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 0
push dword [0x4e9858]
sub eax, ecx
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push edx
push eax
push dword [ebp - 0x14]
movzx eax, si
push dword [ebp + 0x10]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
jmp 0x47ecb5
mov esi, dword [ebp - 0x18]
push edi
push dword [esi + 4]
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov edi, dword [ebp - 0x10]
mov dword [edi], eax
test eax, eax
je 0x47ecb8
mov ecx, dword [ebp - 0x1e0]
mov dword [esi + 8], eax
cmp ecx, 0xffffffff
je 0x47ecb8
push ecx
push 0
push 0x2001
push eax
call dword [ebp - 0x20]
jmp 0x47ecb8
mov ecx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x10]
test ecx, ecx
je 0x47ecb5
mov eax, dword [ecx + 4]
mov dword [edi], eax
cmp dword [ecx + 0xa8], 0
jne 0x47f224
mov eax, dword [ebp - 0x218]
mov dword [ecx + 0xa8], eax
cmp dword [ecx + 0xac], 0
jne 0x47f239
mov eax, dword [ebp - 0x214]
mov dword [ecx + 0xac], eax
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0x10]
add eax, 3
push eax
push 0xfffffffffffffff4
push dword [edi]
call dword [ebp - 0x58]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x47f25b
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x47f25d
xor eax, eax
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0xd0]
sub edx, eax
test ecx, ecx
je 0x47f276
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47f278
xor ecx, ecx
mov eax, dword [ebp - 0x220]
push 1
push dword [ebp - 0x214]
sub eax, ecx
push dword [ebp - 0x218]
push edx
push eax
push dword [edi]
call dword [ebp - 0x3c]
jmp 0x47ecb8
mov al, byte [ebp - 0x3d]
inc dword [esi + 0x10]
mov byte [esi + 0xc7], al
mov esi, dword [ebp - 0x224]
mov eax, dword [ebp - 0x8c]
test esi, esi
jne 0x47f2be
test eax, eax
je 0x47f37b
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x47f344
mov dword [ebp - 0x250], eax
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x60], edx
lea edx, [ebp - 0x260]
mov dword [ebp - 0x5c], edx
push 2
mov eax, dword [eax]
cdq
mov dword [ebp - 0x25c], edx
lea edx, [ebp - 0x60]
push edx
push 1
lea edx, [ebp - 0x2d8]
mov dword [ebp - 0x248], 0
push edx
mov dword [ebp - 0x24c], 0xffffffff
lea edx, [ebp - 0x2b0]
mov dword [ebp - 0x258], 1
mov dword [ebp - 0x260], eax
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x1c]
push dword [ebp - 0x8c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x47f37e
push 0x10
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c8], 0x780030
push eax
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultow]
add esp, 0xc
lea eax, [ebp - 0x2c8]
mov ecx, esi
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004a6070
jmp 0x47f37e
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
cmp byte [edx + 4], 6
jne 0x47f3a6
mov ecx, dword [ebp - 0x1d4]
test ecx, ecx
je 0x47f3a2
mov eax, dword [edi + 0x10]
push ecx
dec eax
mov ecx, edi
push eax
push edx
call fcn.00489460
mov edx, dword [ebp - 0x10]
mov al, 1
jmp 0x47f3a8
xor al, al
mov byte [edi + 0x44], al
test dword [ebp - 0x23c], 0x10000000
je 0x47f3bb
or byte [edx + 5], 8
test dword [ebp - 0x240], 0x8000000
je 0x47f3cb
or byte [edx + 5], 0x10
cmp byte [ebp - 0x3e], 0
jne 0x47f3f7
cmp dword [edx + 0x10], 0xff000000
je 0x47f3eb
mov al, byte [edx + 4]
cmp al, 5
je 0x47f3f7
cmp al, 6
je 0x47f3f7
cmp al, 3
je 0x47f3f7
jmp 0x47f42e
cmp byte [edx + 4], 3
jne 0x47f42e
test byte [edx + 5], 0x40
je 0x47f42e
mov edi, dword [edx]
push str.uxtheme
call dword [ebp - 0x84]
mov esi, eax
test esi, esi
je 0x47f428
push str.SetWindowTheme
push esi
call dword [ebp - 0x6c]
test eax, eax
je 0x47f424
push 0x4bfba0
push 0x4bfba0
push edi
call eax
push esi
call dword [ebp - 0x54]
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
cmp byte [ebp - 0x29], 0
mov esi, dword [ebp - 0x20]
jne 0x47f45b
cmp byte [ebp - 0x3f], 0
je 0x47f45b
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4eb09c]
push dword [ecx + eax + 0x90]
push 0x30
push dword [edx]
call esi
cmp dword [ebp - 0xb8], 4
jne 0x47f471
mov eax, dword [ebp - 0x10]
push 0
push 0
push 0xb
push dword [eax]
call esi
push ecx
push dword [ebp - 0x20c]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call fcn.00483980
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 0x13
jne 0x47f53f
movss xmm0, dword [ebp - 0x210]
comiss xmm0, dword [0x4e10dc]
jbe 0x47f52a
lea ecx, [ebp - 0x80]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x14]
mov eax, ecx
and al, 0x82
cmp al, 2
jne 0x47f4ed
mov eax, dword [ebp - 0x10]
and ecx, 0xfffffffd
push ecx
push 0xfffffffffffffff0
push dword [eax]
call dword [ebp - 0x58]
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x10]
push 1
push 0x1328
push dword [eax]
call esi
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push 0xfffffffffffffff0
push dword [eax]
call dword [ebp - 0x58]
jmp 0x47f4ff
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x10]
push 1
push 0x1328
push dword [eax]
call esi
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x7c]
push 1
push eax
push dword [ebp - 0x218]
mov dword [ebp - 0x214], eax
push dword [ebp - 0x21c]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x220]
push dword [eax]
call dword [ebp - 0x3c]
jmp 0x47f53c
cmp byte [ebp - 0xab], 0
je 0x47f53f
push dword [eax]
mov ecx, edi
call fcn.0048a4d0
mov eax, dword [ebp - 0x10]
cmp byte [ebp - 0x2a], 0
je 0x47f597
lea ecx, [ebp - 0x80]
push ecx
push dword [eax]
call dword [ebp - 0x48]
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x7c]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x80]
cmp byte [ebp + 0xb], 9
mov dword [ebp - 0x218], eax
jne 0x47f597
test dword [ebp - 0x14], 0x100000
je 0x47f597
mov ecx, dword [ebp - 0x1d8]
test ecx, ecx
jns 0x47f588
lea ecx, [eax + eax*2]
mov dword [ebp - 0x1d8], ecx
mov eax, dword [ebp - 0x10]
push 0
push ecx
push 0x194
push dword [eax]
call esi
mov ecx, dword [ebp - 0x38]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
test ecx, ecx
je 0x47f5f7
mov eax, dword [ebp - 0x24]
cmp eax, dword [edi + 4]
jne 0x47f5f7
cmp byte [ebp - 0x31], 0
je 0x47f5de
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [ebp - 0x48]
push 2
lea eax, [ebp - 0x80]
push eax
push dword [edi + 4]
push 0
call dword [ebp - 0x4c]
push 0
lea eax, [ebp - 0x80]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x38]
cmp byte [ecx + 5], 0
jge 0x47f5f7
mov eax, dword [ebp - 0x10]
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 0x47f60d
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [ebp + 0xb], 0x19
je 0x47f810
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x24]
cmp edx, ecx
je 0x47f652
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x21c]
push 1
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
push ecx
push edx
call dword [ebp - 0x4c]
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], edi
jmp 0x47f65e
mov edi, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x220]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x214]
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 - 0x18]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 4]
mov ecx, dword [ebp + 8]
jne 0x47f6c0
cmp byte [ebp - 0xaa], 0
jne 0x47f6c0
cmp edx, dword [eax + 0x90]
jle 0x47f6b2
mov dword [eax + 0x90], edx
cmp ecx, dword [eax + 0x94]
jle 0x47f6c0
mov dword [eax + 0x94], ecx
cmp byte [ebp - 0xae], 0
jne 0x47f700
mov eax, dword [eax + 0x10]
cmp eax, 1
je 0x47f6fd
cmp eax, 2
jne 0x47f6e2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
cmp byte [eax + 4], 0x19
je 0x47f6fd
mov edi, dword [ebp - 0x18]
cmp edx, dword [edi + 0xa0]
jle 0x47f6f3
mov dword [edi + 0xa0], edx
cmp ecx, dword [edi + 0xa4]
jle 0x47f71b
jmp 0x47f715
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x9c], edi
mov edi, dword [ebp - 0x18]
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 0x47f753
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47f753
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 0x47f77f
mov ecx, dword [edi + 0xcc]
test ecx, ecx
je 0x47f77f
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 - 0x10]
movss xmm0, dword [ebp - 0xa4]
movss dword [ecx + 0x24], xmm0
movss xmm0, dword [ebp - 0xa0]
movss dword [ecx + 0x28], xmm0
movss xmm0, dword [ebp - 0x9c]
movss dword [ecx + 0x2c], xmm0
movss xmm0, dword [ebp - 0x98]
movss dword [ecx + 0x30], xmm0
mov al, byte [ebp - 0x94]
mov byte [ecx + 0x34], al
mov al, byte [ebp - 0x93]
mov byte [ecx + 0x35], al
mov al, byte [ebp - 0x92]
mov byte [ecx + 0x36], al
mov al, byte [ebp - 0x91]
mov byte [ecx + 0x37], al
mov al, byte [ebp - 0x90]
mov byte [ecx + 0x38], al
mov al, byte [ebp - 0x8f]
mov byte [ecx + 0x39], al
mov eax, dword [ebp - 0x220]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x21c]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x218]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x214]
mov dword [ecx + 0x20], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc