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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4acb9b
push eax
mov dword fs:[0], esp
sub esp, 0xa70
push ebx
mov ebx, dword [esp + 0xa84]
mov ecx, dword [ebx + 0x10]
push ebp
push esi
push edi
cmp ecx, 0x2af8
jb 0x46976a
push 0x4b09ac
push str.Too_many_controls.
mov ecx, 0x4db728
call fcn.0043a4e0
jmp 0x46c7cf
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x469797
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.0049a287
add esp, 8
test eax, eax
je 0x469751
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 + 0x74]
mov dword [ebp + 0x10], eax
call fcn.0046f960
mov al, byte [esp + 0xa94]
cmp al, 0x14
jne 0x4697d8
or byte [ebp + 5], 0x80
mov byte [esp + 0xa94], 0x13
jmp 0x4697f8
cmp al, 0x15
jne 0x4697f0
mov byte [esp + 0xa94], 0x13
mov word [esp + 0x209], 0x301
jmp 0x4697f8
cmp al, 0x13
jne 0x46990a
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x46981b
push 0x4b09ac
push str.Too_many_tab_controls.
mov ecx, 0x4db728
call fcn.0043a4e0
jmp 0x46c7cf
mov esi, ebx
mov byte [ebp + 6], al
mov cl, byte [esi + 0xb8]
mov byte [ebp + 7], cl
mov bl, byte [esi + 0xb9]
mov ecx, esi
call fcn.00473fa0
test eax, eax
je 0x469841
push eax
push esi
call fcn.004743d0
mov al, byte [esp + 0xa94]
cmp dword [esi + 0x10], 0
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, connect
jne 0x4698d8
cmp dword [esi + 0x78], ebx
jne 0x469894
mov edx, dword [esi + 0x50]
mov eax, dword [0x4db644]
imul edx, edx, 0x94
fild dword [edx + eax + 0x84]
fmul qword [0x4cfe38]
call fcn.004aab50
mov ecx, dword [0x4db714]
push 0x60
push ecx
push eax
call edi
mov dword [esi + 0x78], eax
mov al, byte [esp + 0xa94]
cmp dword [esi + 0x7c], ebx
jne 0x4698cf
mov edx, dword [esi + 0x50]
mov eax, dword [0x4db644]
imul edx, edx, 0x94
fild dword [edx + eax + 0x84]
fmul qword [0x4cfe80]
call fcn.004aab50
mov ecx, dword [0x4db714]
push 0x60
push ecx
push eax
call edi
mov dword [esi + 0x7c], eax
mov al, byte [esp + 0xa94]
mov edx, dword [esi + 0x78]
mov dword [esi + 0x80], edx
mov byte [ebp + 4], al
mov cl, byte [esi + 0x45]
or dword [esp + 0x74], 0x10000000
mov byte [esp + 0x207], cl
mov ecx, 0x20000
cmp al, 6
jne 0x469951
or dword [esp + 0x74], 0x4000
cmp byte [esi + 0x44], 0
jne 0x46996b
or dword [esp + 0x74], ecx
jmp 0x46996b
cmp al, 0x19
jne 0x469938
cmp dword [ebx + 8], 0
je 0x46992d
push 0x4b09ac
push str.Too_many_status_bars.
mov ecx, 0x4db728
call fcn.0043a4e0
jmp 0x46c7cf
mov byte [ebp + 6], 0xff
mov esi, ebx
jmp 0x469848
mov dl, byte [ebx + 0xb9]
mov byte [ebp + 6], dl
mov cl, byte [ebx + 0xba]
mov byte [ebp + 7], cl
mov esi, ebx
jmp 0x469848
cmp byte [esi + 0x44], 0
je 0x46995b
or dword [esp + 0x74], ecx
cmp al, 2
je 0x469988
cmp al, 0x10
je 0x469988
cmp al, 0x11
je 0x469988
cmp al, 0x12
je 0x469988
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x3c], 1
je 0x46997c
mov edx, dword [esi + 0x54]
mov dword [ebp + 0x10], edx
mov ecx, dword [esi + 0x54]
mov dword [esp + 0xd0], ecx
jmp 0x469998
mov byte [esp + 0x3c], 0
cmp al, 0x12
jne 0x469998
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x44], eax
add eax, 0xfffffffc
mov ecx, 0x10000
cmp eax, 0x15
ja case.0x4699b0.6
jmp dword [eax*4 + 0x46c7ec]
or dword [esp + 0x74], 0x210000
jmp case.0x4699b0.6
or dword [esp + 0x74], 0x210042
jmp case.0x4699b0.6
or dword [esp + 0x74], 0x210080
or dword [esp + 0x7c], 0x200
jmp case.0x4699b0.6
or dword [esp + 0x84], 0x30
or dword [esp + 0x74], 0x10008
or dword [esp + 0x7c], 0x200
mov dword [esp + 0x88], 1
jmp case.0x4699b0.6
or dword [esp + 0x74], 0x10027
or dword [esp + 0x7c], 0x200
jmp case.0x4699b0.6
or dword [esp + 0x74], ecx
or dword [esp + 0x7c], 0x200
jmp case.0x4699b0.6
or dword [esp + 0x74], 0x36
jmp case.0x4699b0.6
or dword [esp + 0x74], 0x1000c
jmp case.0x4699b0.6
or dword [esp + 0x74], 1
jmp case.0x4699b0.6
cmp byte [esp + 0x209], 0
jne 0x469a58
mov byte [esp + 0x207], 0
or dword [esp + 0x74], 0x10200
jmp case.0x4699b0.6
or dword [esp + 0x74], 0x4000000
jmp case.0x4699b0.6
test dword [esi + 0x3c], 0x40000
je 0x469a7d
or dword [esp + 0x74], 0x100
or dword [esp + 0x74], 0x800
jmp case.0x4699b0.6
cmp byte [0x4dc3fe], 0
je case.0x4699b0.6
or dword [esp + 0x74], ecx
mov ecx, dword [esp + 0xa98]
push 0
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x80]
push edx
push esi
call fcn.0046d3d0
test eax, eax
je 0x46c7cf
mov cl, byte [esp + 0xa94]
mov eax, dword [esp + 0xd0]
cmp cl, 0xa
je 0x469acc
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
setne al
mov byte [esp + 0x203], al
mov eax, dword [esp + 0xd4]
cmp eax, 0xff000000
jne 0x469afb
cmp cl, 0xb
je 0x469b1b
mov dword [esp + 0xd4], 0xffffffff
jmp 0x469b1b
cmp eax, 0xffffffff
jne 0x469b1b
mov eax, dword [esi + 0x5c]
cmp eax, 0xff000000
je 0x469b1b
cmp cl, 0x12
je 0x469b1b
cmp cl, 0x19
je 0x469b1b
mov dword [esp + 0xd4], eax
mov edi, dword [esp + 0x78]
cmp dword [esp + 0x9c], ebx
jne 0x469b5e
cmp dword [esp + 0xa0], ebx
jne 0x469b5e
fld dword [0x4cfe78]
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 5
jnp 0x469b5e
mov eax, dword [esp + 0xa9c]
mov ebx, 0x4ce790
call fcn.004055aa
test eax, eax
jne 0x469b5e
xor ecx, ecx
jmp 0x469b68
mov ecx, edi
not ecx
and ecx, 0x2000
mov eax, dword [esp + 0x80]
not eax
and eax, dword [esp + 0x7c]
mov ebx, edi
not ebx
and ebx, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
or ebx, 0x40000000
add eax, 0xfffffffd
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ebx
cmp eax, 0x10
ja case.0x469ba6.10
movzx edx, byte [eax + 0x46c86c]
jmp dword [edx*4 + 0x46c844]
and ebx, 0xfffffff7
or ebx, 7
mov dword [esp + 0x10], ebx
jmp case.0x469ba6.10
test bl, 1
je 0x469bd6
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
or ebx, ecx
mov dword [esp + 0x10], ebx
jmp case.0x469ba6.10
and ebx, 0xfffffff0
or ebx, ecx
mov dword [esp + 0x10], ebx
jmp case.0x469ba6.10
mov eax, ebx
and eax, 6
cmp al, 6
jne 0x469c00
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x469ba6.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x469ba6.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x469c2f
test edi, 0x10000
jne 0x469c2f
or eax, 0x10000
or eax, ecx
mov dword [esp + 0x10], eax
jmp case.0x469ba6.10
or ebx, 3
mov dword [esp + 0x10], ebx
jmp case.0x469ba6.10
test bl, 1
je 0x469c5a
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
jmp case.0x469ba6.10
and ebx, 0xfffffff2
or ebx, 2
mov dword [esp + 0x10], ebx
jmp case.0x469ba6.10
fld dword [0x4cfe78]
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 5
jnp 0x469c9a
mov ecx, dword [esp + 0xa9c]
push 0xa
push ecx
call fcn.0049a9ce
mov edi, dword [esp + 0x80]
add esp, 8
test eax, eax
je 0x469ca7
mov edx, edi
not edx
and edx, 4
or ebx, edx
mov dword [esp + 0x10], ebx
test bl, 4
je case.0x469ba6.10
not edi
and edi, 0x201040
or ebx, edi
mov dword [esp + 0x10], ebx
jmp case.0x469ba6.10
or ebx, 0x4000000
cmp dword [esi + 0x60], 0
je 0x469cce
test byte [ebp + 5], 0x20
je 0x469cd7
cmp dword [ebp + 0x10], 0xff000000
je 0x469ce7
or ebx, 0x2000
mov byte [esp + 0x207], 0
jmp 0x469ced
and ebx, 0xffffdfff
mov eax, connect
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x9c], eax
je 0x469d07
and byte [esp + 0x20a], 0xfe
cmp dword [esp + 0xa0], eax
je case.0x469ba6.10
and byte [esp + 0x20a], 0xfd
cmp byte [esp + 0xa94], 4
jne 0x469ed3
cmp dword [ebp + 0xc], 0
lea ebx, [ebp + 0xc]
jne 0x469ed3
test byte [ebp + 5], 1
jne 0x469ed3
mov eax, dword [esi]
cmp word [eax], 0x31
jne 0x469d58
cmp word [eax + 2], 0
jne 0x469d58
xor eax, eax
mov word [esp + 0x27c], ax
jmp 0x469d70
lea edx, [esp + 0x27c]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x469d61
mov ecx, dword [esp + 0xa9c]
push ecx
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x284]
call fcn.004800b0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b09ac
lea edx, [esp + 0x298]
push 0x4ce7ac
push edx
xor eax, eax
call fcn.00480810
add esp, 0x24
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b09ac
lea eax, [esp + 0x290]
push 0x4bd1e4
push eax
xor eax, eax
call fcn.00480810
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b09ac
lea ecx, [esp + 0x290]
push 0x4babfc
push ecx
xor eax, eax
call fcn.00480810
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b09ac
lea edx, [esp + 0x290]
push 0x4bb014
push edx
xor eax, eax
call fcn.00480810
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b09ac
lea eax, [esp + 0x290]
push 0x4ce7b0
push eax
xor eax, eax
call fcn.00480810
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b09ac
lea ecx, [esp + 0x290]
push 0x4ce7b4
push ecx
xor eax, eax
call fcn.00480810
add esp, 0x1c
cmp word [esp + 0x27c], 0
je 0x469ec3
mov edi, dword [0x4db738]
test edi, edi
je 0x469e9f
jmp 0x469e80
mov eax, dword [edi + 4]
lea edx, [esp + 0x27c]
push edx
push eax
call fcn.00499ce9
add esp, 8
test eax, eax
je 0x469ec5
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x469e80
push 0
push 0
lea ecx, [esp + 0x284]
push ecx
mov ecx, 0x4db728
call fcn.0042b610
test eax, eax
je 0x469ec3
cmp dword [eax + 0x14], 4
jg 0x469ec3
mov edi, eax
jmp 0x469ec5
xor edi, edi
mov esi, ebx
call fcn.004013c0
mov esi, dword [esp + 0xa90]
mov bl, byte [ebp + 6]
mov ecx, esi
call fcn.00473fa0
mov edi, eax
xor ecx, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x274], ecx
mov dword [esp + 0xa88], ecx
mov eax, dword [esi + 0x10]
cmp eax, ecx
je 0x469f0d
lea edx, [eax + eax*4]
mov eax, dword [esp + 0xa90]
mov ecx, dword [eax + 0x18]
lea esi, [ecx + edx*4 - 0x14]
jmp 0x469f14
lea esi, [esp + 0x268]
mov eax, connect
mov dword [esp + 0x70], esi
cmp dword [esp + 0x94], eax
jne 0x469ff4
cmp dword [esp + 0x98], eax
jne 0x469ff4
test edi, edi
je 0x469f80
mov al, byte [ebp + 7]
mov ecx, dword [esp + 0xa90]
call fcn.00474120
test eax, eax
jne 0x469f80
mov ebx, dword [esp + 0xa90]
mov edx, edi
lea edi, [esp + 0x64]
mov ecx, ebx
call fcn.00474230
mov edx, dword [ebx + 0x78]
add edx, dword [esp + 0x64]
mov eax, dword [ebx + 0x7c]
add eax, dword [esp + 0x68]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
jmp 0x469fac
mov eax, dword [esp + 0xa90]
mov edx, dword [eax + 0x8c]
add edx, dword [eax + 0x84]
mov ecx, dword [eax + 0x80]
add edx, dword [eax + 0x7c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov ebx, eax
mov al, byte [esp + 0xa94]
cmp al, 1
je 0x469fbb
cmp al, 0x17
jne 0x469ff4
cmp dword [ebx + 0x10], 0
je 0x469ff4
mov al, byte [esi + 4]
cmp al, 1
je 0x469fcc
cmp al, 0x17
jne 0x469ff4
mov al, byte [esi + 6]
cmp al, byte [ebp + 6]
jne 0x469ff4
mov cl, byte [esi + 7]
cmp cl, byte [ebp + 7]
jne 0x469ff4
mov edx, dword [0x4db714]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
mov cl, byte [esp + 0xa94]
cmp cl, 0xe
je 0x46a00e
cmp cl, 0xa
je 0x46a00e
cmp cl, 0xb
je 0x46a00e
xor al, al
jmp 0x46a010
mov al, 1
fld1
test al, al
sete byte [esp + 0x26]
cmp dword [esp + 0xa0], 0x80000000
mov byte [esp + 0x1e], al
jne 0x46a1d1
fcom dword [esp + 0xa4]
fnstsw ax
test ah, 0x41
jne 0x46a1d1
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x15
ja case.0x46a057.4
movzx eax, byte [eax + 0x46c8ac]
jmp dword [eax*4 + 0x46c880]
mov eax, dword [esp + 0x10]
fstp st(0)
fld dword [0x4cfe74]
fstp dword [esp + 0xa4]
test al, 1
je 0x46a07d
test al, 2
je 0x46a1f2
cmp byte [0x4dc3fa], 0
je 0x46a1f2
test eax, 0x400
jne 0x46a1f2
mov byte [esp + 0x26], 0
jmp 0x46a1f2
fstp st(0)
fld dword [0x4cfe70]
fstp dword [esp + 0xa4]
jmp 0x46a1f2
fstp st(0)
fld dword [0x4cfe6c]
fstp dword [esp + 0xa4]
jmp 0x46a1f2
mov ecx, dword [esp + 0xa9c]
cmp word [ecx], 0
jne case.0x46a057.4
test byte [esp + 0x10], 4
je case.0x46a057.13
fstp st(0)
fld dword [0x4cfe74]
fstp dword [esp + 0xa4]
jmp 0x46a1f2
test byte [esp + 0x10], 0x40
fstp st(0)
je 0x46a0a1
mov edx, dword [esp + 0xa90]
mov eax, dword [edx + 0x50]
mov ecx, dword [0x4db644]
imul eax, eax, 0x94
mov eax, dword [eax + ecx + 0x84]
mov edx, dword [0x4db714]
push 0x60
add eax, eax
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0xa0], eax
jmp 0x46a1f2
mov eax, dword [esp + 0x10]
fstp st(0)
test al, 2
je 0x46a157
fld dword [0x4cfe70]
fstp dword [esp + 0xa4]
jmp 0x46a1f2
push eax
mov eax, dword [esp + 0xc4]
call fcn.00473790
mov dword [esp + 0xa0], eax
jmp 0x46a1f2
test byte [esp + 0x10], 4
fstp st(0)
je 0x46a188
fld dword [0x4cfe70]
fstp dword [esp + 0xa4]
jmp 0x46a1f2
mov eax, dword [esp + 0xa90]
mov ecx, dword [eax + 0x50]
mov edx, dword [0x4db644]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
mov ecx, dword [0x4db714]
push 0x60
add eax, eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0xa0], eax
jmp 0x46a1f2
fstp st(0)
fld dword [0x4cfe68]
fstp dword [esp + 0xa4]
jmp 0x46a1f2
fstp st(0)
cmp cl, 7
je 0x46a1dd
cmp cl, 8
jne 0x46a1f2
cmp byte [0x4dc3fa], 0
je 0x46a1f2
or dword [esp + 0x10], 0x400
jmp 0x46a1f2
fstp st(0)
fldz
xor ebx, ebx
fld dword [esp + 0xa4]
mov dword [esp + 0x28], ebx
fcom st(1)
mov dword [esp + 0x48], ebx
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x46a392
mov al, byte [esp + 0xa94]
cmp al, 3
je 0x46a227
cmp al, 6
jbe 0x46a236
cmp al, 8
ja 0x46a236
fadd qword [0x4cfdd8]
fstp dword [esp + 0xa4]
jmp 0x46a238
fstp st(0)
cmp byte [esp + 0x26], bl
je 0x46a373
mov esi, dword [esp + 0xa90]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4db644]
mov ebx, eax
mov eax, dword [esi + 0x50]
imul eax, eax, 0x94
mov edx, dword [eax + ecx + 0x90]
push edx
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x22c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
fld dword [esp + 0xa4]
fld st(0)
fld qword [0x4cfde8]
fadd st(1), st(0)
fxch st(1)
call fcn.004aab50
fild dword [esp + 0x22c]
mov edi, eax
lea ecx, [edi - 1]
imul ecx, dword [esp + 0x23c]
fmulp st(2)
mov dword [esp + 0x64], ecx
fild dword [esp + 0x64]
faddp st(2)
faddp st(1)
call fcn.004aab50
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x15
ja case.0x46a2e7.5
movzx edx, byte [eax + 0x46c8d8]
jmp dword [edx*4 + 0x46c8c4]
mov eax, dword [0x4db714]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0xa0], eax
test dword [esp + 0x10], 0x100000
je case.0x46a2e7.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0xa0], eax
jmp case.0x46a2e7.5
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4db644]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
mov ecx, dword [0x4db714]
push 0x60
add eax, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0xa0], eax
jmp case.0x46a2e7.5
mov edx, dword [esi + 0x7c]
imul edx, edi
add dword [esp + 0xa0], edx
jmp case.0x46a2e7.5
inc edi
imul edi, dword [esi + 0x7c]
add dword [esp + 0xa0], edi
jmp case.0x46a2e7.5
cmp byte [esp + 0x1e], bl
jne case.0x46a2e7.5
mov eax, dword [0x4db714]
push 0x60
push eax
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0xa0], eax
jmp case.0x46a2e7.5
fstp st(0)
mov eax, connect
mov byte [esp + 0x3e], 0
cmp dword [esp + 0xa0], eax
je 0x46a3b4
cmp dword [esp + 0x9c], eax
jne case.0x46a97a.4
mov eax, dword [esp + 0x44]
xor esi, esi
dec eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x18], 0x400
cmp eax, 0x16
ja case.0x46a3db.2
movzx ecx, byte [eax + 0x46c8fc]
jmp dword [ecx*4 + 0x46c8f0]
mov edx, dword [esp + 0xa9c]
cmp word [edx], si
je case.0x46a3db.2
cmp ebx, esi
jne 0x46a42f
mov edi, dword [esp + 0xa90]
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4db644]
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 + 0x48], eax
lea ecx, [esp + 0x22c]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov esi, dword [esp + 0x240]
add esi, 4
test dword [esp + 0x10], 0x200000
mov dword [esp + 0x60], esi
je 0x46a464
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov dword [esp + 0x60], esi
mov edi, dword [esp + 0xa9c]
cmp word [edi], 0
je 0x46a49f
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46a476
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0xa
jne 0x46a49f
mov eax, dword [esp + 0x23c]
add eax, dword [esp + 0x22c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], 0x2c40
test ebx, ebx
jne 0x46a4e3
mov edi, dword [esp + 0xa90]
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 [0x4db644]
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 + 0x48], eax
mov al, byte [esp + 0xa94]
cmp al, 1
jne 0x46a504
or dword [esp + 0x18], 0x40
test byte [esp + 0x10], 0x80
je 0x46a532
or dword [esp + 0x18], 0x800
jmp 0x46a532
cmp al, 5
je 0x46a50c
cmp al, 6
jne 0x46a532
lea edx, [esp + 0x22c]
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x240]
lea esi, [esi + eax + 2]
mov dword [esp + 0x60], esi
test dword [esp + 0x10], 0x800000
je 0x46a567
mov al, byte [esp + 0xa94]
cmp al, 1
je 0x46a54b
cmp al, 0x17
jne 0x46a567
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
call edi
mov esi, eax
add esi, esi
push 6
mov dword [esp + 0x64], esi
call edi
add eax, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x9c]
mov cl, byte [esp + 0xa94]
cmp eax, 0x80000000
je 0x46a59a
cmp cl, 4
je 0x46a58b
cmp cl, 5
je 0x46a58b
cmp cl, 6
jne 0x46a595
test dword [esp + 0x10], 0x2000
je 0x46a59a
or dword [esp + 0x18], 0x10
xor edx, edx
mov dword [esp + 0x21c], edx
mov dword [esp + 0x220], edx
cmp eax, 0x80000000
jne 0x46a5ba
mov dword [esp + 0x224], edx
jmp 0x46a5c3
sub eax, esi
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0xa0]
mov esi, eax
sub esi, 0x80000000
neg esi
sbb esi, esi
and esi, eax
mov dword [esp + 0x228], esi
xor esi, esi
mov dword [esp + 0x64], esi
cmp cl, 0x17
jne 0x46a780
test byte [esp + 0x10], 4
je 0x46a5fd
or dword [esp + 0x18], 0x800
mov eax, dword [esp + 0xa9c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46a607
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.0049bb13
mov esi, eax
mov eax, dword [esp + 0xaa0]
add esp, 4
cmp word [eax], 0
mov dword [esp + 0x218], esi
mov ebx, eax
je 0x46a72b
lea esp, [esp]
cmp word [ebx], 0x3c
jne 0x46a715
mov ax, word [ebx + 2]
call fcn.0040ef50
cmp ax, 0x41
jne 0x46a715
lea eax, [ebx + 4]
call fcn.00404010
mov edi, eax
cmp word [edi], 0x3e
je 0x46a6de
lea ecx, [ecx]
movzx eax, word [edi]
test eax, 0xffffff80
jne 0x46a6a1
push 0x107
push eax
call fcn.0049b9cc
add esp, 8
test eax, eax
je 0x46a6a1
add edi, 2
jmp 0x46a680
cmp word [edi], 0x3d
jne 0x46a715
mov eax, 0x22
cmp ax, word [edi + 2]
jne 0x46a715
push eax
add edi, 4
push edi
call fcn.0049a9ce
add esp, 8
test eax, eax
je 0x46a715
lea edi, [eax + 2]
movzx eax, word [edi]
cmp eax, 0x20
je 0x46a6d3
cmp eax, 9
jne 0x46a6d8
add edi, 2
jmp 0x46a6c6
cmp word [edi], 0x3e
jne 0x46a680
add edi, 2
je 0x46a715
mov eax, 0x4ce7b8
mov ecx, edi
call fcn.00480420
test eax, eax
je 0x46a715
mov ecx, edi
cmp edi, eax
jae 0x46a710
lea esp, [esp]
mov dx, word [ecx]
mov word [esi], dx
add ecx, 2
add esi, 2
cmp ecx, eax
jb 0x46a700
lea ebx, [eax + 6]
jmp 0x46a71e
mov ax, word [ebx]
mov word [esi], ax
add esi, 2
add ebx, 2
cmp word [ebx], 0
jne 0x46a650
mov eax, dword [esp + 0x218]
xor ecx, ecx
mov word [esi], cx
cmp esi, eax
jbe 0x46a743
movzx edx, word [esi - 2]
mov dword [esp + 0x64], edx
cmp word [eax], cx
jne 0x46a74d
mov eax, 0x4ce7c4
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x220]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x218]
push ecx
mov ebx, eax
call fcn.0049be3b
mov esi, dword [esp + 0x68]
add esp, 4
jmp 0x46a7d4
mov eax, dword [esp + 0xa9c]
cmp word [eax], dx
jne 0x46a791
mov eax, 0x4ce7c4
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x220]
push ecx
push 0xffffffffffffffff
push eax
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
mov edi, dword [esp + 0xa9c]
mov ebx, eax
cmp word [edi], si
je 0x46a7d4
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46a7c0
sub eax, edx
sar eax, 1
movzx esi, word [edi + eax*2 - 2]
mov edi, dword [esp + 0x224]
mov eax, dword [esp + 0x44]
sub edi, dword [esp + 0x21c]
dec eax
je 0x46a7fc
sub eax, 3
je 0x46a7f5
sub eax, 8
je 0x46a7fc
jmp 0x46a824
cmp dword [esp + 0x2c], 0
jne 0x46a824
test si, si
je 0x46a824
mov edx, dword [esp + 0x28]
movzx eax, si
lea ecx, [esp + 0x2c]
push ecx
push eax
push eax
push edx
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
test eax, eax
je 0x46a824
mov eax, dword [esp + 0x34]
test eax, eax
jns 0x46a824
sub edi, eax
mov eax, dword [esp + 0xa0]
cmp eax, 0x80000000
je 0x46a844
cmp ebx, eax
jle 0x46a8bd
cmp byte [esp + 0xa94], 0xc
je 0x46a8bd
mov eax, dword [esp + 0x4c]
mov cl, byte [esp + 0xa94]
add eax, ebx
mov dword [esp + 0xa0], eax
cmp cl, 0xc
jne 0x46a890
mov ecx, dword [0x4db714]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0xa0], eax
test dword [esp + 0x10], 0x100000
je 0x46a8bd
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0xa0], eax
jmp 0x46a8bd
cmp cl, 4
jne 0x46a8bd
mov edx, dword [esp + 0xa90]
mov ecx, dword [edx + 0x50]
mov edx, dword [0x4db644]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x84]
lea edx, [eax + ecx + 2]
mov dword [esp + 0xa0], edx
mov eax, dword [esp + 0x9c]
cmp eax, 0x80000000
je 0x46a8cf
cmp edi, eax
jle 0x46a918
add edi, dword [esp + 0x60]
cmp byte [esp + 0xa94], 4
mov byte [esp + 0x3e], 1
mov dword [esp + 0x9c], edi
jne 0x46a918
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0xa90]
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x4db644]
imul edx, edx, 0x94
mov edx, dword [edx + ecx + 0x84]
lea eax, [edx + eax*2]
add dword [esp + 0x9c], eax
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x9c], 0x80000000
jne case.0x46a97a.4
mov esi, dword [esp + 0xa90]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4db644]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x84]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [0x4db714]
push 0x60
push ecx
push eax
call edi
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffffd
cmp ecx, 0x15
ja case.0x46a97a.4
movzx edx, byte [ecx + 0x46c934]
jmp dword [edx*4 + 0x46c914]
mov dword [esp + 0x9c], eax
jmp case.0x46a97a.4
add eax, eax
mov dword [esp + 0x9c], eax
jmp case.0x46a97a.4
test byte [esp + 0x10], 0x40
je 0x46a9ae
mov dword [esp + 0x9c], eax
jmp case.0x46a97a.4
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4db644]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
mov ecx, dword [0x4db714]
push 0x60
add eax, eax
push ecx
push eax
call edi
mov dword [esp + 0x9c], eax
jmp case.0x46a97a.4
test byte [esp + 0x10], 2
je case.0x46a97a.7
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc0]
push edx
call fcn.00473790
mov dword [esp + 0x9c], eax
jmp case.0x46a97a.4
test byte [esp + 0x10], 4
je case.0x46a97a.7
mov eax, dword [esi + 0x50]
mov ecx, dword [0x4db644]
imul eax, eax, 0x94
mov eax, dword [eax + ecx + 0x84]
mov edx, dword [0x4db714]
push 0x60
add eax, eax
push edx
push eax
call edi
mov dword [esp + 0x9c], eax
jmp case.0x46a97a.4
mov ecx, dword [esi + 0x78]
lea edx, [eax + ecx*2]
jmp 0x46aa45
mov ecx, dword [esi + 0x78]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0x9c], edx
cmp byte [esp + 0xa94], 0xc
jne 0x46ab71
test byte [esp + 0x10], 4
jne 0x46ab71
fld1
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 0x41
jne 0x46ab71
test ebx, ebx
jne 0x46aab6
mov esi, dword [esp + 0xa90]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4db644]
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 + 0x48], eax
lea ecx, [esp + 0x22c]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov edx, dword [0x4db714]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [esp + 0xa0]
sub esi, eax
sub esi, dword [esp + 0x22c]
test dword [esp + 0x10], 0x100000
mov dword [esp + 0x2c], esi
je 0x46ab02
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
jle 0x46ab68
fild dword [esp + 0x2c]
mov eax, dword [esp + 0x23c]
mov ecx, dword [esp + 0x22c]
add eax, ecx
mov dword [esp + 0x2c], eax
fidiv dword [esp + 0x2c]
fadd qword [0x4cfdd8]
fstp dword [esp + 0xa4]
fld dword [0x4cfe78]
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 5
jp 0x46ab71
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
not eax
mov edx, eax
and edx, 4
or ecx, edx
mov dword [esp + 0x10], ecx
test cl, 4
je 0x46ab71
and eax, 0x201040
or dword [esp + 0x10], eax
jmp 0x46ab71
fld1
fstp dword [esp + 0xa4]
mov ebx, dword [esp + 0xa90]
cmp byte [esp + 0x207], 0
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 0x10]
sete byte [esp + 0x3d]
push edi
mov byte [esp + 0x22], 0
add esi, 3
mov dword [esp + 0x1c], edi
mov byte [esp + 0x23], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46abba
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x17], 1
test eax, eax
je 0x46abbf
mov byte [esp + 0x17], 0
cmp byte [ebp + 6], 0xff
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
mov byte [esp + 0x3f], 0
jae 0x46ac82
cmp dword [esp + 0x40], 0
je 0x46ac7a
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
push 0x4ce7c8
push edx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x46ac40
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
push 1
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0xa98]
push eax
mov edi, eax
mov dword [esp + 0x24], eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
push 0xfffffffffffffff0
push ecx
call ebx
test eax, 0x10000000
je 0x46ac7a
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
push 0
push 0
push 0x130b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [ebp + 7]
cmp eax, ecx
jne 0x46ac7a
mov dl, byte [esp + 0x17]
mov byte [esp + 0x3f], dl
jmp 0x46ac82
and dword [esp + 0x10], 0xefffffff
mov eax, dword [esp + 0x44]
dec eax
cmp eax, 0x18
ja case.0x46ac90.20
jmp dword [eax*4 + 0x46c94c]
mov eax, dword [0x4da700]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push edi
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xab8]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push str.static
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x46ac90.20
mov edx, dword [0x4da700]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
push 0
push edx
mov edx, dword [esp + 0xa0]
push esi
push edi
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xab8]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push str.SysLink
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x46ac90.20
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x80000000
jne 0x46ad4e
xor ecx, ecx
mov dword [esp + 0x9c], ecx
mov eax, dword [esp + 0xa0]
cmp eax, 0x80000000
jne 0x46ad65
xor eax, eax
mov dword [esp + 0xa0], eax
mov edx, dword [0x4da700]
push 0
push edx
mov edx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0xaa8]
push edi
push eax
mov eax, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xac]
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.0x46ac90.20
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push ecx
push edx
mov edx, dword [esp + 0xec]
push esi
mov esi, ebp
call fcn.0046fc40
test eax, eax
je case.0x46ac90.20
mov byte [esp + 0x1e], 1
jmp case.0x46ac90.20
mov eax, dword [0x4da700]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push edi
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xab8]
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.0x46ac90.20
mov edx, dword [0x4da700]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
push 0
push edx
mov edx, dword [esp + 0xa0]
push esi
push edi
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xab8]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push str.button
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x46ac90.20
test byte [esp + 0x10], 1
je case.0x46ac90.20
mov esi, dword [esp + 0xa90]
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x10]
jae 0x46aec9
mov edx, dword [esi + 0x18]
push 1
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
push 0xfffffffffffffff0
push eax
call ebx
mov edx, dword [esi + 0x18]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
and eax, 0xfffe
push eax
mov eax, dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
push 0xf4
push eax
call ebx
jmp 0x46aecf
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
push 0
mov dword [esi + 0x1c], eax
add eax, 3
push eax
push 0x401
push ecx
call ebx
movzx edx, word [esp + 0x10]
mov eax, dword [ebp]
push 1
push edx
push 0xf4
push eax
call ebx
jmp case.0x46ac90.20
mov ecx, dword [0x4da700]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edi
push edx
mov edx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0xab8]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push str.button
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x46ac90.20
mov ecx, dword [esp + 0xe0]
test ecx, ecx
je case.0x46ac90.20
push 0
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x46ac90.20
cmp dword [esp + 0xd8], 0
je 0x46af89
cmp byte [ebp + 4], 8
jne 0x46af89
and dword [esp + 0x10], 0xffffffbf
mov edx, dword [0x4da700]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
push 0
push edx
mov edx, dword [esp + 0xa0]
push esi
push edi
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 0x4b09ac
push str.Combobox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x46ac90.20
movzx ecx, byte [esp + 0x17]
mov edx, dword [esp + 0xa90]
push ecx
mov ecx, dword [edx + 0x50]
mov edx, dword [0x4db644]
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 + 0x26], 0
mov byte [esp + 0x1f], 1
je 0x46b0b1
mov edx, dword [ebp]
push 0
push 0
push 0x154
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [esp + 0x10], 1
mov ebx, eax
mov dword [esp + 0x4c], ebx
je 0x46b042
test byte [esp + 0x10], 2
mov esi, 4
je 0x46b047
mov esi, 2
mov eax, dword [0x4db714]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push eax
push 8
call edi
mov ecx, dword [esp + 0xa0]
add eax, esi
lea eax, [eax + ebx*2]
cmp ecx, eax
jge 0x46b074
mov ecx, eax
mov dword [esp + 0xa0], ecx
jmp 0x46b0b8
fldz
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 5
jp 0x46b0b8
mov ecx, dword [0x4db714]
push 0x60
push ecx
push 8
call edi
fild dword [esp + 0x4c]
mov edi, eax
fmul dword [esp + 0xa4]
call fcn.004aab50
lea ecx, [esi + eax]
add ecx, edi
mov dword [esp + 0xa0], ecx
jmp 0x46b0b8
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
push 1
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x1e], 1
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x46c3be
mov eax, dword [esp + 0x48]
test eax, eax
je 0x46b102
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [esp + 0xa90]
mov eax, dword [ebx + 4]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x46c3c5
mov eax, dword [0x4da700]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push edi
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4b09ac
push str.Listbox
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x46ac90.20
mov ecx, dword [esp + 0x1b0]
test ecx, ecx
je 0x46b184
lea edx, [esp + 0xe8]
push edx
push ecx
push 0x192
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xa90]
mov edx, dword [ecx + 0x50]
movzx eax, byte [esp + 0x17]
imul edx, edx, 0x94
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [0x4db644]
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 [0x4db714]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push ecx
mov edi, eax
push 8
mov dword [esp + 0x58], edi
call ebx
lea esi, [edi + eax]
mov edi, dword [esp + 0x10]
and edi, 0x100000
je 0x46b1fb
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [esp + 0xa0]
cmp ecx, esi
jge 0x46b20a
mov ecx, esi
jmp 0x46b258
fldz
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 5
jp 0x46b25f
mov edx, dword [0x4db714]
push 0x60
push edx
push 8
call ebx
fild dword [esp + 0x4c]
mov esi, eax
fmul dword [esp + 0xa4]
call fcn.004aab50
lea ecx, [esi + eax]
mov dword [esp + 0xa0], ecx
test edi, edi
je 0x46b25f
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0xa0]
add ecx, eax
mov dword [esp + 0xa0], ecx
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x94]
push 1
push ecx
mov ecx, dword [esp + 0xa0]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
jmp 0x46b0d7
mov eax, dword [esp + 0x88]
cmp eax, 4
je 0x46b29c
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0xa0]
cmp eax, 0x80000000
jne 0x46b2af
mov eax, 0xc8
mov edx, dword [0x4da700]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push edi
push eax
mov eax, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x4b09ac
push str.SysListView32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [ebp], esi
test esi, esi
je case.0x46ac90.20
push 0x3f8
call fcn.0049a1ae
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x46b321
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x46ac90.20
mov edx, dword [esp + 0xa90]
push 0x3f8
mov dword [edx + 0x48], ebp
mov eax, dword [ebp + 0x10]
push 0
push eax
call fcn.004a4a80
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0xffffffff
mov al, byte [esp + 0x214]
mov edx, dword [ebp + 0x10]
mov byte [edx + 5], al
mov eax, dword [esp + 0x4c]
add esp, 0xc
test eax, eax
je 0x46b360
or byte [eax + 5], 0x80
cmp dword [esp + 0x88], 4
jne 0x46b37d
mov ecx, dword [ebp]
push 0
push 4
push 0x108e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x84]
test eax, eax
je 0x46b39a
mov edx, dword [ebp]
push eax
push 0
push 0x1036
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x74]
mov edi, ebp
call fcn.00473930
cmp dword [esp + 0xa0], 0x80000000
jne 0x46b0e2
mov edi, dword [esp + 0xa90]
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x94
mov edx, dword [0x4db644]
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 eax, dword [esp + 0x88]
dec eax
mov byte [esp + 0x1f], 1
je 0x46b557
sub eax, 3
je 0x46b529
cmp dword [esp + 0x28], 0
jne 0x46b43b
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4db644]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x90]
push ecx
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x22c]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [esp + 0x88], 0
jne 0x46b4ed
mov ecx, dword [ebp]
push 0
push 0
push 0x1033
push ecx
call esi
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
test eax, eax
jns 0x46b47d
fadd dword [0x4cfe10]
fld dword [esp + 0xa4]
push 0xc
fsub qword [0x4cfdd8]
fnstcw word [esp + 0x2a]
movzx eax, word [esp + 0x2a]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp qword [esp + 0x30]
mov edx, dword [esp + 0x30]
shr edx, 0x10
mov dword [esp + 0x30], edx
fldcw word [esp + 0x2a]
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 + 0xa4]
fadd qword [esp + 0x64]
call fcn.004aab50
mov ecx, dword [esp + 0x22c]
lea eax, [eax + ecx + 0x10]
jmp 0x46b595
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x22c]
mov dword [esp + 0x2c], eax
cmp eax, ecx
jg 0x46b508
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
fld dword [esp + 0xa4]
fld st(0)
fmulp st(2)
fsub qword [0x4cfdd8]
faddp st(1)
call fcn.004aab50
add eax, 0xb
jmp 0x46b595
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call esi
shr eax, 0x10
sub eax, 3
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmul dword [esp + 0xa4]
call fcn.004aab50
add eax, 7
jmp 0x46b595
fld dword [esp + 0xa4]
mov ecx, dword [ebp]
fnstcw word [esp + 0x26]
push 0xffffffffffffffff
movzx eax, word [esp + 0x2a]
or eax, 0xc00
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp qword [esp + 0x30]
mov eax, dword [esp + 0x30]
dec eax
push eax
push 0x1040
fldcw word [esp + 0x32]
push ecx
call esi
shr eax, 0x10
add eax, 4
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
push 1
push eax
push edx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xa4]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x46b0e2
mov eax, dword [esp + 0xa0]
cmp eax, 0x80000000
jne 0x46b5d9
mov eax, 0xc8
mov ecx, dword [0x4da700]
mov edx, dword [esp + 0x9c]
push 0
push ecx
mov ecx, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x1c]
push edi
push eax
mov eax, dword [esp + 0xac]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push esi
push 0x4b09ac
push str.SysTreeView32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x46ac90.20
cmp dword [esp + 0xe0], 0
mov eax, dword [esp + 0xa90]
mov dword [eax + 0x4c], ebp
je 0x46b649
mov ecx, dword [ebp]
or esi, 0x100
push esi
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [esp + 0x74]
mov esi, ebp
call fcn.004739e0
mov eax, dword [esp + 0x8c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x46b673
mov edx, dword [ebp]
push eax
push 0
push 0x1109
push edx
call esi
cmp dword [esp + 0xa0], 0x80000000
jne 0x46b0e2
mov edi, dword [esp + 0xa90]
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x94
mov edx, dword [0x4db644]
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 0x111c
push edx
mov byte [esp + 0x2f], 1
call esi
mov dword [esp + 0xa0], eax
cmp eax, 2
jge 0x46b6ef
mov eax, dword [edi + 0x50]
mov ecx, dword [0x4db644]
imul eax, eax, 0x94
mov edx, dword [eax + ecx + 0x84]
add edx, edx
mov dword [esp + 0xa0], edx
fild dword [esp + 0xa0]
fmul dword [esp + 0xa4]
call fcn.004aab50
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
push 1
add eax, 4
push eax
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa4]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x46b0e2
mov eax, dword [esp + 0x10]
test al, 4
jne 0x46b761
cmp dword [esp + 0xd8], 0
jge 0x46b74f
and eax, 0xffefff7f
jmp 0x46b75d
mov ecx, dword [esp + 0x78]
not ecx
and ecx, 0x80
or eax, ecx
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0xa9c]
cmp word [ebx], 0
je 0x46b77d
test al, 4
je 0x46b77d
mov edi, ebx
call fcn.00480d60
mov edi, eax
jmp 0x46b77f
mov edi, ebx
mov eax, edi
test edi, edi
jne 0x46b787
mov eax, ebx
mov edx, dword [0x4da700]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push 0
push edx
mov edx, dword [esp + 0xa8]
push esi
push ecx
mov ecx, dword [esp + 0xac]
push edx
mov edx, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xac]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push ebx
push eax
push str.edit
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x46b842
test bl, 0x20
je 0x46b7fb
mov cx, word [esp + 0x200]
test cx, cx
je 0x46b7fb
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
movzx ecx, cx
push ecx
push 0xcc
push eax
call esi
jmp 0x46b801
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xd8]
test eax, eax
jns 0x46b815
xor eax, eax
mov dword [esp + 0xd8], eax
mov edx, dword [ebp]
push 0
push eax
push 0xc5
push edx
call esi
mov eax, dword [esp + 0x1b0]
test eax, eax
je 0x46b842
mov edx, dword [ebp]
lea ecx, [esp + 0xe8]
push ecx
push eax
push 0xcb
push edx
call esi
test edi, edi
je 0x46b0e2
cmp edi, dword [esp + 0xa9c]
je 0x46b0e2
push edi
call fcn.0049a24d
add esp, 4
jmp 0x46b0e2
mov edi, dword [esp + 0xa9c]
xor bl, bl
cmp word [edi], 0
je 0x46b8ba
push str.LongDate
push edi
call fcn.00499ce9
add esp, 8
test eax, eax
jne 0x46b896
mov eax, dword [esp + 0x10]
and eax, 0xfffffff6
or eax, 4
mov dword [esp + 0x10], eax
jmp 0x46b8ba
push str.Time
push edi
call fcn.00499ce9
add esp, 8
test eax, eax
jne 0x46b8b8
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffb
or ecx, 9
mov dword [esp + 0x10], ecx
jmp 0x46b8ba
mov bl, 1
mov eax, 2
cmp dword [esp + 0xa8], eax
jne 0x46b8cc
or dword [esp + 0x10], eax
mov edx, dword [0x4da700]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xa0]
push 0
push edx
mov edx, dword [esp + 0xa4]
push esi
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4b09ac
push str.SysDateTimePick32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x46b0e2
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test bl, bl
je 0x46b935
push edi
push 0
push 0x1032
push eax
call esi
mov eax, dword [esp + 0x1f8]
test eax, eax
je 0x46b954
mov edx, dword [ebp]
lea ecx, [esp + 0x1d4]
push ecx
push eax
push 0x1004
push edx
call esi
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x46b97b
xor edx, edx
cmp eax, 1
mov eax, dword [ebp]
setne dl
lea ecx, [esp + 0x1b4]
push ecx
push edx
push 0x1002
push eax
call esi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je 0x46b0e2
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
call esi
jmp 0x46b0e2
cmp dword [esp + 0x1f4], 0
jne 0x46b9d0
mov ecx, dword [esp + 0xa9c]
cmp word [ecx], 0
je 0x46b9d0
lea eax, [esp + 0x1b4]
call fcn.0047fac0
mov dword [esp + 0x1f4], eax
cmp eax, 3
jne 0x46b9d0
or dword [esp + 0x10], 2
mov ecx, dword [esp + 0xa0]
cmp ecx, 0x80000000
jne 0x46b9e4
mov ecx, 0x64
mov eax, dword [esp + 0x9c]
test eax, eax
jns 0x46b9f4
mov eax, 0x64
mov edx, dword [0x4da700]
push 0
push edx
mov edx, dword [esp + 0x18]
push esi
push edi
push ecx
mov ecx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4b09ac
push str.SysMonthCal32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x46ac90.20
mov ebx, dword [esp + 0x10]
mov esi, ebx
and esi, 2
je 0x46ba54
push 0
push 0x16e
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1f8]
test eax, eax
je 0x46ba77
mov edx, dword [ebp]
lea ecx, [esp + 0x1d4]
push ecx
push eax
push 0x1012
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1f4]
test eax, eax
je 0x46baf1
test esi, esi
je 0x46bad8
cmp eax, 1
jne 0x46bac3
mov eax, dword [esp + 0x1b4]
mov ecx, dword [esp + 0x1b8]
mov edx, dword [esp + 0x1bc]
mov dword [esp + 0x1c4], eax
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], edx
mov dword [esp + 0x1d0], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x1b4]
push ecx
push 0
push 0x1006
push edx
jmp 0x46baeb
mov ecx, dword [ebp]
lea eax, [esp + 0x1b4]
push eax
push 0
push 0x1002
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xff000000
je 0x46bb0f
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call esi
mov ecx, dword [esp + 0xa90]
mov edx, dword [ecx + 0x50]
movzx eax, byte [esp + 0x17]
imul edx, edx, 0x94
push eax
mov eax, dword [0x4db644]
mov ecx, dword [edx + eax + 0x90]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call esi
cmp dword [esp + 0x9c], 0x80000000
mov byte [esp + 0x1f], 1
je 0x46bb5d
cmp dword [esp + 0xa0], 0x80000000
jne case.0x46ac90.20
mov ecx, dword [ebp]
lea eax, [esp + 0x50]
push eax
push 0
push 0x1009
push ecx
call esi
test eax, eax
je case.0x46ac90.20
cmp dword [esp + 0x9c], 0
jge 0x46bbd1
test bl, 0x10
je 0x46bb8c
mov eax, dword [esp + 0x58]
jmp 0x46bba5
mov edx, dword [ebp]
push 0
push 0
push 0x1015
push edx
call esi
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jge 0x46bba5
mov eax, ecx
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x80000000
jne 0x46bbbd
mov dword [esp + 0x9c], eax
jmp 0x46bbd1
add eax, 6
imul eax, ecx
mov ecx, 0xfffffffa
sub ecx, eax
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0xa0]
cmp ecx, 0x80000000
jne 0x46bcd5
fldz
mov ecx, dword [esp + 0x5c]
fld dword [esp + 0xa4]
mov dword [esp + 0xa0], ecx
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x46bcd3
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x46bcd5
cmp dword [esp + 0x28], 0
jne 0x46bc54
mov esi, dword [esp + 0xa90]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4db644]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x90]
push ecx
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x22c]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov esi, dword [esp + 0x22c]
test bl, 0x10
je 0x46bc85
mov ecx, dword [esp + 0xa0]
lea edx, [ecx + esi + 4]
mov dword [esp + 0xa0], edx
fild dword [esp + 0xa0]
fld dword [esp + 0xa4]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.004aab50
add esi, 0xfffffffe
mov dword [esp + 0xa0], eax
fild dword [esp + 0xa0]
mov dword [esp + 0x2c], esi
fild dword [esp + 0x2c]
fxch st(2)
fsub qword [0x4cfdd8]
fmulp st(2)
fsubrp st(1)
call fcn.004aab50
mov ecx, eax
mov dword [esp + 0xa0], ecx
jmp 0x46bcd5
fstp st(0)
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x94]
push 1
push ecx
mov ecx, dword [esp + 0xa0]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x46ac90.20
mov ecx, dword [0x4da700]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edi
push edx
mov edx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x4b09ac
push str.msctls_hotkey32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x46ac90.20
mov eax, dword [esp + 0xa9c]
cmp word [eax], 0
je 0x46bd76
push 0
call fcn.004734e0
movzx edx, ax
mov eax, dword [ebp]
push edx
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xd8]
test eax, eax
jle case.0x46ac90.20
mov ecx, dword [ebp]
push 6
push eax
push 0x403
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x46ac90.20
test byte [esp + 0x10], 0x10
je 0x46bf63
mov edx, dword [esp + 0xa90]
cmp dword [edx + 8], 0
jne 0x46bdca
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46bf63
test byte [eax + 5], 0x80
je 0x46bf63
and dword [esp + 0x10], 0xffffffef
mov bl, 1
mov eax, dword [0x4da700]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push edi
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4b09ac
push str.msctls_updown32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x46ac90.20
mov esi, dword [esp + 0x70]
test bl, bl
je 0x46be39
mov ecx, dword [esi]
push 0
push ecx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0xa90]
cmp dword [edx + 0x10], 0
je 0x46bfb2
test byte [esp + 0x10], 0x10
jne 0x46be59
test bl, bl
je 0x46bfb2
mov ecx, dword [ebp]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x50]
push eax
push ecx
call ebx
push 2
lea edx, [esp + 0x54]
push edx
push edi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
sub edx, eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x98], ecx
sub eax, ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov edx, dword [esi]
push ecx
push edx
call ebx
push 2
lea eax, [esp + 0x30]
push eax
push edi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0xa90]
cmp byte [ecx + 0xbf], 0
je 0x46bf42
test byte [esp + 0x10], 4
je 0x46bf14
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
add dword [esp + 0x58], eax
push 1
push edx
add ecx, eax
push eax
mov eax, dword [esp + 0xa4]
push eax
push ecx
mov dword [esp + 0xa8], 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 + 0x9c]
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 + 0x10], 4
je 0x46bf6a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
sub ecx, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], ecx
jmp 0x46bf79
xor bl, bl
jmp 0x46bdd1
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x50]
mov dword [esp + 0x9c], edx
cmp byte [esp + 0x202], 0
jne 0x46bfcf
cmp byte [esi + 4], 9
jne 0x46bfbc
test byte [esp + 0x10], 0x40
mov byte [esp + 0x202], 1
je 0x46bfa5
mov dword [esp + 0xb0], 0x7fff
jmp 0x46bfcf
mov dword [esp + 0xac], 0x7fff
jmp 0x46bfcf
cmp byte [esp + 0x202], 0
jne 0x46bfcf
mov byte [esp + 0x202], 1
mov dword [esp + 0xb0], 0x64
lea ecx, [esp + 0x74]
mov eax, ebp
call fcn.00473740
mov esi, dword [esp + 0xa9c]
call fcn.00414300
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
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x46ac90.20
mov eax, dword [0x4da700]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push edi
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4b09ac
push str.msctls_trackbar32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x46ac90.20
lea eax, [esp + 0x74]
mov esi, ebp
call fcn.00473820
mov esi, dword [esp + 0xa9c]
cmp word [esi], 0
je case.0x46ac90.20
call fcn.00414300
test byte [ebp + 5], 0x80
je 0x46c08c
push eax
mov edi, ebp
call fcn.004737e0
mov ecx, dword [ebp]
push eax
push 1
push 0x405
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46b0e2
mov edx, dword [0x4da700]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
push 0
push edx
mov edx, dword [esp + 0xa0]
push esi
push edi
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 0x4b09ac
push str.msctls_progress32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x46ac90.20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xa90]
push eax
push ecx
lea eax, [esp + 0x7c]
mov ecx, ebp
call fcn.00473a30
mov esi, dword [esp + 0xa9c]
cmp word [esi], 0
je 0x46c12f
push 0
call fcn.00414300
mov edx, dword [ebp]
push eax
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x3d], 0
jmp case.0x46ac90.20
mov eax, dword [0x4da700]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push edi
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4b09ac
push str.SysTabControl32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x46ac90.20
cmp byte [esp + 0x209], 0
mov esi, dword [esp + 0xa90]
je 0x46c1bf
lea ecx, [esp + 0x74]
push ecx
mov ebx, ebp
call fcn.00474660
test eax, eax
jne 0x46c1bf
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp 0x46b0e2
mov al, byte [esp + 0x20a]
test al, al
je 0x46c1dd
mov ecx, dword [ebp]
movsx eax, al
push eax
push str.ahk_autosize
push ecx
call dword [sym.imp.USER32.dll_SetPropW]
mov al, byte [esi + 0xb8]
mov byte [esi + 0xb9], al
inc al
push 0x473030
mov byte [esi + 0xba], 0
mov byte [esi + 0xb8], al
mov edx, dword [ebp]
push 0xfffffffffffffffc
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x4da728], eax
jmp 0x46b0e2
cmp byte [0x4dcca8], 0
jne 0x46c258
push 0x4ce338
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x46c258
push str.AtlAxWinInit
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46c248
call eax
test eax, eax
setne byte [0x4dcca8]
cmp byte [0x4dcca8], 0
jne 0x46c258
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x4da700]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xa0]
push 0
push eax
mov eax, dword [esp + 0xa4]
push esi
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0xab8]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push str.AtlAxWin
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x46b0e2
push eax
call fcn.00462b10
add esp, 4
test eax, eax
jne 0x46c2d1
mov eax, dword [ebp]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp 0x46b0e2
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x46c2e4
mov edi, eax
call fcn.00483710
jmp 0x46b0e2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x46b0e2
mov ax, word [esp + 0x20c]
test ax, ax
jne 0x46c317
push 0x4b09ac
push str.A_window_class_is_required.
mov ecx, 0x4db728
call fcn.0043a4e0
jmp 0x46c7cf
mov ecx, dword [0x4da700]
mov edx, dword [esp + 0xa0]
push 0
push ecx
mov ecx, dword [esp + 0xa4]
push esi
push edi
push edx
mov edx, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xac]
push edx
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xabc]
push edx
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.0x46ac90.20
mov ecx, dword [esp + 0xa90]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0xa9c]
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.0x46ac90.20
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xa90]
mov dword [edx + 8], eax
cmp ecx, 0xffffffff
je case.0x46ac90.20
push ecx
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x46ac90.20
mov ebx, dword [esp + 0xa90]
cmp dword [ebp], 0
jne 0x46c3e4
push 0x4b09ac
push str.Cant_create_control.
mov ecx, 0x4db728
call fcn.0043a4e0
jmp 0x46c7cf
mov eax, dword [esp + 0x90]
inc dword [ebx + 0x10]
mov cl, byte [esp + 0x3e]
mov byte [ebx + 0xbf], cl
test eax, eax
je 0x46c406
mov edx, dword [ebp]
push edx
push eax
call fcn.00482b30
cmp byte [ebp + 4], 6
jne 0x46c42a
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x46c424
push eax
mov eax, dword [ebx + 0x10]
dec eax
push ebp
mov ecx, ebx
call fcn.00473680
mov byte [ebx + 0x44], 1
jmp 0x46c42e
mov byte [ebx + 0x44], 0
test dword [esp + 0x78], 0x10000000
je 0x46c43c
or byte [ebp + 5], 8
test dword [esp + 0x74], 0x8000000
je 0x46c44a
or byte [ebp + 5], 0x10
cmp byte [esp + 0x3d], 0
jne 0x46c475
cmp dword [ebp + 0x10], 0xff000000
je 0x46c469
mov al, byte [ebp + 4]
cmp al, 5
je 0x46c475
cmp al, 6
je 0x46c475
cmp al, 3
je 0x46c475
cmp byte [ebp + 4], 3
jne 0x46c481
test byte [ebp + 5], 0x40
je 0x46c481
mov eax, dword [ebp]
push eax
call fcn.00482460
add esp, 4
cmp byte [esp + 0x1f], 0
jne 0x46c4b7
cmp byte [esp + 0x3c], 0
je 0x46c4b7
mov edx, dword [ebx + 0x50]
movzx ecx, byte [esp + 0x17]
imul edx, edx, 0x94
mov eax, dword [0x4db644]
push ecx
mov ecx, dword [edx + eax + 0x90]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x1fc], 4
jne 0x46c4d1
mov eax, dword [ebp]
push 0
push 0
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xa9c]
cmp word [eax], 0
je 0x46c4ee
mov ecx, dword [esp + 0xa8]
push ecx
push ebx
mov esi, ebp
call fcn.0046f9c0
mov cl, byte [ebp + 4]
cmp cl, 0x13
jne 0x46c5c7
fldz
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 5
jp 0x46c5af
mov eax, dword [ebp]
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [esp + 0x10]
test al, 2
je 0x46c5ab
test al, al
js 0x46c5ab
mov ecx, dword [esp + 0x10]
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 + 0x50]
push eax
push 1
push 0x1328
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, bl
je 0x46c56e
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 + 0x5c]
sub eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
push 1
push eax
push ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebx, dword [esp + 0xa90]
jmp 0x46c5c7
xor bl, bl
jmp 0x46c543
cmp cl, 0x13
jne 0x46c5c7
cmp byte [esp + 0x209], 0
je 0x46c5c7
mov eax, dword [ebp]
push ebx
call fcn.00474730
cmp byte [esp + 0x1e], 0
je 0x46c636
mov eax, dword [ebp]
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
sub eax, dword [esp + 0x54]
sub ecx, dword [esp + 0x50]
cmp byte [esp + 0xa94], 9
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], ecx
jne 0x46c636
test dword [esp + 0x10], 0x100000
je 0x46c636
mov eax, dword [esp + 0xdc]
test eax, eax
jns 0x46c624
lea eax, [ecx + ecx*2]
mov dword [esp + 0xdc], eax
mov ecx, dword [ebp]
push 0
push eax
push 0x194
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x40], 0
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
je 0x46c6a1
cmp edi, dword [ebx + 4]
jne 0x46c6a1
cmp byte [esp + 0x3f], 0
je 0x46c682
mov eax, dword [ebp]
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebx + 4]
push 2
lea ecx, [esp + 0x54]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebx + 4]
push 0
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esp + 0x40]
test byte [edx + 5], 0x80
je 0x46c6a1
mov eax, dword [ebp]
push 0x13
push 0
push 0
push 0
push 0
mov ecx, edx
mov edx, dword [ecx]
push eax
push edx
call esi
mov eax, dword [ebx + 8]
test eax, eax
je 0x46c6b7
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [esp + 0xa94], 0x19
je 0x46c7ca
mov ebx, dword [esp + 0xa90]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
cmp edi, eax
je 0x46c710
mov edx, dword [esp + 0x98]
push 1
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x30]
push ecx
push eax
push edi
mov dword [esp + 0x40], edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
jmp 0x46c717
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
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 0x46c76c
cmp byte [esp + 0x20a], 0
jne 0x46c76c
cmp edx, dword [ebx + 0x90]
jle 0x46c75e
mov dword [ebx + 0x90], edx
cmp esi, dword [ebx + 0x94]
jle 0x46c76c
mov dword [ebx + 0x94], esi
cmp byte [esp + 0x206], 0
jne 0x46c7b0
mov edi, ebx
mov edi, dword [edi + 0x10]
cmp edi, 1
je 0x46c7b0
cmp edi, 2
jne 0x46c790
mov edi, ebx
mov edi, dword [edi + 0x18]
cmp byte [edi + 4], 0x19
je 0x46c7b0
mov eax, ebx
cmp edx, dword [eax + 0xa0]
jle 0x46c7a0
mov dword [eax + 0xa0], edx
cmp esi, dword [eax + 0xa4]
jle 0x46c7ca
mov dword [eax + 0xa4], esi
jmp 0x46c7ca
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 + 0xa80]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa7c
ret 0x10