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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8feb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xae4
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [edi + 0x10]
cmp esi, 0x2af8
jb 0x47c4c6
push 0x4bac30
push str.Too_many_controls.
mov ecx, 0x4e8b78
call fcn.00448ad0
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 0x47c4f3
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 0x47c4a0
add dword [edi + 0x14], 0x3e8
mov esi, dword [edi + 0x10]
mov dword [edi + 0x18], eax
push 0x40
shl esi, 6
add esi, dword [edi + 0x18]
push 0
push esi
mov dword [ebp - 0x14], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x238]
mov ecx, edi
push esi
push eax
call fcn.00483510
mov cl, byte [ebp + 8]
mov dword [ebp - 0x38], 0
cmp cl, 0x1a
jne 0x47c6bc
mov ecx, dword [ebp + 0x10]
call fcn.00479bd0
mov ecx, eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
jne 0x47c573
mov ecx, dword [ebp + 0x10]
call fcn.00404ce0
mov edx, dword [0x4e69e0]
xor ecx, ecx
test edx, edx
jle 0x47c56c
mov esi, dword [0x4e69dc]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x38], edi
cmp dword [edi + 4], eax
mov edi, dword [ebp - 0x1c]
je 0x47c5b7
inc ecx
cmp ecx, edx
jl 0x47c556
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x38], 0
mov cl, byte [ebp + 8]
mov al, cl
mov byte [ebp - 0x16], al
cmp cl, 0x13
jne 0x47c71f
cmp byte [edi + 0xc0], 0xff
jne 0x47c6ee
push 0x4bac30
push str.Too_many_tab_controls.
mov ecx, 0x4e8b78
call fcn.00448ad0
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp - 0x14]
mov byte [ebp - 0x16], 0x1a
mov al, byte [edi + 0xc1]
mov byte [esi + 6], al
mov al, byte [edi + 0xc2]
mov byte [esi + 7], al
cmp dword [edi + 0x10], 0
mov edx, dword [sym.imp.KERNEL32.dll_MulDiv]
jne 0x47c667
cmp dword [edi + 0x78], 0x80000000
jne 0x47c622
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e82bc]
push 0x60
push dword [0x4e8b64]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4de158]
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 0x47c65e
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e82bc]
push 0x60
push dword [0x4e8b64]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4de140]
cvttsd2si eax, xmm0
push eax
call edx
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x78]
mov dword [edi + 0x80], eax
mov ah, byte [ebp + 8]
mov byte [esi + 4], ah
mov edx, dword [ebp - 0x238]
mov al, byte [edi + 0x45]
or edx, 0x10000000
mov byte [ebp - 0xa5], al
mov ecx, edx
mov dword [ebp - 0x238], ecx
cmp ah, 6
jne 0x47c75d
or ecx, 0x4000
cmp byte [edi + 0x44], 0
mov dword [ebp - 0x238], ecx
jne 0x47c783
mov ecx, edx
or ecx, 0x24000
mov dword [ebp - 0x238], ecx
jmp 0x47c783
cmp cl, 0x14
jne 0x47c6d2
or byte [esi + 5], 0x80
mov byte [ebp + 8], 0x13
mov byte [ebp - 0x16], 0x13
jmp 0x47c584
cmp cl, 0x15
jne 0x47c576
mov cl, 0x13
mov word [ebp - 0xa3], 0x301
mov byte [ebp + 8], cl
jmp 0x47c576
mov byte [esi + 6], 0xff
mov ecx, edi
mov al, byte [edi + 0xc0]
mov byte [esi + 7], al
movzx eax, byte [edi + 0xc1]
push eax
call fcn.00489240
test eax, eax
je 0x47c5d0
push eax
mov ecx, edi
call fcn.00489750
jmp 0x47c5d0
cmp cl, 0x19
jne 0x47c5be
cmp dword [edi + 8], 0
je 0x47c754
push 0x4bac30
push str.Too_many_status_bars.
mov ecx, 0x4e8b78
call fcn.00448ad0
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 0x47c5d0
cmp byte [edi + 0x44], 0
je 0x47c76f
or ecx, 0x20000
mov dword [ebp - 0x238], ecx
cmp ah, 2
je 0x47c7a7
cmp ah, 0x10
je 0x47c7a7
cmp ah, 0x11
je 0x47c7a7
cmp ah, 0x12
je 0x47c7a7
cmp byte [esi + 4], 0xa
mov byte [ebp - 0x33], 1
je 0x47c799
mov eax, dword [edi + 0x54]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 0x238]
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x1dc], eax
mov ah, byte [ebp + 8]
jmp 0x47c7bd
mov byte [ebp - 0x33], 0
cmp ah, 0x12
jne 0x47c7bd
mov dword [esi + 0x10], 0xff000000
mov ecx, dword [ebp - 0x238]
movzx eax, ah
mov dword [ebp - 0x44], eax
add eax, 0xfffffffc
cmp eax, 0x16
ja case.0x47c7cf.6
jmp dword [eax*4 + 0x47f9cc]
or ecx, 0x210000
mov dword [ebp - 0x238], ecx
jmp case.0x47c7cf.6
or ecx, 0x210042
mov dword [ebp - 0x238], ecx
jmp case.0x47c7cf.6
or ecx, 0x210080
or dword [ebp - 0x230], 0x200
mov dword [ebp - 0x238], ecx
jmp case.0x47c7cf.6
or dword [ebp - 0x228], 0x30
or ecx, 0x10008
or dword [ebp - 0x230], 0x200
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x224], 1
jmp case.0x47c7cf.6
or ecx, 0x10027
or dword [ebp - 0x230], 0x200
mov dword [ebp - 0x238], ecx
jmp case.0x47c7cf.6
or ecx, 0x10000
or dword [ebp - 0x230], 0x200
mov dword [ebp - 0x238], ecx
jmp case.0x47c7cf.6
or ecx, 0x36
mov dword [ebp - 0x238], ecx
jmp case.0x47c7cf.6
or ecx, 0x1000c
mov dword [ebp - 0x238], ecx
jmp case.0x47c7cf.6
or ecx, 1
mov dword [ebp - 0x238], ecx
jmp case.0x47c7cf.6
movzx eax, byte [ebp - 0xa5]
xor edx, edx
cmp byte [ebp - 0xa3], dl
cmove eax, edx
or ecx, 0x10200
mov byte [ebp - 0xa5], al
mov dword [ebp - 0x238], ecx
jmp case.0x47c7cf.6
or ecx, 0x4000000
mov dword [ebp - 0x238], ecx
jmp case.0x47c7cf.6
test dword [edi + 0x3c], 0x40000
je 0x47c8eb
or ecx, 0x100
or ecx, 0x800
mov dword [ebp - 0x238], ecx
jmp case.0x47c7cf.6
cmp byte [0x4e985b], 0
je case.0x47c7cf.6
or ecx, 0x10000
mov dword [ebp - 0x238], ecx
jmp case.0x47c7cf.6
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47c7cf.6
push dword [edi + 4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x3c]
test eax, eax
jns 0x47c93a
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.0x47c7cf.6
mov ecx, dword [ebp - 0x38]
push 0x4bac30
push 0x4bac30
call fcn.00483950
push 0
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call fcn.00480870
test eax, eax
jne 0x47c994
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov dl, byte [ebp + 8]
mov eax, dword [ebp - 0x1dc]
cmp dl, 0xa
je 0x47c9a5
mov eax, dword [esi + 0x10]
cmp eax, 0xff000000
mov eax, dword [ebp - 0x1d8]
setne byte [ebp - 0xa9]
cmp eax, 0xff000000
jne 0x47c9cf
cmp dl, 0xb
je 0x47c9f0
mov dword [ebp - 0x1d8], 0xffffffff
jmp 0x47c9f0
cmp eax, 0xffffffff
jne 0x47c9f0
mov ecx, dword [edi + 0x5c]
cmp ecx, 0xff000000
je 0x47c9f0
cmp dl, 0x12
je 0x47c9f0
cmp dl, 0x19
cmovne eax, ecx
mov dword [ebp - 0x1d8], eax
mov edx, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x234]
movss xmm0, dword [ebp - 0x208]
mov esi, dword [ebp - 0x20c]
movss xmm1, dword [0x4de128]
cmp edx, 0x80000000
jne 0x47ca99
cmp esi, 0x80000000
jne 0x47ca99
comiss xmm0, xmm1
ja 0x47ca99
mov eax, dword [ebp + 0x10]
mov edi, eax
test eax, eax
je 0x47ca83
movzx eax, word [eax]
test ax, ax
je 0x47ca83
mov esi, eax
nop word [eax + eax]
mov ecx, 0x4db394
mov edx, 0xa
nop word [eax + eax]
cmp si, dx
je 0x47ca87
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x47ca50
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x47ca40
mov ecx, dword [ebp - 0x234]
mov edx, dword [ebp - 0x210]
mov esi, dword [ebp - 0x20c]
xor edi, edi
jmp 0x47caa3
mov ecx, dword [ebp - 0x234]
mov edx, dword [ebp - 0x210]
mov esi, dword [ebp - 0x20c]
mov edi, ecx
not edi
and edi, 0x2000
mov eax, dword [ebp - 0x22c]
not eax
mov dword [ebp - 0x250], edi
and eax, dword [ebp - 0x230]
mov dword [ebp - 0x30], eax
mov eax, ecx
not eax
and eax, dword [ebp - 0x238]
or eax, 0x40000000
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x44]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x47cade.10
movzx eax, byte [eax + 0x47fa50]
jmp dword [eax*4 + 0x47fa28]
mov eax, dword [ebp - 0x10]
and eax, 0xfffffff7
or eax, 7
jmp 0x47caff
mov eax, dword [ebp - 0x10]
test al, 1
je 0x47cb4b
and eax, 0xfffffff1
or eax, 1
or eax, edi
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp byte [ebp + 8], 4
jne 0x47cda2
cmp dword [edi + 0xc], 0
jne 0x47cda2
test byte [edi + 5], 1
jne 0x47cda2
mov ecx, dword [ecx]
cmp word [ecx], 0x31
jne 0x47cc7d
cmp word [ecx + 2], 0
jne 0x47cc7d
xor eax, eax
mov word [ebp - 0xaf0], ax
jmp 0x47cc95
and eax, 0xfffffff0
jmp 0x47cafd
mov eax, dword [ebp - 0x10]
and eax, 6
cmp al, 6
mov eax, dword [ebp - 0x10]
jne 0x47cb65
and eax, 0xfffffff6
or eax, 6
jmp 0x47cafd
and eax, 0xfffffff3
or eax, 3
jmp 0x47cafd
mov eax, dword [ebp - 0x10]
and eax, 0xfffffff9
or eax, 9
test eax, 0x20000
je 0x47cafd
test ecx, 0x10000
jne 0x47cafd
or eax, 0x10000
jmp 0x47cafd
or dword [ebp - 0x10], 3
jmp case.0x47cade.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
test al, 1
je 0x47cbb7
and eax, 0xfffffff1
or eax, 1
mov dword [ebp - 0x10], eax
jmp 0x47cb08
and eax, 0xfffffff2
or eax, 2
mov dword [ebp - 0x10], eax
jmp 0x47cb08
or dword [ebp - 0x10], 1
jmp case.0x47cade.10
comiss xmm0, xmm1
ja 0x47cbeb
push 0xa
push dword [ebp + 0x10]
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov ecx, dword [ebp - 0x234]
add esp, 8
test eax, eax
je 0x47cbf5
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 0x47cb05
not ecx
and ecx, 0x201040
or eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x47cb05
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
or eax, 0x4000000
cmp dword [ecx + 0x60], 0
je 0x47cc2f
test byte [edi + 5], 0x20
je 0x47cc38
cmp dword [edi + 0x10], 0xff000000
je 0x47cc46
or eax, 0x2000
mov byte [ebp - 0xa5], 0
jmp 0x47cc4b
and eax, 0xffffdfff
mov dword [ebp - 0x10], eax
mov al, byte [ebp - 0xa2]
cmp edx, 0x80000000
je 0x47cc64
and al, 0xfe
mov byte [ebp - 0xa2], al
cmp esi, 0x80000000
je 0x47cb08
and al, 0xfd
mov byte [ebp - 0xa2], al
jmp 0x47cb08
lea edx, [ebp - 0xaf0]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x47cc85
push dword [ebp + 0x10]
lea eax, [ebp - 0xaf0]
push str.Button_s
push 0x400
push eax
call fcn.0049d5d0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4bac30
mov edx, 0x4db3b0
lea ecx, [ebp - 0xaf0]
call fcn.0049dd60
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4bac30
mov edx, 0x4d9f84
lea ecx, [ebp - 0xaf0]
call fcn.0049dd60
add esp, 0x40
lea ecx, [ebp - 0xaf0]
mov edx, 0x4d7cfc
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4bac30
call fcn.0049dd60
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4bac30
mov edx, 0x4d8114
lea ecx, [ebp - 0xaf0]
call fcn.0049dd60
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4bac30
mov edx, 0x4db3b4
lea ecx, [ebp - 0xaf0]
call fcn.0049dd60
add esp, 0x48
lea ecx, [ebp - 0xaf0]
mov edx, 0x4db3b8
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4bac30
call fcn.0049dd60
add esp, 0x18
lea eax, [ebp - 0xaf0]
mov ecx, 0x4e8b78
push 4
push 0
push eax
call fcn.00431c10
mov esi, eax
test esi, esi
je 0x47cd92
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x47cd9f
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.00489240
mov ecx, eax
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x6c], edi
test edi, edi
je 0x47cde3
mov eax, dword [esi + 0x18]
mov ecx, edi
shl ecx, 6
add eax, 0xffffffc0
add eax, ecx
mov ecx, dword [ebp - 0x40]
jmp 0x47cde9
lea eax, [ebp - 0x2f0]
cmp dword [ebp - 0x218], 0x80000000
mov dword [ebp - 0x48], eax
jne 0x47cede
cmp dword [ebp - 0x214], 0x80000000
jne 0x47cede
test ecx, ecx
je 0x47ce75
xor edx, edx
test edi, edi
je 0x47ce52
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0x18]
mov esi, edi
mov edi, dword [ebp - 0x14]
mov cl, byte [ecx + 7]
mov byte [ebp + 0xf], cl
lea ecx, [eax + 6]
mov ah, byte [ebp + 0xf]
nop dword [eax]
cmp byte [ecx + 1], ah
jne 0x47ce3d
mov al, byte [ecx]
cmp al, byte [edi + 6]
jne 0x47ce3d
inc edx
add ecx, 0x40
sub esi, 1
jne 0x47ce30
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x1c]
test edx, edx
jne 0x47ce75
mov ecx, dword [ebp - 0x40]
push ecx
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call fcn.004894d0
mov eax, dword [esi + 0x78]
add eax, dword [ebp - 0x78]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x218], eax
mov eax, dword [esi + 0x7c]
add eax, dword [ebp - 0x74]
jmp 0x47ce90
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x218], eax
mov eax, dword [esi + 0x8c]
add eax, dword [esi + 0x84]
add eax, dword [esi + 0x7c]
mov dword [ebp - 0x214], eax
mov ah, byte [ebp + 8]
cmp ah, 1
je 0x47cea3
cmp ah, 0x17
jne 0x47cee1
test edi, edi
je 0x47cee1
mov edx, dword [ebp - 0x48]
mov al, byte [edx + 4]
cmp al, 1
je 0x47ceb5
cmp al, 0x17
jne 0x47cee1
mov ecx, dword [ebp - 0x14]
mov al, byte [edx + 6]
cmp al, byte [ecx + 6]
jne 0x47cee1
mov al, byte [edx + 7]
cmp al, byte [ecx + 7]
jne 0x47cee1
push 0x60
push dword [0x4e8b64]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x214], eax
mov ah, byte [ebp + 8]
cmp ah, 0xe
je 0x47cef4
cmp ah, 0xa
je 0x47cef4
cmp ah, 0xb
je 0x47cef4
xor cl, cl
jmp 0x47cef6
mov cl, 1
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ch, cl
xor ch, 1
mov byte [ebp + 0xf], cl
cmp dword [ebp - 0x20c], 0x80000000
mov byte [ebp - 0x15], ch
jne 0x47d093
movss xmm1, dword [0x4de118]
comiss xmm1, dword [ebp - 0x208]
jbe 0x47d093
mov eax, dword [ebp - 0x44]
add eax, 0xfffffffd
cmp eax, 0x17
ja case.0x47cf42.4
movzx eax, byte [eax + 0x47fa94]
jmp dword [eax*4 + 0x47fa64]
mov edx, dword [ebp - 0x10]
mov eax, edx
and al, 3
mov dword [ebp - 0x208], 0x40400000
cmp al, 1
je 0x47d0cf
test edx, 0x400
jne 0x47d0cf
xor ch, ch
mov byte [ebp - 0x15], ch
jmp 0x47d0cf
mov dword [ebp - 0x208], 0x40000000
jmp 0x47d0cf
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
jne case.0x47cf42.4
test byte [ebp - 0x10], 4
je 0x47cfa9
mov dword [ebp - 0x208], 0x40400000
jmp 0x47d0cf
mov dword [ebp - 0x208], 0x3f800000
jmp case.0x47cf42.4
mov dword [ebp - 0x208], 0x3f800000
jmp 0x47d0cf
test byte [ebp - 0x10], 0x40
je 0x47d002
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4e82bc]
push 0x60
push dword [0x4e8b64]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x15]
mov dword [ebp - 0x20c], eax
jmp case.0x47cf42.4
mov dword [ebp - 0x208], 0x40a00000
jmp case.0x47cf42.4
mov edx, dword [ebp - 0x10]
test dl, 2
je 0x47d028
mov dword [ebp - 0x208], 0x40a00000
jmp 0x47d0cf
push dword [ebp - 0x1ec]
mov ecx, esi
push edx
call fcn.00488a30
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x15]
mov dword [ebp - 0x20c], eax
jmp case.0x47cf42.4
test byte [ebp - 0x10], 4
je 0x47cfcd
mov dword [ebp - 0x208], 0x40a00000
jmp 0x47d0cf
mov dword [ebp - 0x208], 0x41200000
jmp 0x47d0cf
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47cf42.4
lea ecx, [ebp - 0x264]
push ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x258]
sub eax, dword [ebp - 0x260]
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x15]
mov dword [ebp - 0x20c], eax
jmp case.0x47cf42.4
mov al, byte [ebp + 8]
cmp al, 7
je 0x47d09e
cmp al, 8
jne case.0x47cf42.4
or dword [ebp - 0x10], 0x400
movss xmm0, dword [ebp - 0x208]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], 0
jbe 0x47d262
movss xmm1, dword [0x4de118]
cmp byte [ebp + 8], 3
je 0x47d0de
mov al, byte [ebp - 0x16]
sub al, 7
cmp al, 1
ja 0x47d0f2
movss xmm0, dword [ebp - 0x208]
addss xmm0, xmm1
movss dword [ebp - 0x208], xmm0
test ch, ch
je 0x47d22c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul edx, dword [esi + 0x50], 0x94
mov ecx, dword [0x4e82bc]
mov dword [ebp - 0x20], eax
push dword [edx + ecx + 0x90]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
movss xmm2, dword [ebp - 0x208]
cvtps2pd xmm0, xmm2
mov esi, dword [ebp - 0x1c]
addsd xmm0, qword [0x4de138]
cvttsd2si ecx, xmm0
movd xmm0, dword [ebp - 0x2a0]
cvtdq2ps xmm0, xmm0
lea eax, [ecx - 1]
imul eax, dword [ebp - 0x290]
mulss xmm0, xmm2
movd xmm1, eax
mov eax, dword [ebp - 0x44]
cvtdq2ps xmm1, xmm1
add eax, 0xfffffffd
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x4de138]
cvttsd2si edx, xmm0
mov dword [ebp - 0x20c], edx
cmp eax, 0x15
ja case.0x47d19d.5
movzx eax, byte [eax + 0x47fac0]
jmp dword [eax*4 + 0x47faac]
push 0x60
push dword [0x4e8b64]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x20c], eax
test dword [ebp - 0x10], 0x100000
je case.0x47d19d.5
push 3
call edi
add dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x20]
jmp 0x47d264
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4e82bc]
push 0x60
push dword [0x4e8b64]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x20]
jmp 0x47d264
mov eax, dword [esi + 0x7c]
imul eax, ecx
mov ecx, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x20c], eax
jmp 0x47d264
lea eax, [ecx + 1]
imul eax, dword [esi + 0x7c]
add eax, edx
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x20]
jmp 0x47d264
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], 0
test cl, cl
jne 0x47d262
push 0x60
push dword [0x4e8b64]
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
xor ecx, ecx
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], ecx
jmp 0x47d264
xor ecx, ecx
cmp dword [ebp - 0x20c], 0x80000000
mov edx, dword [ebp - 0x210]
mov byte [ebp - 0x31], 0
je 0x47d286
cmp edx, 0x80000000
jne 0x47d935
xor eax, eax
mov esi, 0x400
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 0x16
ja case.0x47d2a7.2
movzx eax, byte [eax + 0x47fae4]
jmp dword [eax*4 + 0x47fad8]
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je case.0x47d2a7.2
test ecx, ecx
jne 0x47d2f0
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 [0x4e82bc]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2a0]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test dword [ebp - 0x10], 0x200000
mov eax, dword [ebp - 0x28c]
lea esi, [eax + 4]
mov dword [ebp + 0xc], esi
je 0x47d31c
push 2
call edi
add esi, eax
mov dword [ebp + 0xc], esi
mov esi, dword [ebp + 0x10]
cmp word [esi], 0
je 0x47d356
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47d330
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0xa
jne 0x47d356
mov eax, dword [ebp - 0x290]
add eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x210]
mov esi, 0x2c40
mov ecx, dword [ebp - 0x20]
mov edi, esi
test ecx, ecx
jne 0x47d3a4
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 [0x4e82bc]
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov al, byte [ebp + 8]
cmp al, 1
jne 0x47d3c0
mov ecx, dword [ebp - 0x10]
mov esi, ecx
and esi, 0x80
or esi, 4
shl esi, 4
or esi, edi
jmp 0x47d400
cmp al, 5
je 0x47d3c8
cmp al, 6
jne 0x47d3fd
lea eax, [ebp - 0x2a0]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [ebp + 0xc]
add eax, dword [ebp - 0x28c]
add edi, 2
mov edx, dword [ebp - 0x210]
add edi, eax
mov ecx, dword [ebp - 0x10]
mov al, byte [ebp + 8]
mov dword [ebp + 0xc], edi
jmp 0x47d403
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
test ecx, 0x800000
je 0x47d438
cmp al, 1
je 0x47d413
cmp al, 0x17
jne 0x47d438
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
add edi, edi
push 6
mov dword [ebp + 0xc], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [ebp - 0x210]
add eax, eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x70], eax
cmp edx, 0x80000000
je 0x47d45a
mov al, byte [ebp + 8]
cmp al, 4
je 0x47d44f
cmp al, 5
je 0x47d44f
cmp al, 6
jne 0x47d457
test ecx, 0x2000
je 0x47d45a
or esi, 0x10
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
cmp edx, 0x80000000
jne 0x47d482
mov dword [ebp - 0x240], 0
jmp 0x47d48a
sub edx, edi
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x20c]
xor edx, edx
cmp eax, 0x80000000
cmove eax, edx
mov dword [ebp - 0x23c], eax
xor eax, eax
cmp byte [ebp + 8], 0x17
mov dword [ebp - 0x6c], eax
jne 0x47d68b
mov eax, ecx
mov ecx, esi
or ecx, 0x800
and al, 4
cmove ecx, esi
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47d4c7
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.004b7796
mov edx, eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov edi, edx
mov esi, eax
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
movzx ecx, word [eax]
test cx, cx
je 0x47d644
cmp cx, 0x3c
jne 0x47d615
mov cx, word [esi + 2]
call fcn.004133b0
cmp ax, 0x41
jne 0x47d615
add esi, 4
movzx eax, word [esi]
cmp eax, 0x20
je 0x47d540
cmp eax, 9
jne 0x47d545
add esi, 2
jmp 0x47d533
cmp eax, 0x3e
je 0x47d5bc
nop word [eax + eax]
movzx ecx, word [esi]
mov eax, ecx
test eax, 0xffffff80
jne 0x47d577
push 0x107
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
movzx ecx, word [esi]
add esp, 8
test eax, eax
je 0x47d577
add esi, 2
jmp 0x47d550
cmp cx, 0x3d
jne 0x47d615
mov eax, 0x22
cmp ax, word [esi + 2]
jne 0x47d615
push eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
je 0x47d615
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x47d5b2
cmp eax, 9
jne 0x47d5b7
add esi, 2
jmp 0x47d5a5
cmp eax, 0x3e
jne 0x47d550
add esi, 2
je 0x47d615
mov edx, 0x4db3bc
mov ecx, esi
call fcn.0049d970
mov edi, eax
mov dword [ebp - 0x254], edi
test edi, edi
je 0x47d612
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 0x47d60a
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 0x47d5f2
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x254]
lea eax, [edi + 6]
mov edi, dword [ebp - 0x28]
jmp 0x47d627
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 0x47d513
mov edx, dword [ebp - 0x24c]
xor eax, eax
mov word [edi], ax
cmp edi, edx
jbe 0x47d654
movzx eax, word [edi - 2]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x5c]
cmp word [edx], 0
lea eax, [ebp - 0x248]
push eax
push 0xffffffffffffffff
mov eax, 0x4da238
cmovne eax, edx
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x24c]
mov edi, eax
call fcn.004b779f
mov ecx, dword [ebp - 0x6c]
add esp, 4
jmp 0x47d6d8
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x248]
push eax
push 0xffffffffffffffff
mov eax, 0x4da238
cmp word [esi], dx
cmovne eax, esi
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp word [esi], 0
mov edi, eax
je 0x47d6d6
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47d6c0
sub ecx, edx
sar ecx, 1
movzx ecx, word [esi + ecx*2 - 2]
jmp 0x47d6d8
xor ecx, ecx
mov esi, dword [ebp - 0x240]
mov eax, dword [ebp - 0x44]
sub esi, dword [ebp - 0x248]
sub eax, 1
je 0x47d701
sub eax, 3
je 0x47d6f8
sub eax, 8
je 0x47d701
jmp 0x47d725
cmp dword [ebp - 0x250], 0
jne 0x47d725
test cx, cx
je 0x47d725
movzx eax, cx
lea ecx, [ebp - 0x64]
push ecx
push eax
push eax
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
test eax, eax
je 0x47d725
mov eax, dword [ebp - 0x5c]
test eax, eax
jns 0x47d725
sub esi, eax
mov eax, dword [ebp - 0x20c]
mov cl, byte [ebp + 8]
cmp eax, 0x80000000
je 0x47d746
cmp edi, eax
jle 0x47d869
cmp cl, 0xc
je 0x47d869
mov edx, dword [ebp - 0x70]
add edx, edi
mov dword [ebp - 0x20c], edx
cmp cl, 0xc
jne 0x47d83a
push 0x60
push dword [0x4e8b64]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x20c], eax
test dword [ebp - 0x10], 0x100000
je 0x47d787
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [ebp - 0x20c], eax
mov edi, dword [ebp - 0x1c]
mov cl, byte [ebp + 8]
mov edx, dword [ebp - 0x210]
cmp edx, 0x80000000
je 0x47d79f
cmp esi, edx
jle case.0x47d2a7.2
mov edx, dword [ebp + 0xc]
add edx, esi
mov byte [ebp - 0x31], 1
mov dword [ebp - 0x210], edx
cmp cl, 4
jne case.0x47d2a7.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
imul edx, dword [edi + 0x50], 0x94
add eax, eax
mov ecx, dword [0x4e82bc]
mov ecx, dword [edx + ecx + 0x84]
mov edx, dword [ebp - 0x210]
add ecx, eax
add edx, ecx
mov dword [ebp - 0x210], edx
mov edi, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
cmp edx, 0x80000000
jne case.0x47d833.4
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e82bc]
push 0x60
push dword [0x4e8b64]
mov eax, dword [ecx + eax + 0x84]
mov ecx, eax
shl ecx, 4
sub ecx, eax
push ecx
call esi
mov edx, eax
mov eax, dword [ebp - 0x44]
add eax, 0xfffffffd
cmp eax, 0x17
ja case.0x47d833.4
movzx ecx, byte [eax + 0x47fb20]
jmp dword [ecx*4 + 0x47fafc]
mov edi, dword [ebp - 0x1c]
cmp cl, 4
jne 0x47d78d
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e82bc]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
add eax, edx
mov dword [ebp - 0x20c], eax
jmp 0x47d78a
mov edi, dword [ebp - 0x1c]
jmp 0x47d78d
mov dword [ebp - 0x210], edx
jmp case.0x47d833.4
lea eax, [edx + edx]
mov dword [ebp - 0x210], eax
jmp case.0x47d833.4
mov eax, dword [ebp - 0x10]
test al, 0x40
je 0x47d8c3
mov dword [ebp - 0x210], edx
jmp 0x47d941
mov eax, dword [ebp - 0x10]
test al, 2
je 0x47d891
push dword [ebp - 0x1ec]
mov ecx, edi
push eax
call fcn.00488a30
mov dword [ebp - 0x210], eax
jmp case.0x47d833.4
mov eax, dword [ebp - 0x10]
test al, 4
je 0x47d891
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e82bc]
push 0x60
push dword [0x4e8b64]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
push eax
call esi
mov dword [ebp - 0x210], eax
jmp case.0x47d833.4
mov eax, dword [edi + 0x78]
lea eax, [edx + eax*2]
mov dword [ebp - 0x210], eax
jmp case.0x47d833.4
mov eax, dword [edi + 0x78]
lea eax, [eax + eax*2]
lea eax, [eax + edx*2]
mov dword [ebp - 0x210], eax
jmp case.0x47d833.4
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47d833.4
lea ecx, [ebp - 0x264]
push ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x25c]
sub eax, dword [ebp - 0x264]
mov dword [ebp - 0x210], eax
jmp case.0x47d833.4
mov edi, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, dword [ebp - 0x10]
cmp byte [ebp + 8], 0xc
jne 0x47da4a
test al, 4
jne 0x47da4a
movss xmm0, dword [0x4de118]
comiss xmm0, dword [ebp - 0x208]
jbe 0x47da4a
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47d99d
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4e82bc]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x2a0]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x60
push dword [0x4e8b64]
push 8
call esi
mov esi, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x2a0]
sub esi, eax
mov edx, dword [ebp - 0x10]
sub esi, ecx
test edx, 0x100000
je 0x47d9e5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x2a0]
sub esi, eax
mov edx, dword [ebp - 0x10]
test esi, esi
jle 0x47da40
mov eax, dword [ebp - 0x290]
add eax, ecx
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
addss xmm1, dword [0x4de118]
comiss xmm1, dword [0x4de128]
movss dword [ebp - 0x208], xmm1
jbe 0x47da4a
mov ecx, dword [ebp - 0x234]
not ecx
mov eax, ecx
and eax, 4
or edx, eax
mov dword [ebp - 0x10], edx
test dl, 4
je 0x47da4a
and ecx, 0x201040
or edx, ecx
mov dword [ebp - 0x10], edx
jmp 0x47da4a
mov dword [ebp - 0x208], 0x3f800000
cmp byte [ebp - 0xa5], 0
mov eax, dword [edi + 0x10]
sete byte [ebp - 0x32]
mov byte [ebp - 0x16], 0
add eax, 3
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47da88
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [ebp + 0xf], 1
test eax, eax
je 0x47da8c
mov byte [ebp + 0xf], 0
mov eax, dword [ebp - 0x14]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov byte [ebp - 0x34], 0
cmp byte [eax + 6], 0xff
jae 0x47db2b
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47db42
push str.ahk_dlg
push dword [eax]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x47daf6
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x214]
push 1
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x60]
push ecx
push eax
push dword [edi + 4]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x40]
push 0xfffffffffffffff0
push dword [eax]
call esi
test eax, 0x10000000
je 0x47db42
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 0x47db42
mov al, byte [ebp + 0xf]
mov byte [ebp - 0x34], al
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 0x19
ja case.0x47db3b.20
jmp dword [eax*4 + 0x47fb38]
mov ecx, dword [ebp - 0x10]
and ecx, 0xefffffff
mov dword [ebp - 0x10], ecx
jmp 0x47db2e
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47db61
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47db63
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47db74
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47db76
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.static
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
jmp case.0x47db3b.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47dbd1
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47dbd3
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47dbe4
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dbe6
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.SysLink
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
jmp case.0x47db3b.20
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov edx, dword [ebp - 0x20c]
cmp eax, 0x80000000
mov esi, dword [edi + 0xcc]
cmove eax, ecx
cmp edx, 0x80000000
mov dword [ebp - 0x210], eax
cmove edx, ecx
mov dword [ebp - 0x20c], edx
test esi, esi
je 0x47dc6c
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x47dc6e
xor esi, esi
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47dc7f
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dc81
xor ecx, ecx
push 0
push dword [0x4e6a50]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push edx
push eax
mov eax, dword [ebp - 0x214]
sub eax, esi
mov esi, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push esi
push str.static
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
mov dword [edx], eax
test eax, eax
je case.0x47db3b.20
push dword [ebp - 0x1c8]
mov ecx, edi
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push esi
push edx
call fcn.00483800
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47f43b
mov byte [ebp - 0x16], 1
jmp 0x47f43b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47dd0b
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47dd0d
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47dd1e
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dd20
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
jmp case.0x47db3b.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47dd7b
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47dd7d
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47dd8e
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dd90
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x47db3b.20
test byte [ebp - 0x10], 1
je case.0x47db3b.20
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x10]
cmp ecx, eax
jae 0x47de24
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 0x47de2a
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 0x47f43b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47de68
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47de6a
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47de7b
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47de7d
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x47db3b.20
mov ecx, dword [ebp - 0x1cc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x47f43b
push 0
push ecx
push 0xf1
push eax
call esi
jmp 0x47f43b
cmp dword [ebp - 0x1d4], 0
mov esi, dword [ebp - 0x14]
je 0x47df06
cmp byte [esi + 4], 8
jne 0x47df06
and ecx, 0xffffffbf
mov dword [ebp - 0x10], ecx
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47df17
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47df19
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47df2a
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47df2c
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4bac30
push str.Combobox
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
je 0x47e06c
imul edx, dword [edi + 0x50], 0x94
movzx ecx, byte [ebp + 0xf]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [0x4e82bc]
push dword [edx + ecx + 0x90]
push 0x30
push eax
call esi
cmp byte [ebp - 0x15], 0
je 0x47e064
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 [0x4e8b64]
sete al
push 8
lea eax, [eax*2 + 2]
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [ebp - 0x5c]
add eax, esi
mov ecx, dword [ebp - 0x20c]
lea eax, [eax + edi*2]
cmp ecx, eax
jge 0x47e02b
mov ecx, eax
mov dword [ebp - 0x20c], ecx
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push 1
push ecx
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
mov al, 1
mov byte [ebp - 0x16], al
mov byte [ebp - 0x29], al
jmp case.0x47db3b.20
movss xmm0, dword [ebp - 0x208]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47dffa
push 0x60
push dword [0x4e8b64]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x208]
cvttss2si ecx, xmm0
add ecx, eax
add ecx, esi
jmp 0x47dff4
mov ecx, dword [ebp - 0x20c]
jmp 0x47dffd
mov al, byte [ebp - 0x16]
mov byte [ebp - 0x29], al
jmp case.0x47db3b.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e088
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e08a
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e09b
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e09d
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4bac30
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 0x47e06c
mov eax, dword [ebp - 0xfc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47e10f
lea ecx, [ebp - 0x1c4]
push ecx
push eax
push 0x192
push edx
call esi
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e82bc]
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 [0x4e8b64]
mov edi, eax
push 8
mov dword [ebp - 0x5c], edi
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea esi, [edi + eax]
mov edi, dword [ebp - 0x10]
and edi, 0x100000
je 0x47e169
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [ebp - 0x20c]
cmp ecx, esi
jge 0x47e177
mov ecx, esi
jmp 0x47e1c7
movss xmm0, dword [ebp - 0x208]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47e1cd
push 0x60
push dword [0x4e8b64]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, dword [ebp - 0x5c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x208]
cvttss2si ecx, xmm0
add ecx, eax
mov dword [ebp - 0x20c], ecx
test edi, edi
je 0x47e1cd
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x20c]
add ecx, eax
mov dword [ebp - 0x20c], ecx
mov eax, dword [ebp - 0x14]
push 1
push ecx
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
mov edi, dword [ebp - 0x1c]
mov al, 1
mov byte [ebp - 0x16], al
mov byte [ebp - 0x29], al
jmp case.0x47db3b.20
mov eax, dword [ebp - 0x224]
cmp eax, 4
je 0x47e211
and ecx, 0xfffffffc
or ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e222
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e224
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e235
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e237
xor ecx, ecx
mov eax, dword [ebp - 0x20c]
mov esi, 0xc8
push 0
push dword [0x4e6a50]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x210]
mov eax, dword [ebp - 0x214]
sub eax, edx
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4bac30
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.0x47db3b.20
push 0x3f8
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
jne 0x47e2bc
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47db3b.20
push 0x3f8
mov dword [edi + 0x48], esi
push 0
push dword [esi + 0x10]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x10]
add esp, 0xc
mov dword [eax], 0xffffffff
mov ecx, dword [esi + 0x10]
mov al, byte [ebp - 0xa4]
mov byte [ecx + 5], al
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47e2f1
or byte [eax + 5], 0x80
cmp dword [ebp - 0x224], 4
jne 0x47e30f
push 0
push 4
push 0x108e
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47e315
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x47e32e
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x1036
push dword [eax]
call esi
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
push dword [ebp - 0x14]
call fcn.00488bd0
cmp dword [ebp - 0x20c], 0x80000000
jne case.0x47db3b.20
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e82bc]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call esi
mov eax, dword [ebp - 0x224]
mov byte [ebp - 0x29], 1
sub eax, 1
je 0x47e4c7
sub eax, 3
je 0x47e499
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47e3c1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4e82bc]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x2a0]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [ebp - 0x224], 0
jne 0x47e45e
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 + 0x4de2a0]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [ebp - 0x208]
subss xmm0, dword [0x4de118]
mulss xmm0, xmm1
call fcn.004b8600
mov esi, eax
push 0xc
shr esi, 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm1, esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebp - 0x2a0]
cvtdq2ps xmm0, xmm0
add eax, 0x10
mulss xmm0, dword [ebp - 0x208]
addss xmm0, xmm1
cvttss2si ecx, xmm0
add eax, ecx
jmp 0x47e4ea
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x2a0]
cmp eax, ecx
movss xmm0, dword [ebp - 0x208]
cmovg ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
subss xmm0, dword [0x4de118]
addss xmm1, xmm0
cvttss2si eax, xmm1
add eax, 0xb
jmp 0x47e4ea
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x1033
push dword [eax]
call esi
shr eax, 0x10
sub eax, 3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x208]
cvttss2si eax, xmm0
add eax, 7
jmp 0x47e4ea
movss xmm0, dword [ebp - 0x208]
push 0xffffffffffffffff
call fcn.004b8600
dec eax
push eax
mov eax, dword [ebp - 0x14]
push 0x1040
push dword [eax]
call esi
shr eax, 0x10
add eax, 4
push 1
push eax
push dword [ebp - 0x210]
mov dword [ebp - 0x20c], eax
push dword [ebp - 0x214]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x218]
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
jmp 0x47f43b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e527
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e529
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e53a
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e53c
xor ecx, ecx
mov eax, dword [ebp - 0x20c]
mov esi, 0xc8
push 0
push dword [0x4e6a50]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x210]
mov eax, dword [ebp - 0x214]
sub eax, edx
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4bac30
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.0x47db3b.20
cmp dword [ebp - 0x1cc], 0
mov dword [edi + 0x4c], esi
je 0x47e5b8
mov eax, dword [ebp - 0x10]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
push esi
call fcn.00488c80
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x47e5e5
push eax
push 0
push 0x1109
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47e5eb
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x20c], 0x80000000
jne case.0x47db3b.20
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e82bc]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call esi
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x111c
push dword [eax]
mov byte [ebp - 0x29], 1
call esi
mov dword [ebp - 0x20c], eax
cmp eax, 2
jge 0x47e650
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e82bc]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x208]
cvttss2si eax, xmm0
jmp 0x47e4e7
test cl, 4
jne 0x47e690
cmp dword [ebp - 0x1d4], 0
jge 0x47e67e
and ecx, 0xffefff7f
jmp 0x47e68d
mov eax, dword [ebp - 0x234]
not eax
and eax, 0x80
or ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47e6a5
test cl, 4
je 0x47e6a5
mov ecx, eax
call fcn.0049e2c0
mov esi, eax
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e6b8
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e6ba
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e6cb
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e6cd
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
test esi, esi
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
cmovne eax, esi
push eax
push str.edit
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
test edx, edx
je 0x47e789
test byte [ebp - 0x10], 0x20
je 0x47e742
mov cx, word [ebp - 0xac]
test cx, cx
je 0x47e742
push 0
movzx eax, cx
push eax
push 0xcc
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1d4]
xor ecx, ecx
test eax, eax
push ecx
cmovs eax, ecx
push eax
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x14]
push 0xc5
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x47e789
lea ecx, [ebp - 0x1c4]
push ecx
push eax
mov eax, dword [ebp - 0x14]
push 0xcb
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
je case.0x47db3b.20
cmp esi, dword [ebp + 0x10]
je case.0x47db3b.20
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp case.0x47db3b.20
mov esi, dword [ebp + 0x10]
mov byte [ebp - 0x15], 0
cmp word [esi], 0
je 0x47e804
push str.LongDate
push esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
call esi
add esp, 8
test eax, eax
jne 0x47e7dc
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 0x10]
and eax, 0xfffffff6
or eax, 4
mov dword [ebp - 0x10], eax
jmp 0x47e807
push str.Time
push dword [ebp + 0x10]
call esi
mov esi, dword [ebp + 0x10]
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x47e7fe
and eax, 0xfffffffb
or eax, 9
mov dword [ebp - 0x10], eax
jmp 0x47e807
mov byte [ebp - 0x15], 1
jmp 0x47e807
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x204], 2
jne 0x47e816
or eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e827
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e829
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e83a
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e83c
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4bac30
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.0x47db3b.20
cmp byte [ebp - 0x15], 0
je 0x47e8ab
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 0x47e8b1
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x47e8d0
lea edx, [ebp - 0xd8]
push edx
push eax
push 0x1004
push ecx
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x204]
test edx, edx
je 0x47e8f9
lea eax, [ebp - 0xf8]
push eax
xor eax, eax
cmp edx, 1
setne al
push eax
push 0x1002
push ecx
call esi
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
jmp 0x47e8fc
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
cmp eax, 0xff000000
je 0x47f43b
push eax
push 1
push 0x1006
push ecx
call esi
jmp 0x47f43b
cmp dword [ebp - 0xb8], 0
jne 0x47e948
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47e948
lea edx, [ebp - 0xf8]
mov ecx, eax
call fcn.0049cfa0
mov dword [ebp - 0xb8], eax
cmp eax, 3
jne 0x47e948
or dword [ebp - 0x10], 2
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e959
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e95b
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e96c
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e96e
xor ecx, ecx
mov eax, dword [ebp - 0x20c]
mov esi, 0x64
push 0
push dword [0x4e6a50]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x210]
test eax, eax
cmovs eax, esi
push eax
mov eax, dword [ebp - 0x214]
sub eax, edx
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4bac30
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.0x47db3b.20
mov esi, dword [ebp - 0x10]
mov ecx, eax
and esi, 2
je 0x47e9f5
push 0
push 0x16e
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov ecx, eax
mov edx, dword [ebp - 0xb4]
test edx, edx
je 0x47ea1a
lea ecx, [ebp - 0xd8]
push ecx
push edx
push 0x1012
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov ecx, eax
mov edx, dword [ebp - 0xb8]
test edx, edx
je 0x47ea72
test esi, esi
je 0x47ea59
cmp edx, 1
jne 0x47ea40
movups xmm0, xmmword [ebp - 0xf8]
mov eax, dword [ebp - 0x14]
movups xmmword [ebp - 0xe8], xmm0
mov ecx, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0xf8]
push eax
push 0
push 0x1006
push ecx
call esi
jmp 0x47ea78
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xf8]
push ecx
push 0
push 0x1002
push eax
call esi
jmp 0x47ea78
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x10]
cmp eax, 0xff000000
je 0x47ea91
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 [0x4e82bc]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call esi
cmp dword [ebp - 0x210], 0x80000000
mov byte [ebp - 0x29], 1
je 0x47ead2
cmp dword [ebp - 0x20c], 0x80000000
jne 0x47f43b
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x1009
push dword [eax]
call esi
test eax, eax
je 0x47f43b
mov ecx, dword [ebp - 0x210]
test ecx, ecx
jns 0x47eb3d
test byte [ebp - 0x10], 0x10
je 0x47eb01
mov eax, dword [ebp - 0x50]
jmp 0x47eb1e
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x1015
push dword [eax]
call esi
cmp eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x210]
cmovl eax, dword [ebp - 0x50]
cmp ecx, 0x80000000
jne 0x47eb2a
mov ecx, eax
jmp 0x47eb37
add eax, 6
imul eax, ecx
mov ecx, 0xfffffffa
sub ecx, eax
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x20c]
cmp edx, 0x80000000
jne 0x47ec1f
movss xmm0, dword [ebp - 0x208]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x20c], edx
jbe 0x47ec1f
ucomiss xmm0, dword [0x4de118]
lahf
test ah, 0x44
jnp 0x47ec1f
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47ebb2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4e82bc]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x2a0]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [ebp - 0x10], 0x10
mov ecx, dword [ebp - 0x2a0]
mov eax, dword [ebp - 0x20c]
je 0x47ebd7
add eax, 4
add eax, ecx
movss xmm2, dword [ebp - 0x208]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
subss xmm2, dword [0x4de118]
cvttss2si eax, xmm0
movd xmm1, eax
lea eax, [ecx - 2]
mov ecx, dword [ebp - 0x210]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
subss xmm1, xmm0
cvttss2si edx, xmm1
mov dword [ebp - 0x20c], edx
push 1
push edx
push ecx
jmp 0x47e4f9
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47ec39
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47ec3b
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47ec4c
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47ec4e
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4bac30
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.0x47db3b.20
mov ecx, dword [ebp + 0x10]
cmp word [ecx], 0
je 0x47ecc7
push 0
call fcn.00488770
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 0x47eccd
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1d4]
test ecx, ecx
jle 0x47f43b
push 6
push ecx
push 0x403
push eax
call esi
jmp 0x47f43b
test cl, 0x10
je 0x47ed0f
cmp dword [edi + 8], 0
jne 0x47ed03
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47ed0f
cmp byte [eax + 5], 0
jge 0x47ed0f
and ecx, 0xffffffef
mov byte [ebp - 0x15], 1
mov dword [ebp - 0x10], ecx
jmp 0x47ed13
mov byte [ebp - 0x15], 0
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47ed24
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47ed26
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47ed37
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47ed39
xor ecx, ecx
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push esi
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4bac30
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.0x47db3b.20
mov cl, byte [ebp - 0x15]
test cl, cl
je 0x47edab
mov ecx, dword [ebp - 0x48]
push 0
push dword [ecx]
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov cl, byte [ebp - 0x15]
cmp dword [edi + 0x10], 0
je 0x47eef4
test byte [ebp - 0x10], 0x10
jne 0x47edc3
test cl, cl
je 0x47eef4
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x58]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
sub eax, ecx
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x214], edx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x80]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp byte [edi + 0xc7], 0
je 0x47ee96
mov esi, dword [ebp - 0x10]
and esi, 4
je 0x47ee67
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x218]
add dword [ebp - 0x50], eax
add ecx, eax
push 1
push dword [ebp - 0x20c]
mov dword [ebp - 0x218], ecx
push eax
push dword [ebp - 0x214]
mov eax, dword [ebp - 0x14]
push ecx
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x7c]
sub eax, ecx
add edx, dword [ebp - 0x210]
push 1
push eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], edx
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [ebp - 0x48]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0x10]
jmp 0x47ee9e
mov edx, dword [ebp - 0x10]
mov esi, edx
and esi, 4
test esi, esi
je 0x47eeb2
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x218], ecx
sub eax, ecx
jmp 0x47eeb8
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x58]
cmp byte [ebp - 0xaa], 0
mov dword [ebp - 0x210], eax
jne 0x47ef0e
mov eax, dword [ebp - 0x48]
cmp byte [eax + 4], 9
jne 0x47eefd
mov byte [ebp - 0xaa], 1
test dl, 0x40
je 0x47eee8
mov dword [ebp - 0x1fc], 0x7fff
jmp 0x47ef0e
mov dword [ebp - 0x200], 0x7fff
jmp 0x47ef0e
cmp byte [ebp - 0xaa], 0
jne 0x47ef0e
mov byte [ebp - 0xaa], 1
mov dword [ebp - 0x1fc], 0x64
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x238]
push eax
push esi
mov ecx, edi
call fcn.004889c0
mov ecx, dword [ebp + 0x10]
call fcn.00418450
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 0x47f43b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47ef5b
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47ef5d
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47ef6e
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47ef70
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4bac30
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.0x47db3b.20
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
push edx
call fcn.00488ac0
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je case.0x47db3b.20
mov ecx, eax
call fcn.00418450
mov esi, dword [ebp - 0x14]
mov ecx, edi
push eax
push esi
call fcn.00488a70
push eax
push 1
push 0x405
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47f43b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47f016
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47f018
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47f029
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47f02b
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4bac30
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.0x47db3b.20
push dword [ebp - 0x10]
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
push edx
call fcn.00488ce0
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47f0ba
push 0
mov ecx, eax
call fcn.00418450
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 0x47f43b
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 0x32], 0
jmp 0x47f43b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47f0da
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47f0dc
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47f0ed
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47f0ef
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4bac30
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.0x47db3b.20
cmp byte [ebp - 0xa3], 0
je 0x47f173
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
push edx
call fcn.00489a10
test eax, eax
jne 0x47f170
mov esi, dword [ebp - 0x14]
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47db3b.20
mov edx, dword [ebp - 0x14]
mov al, byte [ebp - 0xa2]
test al, al
je 0x47f18e
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 0x488410
push 0xfffffffffffffffc
mov byte [edi + 0xc2], 0
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x4e74e0], eax
jmp case.0x47db3b.20
cmp byte [0x4eab70], 0
jne 0x47f20d
push 0x4daf60
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x47f20d
push str.AtlAxWinInit
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47f1fd
call eax
test eax, eax
setne al
mov byte [0x4eab70], al
jmp 0x47f202
mov al, byte [0x4eab70]
test al, al
jne 0x47f20d
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47f21e
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47f220
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47f231
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47f233
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.AtlAxWin
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
test eax, eax
je case.0x47db3b.20
mov ecx, eax
call fcn.00475630
mov ecx, eax
test ecx, ecx
jne 0x47f2a0
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47db3b.20
mov eax, dword [esi + 8]
push ecx
test eax, eax
je 0x47f2b4
mov ecx, eax
call fcn.004a1d40
jmp case.0x47db3b.20
mov eax, dword [ecx]
call dword [eax + 8]
jmp case.0x47db3b.20
mov si, word [ebp - 0xa0]
test si, si
jne 0x47f2e5
push 0x4bac30
push str.A_window_class_is_required.
mov ecx, 0x4e8b78
call fcn.00448ad0
mov esi, eax
jmp 0x47f9ab
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47f2f6
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47f2f8
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47f309
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47f30b
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 0
push dword [0x4e6a50]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [ebp - 0x10]
movzx eax, si
push dword [ebp + 0x10]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
jmp case.0x47db3b.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.0x47db3b.20
mov ecx, dword [ebp - 0x1d8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 8], eax
cmp ecx, 0xffffffff
je 0x47f43b
push ecx
push 0
push 0x2001
push eax
call esi
jmp 0x47f43b
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je case.0x47db3b.20
mov esi, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
mov dword [esi], eax
cmp dword [ecx + 0xa8], 0
jne 0x47f3c1
mov eax, dword [ebp - 0x210]
mov dword [ecx + 0xa8], eax
cmp dword [ecx + 0xac], 0
jne 0x47f3d6
mov eax, dword [ebp - 0x20c]
mov dword [ecx + 0xac], eax
mov eax, dword [edi + 0x10]
add eax, 3
push eax
push 0xfffffffffffffff4
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [edi + 0xcc]
test edx, edx
je 0x47f3f8
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x47f3fa
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47f40b
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47f40d
xor ecx, ecx
mov eax, dword [ebp - 0x214]
push 1
push dword [ebp - 0x20c]
sub eax, edx
push dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x47f45e
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x47f454
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 0x47f481
push 0x4bac30
push str.Cant_create_control.
mov ecx, 0x4e8b78
call fcn.00448ad0
mov esi, eax
jmp 0x47f9ab
mov al, byte [ebp - 0x31]
inc dword [edi + 0x10]
mov edx, dword [ebp - 0x84]
mov byte [edi + 0xc7], al
mov eax, dword [ebp - 0x21c]
test eax, eax
jne 0x47f4a5
test edx, edx
je 0x47f524
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x47f518
lea eax, [ebp - 0x248]
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x14]
push 2
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x244], 0xffffffff
mov eax, dword [eax]
cdq
mov dword [ebp - 0x64], edx
lea edx, [ebp - 0x78]
push edx
push 1
lea edx, [ebp - 0x264]
mov dword [ebp - 0x60], 1
push edx
mov dword [ebp - 0x68], eax
lea edx, [ebp - 0x2b0]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x1c]
push dword [ebp - 0x84]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x47f524
mov ecx, dword [ebp - 0x14]
push dword [ecx]
mov ecx, eax
call fcn.004a1130
mov edx, dword [ebp - 0x14]
cmp byte [edx + 4], 6
jne 0x47f54e
mov ecx, dword [ebp - 0x1cc]
test ecx, ecx
je 0x47f548
mov eax, dword [edi + 0x10]
push ecx
dec eax
mov ecx, edi
push eax
push edx
call fcn.004888b0
mov edx, dword [ebp - 0x14]
mov byte [edi + 0x44], 1
jmp 0x47f552
mov byte [edi + 0x44], 0
test dword [ebp - 0x234], 0x10000000
je 0x47f562
or byte [edx + 5], 8
test dword [ebp - 0x238], 0x8000000
je 0x47f572
or byte [edx + 5], 0x10
cmp byte [ebp - 0x32], 0
jne 0x47f59c
cmp dword [edx + 0x10], 0xff000000
je 0x47f590
mov al, byte [edx + 4]
cmp al, 5
je 0x47f59c
cmp al, 6
je 0x47f59c
cmp al, 3
je 0x47f59c
cmp byte [edx + 4], 3
jne 0x47f5b6
test byte [edx + 5], 0x40
je 0x47f5b6
mov eax, dword [ebp - 0x14]
mov edx, 0x4bac30
push 0x4bac30
mov ecx, dword [eax]
call fcn.0049f820
mov edx, dword [ebp - 0x14]
add esp, 4
cmp byte [ebp - 0x29], 0
jne 0x47f5e0
cmp byte [ebp - 0x33], 0
je 0x47f5e0
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e82bc]
push dword [ecx + eax + 0x90]
push 0x30
push dword [edx]
call esi
cmp dword [ebp - 0xb0], 4
jne 0x47f5f6
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0xb
push dword [eax]
call esi
push 0
push dword [ebp - 0x204]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.00483580
mov eax, dword [ebp - 0x14]
cmp byte [eax + 4], 0x13
jne 0x47f6c9
movss xmm0, dword [ebp - 0x208]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47f6b4
lea ecx, [ebp - 0x58]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x10]
mov eax, ecx
and al, 0x82
cmp al, 2
jne 0x47f65a
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 0x47f65e
mov byte [ebp + 0x13], 0
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x14]
push 1
push 0x1328
push dword [eax]
call esi
cmp byte [ebp + 0x13], 0
je 0x47f686
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push 0xfffffffffffffff0
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
push 1
push eax
push dword [ebp - 0x210]
mov dword [ebp - 0x20c], eax
push dword [ebp - 0x214]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x218]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x47f6c6
cmp byte [ebp - 0xa3], 0
je 0x47f6c9
push dword [eax]
mov ecx, edi
call fcn.00489b10
mov eax, dword [ebp - 0x14]
cmp byte [ebp - 0x16], 0
je 0x47f724
lea ecx, [ebp - 0x58]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
cmp byte [ebp + 8], 9
mov dword [ebp - 0x210], eax
jne 0x47f724
test dword [ebp - 0x10], 0x100000
je 0x47f724
mov ecx, dword [ebp - 0x1d0]
test ecx, ecx
jns 0x47f715
lea ecx, [eax + eax*2]
mov dword [ebp - 0x1d0], ecx
mov eax, dword [ebp - 0x14]
push 0
push ecx
push 0x194
push dword [eax]
call esi
mov ecx, dword [ebp - 0x40]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
test ecx, ecx
je 0x47f78a
mov eax, dword [ebp - 0x24]
cmp eax, dword [edi + 4]
jne 0x47f78a
cmp byte [ebp - 0x34], 0
je 0x47f771
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x58]
push eax
push dword [edi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
lea eax, [ebp - 0x58]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x40]
cmp byte [ecx + 5], 0
jge 0x47f78a
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 0x47f7a0
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [ebp + 8], 0x19
je 0x47f9a6
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x24]
cmp edx, ecx
je 0x47f7e8
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x214]
push 1
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], edi
jmp 0x47f7f4
mov edi, dword [ebp - 0x214]
mov esi, dword [ebp - 0x218]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x20c]
mov dword [edx + 0x8c], ecx
add ecx, edi
mov dword [edx + 0x88], eax
mov dword [edx + 0x80], esi
mov dword [edx + 0x84], edi
lea edx, [esi + eax]
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 4]
mov ecx, dword [ebp + 8]
jne 0x47f856
cmp byte [ebp - 0xa2], 0
jne 0x47f856
cmp edx, dword [eax + 0x90]
jle 0x47f848
mov dword [eax + 0x90], edx
cmp ecx, dword [eax + 0x94]
jle 0x47f856
mov dword [eax + 0x94], ecx
cmp byte [ebp - 0xa6], 0
jne 0x47f896
mov eax, dword [eax + 0x10]
cmp eax, 1
je 0x47f893
cmp eax, 2
jne 0x47f878
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
cmp byte [eax + 4], 0x19
je 0x47f893
mov edi, dword [ebp - 0x1c]
cmp edx, dword [edi + 0xa0]
jle 0x47f889
mov dword [edi + 0xa0], edx
cmp ecx, dword [edi + 0xa4]
jle 0x47f8b1
jmp 0x47f8ab
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 0x47f8e9
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47f8e9
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 0x47f915
mov ecx, dword [edi + 0xcc]
test ecx, ecx
je 0x47f915
mov eax, dword [edi + 0x94]
add eax, dword [edi + 0x7c]
push 1
mov dword [ecx + 0xc], eax
push dword [edi + 0xcc]
push 1
push dword [edi + 4]
call esi
mov ecx, dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x9c]
movss dword [ecx + 0x24], xmm0
movss xmm0, dword [ebp - 0x98]
movss dword [ecx + 0x28], xmm0
movss xmm0, dword [ebp - 0x94]
movss dword [ecx + 0x2c], xmm0
movss xmm0, dword [ebp - 0x90]
movss dword [ecx + 0x30], xmm0
mov al, byte [ebp - 0x8c]
mov byte [ecx + 0x34], al
mov al, byte [ebp - 0x8b]
mov byte [ecx + 0x35], al
mov al, byte [ebp - 0x8a]
mov byte [ecx + 0x36], al
mov al, byte [ebp - 0x89]
mov byte [ecx + 0x37], al
mov al, byte [ebp - 0x88]
mov byte [ecx + 0x38], al
mov al, byte [ebp - 0x87]
mov byte [ecx + 0x39], al
mov eax, dword [ebp - 0x218]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x214]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x210]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x20c]
mov dword [ecx + 0x20], eax
mov esi, 1
lea ecx, [ebp - 0x2f0]
call fcn.0047fba0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc