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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7f9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xae0
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [edi + 0x10]
cmp esi, 0x2af8
jb 0x47bb76
push 0x4b9c10
push str.Too_many_controls.
mov ecx, 0x4e7d50
call fcn.00447cc0
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 0x47bba3
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 0x47bb50
add dword [edi + 0x14], 0x3e8
mov esi, dword [edi + 0x10]
mov dword [edi + 0x18], eax
push 0x40
shl esi, 6
add esi, dword [edi + 0x18]
push 0
push esi
mov dword [ebp - 0x14], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x234]
mov ecx, edi
push esi
push eax
call fcn.00482b90
mov cl, byte [ebp + 8]
mov dword [ebp - 0x38], 0
cmp cl, 0x1a
jne 0x47bd6c
mov ecx, dword [ebp + 0x10]
call fcn.00479370
mov ecx, eax
mov dword [ebp - 0x38], ecx
test ecx, ecx
jne 0x47bc23
mov ecx, dword [ebp + 0x10]
call fcn.00404b50
mov edx, dword [0x4e5ba0]
xor ecx, ecx
test edx, edx
jle 0x47bc1c
mov esi, dword [0x4e5b9c]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x38], edi
cmp dword [edi + 4], eax
mov edi, dword [ebp - 0x1c]
je 0x47bc67
inc ecx
cmp ecx, edx
jl 0x47bc06
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 0x47bdcf
cmp byte [edi + 0xc0], 0xff
jne 0x47bd9e
push 0x4b9c10
push str.Too_many_tab_controls.
mov ecx, 0x4e7d50
call fcn.00447cc0
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 0x47bd17
cmp dword [edi + 0x78], 0x80000000
jne 0x47bcd2
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e7454]
push 0x60
push dword [0x4e7cfc]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4dcab8]
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 0x47bd0e
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e7454]
push 0x60
push dword [0x4e7cfc]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4dcaa0]
cvttsd2si eax, xmm0
push eax
call edx
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x78]
mov dword [edi + 0x80], eax
mov ah, byte [ebp + 8]
mov byte [esi + 4], ah
mov edx, dword [ebp - 0x234]
mov al, byte [edi + 0x45]
or edx, 0x10000000
mov byte [ebp - 0xa3], al
mov ecx, edx
mov dword [ebp - 0x234], ecx
cmp ah, 6
jne 0x47be0d
or ecx, 0x4000
cmp byte [edi + 0x44], 0
mov dword [ebp - 0x234], ecx
jne 0x47be33
mov ecx, edx
or ecx, 0x24000
mov dword [ebp - 0x234], ecx
jmp 0x47be33
cmp cl, 0x14
jne 0x47bd82
or byte [esi + 5], 0x80
mov byte [ebp + 8], 0x13
mov byte [ebp - 0x16], 0x13
jmp 0x47bc34
cmp cl, 0x15
jne 0x47bc26
mov cl, 0x13
mov word [ebp - 0xa1], 0x301
mov byte [ebp + 8], cl
jmp 0x47bc26
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.004888f0
test eax, eax
je 0x47bc80
push eax
mov ecx, edi
call fcn.00488e00
jmp 0x47bc80
cmp cl, 0x19
jne 0x47bc6e
cmp dword [edi + 8], 0
je 0x47be04
push 0x4b9c10
push str.Too_many_status_bars.
mov ecx, 0x4e7d50
call fcn.00447cc0
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 0x47bc80
cmp byte [edi + 0x44], 0
je 0x47be1f
or ecx, 0x20000
mov dword [ebp - 0x234], ecx
cmp ah, 2
je 0x47be57
cmp ah, 0x10
je 0x47be57
cmp ah, 0x11
je 0x47be57
cmp ah, 0x12
je 0x47be57
cmp byte [esi + 4], 0xa
mov byte [ebp - 0x33], 1
je 0x47be49
mov eax, dword [edi + 0x54]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 0x234]
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x1d8], eax
mov ah, byte [ebp + 8]
jmp 0x47be6d
mov byte [ebp - 0x33], 0
cmp ah, 0x12
jne 0x47be6d
mov dword [esi + 0x10], 0xff000000
mov ecx, dword [ebp - 0x234]
movzx eax, ah
mov dword [ebp - 0x44], eax
add eax, 0xfffffffc
cmp eax, 0x16
ja case.0x47be7f.6
jmp dword [eax*4 + 0x47f06c]
or ecx, 0x210000
mov dword [ebp - 0x234], ecx
jmp case.0x47be7f.6
or ecx, 0x210042
mov dword [ebp - 0x234], ecx
jmp case.0x47be7f.6
or ecx, 0x210080
or dword [ebp - 0x22c], 0x200
mov dword [ebp - 0x234], ecx
jmp case.0x47be7f.6
or dword [ebp - 0x224], 0x30
or ecx, 0x10008
or dword [ebp - 0x22c], 0x200
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x220], 1
jmp case.0x47be7f.6
or ecx, 0x10027
or dword [ebp - 0x22c], 0x200
mov dword [ebp - 0x234], ecx
jmp case.0x47be7f.6
or ecx, 0x10000
or dword [ebp - 0x22c], 0x200
mov dword [ebp - 0x234], ecx
jmp case.0x47be7f.6
or ecx, 0x36
mov dword [ebp - 0x234], ecx
jmp case.0x47be7f.6
or ecx, 0x1000c
mov dword [ebp - 0x234], ecx
jmp case.0x47be7f.6
or ecx, 1
mov dword [ebp - 0x234], ecx
jmp case.0x47be7f.6
movzx eax, byte [ebp - 0xa3]
xor edx, edx
cmp byte [ebp - 0xa1], dl
cmove eax, edx
or ecx, 0x10200
mov byte [ebp - 0xa3], al
mov dword [ebp - 0x234], ecx
jmp case.0x47be7f.6
or ecx, 0x4000000
mov dword [ebp - 0x234], ecx
jmp case.0x47be7f.6
test dword [edi + 0x3c], 0x40000
je 0x47bf9b
or ecx, 0x100
or ecx, 0x800
mov dword [ebp - 0x234], ecx
jmp case.0x47be7f.6
cmp byte [0x4e8a2b], 0
je case.0x47be7f.6
or ecx, 0x10000
mov dword [ebp - 0x234], ecx
jmp case.0x47be7f.6
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47be7f.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 0x47bfea
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.0x47be7f.6
mov ecx, dword [ebp - 0x38]
push 0x4b9c10
push 0x4b9c10
call fcn.00482fd0
push 0
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call fcn.0047ff10
test eax, eax
jne 0x47c044
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov dl, byte [ebp + 8]
mov eax, dword [ebp - 0x1d8]
cmp dl, 0xa
je 0x47c055
mov eax, dword [esi + 0x10]
cmp eax, 0xff000000
mov eax, dword [ebp - 0x1d4]
setne byte [ebp - 0xa5]
cmp eax, 0xff000000
jne 0x47c07f
cmp dl, 0xb
je 0x47c0a0
mov dword [ebp - 0x1d4], 0xffffffff
jmp 0x47c0a0
cmp eax, 0xffffffff
jne 0x47c0a0
mov ecx, dword [edi + 0x5c]
cmp ecx, 0xff000000
je 0x47c0a0
cmp dl, 0x12
je 0x47c0a0
cmp dl, 0x19
cmovne eax, ecx
mov dword [ebp - 0x1d4], eax
mov edx, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x230]
movss xmm0, dword [ebp - 0x204]
mov esi, dword [ebp - 0x208]
movss xmm1, dword [0x4dca88]
cmp edx, 0x80000000
jne 0x47c149
cmp esi, 0x80000000
jne 0x47c149
comiss xmm0, xmm1
ja 0x47c149
mov eax, dword [ebp + 0x10]
mov edi, eax
test eax, eax
je 0x47c133
movzx eax, word [eax]
test ax, ax
je 0x47c133
mov esi, eax
nop word [eax + eax]
mov ecx, 0x4d9e70
mov edx, 0xa
nop word [eax + eax]
cmp si, dx
je 0x47c137
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x47c100
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x47c0f0
mov ecx, dword [ebp - 0x230]
mov edx, dword [ebp - 0x20c]
mov esi, dword [ebp - 0x208]
xor edi, edi
jmp 0x47c153
mov ecx, dword [ebp - 0x230]
mov edx, dword [ebp - 0x20c]
mov esi, dword [ebp - 0x208]
mov edi, ecx
not edi
and edi, 0x2000
mov eax, dword [ebp - 0x228]
not eax
mov dword [ebp - 0x24c], edi
and eax, dword [ebp - 0x22c]
mov dword [ebp - 0x30], eax
mov eax, ecx
not eax
and eax, dword [ebp - 0x234]
or eax, 0x40000000
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x44]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x47c18e.10
movzx eax, byte [eax + 0x47f0f0]
jmp dword [eax*4 + 0x47f0c8]
mov eax, dword [ebp - 0x10]
and eax, 0xfffffff7
or eax, 7
jmp 0x47c1af
mov eax, dword [ebp - 0x10]
test al, 1
je 0x47c1fb
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 0x47c452
cmp dword [edi + 0xc], 0
jne 0x47c452
test byte [edi + 5], 1
jne 0x47c452
mov ecx, dword [ecx]
cmp word [ecx], 0x31
jne 0x47c32d
cmp word [ecx + 2], 0
jne 0x47c32d
xor eax, eax
mov word [ebp - 0xaec], ax
jmp 0x47c345
and eax, 0xfffffff0
jmp 0x47c1ad
mov eax, dword [ebp - 0x10]
and eax, 6
cmp al, 6
mov eax, dword [ebp - 0x10]
jne 0x47c215
and eax, 0xfffffff6
or eax, 6
jmp 0x47c1ad
and eax, 0xfffffff3
or eax, 3
jmp 0x47c1ad
mov eax, dword [ebp - 0x10]
and eax, 0xfffffff9
or eax, 9
test eax, 0x20000
je 0x47c1ad
test ecx, 0x10000
jne 0x47c1ad
or eax, 0x10000
jmp 0x47c1ad
or dword [ebp - 0x10], 3
jmp case.0x47c18e.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
test al, 1
je 0x47c267
and eax, 0xfffffff1
or eax, 1
mov dword [ebp - 0x10], eax
jmp 0x47c1b8
and eax, 0xfffffff2
or eax, 2
mov dword [ebp - 0x10], eax
jmp 0x47c1b8
or dword [ebp - 0x10], 1
jmp case.0x47c18e.10
comiss xmm0, xmm1
ja 0x47c29b
push 0xa
push dword [ebp + 0x10]
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov ecx, dword [ebp - 0x230]
add esp, 8
test eax, eax
je 0x47c2a5
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 0x47c1b5
not ecx
and ecx, 0x201040
or eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x47c1b5
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
or eax, 0x4000000
cmp dword [ecx + 0x60], 0
je 0x47c2df
test byte [edi + 5], 0x20
je 0x47c2e8
cmp dword [edi + 0x10], 0xff000000
je 0x47c2f6
or eax, 0x2000
mov byte [ebp - 0xa3], 0
jmp 0x47c2fb
and eax, 0xffffdfff
mov dword [ebp - 0x10], eax
mov al, byte [ebp - 0xa0]
cmp edx, 0x80000000
je 0x47c314
and al, 0xfe
mov byte [ebp - 0xa0], al
cmp esi, 0x80000000
je 0x47c1b8
and al, 0xfd
mov byte [ebp - 0xa0], al
jmp 0x47c1b8
lea edx, [ebp - 0xaec]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x47c335
push dword [ebp + 0x10]
lea eax, [ebp - 0xaec]
push str.Button_s
push 0x400
push eax
call fcn.0049c690
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b9c10
mov edx, 0x4d9e8c
lea ecx, [ebp - 0xaec]
call fcn.0049ce20
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b9c10
mov edx, 0x4d898c
lea ecx, [ebp - 0xaec]
call fcn.0049ce20
add esp, 0x40
lea ecx, [ebp - 0xaec]
mov edx, 0x4d675c
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b9c10
call fcn.0049ce20
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b9c10
mov edx, 0x4d6afc
lea ecx, [ebp - 0xaec]
call fcn.0049ce20
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b9c10
mov edx, 0x4d9694
lea ecx, [ebp - 0xaec]
call fcn.0049ce20
add esp, 0x48
lea ecx, [ebp - 0xaec]
mov edx, 0x4d9e90
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b9c10
call fcn.0049ce20
add esp, 0x18
lea eax, [ebp - 0xaec]
mov ecx, 0x4e7d50
push 4
push 0
push eax
call fcn.004313c0
mov esi, eax
test esi, esi
je 0x47c442
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x47c44f
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.004888f0
mov ecx, eax
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x6c], edi
test edi, edi
je 0x47c493
mov eax, dword [esi + 0x18]
mov ecx, edi
shl ecx, 6
add eax, 0xffffffc0
add eax, ecx
mov ecx, dword [ebp - 0x40]
jmp 0x47c499
lea eax, [ebp - 0x2ec]
cmp dword [ebp - 0x214], 0x80000000
mov dword [ebp - 0x48], eax
jne 0x47c58e
cmp dword [ebp - 0x210], 0x80000000
jne 0x47c58e
test ecx, ecx
je 0x47c525
xor edx, edx
test edi, edi
je 0x47c502
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 0x47c4ed
mov al, byte [ecx]
cmp al, byte [edi + 6]
jne 0x47c4ed
inc edx
add ecx, 0x40
sub esi, 1
jne 0x47c4e0
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x1c]
test edx, edx
jne 0x47c525
mov ecx, dword [ebp - 0x40]
push ecx
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call fcn.00488b80
mov eax, dword [esi + 0x78]
add eax, dword [ebp - 0x78]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x214], eax
mov eax, dword [esi + 0x7c]
add eax, dword [ebp - 0x74]
jmp 0x47c540
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x214], eax
mov eax, dword [esi + 0x8c]
add eax, dword [esi + 0x84]
add eax, dword [esi + 0x7c]
mov dword [ebp - 0x210], eax
mov ah, byte [ebp + 8]
cmp ah, 1
je 0x47c553
cmp ah, 0x17
jne 0x47c591
test edi, edi
je 0x47c591
mov edx, dword [ebp - 0x48]
mov al, byte [edx + 4]
cmp al, 1
je 0x47c565
cmp al, 0x17
jne 0x47c591
mov ecx, dword [ebp - 0x14]
mov al, byte [edx + 6]
cmp al, byte [ecx + 6]
jne 0x47c591
mov al, byte [edx + 7]
cmp al, byte [ecx + 7]
jne 0x47c591
push 0x60
push dword [0x4e7cfc]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x210], eax
mov ah, byte [ebp + 8]
cmp ah, 0xe
je 0x47c5a4
cmp ah, 0xa
je 0x47c5a4
cmp ah, 0xb
je 0x47c5a4
xor cl, cl
jmp 0x47c5a6
mov cl, 1
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ch, cl
xor ch, 1
mov byte [ebp + 0xf], cl
cmp dword [ebp - 0x208], 0x80000000
mov byte [ebp - 0x15], ch
jne 0x47c743
movss xmm1, dword [0x4dca78]
comiss xmm1, dword [ebp - 0x204]
jbe 0x47c743
mov eax, dword [ebp - 0x44]
add eax, 0xfffffffd
cmp eax, 0x17
ja case.0x47c5f2.4
movzx eax, byte [eax + 0x47f134]
jmp dword [eax*4 + 0x47f104]
mov edx, dword [ebp - 0x10]
mov eax, edx
and al, 3
mov dword [ebp - 0x204], 0x40400000
cmp al, 1
je 0x47c77f
test edx, 0x400
jne 0x47c77f
xor ch, ch
mov byte [ebp - 0x15], ch
jmp 0x47c77f
mov dword [ebp - 0x204], 0x40000000
jmp 0x47c77f
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
jne case.0x47c5f2.4
test byte [ebp - 0x10], 4
je 0x47c659
mov dword [ebp - 0x204], 0x40400000
jmp 0x47c77f
mov dword [ebp - 0x204], 0x3f800000
jmp case.0x47c5f2.4
mov dword [ebp - 0x204], 0x3f800000
jmp 0x47c77f
test byte [ebp - 0x10], 0x40
je 0x47c6b2
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4e7454]
push 0x60
push dword [0x4e7cfc]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x15]
mov dword [ebp - 0x208], eax
jmp case.0x47c5f2.4
mov dword [ebp - 0x204], 0x40a00000
jmp case.0x47c5f2.4
mov edx, dword [ebp - 0x10]
test dl, 2
je 0x47c6d8
mov dword [ebp - 0x204], 0x40a00000
jmp 0x47c77f
push dword [ebp - 0x1e8]
mov ecx, esi
push edx
call fcn.00488120
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x15]
mov dword [ebp - 0x208], eax
jmp case.0x47c5f2.4
test byte [ebp - 0x10], 4
je 0x47c67d
mov dword [ebp - 0x204], 0x40a00000
jmp 0x47c77f
mov dword [ebp - 0x204], 0x41200000
jmp 0x47c77f
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47c5f2.4
lea ecx, [ebp - 0x260]
push ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x254]
sub eax, dword [ebp - 0x25c]
mov cl, byte [ebp + 0xf]
mov ch, byte [ebp - 0x15]
mov dword [ebp - 0x208], eax
jmp case.0x47c5f2.4
mov al, byte [ebp + 8]
cmp al, 7
je 0x47c74e
cmp al, 8
jne case.0x47c5f2.4
or dword [ebp - 0x10], 0x400
movss xmm0, dword [ebp - 0x204]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], 0
jbe 0x47c912
movss xmm1, dword [0x4dca78]
cmp byte [ebp + 8], 3
je 0x47c78e
mov al, byte [ebp - 0x16]
sub al, 7
cmp al, 1
ja 0x47c7a2
movss xmm0, dword [ebp - 0x204]
addss xmm0, xmm1
movss dword [ebp - 0x204], xmm0
test ch, ch
je 0x47c8dc
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul edx, dword [esi + 0x50], 0x94
mov ecx, dword [0x4e7454]
mov dword [ebp - 0x20], eax
push dword [edx + ecx + 0x90]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x29c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
movss xmm2, dword [ebp - 0x204]
cvtps2pd xmm0, xmm2
mov esi, dword [ebp - 0x1c]
addsd xmm0, qword [0x4dca98]
cvttsd2si ecx, xmm0
movd xmm0, dword [ebp - 0x29c]
cvtdq2ps xmm0, xmm0
lea eax, [ecx - 1]
imul eax, dword [ebp - 0x28c]
mulss xmm0, xmm2
movd xmm1, eax
mov eax, dword [ebp - 0x44]
cvtdq2ps xmm1, xmm1
add eax, 0xfffffffd
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x4dca98]
cvttsd2si edx, xmm0
mov dword [ebp - 0x208], edx
cmp eax, 0x15
ja case.0x47c84d.5
movzx eax, byte [eax + 0x47f160]
jmp dword [eax*4 + 0x47f14c]
push 0x60
push dword [0x4e7cfc]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x208], eax
test dword [ebp - 0x10], 0x100000
je case.0x47c84d.5
push 3
call edi
add dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x20]
jmp 0x47c914
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4e7454]
push 0x60
push dword [0x4e7cfc]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x20]
jmp 0x47c914
mov eax, dword [esi + 0x7c]
imul eax, ecx
mov ecx, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x208], eax
jmp 0x47c914
lea eax, [ecx + 1]
imul eax, dword [esi + 0x7c]
add eax, edx
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x20]
jmp 0x47c914
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], 0
test cl, cl
jne 0x47c912
push 0x60
push dword [0x4e7cfc]
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
xor ecx, ecx
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], ecx
jmp 0x47c914
xor ecx, ecx
cmp dword [ebp - 0x208], 0x80000000
mov edx, dword [ebp - 0x20c]
mov byte [ebp - 0x31], 0
je 0x47c936
cmp edx, 0x80000000
jne 0x47cfd5
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.0x47c957.2
movzx eax, byte [eax + 0x47f184]
jmp dword [eax*4 + 0x47f178]
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je case.0x47c957.2
test ecx, ecx
jne 0x47c9a0
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 [0x4e7454]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x29c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov esi, dword [ebp - 0x288]
add esi, 4
test dword [ebp - 0x10], 0x200000
mov dword [ebp + 0xc], esi
je 0x47c9cc
push 2
call edi
add esi, eax
mov dword [ebp + 0xc], esi
mov esi, dword [ebp + 0x10]
cmp word [esi], 0
je 0x47ca08
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47c9e0
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0xa
jne 0x47ca08
mov eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x29c]
add eax, ecx
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x20c]
mov esi, 0x2c40
mov eax, dword [ebp - 0x20]
mov edi, esi
test eax, eax
jne 0x47ca56
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 [0x4e7454]
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x20c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov cl, byte [ebp + 8]
cmp cl, 1
jne 0x47ca73
mov eax, dword [ebp - 0x10]
mov esi, eax
and esi, 0x80
or esi, 4
shl esi, 4
or esi, edi
jmp 0x47cab5
cmp cl, 5
je 0x47ca7d
cmp cl, 6
jne 0x47cab2
lea ecx, [ebp - 0x29c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [ebp + 0xc]
add eax, dword [ebp - 0x288]
add edi, 2
mov edx, dword [ebp - 0x20c]
add edi, eax
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 8]
mov dword [ebp + 0xc], edi
jmp 0x47cab8
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
test eax, 0x800000
je 0x47caeb
cmp cl, 1
je 0x47cac9
cmp cl, 0x17
jne 0x47caeb
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
add edi, edi
push 6
mov dword [ebp + 0xc], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [ebp - 0x20c]
add eax, eax
mov dword [ebp - 0x70], eax
cmp edx, 0x80000000
je 0x47caf6
or esi, 0x10
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
cmp edx, 0x80000000
jne 0x47cb1e
mov dword [ebp - 0x23c], 0
jmp 0x47cb26
sub edx, edi
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp - 0x208]
xor ecx, ecx
cmp eax, 0x80000000
cmove eax, ecx
mov dword [ebp - 0x238], eax
xor eax, eax
cmp byte [ebp + 8], 0x17
mov dword [ebp - 0x6c], eax
jne 0x47cd2b
mov eax, dword [ebp - 0x10]
mov ecx, esi
or ecx, 0x800
and al, 4
cmove ecx, esi
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47cb64
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.004b6773
mov edx, eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov edi, edx
mov esi, eax
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
movzx ecx, word [eax]
test cx, cx
je 0x47cce4
cmp cx, 0x3c
jne 0x47ccb5
mov cx, word [esi + 2]
call fcn.00413080
cmp ax, 0x41
jne 0x47ccb5
add esi, 4
movzx eax, word [esi]
cmp eax, 0x20
je 0x47cbdd
cmp eax, 9
jne 0x47cbe2
add esi, 2
jmp 0x47cbd0
cmp eax, 0x3e
je 0x47cc5c
nop word [eax + eax]
movzx ecx, word [esi]
mov eax, ecx
test eax, 0xffffff80
jne 0x47cc17
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 0x47cc17
add esi, 2
jmp 0x47cbf0
cmp cx, 0x3d
jne 0x47ccb5
mov eax, 0x22
cmp ax, word [esi + 2]
jne 0x47ccb5
push eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
je 0x47ccb5
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x47cc52
cmp eax, 9
jne 0x47cc57
add esi, 2
jmp 0x47cc45
cmp eax, 0x3e
jne 0x47cbf0
add esi, 2
je 0x47ccb5
mov edx, 0x4d9e94
mov ecx, esi
call fcn.0049ca30
ret
std
add dword [eax], eax
mov edi, eax
mov dword [ebp - 0x250], edi
test edi, edi
je 0x47ccb2
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 0x47ccaa
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 0x47cc92
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x250]
lea eax, [edi + 6]
mov edi, dword [ebp - 0x28]
jmp 0x47ccc7
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 0x47cbb0
mov edx, dword [ebp - 0x248]
xor eax, eax
mov word [edi], ax
cmp edi, edx
jbe 0x47ccf4
movzx eax, word [edi - 2]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x5c]
cmp word [edx], 0
lea eax, [ebp - 0x244]
push eax
push 0xffffffffffffffff
mov eax, 0x4d8c80
cmovne eax, edx
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x248]
mov edi, eax
call fcn.004b677c
mov ecx, dword [ebp - 0x6c]
add esp, 4
jmp 0x47cd78
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x244]
push eax
push 0xffffffffffffffff
mov eax, 0x4d8c80
cmp word [esi], cx
cmovne eax, esi
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp word [esi], 0
mov edi, eax
je 0x47cd76
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47cd60
sub ecx, edx
sar ecx, 1
movzx ecx, word [esi + ecx*2 - 2]
jmp 0x47cd78
xor ecx, ecx
mov esi, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x44]
sub esi, dword [ebp - 0x244]
sub eax, 1
je 0x47cda1
sub eax, 3
je 0x47cd98
sub eax, 8
je 0x47cda1
jmp 0x47cdc5
cmp dword [ebp - 0x24c], 0
jne 0x47cdc5
test cx, cx
je 0x47cdc5
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 0x47cdc5
mov eax, dword [ebp - 0x5c]
test eax, eax
jns 0x47cdc5
sub esi, eax
mov eax, dword [ebp - 0x208]
mov cl, byte [ebp + 8]
cmp eax, 0x80000000
je 0x47cde6
cmp edi, eax
jle 0x47cf09
cmp cl, 0xc
je 0x47cf09
mov edx, dword [ebp - 0x70]
add edx, edi
mov dword [ebp - 0x208], edx
cmp cl, 0xc
jne 0x47ceda
push 0x60
push dword [0x4e7cfc]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x208], eax
test dword [ebp - 0x10], 0x100000
je 0x47ce27
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [ebp - 0x208], eax
mov edi, dword [ebp - 0x1c]
mov cl, byte [ebp + 8]
mov edx, dword [ebp - 0x20c]
cmp edx, 0x80000000
je 0x47ce3f
cmp esi, edx
jle case.0x47c957.2
mov edx, dword [ebp + 0xc]
add edx, esi
mov byte [ebp - 0x31], 1
mov dword [ebp - 0x20c], edx
cmp cl, 4
jne case.0x47c957.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
imul edx, dword [edi + 0x50], 0x94
add eax, eax
mov ecx, dword [0x4e7454]
mov ecx, dword [edx + ecx + 0x84]
mov edx, dword [ebp - 0x20c]
add ecx, eax
add edx, ecx
mov dword [ebp - 0x20c], edx
mov edi, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
cmp edx, 0x80000000
jne case.0x47ced3.4
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e7454]
push 0x60
push dword [0x4e7cfc]
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.0x47ced3.4
movzx ecx, byte [eax + 0x47f1c0]
jmp dword [ecx*4 + 0x47f19c]
mov edi, dword [ebp - 0x1c]
cmp cl, 4
jne 0x47ce2d
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e7454]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
add eax, edx
mov dword [ebp - 0x208], eax
jmp 0x47ce2a
mov edi, dword [ebp - 0x1c]
jmp 0x47ce2d
mov dword [ebp - 0x20c], edx
jmp case.0x47ced3.4
lea eax, [edx + edx]
mov dword [ebp - 0x20c], eax
jmp case.0x47ced3.4
mov eax, dword [ebp - 0x10]
test al, 0x40
je 0x47cf63
mov dword [ebp - 0x20c], edx
jmp 0x47cfe1
mov eax, dword [ebp - 0x10]
test al, 2
je 0x47cf31
push dword [ebp - 0x1e8]
mov ecx, edi
push eax
call fcn.00488120
mov dword [ebp - 0x20c], eax
jmp case.0x47ced3.4
mov eax, dword [ebp - 0x10]
test al, 4
je 0x47cf31
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e7454]
push 0x60
push dword [0x4e7cfc]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
push eax
call esi
mov dword [ebp - 0x20c], eax
jmp case.0x47ced3.4
mov eax, dword [edi + 0x78]
lea eax, [edx + eax*2]
mov dword [ebp - 0x20c], eax
jmp case.0x47ced3.4
mov eax, dword [edi + 0x78]
lea eax, [eax + eax*2]
lea eax, [eax + edx*2]
mov dword [ebp - 0x20c], eax
jmp case.0x47ced3.4
mov eax, dword [ebp - 0x38]
test eax, eax
je case.0x47ced3.4
lea ecx, [ebp - 0x260]
push ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x258]
sub eax, dword [ebp - 0x260]
mov dword [ebp - 0x20c], eax
jmp case.0x47ced3.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 0x47d0ea
test al, 4
jne 0x47d0ea
movss xmm0, dword [0x4dca78]
comiss xmm0, dword [ebp - 0x204]
jbe 0x47d0ea
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47d03d
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4e7454]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x29c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x60
push dword [0x4e7cfc]
push 8
call esi
mov esi, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x29c]
sub esi, eax
mov edx, dword [ebp - 0x10]
sub esi, ecx
test edx, 0x100000
je 0x47d085
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x29c]
sub esi, eax
mov edx, dword [ebp - 0x10]
test esi, esi
jle 0x47d0e0
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 [0x4dca78]
comiss xmm1, dword [0x4dca88]
movss dword [ebp - 0x204], xmm1
jbe 0x47d0ea
mov ecx, dword [ebp - 0x230]
not ecx
mov eax, ecx
and eax, 4
or edx, eax
mov dword [ebp - 0x10], edx
test dl, 4
je 0x47d0ea
and ecx, 0x201040
or edx, ecx
mov dword [ebp - 0x10], edx
jmp 0x47d0ea
mov dword [ebp - 0x204], 0x3f800000
cmp byte [ebp - 0xa3], 0
mov eax, dword [edi + 0x10]
sete byte [ebp - 0x32]
mov byte [ebp - 0x16], 0
add eax, 3
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47d128
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [ebp + 0xf], 1
test eax, eax
je 0x47d12c
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 0x47d1cb
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47d1e2
push str.ahk_dlg
push dword [eax]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x47d196
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x210]
push 1
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x60]
push ecx
push eax
push dword [edi + 4]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x40]
push 0xfffffffffffffff0
push dword [eax]
call esi
test eax, 0x10000000
je 0x47d1e2
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 0x47d1e2
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.0x47d1db.20
jmp dword [eax*4 + 0x47f1d8]
mov ecx, dword [ebp - 0x10]
and ecx, 0xefffffff
mov dword [ebp - 0x10], ecx
jmp 0x47d1ce
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d201
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d203
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d214
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d216
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.static
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
jmp case.0x47d1db.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d271
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d273
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d284
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d286
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.SysLink
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
jmp case.0x47d1db.20
mov eax, dword [ebp - 0x20c]
xor ecx, ecx
mov edx, dword [ebp - 0x208]
cmp eax, 0x80000000
mov esi, dword [edi + 0xcc]
cmove eax, ecx
cmp edx, 0x80000000
mov dword [ebp - 0x20c], eax
cmove edx, ecx
mov dword [ebp - 0x208], edx
test esi, esi
je 0x47d30c
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x47d30e
xor esi, esi
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d31f
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d321
xor ecx, ecx
push 0
push dword [0x4e5c10]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push edx
push eax
mov eax, dword [ebp - 0x210]
sub eax, esi
mov esi, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push esi
push str.static
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
mov dword [edx], eax
test eax, eax
je case.0x47d1db.20
push dword [ebp - 0x1c4]
mov ecx, edi
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push esi
push edx
call fcn.00482e80
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47eadb
mov byte [ebp - 0x16], 1
jmp 0x47eadb
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d3ab
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d3ad
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d3be
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d3c0
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
jmp case.0x47d1db.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d41b
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d41d
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d42e
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d430
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x47d1db.20
test byte [ebp - 0x10], 1
je case.0x47d1db.20
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x10]
cmp ecx, eax
jae 0x47d4c4
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 0x47d4ca
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 0x47eadb
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d508
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d50a
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d51b
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d51d
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x47d1db.20
mov ecx, dword [ebp - 0x1c8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x47eadb
push 0
push ecx
push 0xf1
push eax
call esi
jmp 0x47eadb
cmp dword [ebp - 0x1d0], 0
mov esi, dword [ebp - 0x14]
je 0x47d5a6
cmp byte [esi + 4], 8
jne 0x47d5a6
and ecx, 0xffffffbf
mov dword [ebp - 0x10], ecx
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d5b7
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d5b9
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d5ca
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d5cc
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c10
push str.Combobox
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
je 0x47d70c
imul edx, dword [edi + 0x50], 0x94
movzx ecx, byte [ebp + 0xf]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [0x4e7454]
push dword [edx + ecx + 0x90]
push 0x30
push eax
call esi
cmp byte [ebp - 0x15], 0
je 0x47d704
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 [0x4e7cfc]
sete al
push 8
lea eax, [eax*2 + 2]
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [ebp - 0x5c]
add eax, esi
mov ecx, dword [ebp - 0x208]
lea eax, [eax + edi*2]
cmp ecx, eax
jge 0x47d6cb
mov ecx, eax
mov dword [ebp - 0x208], ecx
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push 1
push ecx
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
mov al, 1
mov byte [ebp - 0x16], al
mov byte [ebp - 0x29], al
jmp case.0x47d1db.20
movss xmm0, dword [ebp - 0x204]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47d69a
push 0x60
push dword [0x4e7cfc]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x204]
cvttss2si ecx, xmm0
add ecx, eax
add ecx, esi
jmp 0x47d694
mov ecx, dword [ebp - 0x208]
jmp 0x47d69d
mov al, byte [ebp - 0x16]
mov byte [ebp - 0x29], al
jmp case.0x47d1db.20
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d728
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d72a
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d73b
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d73d
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c10
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 0x47d70c
mov eax, dword [ebp - 0xf8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47d7af
lea ecx, [ebp - 0x1c0]
push ecx
push eax
push 0x192
push edx
call esi
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e7454]
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 [0x4e7cfc]
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 0x47d809
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [ebp - 0x208]
cmp ecx, esi
jge 0x47d817
mov ecx, esi
jmp 0x47d867
movss xmm0, dword [ebp - 0x204]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47d86d
push 0x60
push dword [0x4e7cfc]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, dword [ebp - 0x5c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x204]
cvttss2si ecx, xmm0
add ecx, eax
mov dword [ebp - 0x208], ecx
test edi, edi
je 0x47d86d
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x208]
add ecx, eax
mov dword [ebp - 0x208], ecx
mov eax, dword [ebp - 0x14]
push 1
push ecx
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
mov edi, dword [ebp - 0x1c]
mov al, 1
mov byte [ebp - 0x16], al
mov byte [ebp - 0x29], al
jmp case.0x47d1db.20
mov eax, dword [ebp - 0x220]
cmp eax, 4
je 0x47d8b1
and ecx, 0xfffffffc
or ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47d8c2
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47d8c4
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47d8d5
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47d8d7
xor ecx, ecx
mov eax, dword [ebp - 0x208]
mov esi, 0xc8
push 0
push dword [0x4e5c10]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x20c]
mov eax, dword [ebp - 0x210]
sub eax, edx
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c10
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.0x47d1db.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 0x47d95c
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47d1db.20
push 0x3f8
mov dword [edi + 0x48], esi
push 0
push dword [esi + 0x10]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x10]
add esp, 0xc
mov dword [eax], 0xffffffff
mov ecx, dword [esi + 0x10]
mov al, byte [ebp - 0xa2]
mov byte [ecx + 5], al
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47d991
or byte [eax + 5], 0x80
cmp dword [ebp - 0x220], 4
jne 0x47d9af
push 0
push 4
push 0x108e
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47d9b5
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x47d9ce
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x1036
push dword [eax]
call esi
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
push dword [ebp - 0x14]
call fcn.00488280
cmp dword [ebp - 0x208], 0x80000000
jne case.0x47d1db.20
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e7454]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call esi
mov eax, dword [ebp - 0x220]
mov byte [ebp - 0x29], 1
sub eax, 1
je 0x47db67
sub eax, 3
je 0x47db39
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47da61
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4e7454]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x29c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [ebp - 0x220], 0
jne 0x47dafe
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 + 0x4dcc00]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [ebp - 0x204]
subss xmm0, dword [0x4dca78]
mulss xmm0, xmm1
call fcn.004b7600
mov esi, eax
push 0xc
shr esi, 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm1, esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebp - 0x29c]
cvtdq2ps xmm0, xmm0
add eax, 0x10
mulss xmm0, dword [ebp - 0x204]
addss xmm0, xmm1
cvttss2si ecx, xmm0
add eax, ecx
jmp 0x47db8a
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x29c]
cmp eax, ecx
movss xmm0, dword [ebp - 0x204]
cmovg ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
subss xmm0, dword [0x4dca78]
addss xmm1, xmm0
cvttss2si eax, xmm1
add eax, 0xb
jmp 0x47db8a
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x1033
push dword [eax]
call esi
shr eax, 0x10
sub eax, 3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x204]
cvttss2si eax, xmm0
add eax, 7
jmp 0x47db8a
movss xmm0, dword [ebp - 0x204]
push 0xffffffffffffffff
call fcn.004b7600
dec eax
push eax
mov eax, dword [ebp - 0x14]
push 0x1040
push dword [eax]
call esi
shr eax, 0x10
add eax, 4
push 1
push eax
push dword [ebp - 0x20c]
mov dword [ebp - 0x208], eax
push dword [ebp - 0x210]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x214]
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
jmp 0x47eadb
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47dbc7
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47dbc9
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47dbda
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dbdc
xor ecx, ecx
mov eax, dword [ebp - 0x208]
mov esi, 0xc8
push 0
push dword [0x4e5c10]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x20c]
mov eax, dword [ebp - 0x210]
sub eax, edx
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c10
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.0x47d1db.20
cmp dword [ebp - 0x1c8], 0
mov dword [edi + 0x4c], esi
je 0x47dc58
mov eax, dword [ebp - 0x10]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
push esi
call fcn.00488330
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x47dc85
push eax
push 0
push 0x1109
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47dc8b
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x208], 0x80000000
jne case.0x47d1db.20
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e7454]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call esi
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x111c
push dword [eax]
mov byte [ebp - 0x29], 1
call esi
mov dword [ebp - 0x208], eax
cmp eax, 2
jge 0x47dcf0
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4e7454]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x204]
cvttss2si eax, xmm0
jmp 0x47db87
test cl, 4
jne 0x47dd30
cmp dword [ebp - 0x1d0], 0
jge 0x47dd1e
and ecx, 0xffefff7f
jmp 0x47dd2d
mov eax, dword [ebp - 0x230]
not eax
and eax, 0x80
or ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47dd45
test cl, 4
je 0x47dd45
mov ecx, eax
call fcn.0049d380
mov esi, eax
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47dd58
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47dd5a
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47dd6b
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dd6d
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
test esi, esi
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
cmovne eax, esi
push eax
push str.edit
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
test edx, edx
je 0x47de29
test byte [ebp - 0x10], 0x20
je 0x47dde2
mov cx, word [ebp - 0xa8]
test cx, cx
je 0x47dde2
push 0
movzx eax, cx
push eax
push 0xcc
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1d0]
xor ecx, ecx
test eax, eax
push ecx
cmovs eax, ecx
push eax
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x14]
push 0xc5
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x47de29
lea ecx, [ebp - 0x1c0]
push ecx
push eax
mov eax, dword [ebp - 0x14]
push 0xcb
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
je case.0x47d1db.20
cmp esi, dword [ebp + 0x10]
je case.0x47d1db.20
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp case.0x47d1db.20
mov esi, dword [ebp + 0x10]
mov byte [ebp - 0x15], 0
cmp word [esi], 0
je 0x47dea4
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 0x47de7c
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 0x10]
and eax, 0xfffffff6
or eax, 4
mov dword [ebp - 0x10], eax
jmp 0x47dea7
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 0x47de9e
and eax, 0xfffffffb
or eax, 9
mov dword [ebp - 0x10], eax
jmp 0x47dea7
mov byte [ebp - 0x15], 1
jmp 0x47dea7
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x200], 2
jne 0x47deb6
or eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47dec7
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47dec9
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47deda
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47dedc
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c10
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.0x47d1db.20
cmp byte [ebp - 0x15], 0
je 0x47df4b
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 0x47df51
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x47df70
lea edx, [ebp - 0xd4]
push edx
push eax
push 0x1004
push ecx
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x200]
test edx, edx
je 0x47df99
lea eax, [ebp - 0xf4]
push eax
xor eax, eax
cmp edx, 1
setne al
push eax
push 0x1002
push ecx
call esi
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
jmp 0x47df9c
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
cmp eax, 0xff000000
je 0x47eadb
push eax
push 1
push 0x1006
push ecx
call esi
jmp 0x47eadb
cmp dword [ebp - 0xb4], 0
jne 0x47dfe8
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47dfe8
lea edx, [ebp - 0xf4]
mov ecx, eax
call fcn.0049c060
mov dword [ebp - 0xb4], eax
cmp eax, 3
jne 0x47dfe8
or dword [ebp - 0x10], 2
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47dff9
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47dffb
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e00c
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e00e
xor ecx, ecx
mov eax, dword [ebp - 0x208]
mov esi, 0x64
push 0
push dword [0x4e5c10]
cmp eax, 0x80000000
push dword [ebp - 0x28]
cmove eax, esi
push dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20c]
test eax, eax
cmovs eax, esi
push eax
mov eax, dword [ebp - 0x210]
sub eax, edx
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c10
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.0x47d1db.20
mov esi, dword [ebp - 0x10]
mov ecx, eax
and esi, 2
je 0x47e095
push 0
push 0x16e
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov ecx, eax
mov edx, dword [ebp - 0xb0]
test edx, edx
je 0x47e0ba
lea ecx, [ebp - 0xd4]
push ecx
push edx
push 0x1012
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov ecx, eax
mov edx, dword [ebp - 0xb4]
test edx, edx
je 0x47e112
test esi, esi
je 0x47e0f9
cmp edx, 1
jne 0x47e0e0
movups xmm0, xmmword [ebp - 0xf4]
mov eax, dword [ebp - 0x14]
movups xmmword [ebp - 0xe4], xmm0
mov ecx, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0xf4]
push eax
push 0
push 0x1006
push ecx
call esi
jmp 0x47e118
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xf4]
push ecx
push 0
push 0x1002
push eax
call esi
jmp 0x47e118
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x10]
cmp eax, 0xff000000
je 0x47e131
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 [0x4e7454]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call esi
cmp dword [ebp - 0x20c], 0x80000000
mov byte [ebp - 0x29], 1
je 0x47e172
cmp dword [ebp - 0x208], 0x80000000
jne 0x47eadb
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x1009
push dword [eax]
call esi
test eax, eax
je 0x47eadb
mov ecx, dword [ebp - 0x20c]
test ecx, ecx
jns 0x47e1dd
test byte [ebp - 0x10], 0x10
je 0x47e1a1
mov eax, dword [ebp - 0x50]
jmp 0x47e1be
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x1015
push dword [eax]
call esi
cmp eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x20c]
cmovl eax, dword [ebp - 0x50]
cmp ecx, 0x80000000
jne 0x47e1ca
mov ecx, eax
jmp 0x47e1d7
add eax, 6
imul eax, ecx
mov ecx, 0xfffffffa
sub ecx, eax
mov dword [ebp - 0x20c], ecx
mov edx, dword [ebp - 0x208]
cmp edx, 0x80000000
jne 0x47e2bf
movss xmm0, dword [ebp - 0x204]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x208], edx
jbe 0x47e2bf
ucomiss xmm0, dword [0x4dca78]
lahf
test ah, 0x44
jnp 0x47e2bf
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x47e252
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4e7454]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x29c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [ebp - 0x10], 0x10
mov ecx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x208]
je 0x47e277
add eax, 4
add eax, ecx
movss xmm2, dword [ebp - 0x204]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
subss xmm2, dword [0x4dca78]
cvttss2si eax, xmm0
movd xmm1, eax
lea eax, [ecx - 2]
mov ecx, dword [ebp - 0x20c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
subss xmm1, xmm0
cvttss2si edx, xmm1
mov dword [ebp - 0x208], edx
push 1
push edx
push ecx
jmp 0x47db99
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e2d9
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e2db
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e2ec
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e2ee
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c10
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.0x47d1db.20
mov ecx, dword [ebp + 0x10]
cmp word [ecx], 0
je 0x47e367
push 0
call fcn.00487e60
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 0x47e36d
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1d0]
test ecx, ecx
jle 0x47eadb
push 6
push ecx
push 0x403
push eax
call esi
jmp 0x47eadb
test cl, 0x10
je 0x47e3af
cmp dword [edi + 8], 0
jne 0x47e3a3
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47e3af
cmp byte [eax + 5], 0
jge 0x47e3af
and ecx, 0xffffffef
mov byte [ebp - 0x15], 1
mov dword [ebp - 0x10], ecx
jmp 0x47e3b3
mov byte [ebp - 0x15], 0
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e3c4
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e3c6
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e3d7
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e3d9
xor ecx, ecx
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push esi
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c10
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.0x47d1db.20
mov cl, byte [ebp - 0x15]
test cl, cl
je 0x47e44b
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 0x47e594
test byte [ebp - 0x10], 0x10
jne 0x47e463
test cl, cl
je 0x47e594
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x58]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
sub eax, ecx
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x210], edx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x80]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp byte [edi + 0xc7], 0
je 0x47e536
mov esi, dword [ebp - 0x10]
and esi, 4
je 0x47e507
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x214]
add dword [ebp - 0x50], eax
add ecx, eax
push 1
push dword [ebp - 0x208]
mov dword [ebp - 0x214], ecx
push eax
push dword [ebp - 0x210]
mov eax, dword [ebp - 0x14]
push ecx
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x7c]
sub eax, ecx
add edx, dword [ebp - 0x20c]
push 1
push eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], edx
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [ebp - 0x48]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0x10]
jmp 0x47e53e
mov edx, dword [ebp - 0x10]
mov esi, edx
and esi, 4
test esi, esi
je 0x47e552
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x214], ecx
sub eax, ecx
jmp 0x47e558
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x58]
cmp byte [ebp - 0xa6], 0
mov dword [ebp - 0x20c], eax
jne 0x47e5ae
mov eax, dword [ebp - 0x48]
cmp byte [eax + 4], 9
jne 0x47e59d
mov byte [ebp - 0xa6], 1
test dl, 0x40
je 0x47e588
mov dword [ebp - 0x1f8], 0x7fff
jmp 0x47e5ae
mov dword [ebp - 0x1fc], 0x7fff
jmp 0x47e5ae
cmp byte [ebp - 0xa6], 0
jne 0x47e5ae
mov byte [ebp - 0xa6], 1
mov dword [ebp - 0x1f8], 0x64
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x234]
push eax
push esi
mov ecx, edi
call fcn.004880b0
mov ecx, dword [ebp + 0x10]
call fcn.00416fe0
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 0x47eadb
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e5fb
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e5fd
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e60e
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e610
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c10
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.0x47d1db.20
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
push edx
call fcn.004881b0
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je case.0x47d1db.20
mov ecx, eax
call fcn.00416fe0
mov esi, dword [ebp - 0x14]
mov ecx, edi
push eax
push esi
call fcn.00488160
push eax
push 1
push 0x405
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x47eadb
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e6b6
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e6b8
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e6c9
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e6cb
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c10
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.0x47d1db.20
push dword [ebp - 0x10]
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
push edx
call fcn.00488390
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x47e75a
push 0
mov ecx, eax
call fcn.00416fe0
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 0x47eadb
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 0x32], 0
jmp 0x47eadb
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e77a
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e77c
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e78d
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e78f
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push 0x4b9c10
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.0x47d1db.20
cmp byte [ebp - 0xa1], 0
je 0x47e813
lea eax, [ebp - 0x234]
mov ecx, edi
push eax
push edx
call fcn.004890c0
test eax, eax
jne 0x47e810
mov esi, dword [ebp - 0x14]
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47d1db.20
mov edx, dword [ebp - 0x14]
mov al, byte [ebp - 0xa0]
test al, al
je 0x47e82e
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 0x487b00
push 0xfffffffffffffffc
mov byte [edi + 0xc2], 0
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x4e6680], eax
jmp case.0x47d1db.20
cmp byte [0x4e9d70], 0
jne 0x47e8ad
push 0x4d9a20
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x47e8ad
push str.AtlAxWinInit
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47e89d
call eax
test eax, eax
setne al
mov byte [0x4e9d70], al
jmp 0x47e8a2
mov al, byte [0x4e9d70]
test al, al
jne 0x47e8ad
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e8be
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e8c0
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e8d1
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e8d3
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push str.AtlAxWin
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
test eax, eax
je case.0x47d1db.20
mov ecx, eax
call fcn.00474f10
mov ecx, eax
test ecx, ecx
jne 0x47e940
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x47d1db.20
mov eax, dword [esi + 8]
push ecx
test eax, eax
je 0x47e954
mov ecx, eax
call fcn.004a0920
jmp case.0x47d1db.20
mov eax, dword [ecx]
call dword [eax + 8]
jmp case.0x47d1db.20
mov si, word [ebp - 0x9e]
test si, si
jne 0x47e985
push 0x4b9c10
push str.A_window_class_is_required.
mov ecx, 0x4e7d50
call fcn.00447cc0
mov esi, eax
jmp 0x47f04b
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x47e996
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x47e998
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47e9a9
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47e9ab
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 0
push dword [0x4e5c10]
sub eax, edx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [ebp - 0x10]
movzx eax, si
push dword [ebp + 0x10]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
jmp case.0x47d1db.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.0x47d1db.20
mov ecx, dword [ebp - 0x1d4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 8], eax
cmp ecx, 0xffffffff
je 0x47eadb
push ecx
push 0
push 0x2001
push eax
call esi
jmp 0x47eadb
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je case.0x47d1db.20
mov esi, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
mov dword [esi], eax
cmp dword [ecx + 0xa8], 0
jne 0x47ea61
mov eax, dword [ebp - 0x20c]
mov dword [ecx + 0xa8], eax
cmp dword [ecx + 0xac], 0
jne 0x47ea76
mov eax, dword [ebp - 0x208]
mov dword [ecx + 0xac], eax
mov eax, dword [edi + 0x10]
add eax, 3
push eax
push 0xfffffffffffffff4
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [edi + 0xcc]
test edx, edx
je 0x47ea98
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x47ea9a
xor edx, edx
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47eaab
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x47eaad
xor ecx, ecx
mov eax, dword [ebp - 0x210]
push 1
push dword [ebp - 0x208]
sub eax, edx
push dword [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x214]
sub eax, ecx
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x47eafe
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x47eaf4
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 0x47eb21
push 0x4b9c10
push str.Cant_create_control.
mov ecx, 0x4e7d50
call fcn.00447cc0
mov esi, eax
jmp 0x47f04b
mov al, byte [ebp - 0x31]
inc dword [edi + 0x10]
mov edx, dword [ebp - 0x84]
mov byte [edi + 0xc7], al
mov eax, dword [ebp - 0x218]
test eax, eax
jne 0x47eb45
test edx, edx
je 0x47ebc4
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x47ebb8
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x14]
push 2
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0xffffffff
mov eax, dword [eax]
cdq
mov dword [ebp - 0x64], edx
lea edx, [ebp - 0x78]
push edx
push 1
lea edx, [ebp - 0x260]
mov dword [ebp - 0x60], 1
push edx
mov dword [ebp - 0x68], eax
lea edx, [ebp - 0x2ac]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x1c]
push dword [ebp - 0x84]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x47ebc4
mov ecx, dword [ebp - 0x14]
push dword [ecx]
mov ecx, eax
call fcn.0049fd10
mov edx, dword [ebp - 0x14]
cmp byte [edx + 4], 6
jne 0x47ebee
mov ecx, dword [ebp - 0x1c8]
test ecx, ecx
je 0x47ebe8
mov eax, dword [edi + 0x10]
push ecx
dec eax
mov ecx, edi
push eax
push edx
call fcn.00487fa0
mov edx, dword [ebp - 0x14]
mov byte [edi + 0x44], 1
jmp 0x47ebf2
mov byte [edi + 0x44], 0
test dword [ebp - 0x230], 0x10000000
je 0x47ec02
or byte [edx + 5], 8
test dword [ebp - 0x234], 0x8000000
je 0x47ec12
or byte [edx + 5], 0x10
cmp byte [ebp - 0x32], 0
jne 0x47ec3c
cmp dword [edx + 0x10], 0xff000000
je 0x47ec30
mov al, byte [edx + 4]
cmp al, 5
je 0x47ec3c
cmp al, 6
je 0x47ec3c
cmp al, 3
je 0x47ec3c
cmp byte [edx + 4], 3
jne 0x47ec56
test byte [edx + 5], 0x40
je 0x47ec56
mov eax, dword [ebp - 0x14]
mov edx, 0x4b9c10
push 0x4b9c10
mov ecx, dword [eax]
call fcn.0049e7c0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp byte [ebp - 0x29], 0
jne 0x47ec80
cmp byte [ebp - 0x33], 0
je 0x47ec80
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xf]
push eax
mov eax, dword [0x4e7454]
push dword [ecx + eax + 0x90]
push 0x30
push dword [edx]
call esi
cmp dword [ebp - 0xac], 4
jne 0x47ec96
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0xb
push dword [eax]
call esi
push 0
push dword [ebp - 0x200]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.00482c00
mov eax, dword [ebp - 0x14]
cmp byte [eax + 4], 0x13
jne 0x47ed69
movss xmm0, dword [ebp - 0x204]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47ed54
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 0x47ecfa
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 0x47ecfe
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 0x47ed26
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push 0xfffffffffffffff0
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
push 1
push eax
push dword [ebp - 0x20c]
mov dword [ebp - 0x208], eax
push dword [ebp - 0x210]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x214]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x47ed66
cmp byte [ebp - 0xa1], 0
je 0x47ed69
push dword [eax]
mov ecx, edi
call fcn.004891c0
mov eax, dword [ebp - 0x14]
cmp byte [ebp - 0x16], 0
je 0x47edc4
lea ecx, [ebp - 0x58]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
cmp byte [ebp + 8], 9
mov dword [ebp - 0x20c], eax
jne 0x47edc4
test dword [ebp - 0x10], 0x100000
je 0x47edc4
mov ecx, dword [ebp - 0x1cc]
test ecx, ecx
jns 0x47edb5
lea ecx, [eax + eax*2]
mov dword [ebp - 0x1cc], ecx
mov eax, dword [ebp - 0x14]
push 0
push ecx
push 0x194
push dword [eax]
call esi
mov ecx, dword [ebp - 0x40]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
test ecx, ecx
je 0x47ee2a
mov eax, dword [ebp - 0x24]
cmp eax, dword [edi + 4]
jne 0x47ee2a
cmp byte [ebp - 0x34], 0
je 0x47ee11
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 0x47ee2a
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 0x47ee40
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [ebp + 8], 0x19
je 0x47f046
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x24]
cmp edx, ecx
je 0x47ee88
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x210]
push 1
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], edi
jmp 0x47ee94
mov edi, dword [ebp - 0x210]
mov esi, dword [ebp - 0x214]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x208]
mov dword [edx + 0x8c], ecx
add ecx, edi
mov dword [edx + 0x88], eax
mov dword [edx + 0x80], esi
mov dword [edx + 0x84], edi
lea edx, [esi + eax]
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 4]
mov ecx, dword [ebp + 8]
jne 0x47eef6
cmp byte [ebp - 0xa0], 0
jne 0x47eef6
cmp edx, dword [eax + 0x90]
jle 0x47eee8
mov dword [eax + 0x90], edx
cmp ecx, dword [eax + 0x94]
jle 0x47eef6
mov dword [eax + 0x94], ecx
cmp byte [ebp - 0xa4], 0
jne 0x47ef36
mov eax, dword [eax + 0x10]
cmp eax, 1
je 0x47ef33
cmp eax, 2
jne 0x47ef18
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
cmp byte [eax + 4], 0x19
je 0x47ef33
mov edi, dword [ebp - 0x1c]
cmp edx, dword [edi + 0xa0]
jle 0x47ef29
mov dword [edi + 0xa0], edx
cmp ecx, dword [edi + 0xa4]
jle 0x47ef51
jmp 0x47ef4b
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 0x47ef89
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x47ef89
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 0x47efb5
mov ecx, dword [edi + 0xcc]
test ecx, ecx
je 0x47efb5
mov eax, dword [edi + 0x94]
add eax, dword [edi + 0x7c]
push 1
mov dword [ecx + 0xc], eax
push dword [edi + 0xcc]
push 1
push dword [edi + 4]
call esi
mov ecx, dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x9c]
movss dword [ecx + 0x24], xmm0
movss xmm0, dword [ebp - 0x98]
movss dword [ecx + 0x28], xmm0
movss xmm0, dword [ebp - 0x94]
movss dword [ecx + 0x2c], xmm0
movss xmm0, dword [ebp - 0x90]
movss dword [ecx + 0x30], xmm0
mov al, byte [ebp - 0x8c]
mov byte [ecx + 0x34], al
mov al, byte [ebp - 0x8b]
mov byte [ecx + 0x35], al
mov al, byte [ebp - 0x8a]
mov byte [ecx + 0x36], al
mov al, byte [ebp - 0x89]
mov byte [ecx + 0x37], al
mov al, byte [ebp - 0x88]
mov byte [ecx + 0x38], al
mov al, byte [ebp - 0x87]
mov byte [ecx + 0x39], al
mov eax, dword [ebp - 0x214]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x210]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x20c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x208]
mov dword [ecx + 0x20], eax
mov esi, 1
lea ecx, [ebp - 0x2ec]
call fcn.0047f240
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc