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

Disassembly:
sub esp, 0xa44
push ebx
mov ebx, dword [esp + 0xa4c]
mov ecx, dword [ebx + 0x10]
push ebp
push esi
push edi
cmp ecx, 0x2af8
jb 0x45e7cd
push 0x4a9e04
push str.Too_many_controls.
mov ecx, 0x4c70d0
call fcn.0042fd70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x45e7fa
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.0048d7d7
add esp, 8
test eax, eax
je 0x45e7ac
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 dword [ebp + 0x10], eax
mov al, byte [esp + 0xa5c]
cmp al, 0x14
jne 0x45e830
or byte [ebp + 5], 0x80
mov byte [esp + 0xa5c], 0x13
jmp 0x45e834
cmp al, 0x13
jne 0x45e871
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x45e85f
push 0x4a9e04
push str.Too_many_tab_controls.
mov ecx, 0x4c70d0
call fcn.0042fd70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov byte [ebp + 6], al
mov cl, byte [ebx + 0xb8]
mov al, byte [esp + 0xa5c]
jmp 0x45e8b1
cmp al, 0x18
jne 0x45e8a2
cmp dword [ebx + 8], 0
je 0x45e89c
push 0x4a9e04
push str.Too_many_status_bars.
mov ecx, 0x4c70d0
call fcn.0042fd70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov byte [ebp + 6], 0xff
jmp 0x45e8b4
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 0x45e93d
cmp dword [ebx + 0x78], edi
jne 0x45e8f9
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4c7034]
imul edx, edx, 0x94
fild dword [edx + eax + 0x84]
fmul qword [0x4bc1d0]
call fcn.0049ae30
mov ecx, dword [0x4c7090]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], edi
jne 0x45e92d
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4c7034]
imul edx, edx, 0x94
fild dword [edx + eax + 0x84]
fmul qword [0x4bc228]
call fcn.0049ae30
mov ecx, dword [0x4c7090]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x7c], eax
mov edx, dword [ebx + 0x78]
mov al, byte [esp + 0xa5c]
mov dword [ebx + 0x80], edx
mov edi, ebp
lea esi, [esp + 0x68]
mov byte [ebp + 4], al
call fcn.004645a0
movzx eax, byte [ebx + 0x45]
or dword [esp + 0x68], 0x10000000
mov byte [esp + 0x1f9], al
mov al, byte [esp + 0xa5c]
cmp al, 6
jne 0x45e981
or dword [esp + 0x68], 0x4000
cmp byte [ebx + 0x44], 0
jne 0x45e99f
or dword [esp + 0x68], 0x20000
jmp 0x45e99f
cmp byte [ebx + 0x44], 0
je 0x45e98f
or dword [esp + 0x68], 0x20000
cmp al, 2
je 0x45e9bc
cmp al, 0x10
je 0x45e9bc
cmp al, 0x11
je 0x45e9bc
cmp al, 0x12
je 0x45e9bc
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x1f], 1
je 0x45e9b0
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebx + 0x54]
mov dword [esp + 0xc4], edx
jmp 0x45e9cc
mov byte [esp + 0x1f], 0
cmp al, 0x12
jne 0x45e9cc
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x44], eax
add eax, 0xfffffffc
mov esi, 0x10000
cmp eax, 0x14
ja case.0x45e9e4.6
jmp dword [eax*4 + 0x4614cc]
or dword [esp + 0x68], 0x210000
jmp case.0x45e9e4.6
or dword [esp + 0x68], 0x210042
jmp case.0x45e9e4.6
or dword [esp + 0x68], 0x210080
or dword [esp + 0x70], 0x200
jmp case.0x45e9e4.6
or dword [esp + 0x78], 0x30
or dword [esp + 0x68], 0x10008
or dword [esp + 0x70], 0x200
mov dword [esp + 0x7c], 1
jmp case.0x45e9e4.6
or dword [esp + 0x68], 0x10027
or dword [esp + 0x70], 0x200
jmp case.0x45e9e4.6
or dword [esp + 0x68], esi
or dword [esp + 0x70], 0x200
jmp case.0x45e9e4.6
or dword [esp + 0x68], esi
jmp case.0x45e9e4.6
or dword [esp + 0x68], 0x36
jmp case.0x45e9e4.6
or dword [esp + 0x68], 0x1000c
jmp case.0x45e9e4.6
or dword [esp + 0x68], 1
jmp case.0x45e9e4.6
or dword [esp + 0x68], 0x10200
mov byte [esp + 0x1f9], 0
jmp case.0x45e9e4.6
or dword [esp + 0x68], 0x4000000
jmp case.0x45e9e4.6
test dword [ebx + 0x3c], 0x40000
je 0x45eaa4
or dword [esp + 0x68], 0x100
or dword [esp + 0x68], 0x800
mov edx, dword [esp + 0xa60]
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x70]
push eax
push ebx
call fcn.004620c0
test eax, eax
jne 0x45ead2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov cl, byte [esp + 0xa5c]
mov eax, dword [esp + 0xc4]
cmp cl, 0xa
je 0x45eae8
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xc8]
setne dl
mov byte [esp + 0x1f7], dl
cmp eax, 0xff000000
jne 0x45eb17
cmp cl, 0xb
je 0x45eb38
mov dword [esp + 0xc8], 0xffffffff
jmp 0x45eb38
cmp eax, 0xffffffff
jne 0x45eb38
mov ebx, dword [ebx + 0x5c]
cmp ebx, 0xff000000
je 0x45eb38
cmp cl, 0x12
je 0x45eb38
cmp cl, 0x18
je 0x45eb38
mov dword [esp + 0xc8], ebx
cmp dword [esp + 0x90], 0x80000000
mov edi, dword [esp + 0x6c]
jne 0x45eb83
cmp dword [esp + 0x94], 0x80000000
jne 0x45eb83
fld dword [0x4bc220]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jnp 0x45eb83
mov eax, dword [esp + 0xa64]
mov ebx, 0x4bac28
call fcn.00409160
test eax, eax
jne 0x45eb83
xor ecx, ecx
jmp 0x45eb8d
mov ecx, edi
not ecx
and ecx, 0x2000
mov eax, dword [esp + 0x74]
not eax
and eax, dword [esp + 0x70]
mov ebx, edi
not ebx
and ebx, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
or ebx, 0x40000000
add eax, 0xfffffffd
mov dword [esp + 0x10], ebx
cmp eax, 0x10
ja case.0x45ebc0.10
movzx eax, byte [eax + 0x461548]
jmp dword [eax*4 + 0x461520]
and ebx, 0xfffffff7
or ebx, 7
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0xa58]
cmp byte [esp + 0xa5c], 4
jne 0x45ee79
cmp dword [ebp + 0xc], 0
jne 0x45ee79
test byte [ebp + 5], 1
jne 0x45ee79
mov eax, dword [esi]
cmp word [eax], 0x31
jne 0x45ed57
cmp word [eax + 2], 0
jne 0x45ed57
xor edx, edx
mov word [esp + 0x250], dx
jmp 0x45ed6f
test bl, 1
je 0x45ec33
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
or ebx, ecx
jmp 0x45ebcd
and ebx, 0xfffffff0
or ebx, ecx
jmp 0x45ebcd
mov edx, ebx
and edx, 6
cmp dl, 6
jne 0x45ec57
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45ebc0.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45ebc0.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x45ec7f
test esi, edi
jne 0x45ec7f
or eax, esi
or eax, ecx
mov dword [esp + 0x10], eax
jmp case.0x45ebc0.10
or ebx, 3
jmp 0x45ebcd
mov esi, dword [esp + 0xa58]
test bl, 1
je 0x45ecad
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x45ebd8
and ebx, 0xfffffff2
or ebx, 2
mov dword [esp + 0x10], ebx
jmp 0x45ebd8
or ebx, 1
jmp 0x45ebcd
fld dword [0x4bc220]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jnp 0x45ecf2
mov eax, dword [esp + 0xa64]
push 0xa
push eax
call fcn.0048d2f1
mov edi, dword [esp + 0x74]
add esp, 8
test eax, eax
je 0x45ecff
mov ecx, edi
not ecx
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je case.0x45ebc0.10
not edi
and edi, 0x201040
or ebx, edi
jmp 0x45ebcd
mov esi, dword [esp + 0xa58]
or ebx, 0x4000000
cmp dword [esi + 0x60], 0
je 0x45ed30
test byte [ebp + 5], 0x20
je 0x45ed39
cmp dword [ebp + 0x10], 0xff000000
je 0x45ed48
or ebx, 0x2000
mov dword [esp + 0x10], ebx
jmp 0x45ebd8
and ebx, 0xffffdfff
mov dword [esp + 0x10], ebx
jmp 0x45ebd8
lea edx, [esp + 0x250]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45ed60
mov eax, dword [esp + 0xa64]
push eax
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x258]
call fcn.004732b0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a9e04
lea ecx, [esp + 0x26c]
push 0x4bac44
push ecx
xor eax, eax
call fcn.00473a10
add esp, 0x24
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a9e04
lea edx, [esp + 0x264]
push 0x4a937c
push edx
xor eax, eax
call fcn.00473a10
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a9e04
lea eax, [esp + 0x264]
push 0x4a68c8
push eax
xor eax, eax
call fcn.00473a10
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a9e04
lea ecx, [esp + 0x264]
push 0x4a6c64
push ecx
xor eax, eax
call fcn.00473a10
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a9e04
lea edx, [esp + 0x264]
push 0x4a9c34
push edx
xor eax, eax
call fcn.00473a10
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a9e04
lea eax, [esp + 0x264]
push 0x4bac48
push eax
xor eax, eax
call fcn.00473a10
add esp, 0x1c
lea edi, [esp + 0x250]
mov eax, 0x4c70d0
call fcn.00419d20
mov dword [ebp + 0xc], eax
mov bl, byte [ebp + 6]
mov ecx, esi
call fcn.00468aa0
mov ecx, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x3c], ecx
test eax, eax
je 0x45eea0
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x18]
lea edx, [eax + edx*4 - 0x14]
mov dword [esp + 0x40], edx
jmp 0x45eeab
lea eax, [esp + 0x200]
mov dword [esp + 0x40], eax
mov eax, SysReAllocString
cmp dword [esp + 0x88], eax
jne 0x45ef8c
cmp dword [esp + 0x8c], eax
jne 0x45ef8c
test ecx, ecx
je 0x45ef0f
mov al, byte [ebp + 7]
mov ecx, esi
call fcn.00468c20
test eax, eax
jne 0x45ef0f
mov ebx, dword [esp + 0xa58]
mov esi, dword [esp + 0x3c]
push ebx
lea edi, [esp + 0x5c]
call fcn.00468c50
mov ecx, dword [ebx + 0x78]
add ecx, dword [esp + 0x58]
mov edx, dword [ebx + 0x7c]
add edx, dword [esp + 0x5c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
jmp 0x45ef39
mov ecx, dword [esi + 0x8c]
add ecx, dword [esi + 0x84]
mov eax, dword [esi + 0x80]
add ecx, dword [esi + 0x7c]
mov ebx, dword [esp + 0xa58]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov al, byte [esp + 0xa5c]
cmp al, 1
je 0x45ef48
cmp al, 0x16
jne 0x45ef85
cmp dword [ebx + 0x10], 0
je 0x45ef85
mov ecx, dword [esp + 0x40]
mov al, byte [ecx + 4]
cmp al, 1
je 0x45ef5d
cmp al, 0x16
jne 0x45ef85
mov dl, byte [ecx + 6]
cmp dl, byte [ebp + 6]
jne 0x45ef85
mov al, byte [ecx + 7]
cmp al, byte [ebp + 7]
jne 0x45ef85
mov ecx, dword [0x4c7090]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x8c], eax
mov esi, dword [esp + 0xa58]
mov cl, byte [esp + 0xa5c]
cmp cl, 0xe
je 0x45efa6
cmp cl, 0xa
je 0x45efa6
cmp cl, 0xb
je 0x45efa6
xor bl, bl
jmp 0x45efa8
mov bl, 1
fld1
test bl, bl
sete byte [esp + 0x16]
cmp dword [esp + 0x94], 0x80000000
jne 0x45f13a
fcom dword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x45f13a
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45efeb.4
movzx edx, byte [eax + 0x461588]
jmp dword [edx*4 + 0x46155c]
mov eax, dword [esp + 0x10]
fstp st(0)
fld dword [0x4bc21c]
fstp dword [esp + 0x98]
test al, 1
je 0x45f011
test al, 2
je 0x45f15b
cmp byte [0x4c7d1b], 0
je 0x45f15b
test eax, 0x400
jne 0x45f15b
mov byte [esp + 0x16], 0
jmp 0x45f15b
fstp st(0)
fld dword [0x4bc218]
fstp dword [esp + 0x98]
jmp 0x45f15b
fstp st(0)
fld dword [0x4bc214]
fstp dword [esp + 0x98]
jmp 0x45f15b
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
jne case.0x45efeb.4
test byte [esp + 0x10], 4
je case.0x45efeb.13
fstp st(0)
fld dword [0x4bc21c]
fstp dword [esp + 0x98]
jmp 0x45f15b
test byte [esp + 0x10], 0x40
fstp st(0)
je 0x45f035
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c7034]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
jmp 0x45f10e
mov eax, dword [esp + 0x10]
fstp st(0)
test al, 2
je 0x45f0c8
fld dword [0x4bc218]
fstp dword [esp + 0x98]
jmp 0x45f15b
push eax
mov eax, dword [esp + 0xb8]
call fcn.004682f0
mov dword [esp + 0x94], eax
jmp 0x45f15b
test byte [esp + 0x10], 4
fstp st(0)
je 0x45f0f9
fld dword [0x4bc218]
fstp dword [esp + 0x98]
jmp 0x45f15b
mov edx, dword [esi + 0x50]
mov eax, dword [0x4c7034]
imul edx, edx, 0x94
mov eax, dword [edx + eax + 0x84]
mov ecx, dword [0x4c7090]
push 0x60
add eax, eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x94], eax
jmp 0x45f15b
fstp st(0)
fld dword [0x4bc210]
fstp dword [esp + 0x98]
jmp 0x45f15b
fstp st(0)
cmp cl, 7
je 0x45f146
cmp cl, 8
jne 0x45f15b
cmp byte [0x4c7d1b], 0
je 0x45f15b
or dword [esp + 0x10], 0x400
jmp 0x45f15b
fstp st(0)
fldz
xor edi, edi
fld dword [esp + 0x98]
mov dword [esp + 0x28], edi
fcom st(1)
mov dword [esp + 0x38], edi
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45f2f3
mov al, byte [esp + 0xa5c]
cmp al, 3
je 0x45f190
cmp al, 6
jbe 0x45f19f
cmp al, 8
ja 0x45f19f
fadd qword [0x4bc180]
fstp dword [esp + 0x98]
jmp 0x45f1a1
fstp st(0)
cmp byte [esp + 0x16], 0
je 0x45f2d6
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4c7034]
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 + 0x38], eax
lea eax, [esp + 0x214]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
fld dword [esp + 0x98]
fld st(0)
fld qword [0x4bc190]
fadd st(1), st(0)
fxch st(1)
call fcn.0049ae30
fild dword [esp + 0x214]
mov ebx, eax
lea ecx, [ebx - 1]
imul ecx, dword [esp + 0x224]
fmulp st(2)
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
faddp st(2)
faddp st(1)
call fcn.0049ae30
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45f24a.5
movzx edx, byte [eax + 0x4615b4]
jmp dword [edx*4 + 0x4615a0]
mov eax, dword [0x4c7090]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x94], eax
test dword [esp + 0x10], 0x100000
je case.0x45f24a.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x94], eax
jmp case.0x45f24a.5
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c7034]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
mov ecx, dword [0x4c7090]
push 0x60
add eax, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x94], eax
jmp case.0x45f24a.5
mov edx, dword [esi + 0x7c]
imul edx, ebx
add dword [esp + 0x94], edx
jmp case.0x45f24a.5
inc ebx
imul ebx, dword [esi + 0x7c]
add dword [esp + 0x94], ebx
jmp case.0x45f24a.5
test bl, bl
jne case.0x45f24a.5
mov eax, dword [0x4c7090]
push 0x60
push eax
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x94], eax
jmp case.0x45f24a.5
fstp st(0)
mov eax, SysReAllocString
mov byte [esp + 0x32], 0
cmp dword [esp + 0x94], eax
je 0x45f315
cmp dword [esp + 0x90], eax
jne case.0x45f7a1.4
mov eax, dword [esp + 0x44]
xor ebx, ebx
dec eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], 0x400
cmp eax, 0x15
ja case.0x45f338.2
movzx ecx, byte [eax + 0x4615d8]
jmp dword [ecx*4 + 0x4615cc]
mov edx, dword [esp + 0xa64]
cmp word [edx], bx
je case.0x45f338.2
test edi, edi
jne 0x45f385
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c7034]
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 + 0x38], eax
lea ecx, [esp + 0x214]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov ebx, dword [esp + 0x228]
add ebx, 4
test dword [esp + 0x10], 0x200000
mov dword [esp + 0x34], ebx
je 0x45f3ba
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add ebx, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], 0x2c40
test edi, edi
jne 0x45f3f8
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4c7034]
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 + 0x38], eax
mov al, byte [esp + 0xa5c]
cmp al, 1
jne 0x45f419
or dword [esp + 0x2c], 0x40
test byte [esp + 0x10], 0x80
je 0x45f447
or dword [esp + 0x2c], 0x800
jmp 0x45f447
cmp al, 5
je 0x45f421
cmp al, 6
jne 0x45f447
lea eax, [esp + 0x214]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x228]
lea ebx, [ebx + eax + 2]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x90]
cmp eax, 0x80000000
je 0x45f45a
or dword [esp + 0x2c], 0x10
xor ecx, ecx
mov dword [esp + 0x200], ecx
mov dword [esp + 0x204], ecx
cmp eax, 0x80000000
jne 0x45f47a
mov dword [esp + 0x208], ecx
jmp 0x45f483
sub eax, ebx
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x94]
mov edx, eax
sub edx, 0x80000000
neg edx
sbb edx, edx
and edx, eax
cmp byte [esp + 0xa5c], 0x16
mov dword [esp + 0x20c], edx
jne 0x45f61d
test byte [esp + 0x10], 4
je 0x45f4bc
or dword [esp + 0x2c], 0x800
mov eax, dword [esp + 0xa64]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45f4c6
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.0048d378
mov esi, dword [esp + 0xa68]
add esp, 4
cmp word [esi], 0
mov dword [esp + 0x18], eax
mov edi, eax
je 0x45f5de
cmp word [esi], 0x3c
jne 0x45f5c8
mov ax, word [esi + 2]
call fcn.00409130
cmp ax, 0x41
jne 0x45f5c8
lea eax, [esi + 4]
call fcn.004091b0
mov ebx, eax
cmp word [ebx], 0x3e
je 0x45f598
movzx eax, word [ebx]
test eax, 0xffffff80
jne 0x45f554
push 0x107
push eax
call fcn.0048d76e
add esp, 8
test eax, eax
je 0x45f554
add ebx, 2
jmp 0x45f533
cmp word [ebx], 0x3d
jne 0x45f5c8
mov eax, 0x22
cmp ax, word [ebx + 2]
jne 0x45f5c8
push eax
add ebx, 4
push ebx
call fcn.0048d2f1
add esp, 8
test eax, eax
je 0x45f5c8
lea ebx, [eax + 2]
lea esp, [esp]
movzx eax, word [ebx]
cmp eax, 0x20
je 0x45f58d
cmp eax, 9
jne 0x45f592
add ebx, 2
jmp 0x45f580
cmp word [ebx], 0x3e
jne 0x45f533
add ebx, 2
je 0x45f5c8
mov eax, 0x4bac4c
mov ecx, ebx
call fcn.00473620
test eax, eax
je 0x45f5c8
mov ecx, ebx
cmp ebx, eax
jae 0x45f5c3
mov dx, word [ecx]
mov word [edi], dx
add ecx, 2
add edi, 2
cmp ecx, eax
jb 0x45f5b3
lea esi, [eax + 6]
jmp 0x45f5d1
mov ax, word [esi]
mov word [edi], ax
add edi, 2
add esi, 2
cmp word [esi], 0
jne 0x45f506
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov word [edi], cx
cmp word [eax], cx
jne 0x45f5f1
mov eax, 0x4bac58
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x204]
push ecx
push 0xffffffffffffffff
push eax
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
mov ebx, eax
mov eax, dword [esp + 0x18]
push eax
call fcn.0048d6ab
add esp, 4
jmp 0x45f647
mov eax, dword [esp + 0xa64]
cmp word [eax], cx
jne 0x45f62e
mov eax, 0x4bac58
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x204]
push edx
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ebx, eax
mov esi, dword [esp + 0x208]
mov eax, dword [esp + 0x94]
sub esi, dword [esp + 0x200]
cmp eax, 0x80000000
je 0x45f675
cmp ebx, eax
jle 0x45f6e4
cmp byte [esp + 0xa5c], 0xc
je 0x45f6e4
mov al, byte [esp + 0xa5c]
mov dword [esp + 0x94], ebx
cmp al, 0xc
jne 0x45f6b9
mov eax, dword [0x4c7090]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x94], eax
test dword [esp + 0x10], 0x100000
je 0x45f6e4
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x94], eax
jmp 0x45f6e4
cmp al, 4
jne 0x45f6e4
mov ecx, dword [esp + 0xa58]
mov edx, dword [ecx + 0x50]
mov eax, dword [0x4c7034]
imul edx, edx, 0x94
mov ecx, dword [edx + eax + 0x84]
lea edx, [ecx + ebx + 2]
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0x90]
cmp eax, 0x80000000
je 0x45f6f6
cmp esi, eax
jle 0x45f73f
add esi, dword [esp + 0x34]
cmp byte [esp + 0xa5c], 4
mov byte [esp + 0x32], 1
mov dword [esp + 0x90], esi
jne 0x45f73f
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0xa58]
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x4c7034]
imul edx, edx, 0x94
mov edx, dword [edx + ecx + 0x84]
lea eax, [edx + eax*2]
add dword [esp + 0x90], eax
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0xa58]
cmp dword [esp + 0x90], 0x80000000
jne case.0x45f7a1.4
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c7034]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x84]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [0x4c7090]
push 0x60
push ecx
push eax
call ebx
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffffd
cmp ecx, 0x14
ja case.0x45f7a1.4
movzx edx, byte [ecx + 0x461610]
jmp dword [edx*4 + 0x4615f0]
mov dword [esp + 0x90], eax
jmp case.0x45f7a1.4
add eax, eax
mov dword [esp + 0x90], eax
jmp case.0x45f7a1.4
test byte [esp + 0x10], 0x40
je 0x45f7d5
mov dword [esp + 0x90], eax
jmp case.0x45f7a1.4
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c7034]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
mov ecx, dword [0x4c7090]
push 0x60
add eax, eax
push ecx
push eax
call ebx
mov dword [esp + 0x90], eax
jmp case.0x45f7a1.4
mov ecx, dword [esp + 0x10]
test cl, 2
je case.0x45f7a1.7
mov eax, dword [esp + 0xb4]
push ecx
call fcn.004682f0
mov dword [esp + 0x90], eax
jmp case.0x45f7a1.4
test byte [esp + 0x10], 4
je case.0x45f7a1.7
mov edx, dword [esi + 0x50]
mov eax, dword [0x4c7034]
imul edx, edx, 0x94
mov eax, dword [edx + eax + 0x84]
jmp 0x45f7eb
mov edx, dword [esi + 0x78]
lea eax, [eax + edx*2]
mov dword [esp + 0x90], eax
jmp case.0x45f7a1.4
mov ecx, dword [esi + 0x78]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0x90], edx
cmp byte [esp + 0xa5c], 0xc
jne 0x45f97a
test byte [esp + 0x10], 4
jne 0x45f97a
fld1
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x45f97a
test edi, edi
jne 0x45f8c1
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c7034]
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 + 0x38], eax
lea ecx, [esp + 0x214]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov edx, dword [0x4c7090]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [esp + 0x94]
mov ebx, dword [esp + 0x10]
sub esi, eax
sub esi, dword [esp + 0x214]
mov dword [esp + 0x18], esi
test ebx, 0x100000
je 0x45f90f
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jle 0x45f971
mov eax, dword [esp + 0x224]
fild dword [esp + 0x18]
add eax, dword [esp + 0x214]
mov dword [esp + 0x18], eax
fidiv dword [esp + 0x18]
fadd qword [0x4bc180]
fstp dword [esp + 0x98]
fld dword [0x4bc220]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x45f97a
mov eax, dword [esp + 0x6c]
not eax
mov edx, eax
and edx, 4
or ebx, edx
mov dword [esp + 0x10], ebx
test bl, 4
je 0x45f97a
and eax, 0x201040
or ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x45f97a
fld1
fstp dword [esp + 0x98]
mov ebx, dword [esp + 0xa58]
cmp byte [esp + 0x1f9], 0
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 0x10]
sete byte [esp + 0x31]
push eax
mov byte [esp + 0x2b], 0
add esi, 3
mov byte [esp + 0x22], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45f9bf
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x15], 1
test eax, eax
je 0x45f9c4
mov byte [esp + 0x15], 0
cmp byte [ebp + 6], 0xff
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x33], 0
jae 0x45fa1e
cmp dword [esp + 0x3c], 0
je 0x45fa16
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x45fa16
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
push 0
push 0
push 0x130b
push edx
call edi
movzx ecx, byte [ebp + 7]
cmp eax, ecx
jne 0x45fa16
mov dl, byte [esp + 0x15]
mov byte [esp + 0x33], dl
jmp 0x45fa1e
and dword [esp + 0x10], 0xefffffff
mov eax, dword [esp + 0x44]
dec eax
cmp eax, 0x17
ja case.0x45fa2c.20
jmp dword [eax*4 + 0x461628]
mov eax, dword [0x4c4f68]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x94]
push 0
push eax
mov eax, dword [esp + 0x98]
push esi
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0xa80]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push str.static
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45fa2c.20
mov eax, dword [0x4c4f68]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x94]
push 0
push eax
mov eax, dword [esp + 0x98]
push esi
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0xa80]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4bac5c
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45fa2c.20
mov ecx, dword [esp + 0x90]
cmp ecx, 0x80000000
jne 0x45faef
xor ecx, ecx
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
jne 0x45fb06
xor eax, eax
mov dword [esp + 0x94], eax
mov edx, dword [0x4c4f68]
push 0
push edx
mov edx, dword [ebx + 4]
push esi
mov esi, dword [esp + 0xa70]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push esi
push str.static
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
mov cl, byte [ebp + 5]
mov eax, dword [esp + 0xd8]
shr cl, 1
and cl, 1
movzx edx, cl
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
push esi
call fcn.004748d0
add esp, 0x18
mov dword [ebp + 0x10], eax
test eax, eax
je case.0x45fa2c.20
mov esi, dword [esp + 0x18]
mov edx, dword [ebp]
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff5
add ecx, 0xe
or ecx, dword [esp + 0x10]
push ecx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp]
push eax
push esi
push 0x172
push ecx
call edi
test esi, esi
jne 0x45fbce
and byte [ebp + 5], 0x7f
mov byte [esp + 0x27], 1
jmp case.0x45fa2c.20
or byte [ebp + 5], 0x80
mov byte [esp + 0x27], 1
jmp case.0x45fa2c.20
mov edx, dword [0x4c4f68]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xa80]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45fa2c.20
mov edx, dword [0x4c4f68]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xa80]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
test byte [esp + 0x10], 1
je case.0x45fa2c.20
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebx + 0x10]
jae 0x45fcc6
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + edx*4]
push 1
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffe
push eax
mov eax, dword [ebx + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + edx*4]
push 0xf4
push ecx
call edi
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
push 0
mov dword [ebx + 0x1c], eax
add eax, 3
push eax
push 0x401
push edx
call edi
movzx eax, word [esp + 0x10]
mov ecx, dword [ebp]
push 1
push eax
push 0xf4
push ecx
jmp 0x461102
mov edx, dword [0x4c4f68]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xa80]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je case.0x45fa2c.20
push 0
push ecx
push 0xf1
jmp 0x461101
cmp dword [esp + 0xcc], 0
je 0x45fd7a
cmp byte [ebp + 4], 8
jne 0x45fd7a
and dword [esp + 0x10], 0xffffffbf
mov edx, dword [0x4c4f68]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4a9e04
push str.Combobox
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
mov edx, dword [ebx + 0x50]
movzx ecx, byte [esp + 0x15]
imul edx, edx, 0x94
push ecx
mov ecx, dword [0x4c7034]
mov edx, dword [edx + ecx + 0x90]
push edx
push 0x30
push eax
call edi
cmp byte [esp + 0x16], 0
mov byte [esp + 0x1e], 1
je 0x45fe9d
mov eax, dword [ebp]
push 0
push 0
push 0x154
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [esp + 0x10], 1
mov edi, eax
mov dword [esp + 0x34], edi
je 0x45fe2b
test byte [esp + 0x10], 2
mov esi, 4
je 0x45fe30
mov esi, 2
mov ecx, dword [0x4c7090]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x94]
add eax, esi
lea eax, [eax + edi*2]
cmp ecx, eax
jge 0x45fe5c
mov ecx, eax
mov dword [esp + 0x94], ecx
jmp 0x45fea4
fldz
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x45fea4
mov edx, dword [0x4c7090]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
fild dword [esp + 0x34]
mov edi, eax
fmul dword [esp + 0x98]
call fcn.0049ae30
lea ecx, [esi + eax]
add ecx, edi
mov dword [esp + 0x94], ecx
jmp 0x45fea4
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x88]
push 1
push ecx
mov ecx, dword [esp + 0x94]
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.0x45fa2c.20
mov ecx, dword [0x4c4f68]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x94]
push 0
push ecx
mov ecx, dword [esp + 0x98]
push esi
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 0x4a9e04
push str.Listbox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
mov ecx, dword [esp + 0x1a4]
test ecx, ecx
je 0x45ff42
lea edx, [esp + 0xdc]
push edx
push ecx
push 0x192
push eax
call edi
mov ecx, dword [ebx + 0x50]
movzx eax, byte [esp + 0x15]
imul ecx, ecx, 0x94
mov edx, dword [0x4c7034]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call esi
mov edx, dword [ebp]
push 0
push 0
push 0x1a1
push edx
mov byte [esp + 0x2e], 1
call esi
mov edi, eax
mov eax, dword [0x4c7090]
push 0x60
push eax
push 8
mov dword [esp + 0x40], edi
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea esi, [edi + eax]
mov edi, dword [esp + 0x10]
and edi, 0x100000
je 0x45ffb0
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [esp + 0x94]
cmp ecx, esi
jge 0x45ffbf
mov ecx, esi
jmp 0x460011
fldz
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x460018
mov ecx, dword [0x4c7090]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
fild dword [esp + 0x34]
mov esi, eax
fmul dword [esp + 0x98]
call fcn.0049ae30
lea ecx, [esi + eax]
mov dword [esp + 0x94], ecx
test edi, edi
je 0x460018
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x94]
add ecx, eax
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push 1
push ecx
mov ecx, dword [esp + 0x90]
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.0x45fa2c.20
mov eax, dword [esp + 0x7c]
cmp eax, 4
je 0x46005d
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
jne 0x460070
mov eax, 0xc8
mov edx, dword [0x4c4f68]
mov ecx, dword [ebx + 4]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push ecx
mov ecx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4a9e04
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [ebp], esi
test esi, esi
je case.0x45fa2c.20
push 0x3f8
call fcn.0048c5a4
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x4600e5
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45fa2c.20
push 0x3f8
mov dword [ebx + 0x48], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call fcn.004953e0
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov eax, dword [ebp + 0x10]
mov cl, byte [esp + 0x206]
mov byte [eax + 5], cl
mov eax, dword [esp + 0x48]
add esp, 0xc
test eax, eax
je 0x46011d
or byte [eax + 5], 0x80
cmp dword [esp + 0x7c], 4
jne 0x460133
mov edx, dword [ebp]
push 0
push 4
push 0x108e
push edx
call edi
mov eax, dword [esp + 0x78]
test eax, eax
je 0x460149
push eax
mov eax, dword [ebp]
push 0
push 0x1036
push eax
call edi
lea eax, [esp + 0x68]
mov edi, ebp
call fcn.00468460
cmp dword [esp + 0x94], 0x80000000
jne case.0x45fa2c.20
mov edx, dword [ebx + 0x50]
movzx ecx, byte [esp + 0x15]
imul edx, edx, 0x94
mov eax, dword [0x4c7034]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [edx + eax + 0x90]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call esi
mov eax, dword [esp + 0x7c]
dec eax
mov byte [esp + 0x1e], 1
je 0x4602f7
sub eax, 3
je 0x4602c9
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x4601e2
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebx + 0x50]
mov edx, dword [0x4c7034]
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 + 0x38], eax
lea ecx, [esp + 0x214]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [esp + 0x7c], 0
jne 0x46028d
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call esi
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
test eax, eax
jns 0x46021d
fadd dword [0x4bc1b8]
fld dword [esp + 0x98]
push 0xc
fsub qword [0x4bc180]
fnstcw word [esp + 0x1a]
movzx eax, word [esp + 0x1a]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
shr eax, 0x10
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1a]
fild dword [esp + 0x1c]
fstp qword [esp + 0x5c]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esp + 0x98]
fadd qword [esp + 0x58]
call fcn.0049ae30
mov ecx, dword [esp + 0x214]
lea eax, [eax + ecx + 0x10]
jmp 0x460335
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x214]
mov dword [esp + 0x18], eax
cmp eax, ecx
jg 0x4602a8
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fld dword [esp + 0x98]
fld st(0)
fmulp st(2)
fsub qword [0x4bc180]
faddp st(1)
call fcn.0049ae30
add eax, 0xb
jmp 0x460335
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call esi
shr eax, 0x10
sub eax, 3
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esp + 0x98]
call fcn.0049ae30
add eax, 7
jmp 0x460335
fld dword [esp + 0x98]
mov ecx, dword [ebp]
fnstcw word [esp + 0x16]
push 0xffffffffffffffff
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
dec eax
push eax
push 0x1040
fldcw word [esp + 0x22]
push ecx
call esi
shr eax, 0x10
add eax, 4
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
push 1
push eax
push edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x98]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x45fa2c.20
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
jne 0x460379
mov eax, 0xc8
mov ecx, dword [0x4c4f68]
mov edx, dword [ebx + 4]
push 0
push ecx
mov ecx, dword [esp + 0x94]
push esi
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x4a9e04
push str.SysTreeView32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
cmp dword [esp + 0xd4], 0
mov dword [ebx + 0x4c], ebp
je 0x4603e9
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
or edx, 0x100
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [esp + 0x68]
mov esi, ebp
call fcn.00468510
mov eax, dword [esp + 0x80]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x460413
mov ecx, dword [ebp]
push eax
push 0
push 0x1109
push ecx
call esi
cmp dword [esp + 0x94], 0x80000000
jne case.0x45fa2c.20
movzx edx, byte [esp + 0x15]
mov ecx, dword [0x4c7034]
mov edi, ebx
mov eax, dword [edi + 0x50]
imul eax, eax, 0x94
push edx
mov edx, dword [eax + ecx + 0x90]
mov eax, dword [ebp]
push edx
push 0x30
push eax
call esi
mov ecx, dword [ebp]
push 0
push 0
push 0x111c
push ecx
mov byte [esp + 0x2e], 1
call esi
mov dword [esp + 0x94], eax
cmp eax, 2
jge 0x460489
mov edx, dword [edi + 0x50]
mov eax, dword [0x4c7034]
imul edx, edx, 0x94
mov ecx, dword [edx + eax + 0x84]
add ecx, ecx
mov dword [esp + 0x94], ecx
fild dword [esp + 0x94]
fmul dword [esp + 0x98]
call fcn.0049ae30
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
push 1
add eax, 4
push eax
push edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x98]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x45fa2c.20
mov eax, dword [esp + 0x10]
test al, 4
jne 0x4604fb
cmp dword [esp + 0xcc], 0
jge 0x4604e9
and eax, 0xffefff7f
jmp 0x4604f7
mov ecx, dword [esp + 0x6c]
not ecx
and ecx, 0x80
or eax, ecx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0xa64]
cmp word [edx], 0
je 0x460517
test al, 4
je 0x460517
mov edi, edx
call fcn.00473f60
mov edi, eax
jmp 0x460519
mov edi, edx
mov eax, edi
test edi, edi
jne 0x460526
mov eax, dword [esp + 0xa64]
mov ecx, dword [0x4c4f68]
mov edx, dword [ebx + 4]
push 0
push ecx
mov ecx, dword [esp + 0x9c]
push esi
push edx
mov edx, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x2c]
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 0x4605de
test byte [esp + 0x10], 0x20
je 0x460597
mov cx, word [esp + 0x1f4]
test cx, cx
je 0x460597
push 0
movzx ecx, cx
push ecx
push 0xcc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xcc]
test eax, eax
jns 0x4605ab
xor eax, eax
mov dword [esp + 0xcc], eax
mov edx, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0xc5
push edx
call esi
mov eax, dword [esp + 0x1a4]
test eax, eax
je 0x4605de
mov edx, dword [ebp]
lea ecx, [esp + 0xdc]
push ecx
push eax
push 0xcb
push edx
call esi
test edi, edi
je case.0x45fa2c.20
cmp edi, dword [esp + 0xa64]
je case.0x45fa2c.20
push edi
call fcn.0048db7f
add esp, 4
jmp case.0x45fa2c.20
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
mov byte [esp + 0x16], 0
je 0x460665
mov ecx, eax
push str.LongDate
push ecx
call fcn.0048c519
add esp, 8
test eax, eax
jne 0x460637
mov edx, dword [esp + 0x10]
and edx, 0xfffffff6
or edx, 4
mov dword [esp + 0x10], edx
jmp 0x460665
mov eax, dword [esp + 0xa64]
push str.Time
push eax
call fcn.0048c519
add esp, 8
test eax, eax
jne 0x460660
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffb
or ecx, 9
mov dword [esp + 0x10], ecx
jmp 0x460665
mov byte [esp + 0x16], 1
mov eax, 2
cmp dword [esp + 0x9c], eax
jne 0x460677
or dword [esp + 0x10], eax
mov edx, dword [0x4c4f68]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4a9e04
push str.SysDateTimePick32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
cmp byte [esp + 0x16], 0
je 0x4606e3
mov ecx, dword [esp + 0xa64]
push ecx
push 0
push 0x1032
push eax
call edi
mov eax, dword [esp + 0x1ec]
test eax, eax
je 0x460702
lea edx, [esp + 0x1c8]
push edx
push eax
mov eax, dword [ebp]
push 0x1004
push eax
call edi
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x460729
xor edx, edx
cmp eax, 1
mov eax, dword [ebp]
setne dl
lea ecx, [esp + 0x1a8]
push ecx
push edx
push 0x1002
push eax
call edi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je case.0x45fa2c.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
jmp 0x461102
cmp dword [esp + 0x1e8], 0
jne 0x46077c
mov ecx, dword [esp + 0xa64]
cmp word [ecx], 0
je 0x46077c
lea eax, [esp + 0x1a8]
call fcn.00472cc0
mov dword [esp + 0x1e8], eax
cmp eax, 3
jne 0x46077c
or dword [esp + 0x10], 2
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
jne 0x460790
mov ecx, 0x64
mov eax, dword [esp + 0x90]
test eax, eax
jns 0x4607a0
mov eax, 0x64
mov edx, dword [0x4c4f68]
push 0
push edx
mov edx, dword [ebx + 4]
push esi
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4a9e04
push str.SysMonthCal32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
mov esi, dword [esp + 0x10]
and esi, 2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x460803
push 0
push 0x16e
push 0x1004
push eax
call edi
mov eax, dword [esp + 0x1ec]
test eax, eax
je 0x460822
mov edx, dword [ebp]
lea ecx, [esp + 0x1c8]
push ecx
push eax
push 0x1012
push edx
call edi
mov eax, dword [esp + 0x1e8]
test eax, eax
je 0x460898
test esi, esi
je 0x460883
cmp eax, 1
jne 0x46086e
mov eax, dword [esp + 0x1a8]
mov ecx, dword [esp + 0x1ac]
mov edx, dword [esp + 0x1b0]
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x1b4]
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], edx
mov dword [esp + 0x1c4], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x1a8]
push ecx
push 0
push 0x1006
push edx
jmp 0x460896
mov ecx, dword [ebp]
lea eax, [esp + 0x1a8]
push eax
push 0
push 0x1002
push ecx
call edi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je 0x4608b0
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call edi
mov ecx, dword [ebx + 0x50]
movzx eax, byte [esp + 0x15]
imul ecx, ecx, 0x94
mov edx, dword [0x4c7034]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call edi
mov eax, SysReAllocString
mov byte [esp + 0x1e], 1
cmp dword [esp + 0x90], eax
je 0x4608f5
cmp dword [esp + 0x94], eax
jne case.0x45fa2c.20
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push 0
push 0x1009
push eax
call edi
test eax, eax
je case.0x45fa2c.20
cmp dword [esp + 0x90], 0
jge 0x46096f
test byte [esp + 0x10], 0x10
je 0x460926
mov eax, dword [esp + 0x50]
jmp 0x460943
mov ecx, dword [ebp]
push 0
push 0
push 0x1015
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jge 0x460943
mov eax, ecx
mov ecx, dword [esp + 0x90]
cmp ecx, 0x80000000
jne 0x46095b
mov dword [esp + 0x90], eax
jmp 0x46096f
add eax, 6
imul eax, ecx
mov edx, 0xfffffffa
sub edx, eax
mov dword [esp + 0x90], edx
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
jne 0x460a6d
fldz
mov ecx, dword [esp + 0x54]
fld dword [esp + 0x98]
mov dword [esp + 0x94], ecx
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x460a6b
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x460a6d
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x4609ee
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebx + 0x50]
mov edx, dword [0x4c7034]
imul ecx, ecx, 0x94
mov esi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x214]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [esp + 0x10], 0x10
mov esi, dword [esp + 0x214]
je 0x460a1d
mov edx, dword [esp + 0x94]
lea eax, [edx + esi + 4]
mov dword [esp + 0x94], eax
fild dword [esp + 0x94]
fld dword [esp + 0x98]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.0049ae30
add esi, 0xfffffffe
mov dword [esp + 0x94], eax
fild dword [esp + 0x94]
mov dword [esp + 0x18], esi
fild dword [esp + 0x18]
fxch st(2)
fsub qword [0x4bc180]
fmulp st(2)
fsubrp st(1)
call fcn.0049ae30
mov ecx, eax
mov dword [esp + 0x94], ecx
jmp 0x460a6d
fstp st(0)
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
push 1
push ecx
mov ecx, dword [esp + 0x98]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x45fa2c.20
mov edx, dword [0x4c4f68]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4a9e04
push str.msctls_hotkey32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
je 0x460b11
push 0
call fcn.00467fb0
mov edx, dword [ebp]
movzx ecx, ax
push ecx
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xcc]
test eax, eax
jle case.0x45fa2c.20
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45fa2c.20
test byte [esp + 0x10], 0x10
je 0x460d02
cmp dword [ebx + 8], 0
jne 0x460b5e
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x460d02
test byte [eax + 5], 0x80
je 0x460d02
and dword [esp + 0x10], 0xffffffef
mov byte [esp + 0x16], 1
mov ecx, dword [0x4c4f68]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x94]
push 0
push ecx
mov ecx, dword [esp + 0x98]
push esi
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 0x4a9e04
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
cmp byte [esp + 0x16], 0
je 0x460bd7
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
push 0
push edx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0x10], 0
je 0x460d56
test byte [esp + 0x10], 0x10
jne 0x460bf3
cmp byte [esp + 0x16], 0
je 0x460d56
mov ecx, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x48]
push eax
push ecx
call esi
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
lea edx, [esp + 0x4c]
push edx
push eax
push 0
call edi
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
sub edx, eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x54]
sub eax, ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x58]
mov dword [esp + 0x94], eax
mov eax, dword [edx]
push ecx
push eax
call esi
mov edx, dword [ebx + 4]
push 2
lea ecx, [esp + 0x5c]
push ecx
push edx
push 0
call edi
cmp byte [ebx + 0xbf], 0
mov bl, byte [esp + 0x10]
je 0x460ce3
test bl, 4
je 0x460cb1
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x88]
add dword [esp + 0x50], eax
push 1
push edx
add ecx, eax
push eax
mov eax, dword [esp + 0x98]
push eax
push ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
add eax, dword [esp + 0x90]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x68], eax
sub eax, edx
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
test bl, 4
je 0x460d0c
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
sub edx, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], edx
jmp 0x460d1b
mov byte [esp + 0x16], 0
jmp 0x460b68
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x90], eax
cmp byte [esp + 0x1f6], 0
jne 0x460d73
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 4], 9
jne 0x460d60
mov byte [esp + 0x1f6], 1
test bl, 0x40
je 0x460d49
mov dword [esp + 0xa4], 0x7fff
jmp 0x460d73
mov dword [esp + 0xa0], 0x7fff
jmp 0x460d73
cmp byte [esp + 0x1f6], 0
jne 0x460d73
mov byte [esp + 0x1f6], 1
mov dword [esp + 0xa4], 0x64
lea ecx, [esp + 0x68]
mov eax, ebp
call fcn.004682a0
mov esi, dword [esp + 0xa64]
call fcn.0040ccb0
mov dl, byte [ebp + 5]
mov ecx, dword [ebp]
push eax
and dl, 0x80
movzx eax, dl
neg eax
sbb eax, eax
and eax, 0xa
push 0
add eax, 0x467
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0xa58]
jmp case.0x45fa2c.20
mov edx, dword [0x4c4f68]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4a9e04
push str.msctls_trackbar32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
lea eax, [esp + 0x68]
mov esi, ebp
call fcn.00468380
mov ecx, dword [esp + 0xa64]
cmp word [ecx], 0
je case.0x45fa2c.20
mov esi, ecx
call fcn.0040ccb0
test byte [ebp + 5], 0x80
je 0x460e3d
push eax
mov edi, ebp
call fcn.00468340
mov edx, dword [ebp]
push eax
push 1
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45fa2c.20
mov eax, dword [0x4c4f68]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x94]
push 0
push eax
mov eax, dword [esp + 0x98]
push esi
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x4a9e04
push str.msctls_progress32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
mov edx, dword [esp + 0x10]
push edx
push ebx
lea eax, [esp + 0x70]
mov ecx, ebp
call fcn.00468560
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
je 0x460edd
push 0
mov esi, eax
call fcn.0040ccb0
mov ecx, dword [ebp]
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x31], 0
jmp case.0x45fa2c.20
mov edx, dword [0x4c4f68]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4a9e04
push str.SysTabControl32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
mov al, byte [ebx + 0xb8]
mov byte [ebx + 0xb9], al
inc al
push 0x467ba0
mov byte [ebx + 0xba], 0
mov byte [ebx + 0xb8], al
mov ecx, dword [ebp]
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x4c4f8c], eax
jmp case.0x45fa2c.20
cmp byte [0x4c85a5], 0
jne 0x460fb5
push 0x4ba6b8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x460fb5
push str.AtlAxWinInit
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x460fa5
call eax
test eax, eax
setne byte [0x4c85a5]
cmp byte [0x4c85a5], 0
jne 0x460fb5
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [0x4c4f68]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xa80]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push str.AtlAxWin
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
push eax
call fcn.00457f40
add esp, 4
test eax, eax
jne 0x46102e
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45fa2c.20
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x461041
mov edi, eax
call fcn.00476220
jmp case.0x45fa2c.20
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp case.0x45fa2c.20
mov ax, word [esp + 0x1fc]
test ax, ax
jne 0x46107c
push 0x4a9e04
push str.A_window_class_is_required.
mov ecx, 0x4c70d0
call fcn.0042fd70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov ecx, dword [0x4c4f68]
mov edx, dword [ebx + 4]
push 0
push ecx
mov ecx, dword [esp + 0x9c]
push esi
push edx
mov edx, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0xa84]
push ecx
mov ecx, dword [esp + 0x44]
movzx eax, ax
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45fa2c.20
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0xa64]
mov ecx, dword [esp + 0x10]
push esi
push edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov dword [ebp], eax
test eax, eax
je case.0x45fa2c.20
mov ecx, dword [esp + 0xc8]
mov dword [ebx + 8], eax
cmp ecx, 0xffffffff
je case.0x45fa2c.20
push ecx
push 0
push 0x2001
push eax
call edi
mov esi, dword [esp + 0x28]
test esi, esi
je 0x461127
mov eax, dword [esp + 0x38]
test eax, eax
je 0x46111c
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebx + 4]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp], 0
jne 0x46114e
push 0x4a9e04
push str.Cant_create_control.
mov ecx, 0x4c70d0
call fcn.0042fd70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov al, byte [esp + 0x32]
inc dword [ebx + 0x10]
mov byte [ebx + 0xbf], al
mov eax, dword [esp + 0x84]
test eax, eax
je 0x461170
mov ecx, dword [ebp]
push ecx
push eax
call fcn.00475650
cmp byte [ebp + 4], 6
jne 0x461194
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x46118e
push eax
mov eax, dword [ebx + 0x10]
dec eax
push ebp
mov ecx, ebx
call fcn.004681f0
mov byte [ebx + 0x44], 1
jmp 0x461198
mov byte [ebx + 0x44], 0
test dword [esp + 0x6c], 0x10000000
je 0x4611a6
or byte [ebp + 5], 8
test dword [esp + 0x68], 0x8000000
je 0x4611b4
or byte [ebp + 5], 0x10
cmp byte [esp + 0x31], 0
jne 0x4611df
cmp dword [ebp + 0x10], 0xff000000
je 0x4611d3
mov al, byte [ebp + 4]
cmp al, 5
je 0x4611df
cmp al, 6
je 0x4611df
cmp al, 3
je 0x4611df
cmp byte [ebp + 4], 3
jne 0x4611eb
test byte [ebp + 5], 0x40
je 0x4611eb
mov edx, dword [ebp]
push edx
call fcn.00475360
add esp, 4
cmp byte [esp + 0x1e], 0
jne 0x461222
cmp byte [esp + 0x1f], 0
je 0x461222
mov ecx, dword [ebx + 0x50]
movzx eax, byte [esp + 0x15]
imul ecx, ecx, 0x94
mov edx, dword [0x4c7034]
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 + 0x1f0], 4
jne 0x46123c
mov edx, dword [ebp]
push 0
push 0
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
je 0x461259
mov ecx, dword [esp + 0x9c]
push ecx
push ebx
mov edi, ebp
call fcn.00464600
cmp byte [ebp + 4], 0x13
jne 0x461317
fldz
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x461317
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
test byte [esp + 0x10], 2
je 0x461497
test byte [esp + 0x10], 0x80
jne 0x461497
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
and ecx, 0xfffffffd
push ecx
push 0xfffffffffffffff0
push edx
mov byte [esp + 0x2b], 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]
cmp byte [esp + 0x1f], 0
je 0x4612e3
mov edx, dword [esp + 0x10]
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 + 0x90]
mov edx, dword [esp + 0x8c]
push 1
push eax
push ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [esp + 0x27], 0
je 0x461386
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 + 0xa5c], 9
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], ecx
jne 0x461386
test dword [esp + 0x10], 0x100000
je 0x461386
mov eax, dword [esp + 0xd0]
test eax, eax
jns 0x461374
lea eax, [ecx + ecx*2]
mov dword [esp + 0xd0], eax
mov ecx, dword [ebp]
push 0
push eax
push 0x194
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x3c]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
test edi, edi
je 0x4613e7
cmp byte [esp + 0x33], 0
je 0x4613ce
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebx + 4]
push 2
lea ecx, [esp + 0x4c]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebx + 4]
push 0
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [edi + 5], 0x80
je 0x4613e7
mov edx, dword [ebp]
mov eax, dword [edi]
push 0x13
push 0
push 0
push 0
push 0
push edx
push eax
call esi
mov eax, dword [ebx + 8]
test eax, eax
je 0x4613fd
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
mov dl, 0x18
cmp byte [esp + 0xa5c], dl
je 0x4614b9
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x88]
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x8c]
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], ecx
add eax, esi
add ecx, edi
mov dword [ebx + 0x80], esi
mov dword [ebx + 0x84], edi
cmp eax, dword [ebx + 0x90]
jle 0x461452
mov dword [ebx + 0x90], eax
cmp ecx, dword [ebx + 0x94]
jle 0x461460
mov dword [ebx + 0x94], ecx
cmp byte [esp + 0x1f8], 0
jne 0x4614a1
mov ebp, dword [ebx + 0x10]
cmp ebp, 1
je 0x4614a1
cmp ebp, 2
jne 0x46147f
mov ebp, dword [ebx + 0x18]
cmp byte [ebp + 4], dl
je 0x4614a1
cmp eax, dword [ebx + 0xa0]
jle 0x46148d
mov dword [ebx + 0xa0], eax
cmp ecx, dword [ebx + 0xa4]
jle 0x4614b9
jmp 0x4614b3
mov byte [esp + 0x1f], 0
jmp 0x4612b5
mov dword [ebx + 0x98], esi
mov dword [ebx + 0x9c], edi
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], ecx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa44
ret 0x10