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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x49e05b
push eax
mov dword fs:[0], esp
sub esp, 0xa60
push ebx
mov ebx, dword [esp + 0xa74]
mov ecx, dword [ebx + 0x10]
push ebp
push esi
push edi
cmp ecx, 0x2af8
jb 0x45e54a
push 0x4a1838
push str.Too_many_controls.
mov ecx, 0x4ca650
call fcn.0042e3d0
jmp 0x4614c7
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x45e577
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.0048ebf7
add esp, 8
test eax, eax
je 0x45e531
add dword [ebx + 0x14], 0x3e8
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x18]
lea ebp, [eax + edx*4]
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov edi, ebp
lea esi, [esp + 0x6c]
mov dword [ebp + 0x10], eax
call fcn.00464610
mov al, byte [esp + 0xa84]
cmp al, 0x14
jne 0x45e5bf
or byte [ebp + 5], 0x80
mov byte [esp + 0xa84], 0x13
mov al, byte [esp + 0xa84]
jmp 0x45e5e2
cmp al, 0x15
jne 0x45e5de
mov byte [esp + 0xa84], 0x13
mov al, byte [esp + 0xa84]
mov word [esp + 0x1ff], 0x301
jmp 0x45e5e2
cmp al, 0x13
jne 0x45e610
mov cl, 0xff
cmp byte [ebx + 0xb8], cl
jne 0x45e605
push 0x4a1838
push str.Too_many_tab_controls.
mov ecx, 0x4ca650
call fcn.0042e3d0
jmp 0x4614c7
mov byte [ebp + 6], cl
mov cl, byte [ebx + 0xb8]
jmp 0x45e648
cmp al, 0x19
jne 0x45e639
cmp dword [ebx + 8], 0
je 0x45e633
push 0x4a1838
push str.Too_many_status_bars.
mov ecx, 0x4ca650
call fcn.0042e3d0
jmp 0x4614c7
mov byte [ebp + 6], 0xff
jmp 0x45e64b
mov dl, byte [ebx + 0xb9]
mov byte [ebp + 6], dl
mov cl, byte [ebx + 0xba]
mov byte [ebp + 7], cl
cmp dword [ebx + 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, SysReAllocString
jne 0x45e6db
cmp dword [ebx + 0x78], edi
jne 0x45e697
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4ca584]
imul edx, edx, 0x94
fild dword [edx + eax + 0x84]
fmul qword [0x4be5a0]
call fcn.0049c260
mov ecx, dword [0x4ca5e0]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x78], eax
mov al, byte [esp + 0xa84]
cmp dword [ebx + 0x7c], edi
jne 0x45e6d2
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4ca584]
imul edx, edx, 0x94
fild dword [edx + eax + 0x84]
fmul qword [0x4be5c0]
call fcn.0049c260
mov ecx, dword [0x4ca5e0]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x7c], eax
mov al, byte [esp + 0xa84]
mov edx, dword [ebx + 0x78]
mov dword [ebx + 0x80], edx
mov byte [ebp + 4], al
mov cl, byte [ebx + 0x45]
or dword [esp + 0x6c], 0x10000000
mov byte [esp + 0x1fd], cl
mov ecx, 0x20000
cmp al, 6
jne 0x45e70d
or dword [esp + 0x6c], 0x4000
cmp byte [ebx + 0x44], 0
jne 0x45e727
or dword [esp + 0x6c], ecx
jmp 0x45e727
cmp byte [ebx + 0x44], 0
je 0x45e717
or dword [esp + 0x6c], ecx
cmp al, 2
je 0x45e744
cmp al, 0x10
je 0x45e744
cmp al, 0x11
je 0x45e744
cmp al, 0x12
je 0x45e744
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x3c], 1
je 0x45e738
mov edx, dword [ebx + 0x54]
mov dword [ebp + 0x10], edx
mov ecx, dword [ebx + 0x54]
mov dword [esp + 0xc8], ecx
jmp 0x45e754
mov byte [esp + 0x3c], 0
cmp al, 0x12
jne 0x45e754
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x44], eax
add eax, 0xfffffffc
mov esi, 0x10000
cmp eax, 0x15
ja case.0x45e76c.6
jmp dword [eax*4 + 0x4614e4]
or dword [esp + 0x6c], 0x210000
jmp case.0x45e76c.6
or dword [esp + 0x6c], 0x210042
jmp case.0x45e76c.6
or dword [esp + 0x6c], 0x210080
or dword [esp + 0x74], 0x200
jmp case.0x45e76c.6
or dword [esp + 0x7c], 0x30
or dword [esp + 0x6c], 0x10008
or dword [esp + 0x74], 0x200
mov dword [esp + 0x80], 1
jmp case.0x45e76c.6
or dword [esp + 0x6c], 0x10027
or dword [esp + 0x74], 0x200
jmp case.0x45e76c.6
or dword [esp + 0x6c], esi
or dword [esp + 0x74], 0x200
jmp case.0x45e76c.6
or dword [esp + 0x6c], 0x36
jmp case.0x45e76c.6
or dword [esp + 0x6c], 0x1000c
jmp case.0x45e76c.6
or dword [esp + 0x6c], 1
jmp case.0x45e76c.6
cmp byte [esp + 0x1ff], 0
jne 0x45e811
mov byte [esp + 0x1fd], 0
or dword [esp + 0x6c], 0x10200
jmp case.0x45e76c.6
or dword [esp + 0x6c], 0x4000000
jmp case.0x45e76c.6
test dword [ebx + 0x3c], 0x40000
je 0x45e836
or dword [esp + 0x6c], 0x100
or dword [esp + 0x6c], 0x800
jmp case.0x45e76c.6
cmp byte [0x4cb2de], 0
je case.0x45e76c.6
or dword [esp + 0x6c], esi
push 0
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0xa98]
push ebx
call fcn.004620f0
test eax, eax
je 0x4614c7
mov cl, byte [esp + 0xa84]
mov eax, dword [esp + 0xc8]
cmp cl, 0xa
je 0x45e882
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
setne al
mov byte [esp + 0x1fb], al
mov eax, dword [esp + 0xcc]
cmp eax, 0xff000000
jne 0x45e8b1
cmp cl, 0xb
je 0x45e8d2
mov dword [esp + 0xcc], 0xffffffff
jmp 0x45e8d2
cmp eax, 0xffffffff
jne 0x45e8d2
mov ebx, dword [ebx + 0x5c]
cmp ebx, 0xff000000
je 0x45e8d2
cmp cl, 0x12
je 0x45e8d2
cmp cl, 0x19
je 0x45e8d2
mov dword [esp + 0xcc], ebx
cmp dword [esp + 0x94], edi
mov edi, dword [esp + 0x70]
jne 0x45e920
cmp dword [esp + 0x98], 0x80000000
jne 0x45e920
fld dword [0x4be5b8]
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jnp 0x45e920
mov eax, dword [esp + 0xa8c]
mov ebx, 0x4bcf84
call fcn.00409670
test eax, eax
jne 0x45e920
xor ecx, ecx
mov dword [esp + 0x204], ecx
jmp 0x45e932
mov eax, edi
not eax
and eax, 0x2000
mov dword [esp + 0x204], eax
mov ecx, eax
mov eax, dword [esp + 0x78]
not eax
and eax, dword [esp + 0x74]
mov ebx, edi
not ebx
and ebx, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
or ebx, 0x40000000
add eax, 0xfffffffd
mov dword [esp + 0x14], ebx
cmp eax, 0x10
ja case.0x45e965.10
movzx edx, byte [eax + 0x461564]
jmp dword [edx*4 + 0x46153c]
and ebx, 0xfffffff7
or ebx, 7
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0xa80]
cmp byte [esp + 0xa84], 4
jne 0x45eca3
cmp dword [ebp + 0xc], 0
lea ebx, [ebp + 0xc]
jne 0x45eca3
test byte [ebp + 5], 1
jne 0x45eca3
mov eax, dword [esi]
cmp word [eax], 0x31
jne 0x45eb2a
cmp word [eax + 2], 0
jne 0x45eb2a
xor eax, eax
mov word [esp + 0x26c], ax
jmp 0x45eb42
test bl, 1
je 0x45e9db
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x14], ebx
or ebx, ecx
jmp 0x45e972
and ebx, 0xfffffff0
or ebx, ecx
jmp 0x45e972
mov eax, ebx
and eax, 6
cmp al, 6
jne 0x45e9fe
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x14], ebx
or dword [esp + 0x14], ecx
jmp case.0x45e965.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x14], ebx
or dword [esp + 0x14], ecx
jmp case.0x45e965.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x45ea26
test esi, edi
jne 0x45ea26
or eax, esi
or eax, ecx
mov dword [esp + 0x14], eax
jmp case.0x45e965.10
or ebx, 3
jmp 0x45e972
mov esi, dword [esp + 0xa80]
test bl, 1
je 0x45ea54
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x14], ebx
jmp 0x45e97d
and ebx, 0xfffffff2
or ebx, 2
mov dword [esp + 0x14], ebx
jmp 0x45e97d
or ebx, 1
jmp 0x45e972
fld dword [0x4be5b8]
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jnp 0x45ea99
mov ecx, dword [esp + 0xa8c]
push 0xa
push ecx
call fcn.0048e711
mov edi, dword [esp + 0x78]
add esp, 8
test eax, eax
je 0x45eaa6
mov edx, edi
not edx
and edx, 4
or ebx, edx
mov dword [esp + 0x14], ebx
test bl, 4
je case.0x45e965.10
not edi
and edi, 0x201040
or ebx, edi
jmp 0x45e972
mov esi, dword [esp + 0xa80]
or ebx, 0x4000000
cmp dword [esi + 0x60], 0
je 0x45ead7
test byte [ebp + 5], 0x20
je 0x45eae0
cmp dword [ebp + 0x10], 0xff000000
je 0x45eaf0
or ebx, 0x2000
mov byte [esp + 0x1fd], 0
jmp 0x45eaf6
and ebx, 0xffffdfff
mov eax, SysReAllocString
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x94], eax
je 0x45eb10
and byte [esp + 0x200], 0xfe
cmp dword [esp + 0x98], eax
je 0x45e97d
and byte [esp + 0x200], 0xfd
jmp 0x45e97d
lea edx, [esp + 0x26c]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x45eb33
mov ecx, dword [esp + 0xa8c]
push ecx
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x274]
call fcn.00474500
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a1838
lea edx, [esp + 0x288]
push 0x4bcfa0
push edx
xor eax, eax
call fcn.00474cb0
add esp, 0x24
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a1838
lea eax, [esp + 0x280]
push 0x4ab66c
push eax
xor eax, eax
call fcn.00474cb0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a1838
lea ecx, [esp + 0x280]
push 0x4a8c70
push ecx
xor eax, eax
call fcn.00474cb0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a1838
lea edx, [esp + 0x280]
push 0x4a900c
push edx
xor eax, eax
call fcn.00474cb0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a1838
lea eax, [esp + 0x280]
push 0x4abee8
push eax
xor eax, eax
call fcn.00474cb0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a1838
lea ecx, [esp + 0x280]
push 0x4bcfa4
push ecx
xor eax, eax
call fcn.00474cb0
add esp, 0x1c
cmp word [esp + 0x26c], 0
je 0x45ec93
mov edi, dword [0x4ca660]
test edi, edi
je 0x45ec6f
lea ecx, [ecx]
mov eax, dword [edi + 4]
lea edx, [esp + 0x26c]
push edx
push eax
call fcn.0048d939
add esp, 8
test eax, eax
je 0x45ec95
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x45ec50
push 0
push 0
lea ecx, [esp + 0x274]
push ecx
mov ecx, 0x4ca650
call fcn.0041fab0
test eax, eax
je 0x45ec93
cmp dword [eax + 0x14], 4
jg 0x45ec93
mov edi, eax
jmp 0x45ec95
xor edi, edi
mov esi, ebx
call fcn.00401260
mov esi, dword [esp + 0xa80]
mov bl, byte [ebp + 6]
mov ecx, esi
call fcn.00468dc0
mov edi, eax
xor ecx, ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x264], ecx
mov dword [esp + 0xa78], ecx
mov eax, dword [esi + 0x10]
cmp eax, ecx
je 0x45ecda
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x18]
lea ecx, [eax + edx*4 - 0x14]
mov dword [esp + 0x60], ecx
jmp 0x45ece5
lea edx, [esp + 0x258]
mov dword [esp + 0x60], edx
mov eax, SysReAllocString
cmp dword [esp + 0x8c], eax
jne 0x45edb0
cmp dword [esp + 0x90], eax
jne 0x45edb0
test edi, edi
je 0x45ed41
mov al, byte [ebp + 7]
mov ecx, esi
call fcn.00468f40
test eax, eax
jne 0x45ed41
mov edx, edi
lea edi, [esp + 0x2c]
mov ecx, esi
call fcn.00469050
mov eax, dword [esi + 0x78]
add eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x7c]
add ecx, dword [esp + 0x30]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
jmp 0x45ed64
mov eax, dword [esi + 0x8c]
add eax, dword [esi + 0x84]
mov edx, dword [esi + 0x80]
add eax, dword [esi + 0x7c]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
mov al, byte [esp + 0xa84]
cmp al, 1
je 0x45ed73
cmp al, 0x17
jne 0x45edb0
cmp dword [esi + 0x10], 0
je 0x45edb0
mov ecx, dword [esp + 0x60]
mov al, byte [ecx + 4]
cmp al, 1
je 0x45ed88
cmp al, 0x17
jne 0x45edb0
mov dl, byte [ecx + 6]
cmp dl, byte [ebp + 6]
jne 0x45edb0
mov al, byte [ecx + 7]
cmp al, byte [ebp + 7]
jne 0x45edb0
mov ecx, dword [0x4ca5e0]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x90], eax
mov cl, byte [esp + 0xa84]
cmp cl, 0xe
je 0x45edca
cmp cl, 0xa
je 0x45edca
cmp cl, 0xb
je 0x45edca
xor bl, bl
jmp 0x45edcc
mov bl, 1
fld1
test bl, bl
sete byte [esp + 0x24]
cmp dword [esp + 0x98], 0x80000000
jne 0x45ef5e
fcom dword [esp + 0x9c]
fnstsw ax
test ah, 0x41
jne 0x45ef5e
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x15
ja case.0x45ee0f.4
movzx edx, byte [eax + 0x4615a4]
jmp dword [edx*4 + 0x461578]
mov eax, dword [esp + 0x14]
fstp st(0)
fld dword [0x4be5b4]
fstp dword [esp + 0x9c]
test al, 1
je 0x45ee35
test al, 2
je 0x45ef7f
cmp byte [0x4cb2da], 0
je 0x45ef7f
test eax, 0x400
jne 0x45ef7f
mov byte [esp + 0x24], 0
jmp 0x45ef7f
fstp st(0)
fld dword [0x4be5b0]
fstp dword [esp + 0x9c]
jmp 0x45ef7f
fstp st(0)
fld dword [0x4be5ac]
fstp dword [esp + 0x9c]
jmp 0x45ef7f
mov eax, dword [esp + 0xa8c]
cmp word [eax], 0
jne case.0x45ee0f.4
test byte [esp + 0x14], 4
je case.0x45ee0f.13
fstp st(0)
fld dword [0x4be5b4]
fstp dword [esp + 0x9c]
jmp 0x45ef7f
test byte [esp + 0x14], 0x40
fstp st(0)
je 0x45ee59
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4ca584]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
jmp 0x45ef32
mov eax, dword [esp + 0x14]
fstp st(0)
test al, 2
je 0x45eeec
fld dword [0x4be5b0]
fstp dword [esp + 0x9c]
jmp 0x45ef7f
push eax
mov eax, dword [esp + 0xbc]
call fcn.00468620
mov dword [esp + 0x98], eax
jmp 0x45ef7f
test byte [esp + 0x14], 4
fstp st(0)
je 0x45ef1d
fld dword [0x4be5b0]
fstp dword [esp + 0x9c]
jmp 0x45ef7f
mov edx, dword [esi + 0x50]
mov eax, dword [0x4ca584]
imul edx, edx, 0x94
mov eax, dword [edx + eax + 0x84]
mov ecx, dword [0x4ca5e0]
push 0x60
add eax, eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x98], eax
jmp 0x45ef7f
fstp st(0)
fld dword [0x4be5a8]
fstp dword [esp + 0x9c]
jmp 0x45ef7f
fstp st(0)
cmp cl, 7
je 0x45ef6a
cmp cl, 8
jne 0x45ef7f
cmp byte [0x4cb2da], 0
je 0x45ef7f
or dword [esp + 0x14], 0x400
jmp 0x45ef7f
fstp st(0)
fldz
xor eax, eax
fld dword [esp + 0x9c]
mov dword [esp + 0x28], eax
fcom st(1)
mov dword [esp + 0x40], eax
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45f117
mov al, byte [esp + 0xa84]
cmp al, 3
je 0x45efb4
cmp al, 6
jbe 0x45efc3
cmp al, 8
ja 0x45efc3
fadd qword [0x4be550]
fstp dword [esp + 0x9c]
jmp 0x45efc5
fstp st(0)
cmp byte [esp + 0x24], 0
je 0x45f0fa
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4ca584]
mov edi, eax
mov eax, dword [esi + 0x50]
imul eax, eax, 0x94
mov edx, dword [eax + ecx + 0x90]
push edx
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x21c]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
fld dword [esp + 0x9c]
fld st(0)
fld qword [0x4be560]
fadd st(1), st(0)
fxch st(1)
call fcn.0049c260
fild dword [esp + 0x21c]
mov edi, eax
lea ecx, [edi - 1]
imul ecx, dword [esp + 0x22c]
fmulp st(2)
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
faddp st(2)
faddp st(1)
call fcn.0049c260
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x15
ja case.0x45f06e.5
movzx edx, byte [eax + 0x4615d0]
jmp dword [edx*4 + 0x4615bc]
mov eax, dword [0x4ca5e0]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
test dword [esp + 0x14], 0x100000
je case.0x45f06e.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x98], eax
jmp case.0x45f06e.5
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4ca584]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
mov ecx, dword [0x4ca5e0]
push 0x60
add eax, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
jmp case.0x45f06e.5
mov edx, dword [esi + 0x7c]
imul edx, edi
add dword [esp + 0x98], edx
jmp case.0x45f06e.5
inc edi
imul edi, dword [esi + 0x7c]
add dword [esp + 0x98], edi
jmp case.0x45f06e.5
test bl, bl
jne case.0x45f06e.5
mov eax, dword [0x4ca5e0]
push 0x60
push eax
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x98], eax
jmp case.0x45f06e.5
fstp st(0)
mov eax, SysReAllocString
mov byte [esp + 0x3f], 0
cmp dword [esp + 0x98], eax
je 0x45f139
cmp dword [esp + 0x94], eax
jne 0x45f7a8
mov eax, dword [esp + 0x44]
xor ebx, ebx
dec eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x18], 0x400
cmp eax, 0x16
ja case.0x45f160.2
movzx ecx, byte [eax + 0x4615f4]
jmp dword [ecx*4 + 0x4615e8]
mov edx, dword [esp + 0xa8c]
cmp word [edx], bx
je case.0x45f160.2
mov edi, dword [esp + 0x28]
cmp edi, ebx
jne 0x45f1b1
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4ca584]
imul ecx, ecx, 0x94
mov edi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x21c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov ebx, dword [esp + 0x230]
add ebx, 4
test dword [esp + 0x14], 0x200000
mov dword [esp + 0x58], ebx
je 0x45f1e6
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add ebx, eax
mov dword [esp + 0x58], ebx
mov edi, dword [esp + 0xa8c]
cmp word [edi], 0
je 0x45f22b
mov eax, edi
lea edx, [eax + 2]
jmp 0x45f200
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45f200
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0xa
jne 0x45f22b
mov edx, dword [esp + 0x22c]
mov eax, dword [esp + 0x21c]
add edx, eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x18], 0x2c40
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x45f26c
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 0x50]
imul edx, edx, 0x94
mov edi, eax
mov eax, dword [0x4ca584]
mov ecx, dword [edx + eax + 0x90]
push ecx
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
mov al, byte [esp + 0xa84]
cmp al, 1
jne 0x45f28d
or dword [esp + 0x18], 0x40
test byte [esp + 0x14], 0x80
je 0x45f2bb
or dword [esp + 0x18], 0x800
jmp 0x45f2bb
cmp al, 5
je 0x45f295
cmp al, 6
jne 0x45f2bb
lea edx, [esp + 0x21c]
push edx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x230]
lea ebx, [ebx + eax + 2]
mov dword [esp + 0x58], ebx
test dword [esp + 0x14], 0x800000
je 0x45f2f0
mov al, byte [esp + 0xa84]
cmp al, 1
je 0x45f2d4
cmp al, 0x17
jne 0x45f2f0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
call esi
mov ebx, eax
add ebx, ebx
push 6
mov dword [esp + 0x5c], ebx
call esi
add eax, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
je 0x45f303
or dword [esp + 0x18], 0x10
xor ecx, ecx
mov dword [esp + 0x20c], ecx
mov dword [esp + 0x210], ecx
cmp eax, 0x80000000
jne 0x45f323
mov dword [esp + 0x214], ecx
jmp 0x45f32c
sub eax, ebx
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x98]
mov edx, eax
sub edx, 0x80000000
neg edx
sbb edx, edx
and edx, eax
cmp byte [esp + 0xa84], 0x17
mov dword [esp + 0x218], edx
mov dword [esp + 0x208], ecx
jne 0x45f4e9
test byte [esp + 0x14], 4
je 0x45f36c
or dword [esp + 0x18], 0x800
mov eax, dword [esp + 0xa8c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45f376
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048e798
mov ebx, eax
mov eax, dword [esp + 0xa90]
add esp, 4
cmp word [eax], 0
mov dword [esp + 0x2c], ebx
mov esi, eax
je 0x45f49b
jmp 0x45f3c0
cmp word [esi], 0x3c
jne 0x45f485
mov ax, word [esi + 2]
call fcn.00409640
cmp ax, 0x41
jne 0x45f485
lea eax, [esi + 4]
call fcn.004096c0
mov edi, eax
cmp word [edi], 0x3e
je 0x45f44e
lea ecx, [ecx]
movzx eax, word [edi]
test eax, 0xffffff80
jne 0x45f411
push 0x107
push eax
call fcn.0048eb8e
add esp, 8
test eax, eax
je 0x45f411
add edi, 2
jmp 0x45f3f0
cmp word [edi], 0x3d
jne 0x45f485
mov eax, 0x22
cmp ax, word [edi + 2]
jne 0x45f485
push eax
add edi, 4
push edi
call fcn.0048e711
add esp, 8
test eax, eax
je 0x45f485
lea edi, [eax + 2]
movzx eax, word [edi]
cmp eax, 0x20
je 0x45f443
cmp eax, 9
jne 0x45f448
add edi, 2
jmp 0x45f436
cmp word [edi], 0x3e
jne 0x45f3f0
add edi, 2
je 0x45f485
mov eax, 0x4bcfa8
mov ecx, edi
call fcn.00474870
test eax, eax
je 0x45f485
mov ecx, edi
cmp edi, eax
jae 0x45f480
lea esp, [esp]
mov dx, word [ecx]
mov word [ebx], dx
add ecx, 2
add ebx, 2
cmp ecx, eax
jb 0x45f470
lea esi, [eax + 6]
jmp 0x45f48e
mov ax, word [esi]
mov word [ebx], ax
add ebx, 2
add esi, 2
cmp word [esi], 0
jne 0x45f3c0
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov word [ebx], cx
cmp ebx, eax
jbe 0x45f4b3
movzx edx, word [ebx - 2]
mov dword [esp + 0x208], edx
cmp word [eax], cx
jne 0x45f4bd
mov eax, 0x4bcfb4
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x210]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x2c]
push ecx
mov esi, eax
call fcn.0048eacb
add esp, 4
jmp 0x45f54b
mov eax, dword [esp + 0xa8c]
cmp word [eax], cx
jne 0x45f4fa
mov eax, 0x4bcfb4
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x210]
push ecx
push 0xffffffffffffffff
push eax
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
mov edi, dword [esp + 0xa8c]
cmp word [edi], 0
mov esi, eax
je 0x45f54b
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45f530
sub eax, edx
sar eax, 1
movzx eax, word [edi + eax*2 - 2]
mov dword [esp + 0x208], eax
mov edi, dword [esp + 0x214]
mov eax, dword [esp + 0x44]
sub edi, dword [esp + 0x20c]
dec eax
je 0x45f576
sub eax, 3
je 0x45f56c
sub eax, 8
je 0x45f576
jmp 0x45f5a5
cmp dword [esp + 0x204], 0
jne 0x45f5a5
mov eax, dword [esp + 0x208]
test ax, ax
je 0x45f5a5
mov edx, dword [esp + 0x28]
movzx eax, ax
lea ecx, [esp + 0x2c]
push ecx
push eax
push eax
push edx
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
test eax, eax
je 0x45f5a5
mov eax, dword [esp + 0x34]
test eax, eax
jns 0x45f5a5
sub edi, eax
mov eax, dword [esp + 0x98]
mov bl, byte [esp + 0xa84]
cmp eax, 0x80000000
je 0x45f5c3
cmp esi, eax
jle 0x45f635
cmp bl, 0xc
je 0x45f635
mov eax, dword [esp + 0x64]
add eax, esi
mov dword [esp + 0x98], eax
cmp bl, 0xc
jne 0x45f608
mov ecx, dword [0x4ca5e0]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
test dword [esp + 0x14], 0x100000
je 0x45f635
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x98], eax
jmp 0x45f635
cmp bl, 4
jne 0x45f635
mov edx, dword [esp + 0xa80]
mov ecx, dword [edx + 0x50]
mov edx, dword [0x4ca584]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x84]
lea edx, [eax + ecx + 2]
mov dword [esp + 0x98], edx
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
je 0x45f647
cmp edi, eax
jle 0x45f68b
add edi, dword [esp + 0x58]
mov byte [esp + 0x3f], 1
mov dword [esp + 0x94], edi
cmp bl, 4
jne 0x45f68b
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0xa80]
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x4ca584]
imul edx, edx, 0x94
mov edx, dword [edx + ecx + 0x84]
lea eax, [edx + eax*2]
add dword [esp + 0x94], eax
mov esi, dword [esp + 0xa80]
cmp dword [esp + 0x94], 0x80000000
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
jne case.0x45f6e9.4
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4ca584]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x84]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [0x4ca5e0]
push 0x60
push ecx
push eax
call edi
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffffd
cmp ecx, 0x15
ja case.0x45f6e9.4
movzx edx, byte [ecx + 0x46162c]
jmp dword [edx*4 + 0x46160c]
mov dword [esp + 0x94], eax
jmp case.0x45f6e9.4
add eax, eax
mov dword [esp + 0x94], eax
jmp case.0x45f6e9.4
test byte [esp + 0x14], 0x40
je 0x45f71d
mov dword [esp + 0x94], eax
jmp case.0x45f6e9.4
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4ca584]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
mov ecx, dword [0x4ca5e0]
push 0x60
add eax, eax
push ecx
push eax
call edi
mov dword [esp + 0x94], eax
jmp case.0x45f6e9.4
mov ecx, dword [esp + 0x14]
test cl, 2
je case.0x45f6e9.7
mov eax, dword [esp + 0xb8]
push ecx
call fcn.00468620
mov dword [esp + 0x94], eax
jmp case.0x45f6e9.4
test byte [esp + 0x14], 4
je case.0x45f6e9.7
mov edx, dword [esi + 0x50]
mov eax, dword [0x4ca584]
imul edx, edx, 0x94
mov eax, dword [edx + eax + 0x84]
jmp 0x45f733
mov edx, dword [esi + 0x78]
lea eax, [eax + edx*2]
mov dword [esp + 0x94], eax
jmp case.0x45f6e9.4
mov ecx, dword [esi + 0x78]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0x94], edx
jmp case.0x45f6e9.4
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
cmp byte [esp + 0xa84], 0xc
jne 0x45f8cc
test byte [esp + 0x14], 4
jne 0x45f8cc
fld1
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 0x41
jne 0x45f8cc
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x45f815
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4ca584]
imul ecx, ecx, 0x94
mov ebx, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x21c]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov edx, dword [0x4ca5e0]
push 0x60
push edx
push 8
call edi
mov esi, dword [esp + 0x98]
mov ebx, dword [esp + 0x14]
sub esi, eax
sub esi, dword [esp + 0x21c]
mov dword [esp + 0x2c], esi
test ebx, 0x100000
je 0x45f85f
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
jle 0x45f8c3
fild dword [esp + 0x2c]
mov eax, dword [esp + 0x22c]
mov ecx, dword [esp + 0x21c]
add eax, ecx
mov dword [esp + 0x2c], eax
fidiv dword [esp + 0x2c]
fadd qword [0x4be550]
fstp dword [esp + 0x9c]
fld dword [0x4be5b8]
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x45f8cc
mov eax, dword [esp + 0x70]
not eax
mov edx, eax
and edx, 4
or ebx, edx
mov dword [esp + 0x14], ebx
test bl, 4
je 0x45f8cc
and eax, 0x201040
or ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x45f8cc
fld1
fstp dword [esp + 0x9c]
mov edi, dword [esp + 0xa80]
cmp byte [esp + 0x1fd], 0
mov eax, dword [edi + 4]
mov esi, dword [edi + 0x10]
sete byte [esp + 0x3d]
push eax
mov byte [esp + 0x2b], 0
add esi, 3
mov dword [esp + 0x1c], eax
mov byte [esp + 0x23], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45f915
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x1e], 1
test eax, eax
je 0x45f91a
mov byte [esp + 0x1e], 0
cmp byte [ebp + 6], 0xff
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov byte [esp + 0x3e], 0
jae 0x45f9c6
mov ebx, dword [esp + 0x5c]
test ebx, ebx
je 0x45f9df
mov ecx, dword [ebx]
push 0x4bcfb8
push ecx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x45f996
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
push 1
mov dword [esp + 0x30], edx
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa8c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
mov ecx, dword [ebx]
push 0xfffffffffffffff0
push ecx
call edi
test eax, 0x10000000
je 0x45f9df
mov edx, dword [ebx]
push 0
push 0
push 0x130b
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [ebp + 7]
cmp eax, ecx
jne 0x45f9df
mov dl, byte [esp + 0x1e]
mov byte [esp + 0x3e], dl
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
dec eax
cmp eax, 0x18
ja case.0x45f9d8.20
jmp dword [eax*4 + 0x461644]
mov ebx, dword [esp + 0x14]
and ebx, 0xefffffff
mov dword [esp + 0x14], ebx
jmp 0x45f9ca
mov eax, dword [0x4c84c0]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x98]
push 0
push eax
mov eax, dword [esp + 0x9c]
push esi
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xaa4]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push ebx
push eax
push str.static
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45f9d8.20
mov edx, dword [0x4c84c0]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xaa4]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push ebx
push edx
push str.SysLink
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45f9d8.20
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
jne 0x45faa6
xor ecx, ecx
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x98]
cmp eax, 0x80000000
jne 0x45fabd
xor eax, eax
mov dword [esp + 0x98], eax
mov edx, dword [0x4c84c0]
push 0
push edx
mov edx, dword [esp + 0x20]
push esi
push edx
mov edx, dword [esp + 0xa9c]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push ebx
push edx
push str.static
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0xa8c]
push ecx
push edx
mov edx, dword [esp + 0xe4]
push eax
mov esi, ebp
call fcn.004648f0
test eax, eax
je case.0x45f9d8.20
mov byte [esp + 0x27], 1
jmp case.0x45f9d8.20
mov ecx, dword [0x4c84c0]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x98]
push 0
push ecx
mov ecx, dword [esp + 0x9c]
push esi
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xaa4]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ebx
push ecx
push str.button
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45f9d8.20
mov eax, dword [0x4c84c0]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x98]
push 0
push eax
mov eax, dword [esp + 0x9c]
push esi
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xaa4]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push ebx
push eax
push str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
test bl, 1
je case.0x45f9d8.20
mov esi, dword [esp + 0xa80]
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x10]
jae 0x45fc26
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + edx*4]
push 1
push 0xfffffffffffffff0
push ecx
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
and eax, 0xfffe
push eax
mov eax, dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + edx*4]
push 0xf4
push ecx
call edi
jmp 0x45fc2c
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 4]
push 0
mov dword [esi + 0x1c], eax
add eax, 3
push eax
push 0x401
push edx
call edi
mov ecx, dword [ebp]
push 1
movzx eax, bx
push eax
push 0xf4
push ecx
call edi
jmp case.0x45f9d8.20
mov edx, dword [0x4c84c0]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xaa4]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push ebx
push edx
push str.button
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
mov ecx, dword [esp + 0xd8]
test ecx, ecx
je case.0x45f9d8.20
push 0
push ecx
push 0xf1
jmp 0x461078
cmp dword [esp + 0xd0], 0
je 0x45fcdf
cmp byte [ebp + 4], 8
jne 0x45fcdf
and ebx, 0xffffffbf
mov dword [esp + 0x14], ebx
mov eax, dword [0x4c84c0]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x98]
push 0
push eax
mov eax, dword [esp + 0x9c]
push esi
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push ebx
push 0x4a1838
push str.Combobox
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
movzx ecx, byte [esp + 0x1e]
mov edx, dword [esp + 0xa80]
push ecx
mov ecx, dword [edx + 0x50]
mov edx, dword [0x4ca584]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x90]
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esp + 0x24], 0
mov byte [esp + 0x1f], 1
je 0x45fe06
mov edx, dword [ebp]
push 0
push 0
push 0x154
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [esp + 0x14], 1
mov ebx, eax
mov dword [esp + 0x64], ebx
je 0x45fd97
test byte [esp + 0x14], 2
mov esi, 4
je 0x45fd9c
mov esi, 2
mov eax, dword [0x4ca5e0]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push eax
push 8
call edi
mov ecx, dword [esp + 0x98]
add eax, esi
lea eax, [eax + ebx*2]
cmp ecx, eax
jge 0x45fdc9
mov ecx, eax
mov dword [esp + 0x98], ecx
jmp 0x45fe0d
fldz
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x45fe0d
mov ecx, dword [0x4ca5e0]
push 0x60
push ecx
push 8
call edi
fild dword [esp + 0x64]
mov edi, eax
fmul dword [esp + 0x9c]
call fcn.0049c260
lea ecx, [esi + eax]
add ecx, edi
mov dword [esp + 0x98], ecx
jmp 0x45fe0d
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push 1
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x27], 1
jmp case.0x45f9d8.20
mov eax, dword [0x4c84c0]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x98]
push 0
push eax
mov eax, dword [esp + 0x9c]
push esi
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push ebx
push 0x4a1838
push str.Listbox
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
mov ecx, dword [esp + 0x1a8]
test ecx, ecx
je 0x45feab
lea edx, [esp + 0xe0]
push edx
push ecx
push 0x192
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xa80]
mov edx, dword [ecx + 0x50]
movzx eax, byte [esp + 0x1e]
imul edx, edx, 0x94
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [0x4ca584]
mov ecx, dword [edx + eax + 0x90]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call esi
mov eax, dword [ebp]
push 0
push 0
push 0x1a1
push eax
mov byte [esp + 0x2f], 1
call esi
mov ecx, dword [0x4ca5e0]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push ecx
mov edi, eax
push 8
mov dword [esp + 0x70], edi
call ebx
lea esi, [edi + eax]
mov edi, dword [esp + 0x14]
and edi, 0x100000
je 0x45ff22
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [esp + 0x98]
cmp ecx, esi
jge 0x45ff31
mov ecx, esi
jmp 0x45ff7f
fldz
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x45ff86
mov edx, dword [0x4ca5e0]
push 0x60
push edx
push 8
call ebx
fild dword [esp + 0x64]
mov esi, eax
fmul dword [esp + 0x9c]
call fcn.0049c260
lea ecx, [esi + eax]
mov dword [esp + 0x98], ecx
test edi, edi
je 0x45ff86
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x98]
add ecx, eax
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x8c]
push 1
push ecx
mov ecx, dword [esp + 0x98]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x27], 1
jmp case.0x45f9d8.20
mov eax, dword [esp + 0x80]
cmp eax, 4
je 0x45ffca
and ebx, 0xfffffffc
or ebx, eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x98]
cmp eax, 0x80000000
jne 0x45ffdd
mov eax, 0xc8
mov ecx, dword [0x4c84c0]
mov edx, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0x98]
push esi
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push ebx
push 0x4a1838
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [ebp], esi
test esi, esi
je case.0x45f9d8.20
push 0x3f8
call fcn.0048d9c4
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x46004f
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45f9d8.20
mov ecx, dword [esp + 0xa80]
push 0x3f8
mov dword [ecx + 0x48], ebp
mov edx, dword [ebp + 0x10]
push 0
push edx
call fcn.00496810
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xffffffff
mov eax, dword [esp + 0x68]
mov ecx, dword [ebp + 0x10]
mov dl, byte [esp + 0x20a]
add esp, 0xc
mov byte [ecx + 5], dl
test eax, eax
je 0x46008e
or byte [eax + 5], 0x80
cmp dword [esp + 0x80], 4
jne 0x4600ab
mov eax, dword [ebp]
push 0
push 4
push 0x108e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4600c5
mov ecx, dword [ebp]
push eax
push 0
push 0x1036
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x6c]
mov edi, ebp
call fcn.00468790
cmp dword [esp + 0x98], 0x80000000
jne case.0x45f9d8.20
mov edi, dword [esp + 0xa80]
mov eax, dword [edi + 0x50]
movzx edx, byte [esp + 0x1e]
imul eax, eax, 0x94
mov ecx, dword [0x4ca584]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edx
mov edx, dword [eax + ecx + 0x90]
mov eax, dword [ebp]
push edx
push 0x30
push eax
call esi
mov eax, dword [esp + 0x80]
dec eax
mov byte [esp + 0x1f], 1
je 0x460280
sub eax, 3
je 0x460252
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x460168
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [edi + 0x50]
imul edx, edx, 0x94
mov ebx, eax
mov eax, dword [0x4ca584]
mov ecx, dword [edx + eax + 0x90]
push ecx
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea edx, [esp + 0x21c]
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [esp + 0x80], 0
jne 0x460216
mov eax, dword [ebp]
push 0
push 0
push 0x1033
push eax
call esi
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
test eax, eax
jns 0x4601a6
fadd dword [0x4be588]
fld dword [esp + 0x9c]
push 0xc
fsub qword [0x4be550]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp qword [esp + 0x30]
mov ecx, dword [esp + 0x30]
shr ecx, 0x10
mov dword [esp + 0x30], ecx
fldcw word [esp + 0x28]
fild dword [esp + 0x30]
fstp qword [esp + 0x68]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmul dword [esp + 0x9c]
fadd qword [esp + 0x64]
call fcn.0049c260
mov edx, dword [esp + 0x21c]
lea eax, [eax + edx + 0x10]
jmp 0x4602be
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x21c]
mov dword [esp + 0x2c], eax
cmp eax, ecx
jg 0x460231
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
fld dword [esp + 0x9c]
fld st(0)
fmulp st(2)
fsub qword [0x4be550]
faddp st(1)
call fcn.0049c260
add eax, 0xb
jmp 0x4602be
mov eax, dword [ebp]
push 0
push 0
push 0x1033
push eax
call esi
shr eax, 0x10
sub eax, 3
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmul dword [esp + 0x9c]
call fcn.0049c260
add eax, 7
jmp 0x4602be
fld dword [esp + 0x9c]
mov edx, dword [ebp]
fnstcw word [esp + 0x24]
push 0xffffffffffffffff
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp qword [esp + 0x30]
mov ecx, dword [esp + 0x30]
dec ecx
push ecx
push 0x1040
fldcw word [esp + 0x30]
push edx
call esi
shr eax, 0x10
add eax, 4
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push 1
push eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x9c]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x45f9d8.20
mov eax, dword [esp + 0x98]
cmp eax, 0x80000000
jne 0x460302
mov eax, 0xc8
mov ecx, dword [0x4c84c0]
mov edx, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0x98]
push esi
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push ebx
push 0x4a1838
push str.SysTreeView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
cmp dword [esp + 0xd8], 0
mov ecx, dword [esp + 0xa80]
mov dword [ecx + 0x4c], ebp
je 0x460372
mov edx, dword [ebp]
or ebx, 0x100
push ebx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [esp + 0x6c]
mov esi, ebp
call fcn.00468840
mov eax, dword [esp + 0x84]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x46039c
push eax
mov eax, dword [ebp]
push 0
push 0x1109
push eax
call esi
cmp dword [esp + 0x98], 0x80000000
jne case.0x45f9d8.20
mov edi, dword [esp + 0xa80]
mov edx, dword [edi + 0x50]
movzx ecx, byte [esp + 0x1e]
imul edx, edx, 0x94
mov eax, dword [0x4ca584]
push ecx
mov ecx, dword [edx + eax + 0x90]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call esi
mov eax, dword [ebp]
push 0
push 0
push 0x111c
push eax
mov byte [esp + 0x2f], 1
call esi
mov dword [esp + 0x98], eax
cmp eax, 2
jge 0x460417
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4ca584]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
add eax, eax
mov dword [esp + 0x98], eax
fild dword [esp + 0x98]
fmul dword [esp + 0x9c]
call fcn.0049c260
add eax, 4
push 1
mov dword [esp + 0x9c], eax
push eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x45f9d8.20
test bl, 4
jne 0x460487
cmp dword [esp + 0xd0], 0
jge 0x460475
and ebx, 0xffefff7f
jmp 0x460483
mov edx, dword [esp + 0x70]
not edx
and edx, 0x80
or ebx, edx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xa8c]
cmp word [ebx], 0
je 0x4604a6
test byte [esp + 0x14], 4
je 0x4604a6
mov edi, ebx
call fcn.00475200
mov edi, eax
jmp 0x4604a8
mov edi, ebx
mov eax, edi
test edi, edi
jne 0x4604b0
mov eax, ebx
mov ecx, dword [0x4c84c0]
mov edx, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x40]
push ecx
push eax
push str.edit
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x46056d
test byte [esp + 0x14], 0x20
je 0x460526
mov cx, word [esp + 0x1f8]
test cx, cx
je 0x460526
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
movzx ecx, cx
push ecx
push 0xcc
push eax
call esi
jmp 0x46052c
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xd0]
test eax, eax
jns 0x460540
xor eax, eax
mov dword [esp + 0xd0], eax
mov edx, dword [ebp]
push 0
push eax
push 0xc5
push edx
call esi
mov eax, dword [esp + 0x1a8]
test eax, eax
je 0x46056d
mov edx, dword [ebp]
lea ecx, [esp + 0xe0]
push ecx
push eax
push 0xcb
push edx
call esi
test edi, edi
je case.0x45f9d8.20
cmp edi, ebx
je case.0x45f9d8.20
push edi
call fcn.0048ef9f
add esp, 4
jmp case.0x45f9d8.20
mov edi, dword [esp + 0xa8c]
xor bl, bl
cmp word [edi], 0
je 0x4605e0
push str.LongDate
push edi
call fcn.0048d939
add esp, 8
test eax, eax
jne 0x4605bc
mov eax, dword [esp + 0x14]
and eax, 0xfffffff6
or eax, 4
mov dword [esp + 0x14], eax
jmp 0x4605e0
push str.Time
push edi
call fcn.0048d939
add esp, 8
test eax, eax
jne 0x4605de
mov ecx, dword [esp + 0x14]
and ecx, 0xfffffffb
or ecx, 9
mov dword [esp + 0x14], ecx
jmp 0x4605e0
mov bl, 1
mov eax, 2
cmp dword [esp + 0xa0], eax
jne 0x4605f2
or dword [esp + 0x14], eax
mov edx, dword [0x4c84c0]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4a1838
push str.SysDateTimePick32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test bl, bl
je 0x46065b
push edi
push 0
push 0x1032
push eax
call esi
mov eax, dword [esp + 0x1f0]
test eax, eax
je 0x46067a
mov edx, dword [ebp]
lea ecx, [esp + 0x1cc]
push ecx
push eax
push 0x1004
push edx
call esi
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4606a1
xor edx, edx
cmp eax, 1
mov eax, dword [ebp]
setne dl
lea ecx, [esp + 0x1ac]
push ecx
push edx
push 0x1002
push eax
call esi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je case.0x45f9d8.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
call esi
jmp case.0x45f9d8.20
cmp dword [esp + 0x1ec], 0
jne 0x4606fa
mov edx, dword [esp + 0xa8c]
cmp word [edx], 0
je 0x4606fa
lea eax, [esp + 0x1ac]
mov ecx, edx
call fcn.00473f10
mov dword [esp + 0x1ec], eax
cmp eax, 3
jne 0x4606fa
or ebx, 2
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x98]
cmp ecx, 0x80000000
jne 0x46070e
mov ecx, 0x64
mov eax, dword [esp + 0x94]
test eax, eax
jns 0x46071e
mov eax, 0x64
mov edx, dword [0x4c84c0]
push 0
push edx
mov edx, dword [esp + 0x20]
push esi
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa8]
push eax
push ecx
push ebx
push 0x4a1838
push str.SysMonthCal32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
mov ebx, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, ebx
and esi, 2
je 0x460780
push 0
push 0x16e
push 0x1004
push eax
call edi
mov eax, dword [esp + 0x1f0]
test eax, eax
je 0x46079f
mov edx, dword [ebp]
lea ecx, [esp + 0x1cc]
push ecx
push eax
push 0x1012
push edx
call edi
mov eax, dword [esp + 0x1ec]
test eax, eax
je 0x460815
test esi, esi
je 0x460800
cmp eax, 1
jne 0x4607eb
mov eax, dword [esp + 0x1ac]
mov ecx, dword [esp + 0x1b0]
mov edx, dword [esp + 0x1b4]
mov dword [esp + 0x1bc], eax
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x1c0], ecx
mov dword [esp + 0x1c4], edx
mov dword [esp + 0x1c8], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x1ac]
push ecx
push 0
push 0x1006
push edx
jmp 0x460813
mov ecx, dword [ebp]
lea eax, [esp + 0x1ac]
push eax
push 0
push 0x1002
push ecx
call edi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je 0x46082d
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call edi
mov esi, dword [esp + 0xa80]
mov ecx, dword [esi + 0x50]
movzx eax, byte [esp + 0x1e]
imul ecx, ecx, 0x94
mov edx, dword [0x4ca584]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call edi
cmp dword [esp + 0x94], 0x80000000
mov byte [esp + 0x1f], 1
je 0x46087c
cmp dword [esp + 0x98], 0x80000000
jne case.0x45f9d8.20
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push 0
push 0x1009
push eax
call edi
test eax, eax
je case.0x45f9d8.20
cmp dword [esp + 0x94], 0
jge 0x4608f0
test bl, 0x10
je 0x4608ab
mov eax, dword [esp + 0x50]
jmp 0x4608c4
mov ecx, dword [ebp]
push 0
push 0
push 0x1015
push ecx
call edi
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jge 0x4608c4
mov eax, ecx
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
jne 0x4608dc
mov dword [esp + 0x94], eax
jmp 0x4608f0
add eax, 6
imul eax, ecx
mov edx, 0xfffffffa
sub edx, eax
mov dword [esp + 0x94], edx
mov ecx, dword [esp + 0x98]
cmp ecx, 0x80000000
jne 0x4609f2
fldz
mov ecx, dword [esp + 0x54]
fld dword [esp + 0x9c]
mov dword [esp + 0x98], ecx
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4609f0
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4609f2
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x46096f
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4ca584]
imul ecx, ecx, 0x94
mov edi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x21c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov esi, dword [esp + 0x21c]
test bl, 0x10
je 0x46099c
mov edx, dword [esp + 0x98]
lea eax, [edx + esi + 4]
mov dword [esp + 0x98], eax
fild dword [esp + 0x98]
fld dword [esp + 0x9c]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.0049c260
add esi, 0xfffffffe
mov dword [esp + 0x98], eax
fild dword [esp + 0x98]
mov dword [esp + 0x2c], esi
fild dword [esp + 0x2c]
fxch st(2)
fsub qword [0x4be550]
fmulp st(2)
fsubrp st(1)
call fcn.0049c260
mov ecx, eax
push 1
mov dword [esp + 0x9c], ecx
push ecx
jmp 0x460437
fstp st(0)
push 1
push ecx
jmp 0x460437
mov edx, dword [0x4c84c0]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push ebx
push 0x4a1838
push str.msctls_hotkey32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
mov eax, dword [esp + 0xa8c]
cmp word [eax], 0
je 0x460a71
push 0
call fcn.004682e0
mov ecx, dword [ebp]
movzx eax, ax
push eax
push 0x401
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xd0]
test eax, eax
jle case.0x45f9d8.20
mov edx, dword [ebp]
push 6
push eax
push 0x403
push edx
jmp 0x461079
test bl, 0x10
je 0x460c5c
mov eax, dword [esp + 0xa80]
cmp dword [eax + 8], 0
jne 0x460abd
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x460c5c
test byte [eax + 5], 0x80
je 0x460c5c
and dword [esp + 0x14], 0xffffffef
mov bl, 1
mov ecx, dword [0x4c84c0]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x98]
push 0
push ecx
mov ecx, dword [esp + 0x9c]
push esi
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 0x4a1838
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
mov esi, dword [esp + 0x60]
test bl, bl
je 0x460b31
mov ecx, dword [esi]
push 0
push ecx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0xa80]
cmp dword [edi + 0x10], 0
je 0x460cab
test byte [esp + 0x14], 0x10
jne 0x460b51
test bl, bl
je 0x460cab
mov eax, dword [ebp]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x48]
push edx
push eax
call ebx
mov edx, dword [esp + 0x18]
push 2
lea ecx, [esp + 0x4c]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
sub edx, eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x90], ecx
sub eax, ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov edx, dword [esi]
push ecx
push edx
call ebx
mov ecx, dword [esp + 0x18]
push 2
lea eax, [esp + 0x30]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp byte [edi + 0xbf], 0
je 0x460c3b
test byte [esp + 0x14], 4
je 0x460c0d
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x8c]
add dword [esp + 0x50], eax
push 1
push edx
add ecx, eax
push eax
mov eax, dword [esp + 0x9c]
push eax
push ecx
mov dword [esp + 0xa0], ecx
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
add eax, dword [esp + 0x94]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
sub eax, edx
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
test byte [esp + 0x14], 4
je 0x460c63
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
sub ecx, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], ecx
jmp 0x460c72
xor bl, bl
jmp 0x460ac4
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x48]
mov dword [esp + 0x94], edx
cmp byte [esp + 0x1fa], 0
jne 0x460cc8
cmp byte [esi + 4], 9
jne 0x460cb5
test byte [esp + 0x14], 0x40
mov byte [esp + 0x1fa], 1
je 0x460c9e
mov dword [esp + 0xa8], 0x7fff
jmp 0x460cc8
mov dword [esp + 0xa4], 0x7fff
jmp 0x460cc8
cmp byte [esp + 0x1fa], 0
jne 0x460cc8
mov byte [esp + 0x1fa], 1
mov dword [esp + 0xa8], 0x64
lea ecx, [esp + 0x6c]
mov eax, ebp
call fcn.004685d0
mov esi, dword [esp + 0xa8c]
call fcn.0040d310
mov edx, dword [ebp]
push eax
mov al, byte [ebp + 5]
and al, 0x80
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0xa
push 0
add ecx, 0x467
push ecx
push edx
jmp 0x461079
mov eax, dword [0x4c84c0]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x98]
push 0
push eax
mov eax, dword [esp + 0x9c]
push esi
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push ebx
push 0x4a1838
push str.msctls_trackbar32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
lea eax, [esp + 0x6c]
mov esi, ebp
call fcn.004686b0
mov esi, dword [esp + 0xa8c]
cmp word [esi], 0
je case.0x45f9d8.20
call fcn.0040d310
test byte [ebp + 5], 0x80
je 0x460d7f
push eax
mov edi, ebp
call fcn.00468670
mov ecx, dword [ebp]
push eax
push 1
push 0x405
push ecx
jmp 0x461079
mov edx, dword [0x4c84c0]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push ebx
push 0x4a1838
push str.msctls_progress32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
mov eax, dword [esp + 0xa80]
push ebx
push eax
lea eax, [esp + 0x74]
mov ecx, ebp
call fcn.00468890
mov esi, dword [esp + 0xa8c]
cmp word [esi], 0
je 0x460e18
push 0
call fcn.0040d310
mov ecx, dword [ebp]
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x3d], 0
jmp case.0x45f9d8.20
mov edx, dword [0x4c84c0]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push ebx
push 0x4a1838
push str.SysTabControl32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
cmp byte [esp + 0x1ff], 0
mov esi, dword [esp + 0xa80]
je 0x460ea9
lea eax, [esp + 0x6c]
push eax
mov ebx, ebp
call fcn.00469470
test eax, eax
jne 0x460ea9
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45f9d8.20
mov al, byte [esp + 0x200]
test al, al
je 0x460ec7
movsx edx, al
mov eax, dword [ebp]
push edx
push str.ahk_autosize
push eax
call dword [sym.imp.USER32.dll_SetPropW]
mov al, byte [esi + 0xb8]
mov byte [esi + 0xb9], al
inc al
push 0x467df0
mov byte [esi + 0xba], 0
mov byte [esi + 0xb8], al
mov ecx, dword [ebp]
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x4c84e4], eax
jmp case.0x45f9d8.20
cmp byte [0x4cbb64], 0
jne 0x460f42
push 0x4bc978
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x460f42
push str.AtlAxWinInit
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x460f32
call eax
test eax, eax
setne byte [0x4cbb64]
cmp byte [0x4cbb64], 0
jne 0x460f42
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [0x4c84c0]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xaa4]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push ebx
push edx
push str.AtlAxWin
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
push eax
call fcn.004579b0
add esp, 4
test eax, eax
je 0x460e93
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x460fb9
mov edi, eax
call fcn.004775a0
jmp case.0x45f9d8.20
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp case.0x45f9d8.20
mov ax, word [esp + 0x202]
test ax, ax
jne 0x460fec
push 0x4a1838
push str.A_window_class_is_required.
mov ecx, 0x4ca650
call fcn.0042e3d0
jmp 0x4614c7
mov ecx, dword [0x4c84c0]
mov edx, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xaa8]
push edx
push ebx
movzx edx, ax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45f9d8.20
mov ecx, dword [esp + 0xa80]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0xa8c]
push esi
push edx
push eax
push ebx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov dword [ebp], eax
test eax, eax
je case.0x45f9d8.20
mov ecx, dword [esp + 0xa80]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0xcc]
cmp ecx, 0xffffffff
je case.0x45f9d8.20
push ecx
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4610ab
mov eax, dword [esp + 0x40]
test eax, eax
je 0x461097
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [esp + 0xa80]
mov edx, dword [edi + 4]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x4610b2
mov edi, dword [esp + 0xa80]
cmp dword [ebp], 0
jne 0x4610d1
push 0x4a1838
push str.Cant_create_control.
mov ecx, 0x4ca650
call fcn.0042e3d0
jmp 0x4614c7
mov al, byte [esp + 0x3f]
inc dword [edi + 0x10]
mov byte [edi + 0xbf], al
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4610f3
mov ecx, dword [ebp]
push ecx
push eax
call fcn.004769d0
cmp byte [ebp + 4], 6
jne 0x461117
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x461111
push eax
mov eax, dword [edi + 0x10]
dec eax
push ebp
mov ecx, edi
call fcn.00468520
mov byte [edi + 0x44], 1
jmp 0x46111b
mov byte [edi + 0x44], 0
test dword [esp + 0x70], 0x10000000
je 0x461129
or byte [ebp + 5], 8
test dword [esp + 0x6c], 0x8000000
je 0x461137
or byte [ebp + 5], 0x10
cmp byte [esp + 0x3d], 0
jne 0x461162
cmp dword [ebp + 0x10], 0xff000000
je 0x461156
mov al, byte [ebp + 4]
cmp al, 5
je 0x461162
cmp al, 6
je 0x461162
cmp al, 3
je 0x461162
cmp byte [ebp + 4], 3
jne 0x46116e
test byte [ebp + 5], 0x40
je 0x46116e
mov edx, dword [ebp]
push edx
call fcn.004766a0
add esp, 4
cmp byte [esp + 0x1f], 0
jne 0x4611a5
cmp byte [esp + 0x3c], 0
je 0x4611a5
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x1e]
imul ecx, ecx, 0x94
mov edx, dword [0x4ca584]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x1f4], 4
jne 0x4611bf
mov edx, dword [ebp]
push 0
push 0
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xa8c]
cmp word [eax], 0
je 0x4611dc
mov ecx, dword [esp + 0xa0]
push ecx
push edi
mov esi, ebp
call fcn.00464670
mov cl, byte [ebp + 4]
cmp cl, 0x13
jne 0x4612ae
fldz
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x461296
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [esp + 0x14]
test al, 2
je 0x461292
test al, al
js 0x461292
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
and ecx, 0xfffffffd
push ecx
push 0xfffffffffffffff0
push edx
mov bl, 1
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push 1
push 0x1328
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, bl
je 0x46125c
mov edx, dword [esp + 0x14]
mov eax, dword [ebp]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
push 1
push eax
push ecx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x4612ae
xor bl, bl
jmp 0x461231
cmp cl, 0x13
jne 0x4612ae
cmp byte [esp + 0x1ff], 0
je 0x4612ae
mov eax, dword [ebp]
push edi
call fcn.00469540
cmp byte [esp + 0x27], 0
je 0x46131d
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
sub eax, dword [esp + 0x4c]
sub ecx, dword [esp + 0x48]
cmp byte [esp + 0xa84], 9
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
jne 0x46131d
test dword [esp + 0x14], 0x100000
je 0x46131d
mov eax, dword [esp + 0xd4]
test eax, eax
jns 0x46130b
lea eax, [ecx + ecx*2]
mov dword [esp + 0xd4], eax
mov ecx, dword [ebp]
push 0
push eax
push 0x194
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0x5c]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [esp + 0xa80]
test ebx, ebx
je 0x46138e
mov edx, dword [esp + 0x18]
cmp edx, dword [edi + 4]
jne 0x46138e
cmp byte [esp + 0x3e], 0
je 0x461375
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 4]
push 2
lea edx, [esp + 0x4c]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [edi + 4]
push 0
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [ebx + 5], 0x80
je 0x46138e
mov eax, dword [ebp]
mov ecx, dword [ebx]
push 0x13
push 0
push 0
push 0
push 0
push eax
push ecx
call esi
mov eax, dword [edi + 8]
test eax, eax
je 0x4613a4
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [esp + 0xa84], 0x19
je 0x4614c2
mov ebx, dword [esp + 0xa80]
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x18]
cmp edi, eax
je 0x461401
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
push 1
mov dword [esp + 0x30], edx
lea edx, [esp + 0x30]
push edx
push eax
push edi
mov dword [esp + 0x40], ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
jmp 0x46140f
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
mov dword [ebx + 0x88], edx
mov dword [ebx + 0x8c], esi
add edx, ecx
add esi, eax
mov dword [ebx + 0x80], ecx
mov dword [ebx + 0x84], eax
cmp edi, dword [ebx + 4]
jne 0x461464
cmp byte [esp + 0x200], 0
jne 0x461464
cmp edx, dword [ebx + 0x90]
jle 0x461456
mov dword [ebx + 0x90], edx
cmp esi, dword [ebx + 0x94]
jle 0x461464
mov dword [ebx + 0x94], esi
cmp byte [esp + 0x1fc], 0
jne 0x4614a8
mov edi, ebx
mov edi, dword [edi + 0x10]
cmp edi, 1
je 0x4614a8
cmp edi, 2
jne 0x461488
mov edi, ebx
mov edi, dword [edi + 0x18]
cmp byte [edi + 4], 0x19
je 0x4614a8
mov eax, ebx
cmp edx, dword [eax + 0xa0]
jle 0x461498
mov dword [eax + 0xa0], edx
cmp esi, dword [eax + 0xa4]
jle 0x4614c2
mov dword [eax + 0xa4], esi
jmp 0x4614c2
mov edi, ebx
mov dword [edi + 0x98], ecx
mov dword [edi + 0x9c], eax
mov dword [edi + 0xa0], edx
mov dword [edi + 0xa4], esi
mov eax, 1
mov ecx, dword [esp + 0xa70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa6c
ret 0x10