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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4a488b
push eax
mov dword fs:[0], esp
sub esp, 0x660
push ebx
mov ebx, dword [esp + 0x674]
mov ecx, dword [ebx + 0x10]
push ebp
push esi
push edi
cmp ecx, 0x2af8
jb 0x469a3a
push 0x4a78b1
push str.Too_many_controls.
mov ecx, 0x4bc4c8
call fcn.0043b7d0
jmp 0x46c905
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x469a67
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.0049393d
add esp, 8
test eax, eax
je 0x469a21
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.0046f9f0
mov al, byte [esp + 0x684]
cmp al, 0x14
jne 0x469aa8
or byte [ebp + 5], 0x80
mov byte [esp + 0x684], 0x13
jmp 0x469ac8
cmp al, 0x15
jne 0x469ac0
mov byte [esp + 0x684], 0x13
mov word [esp + 0x208], 0x301
jmp 0x469ac8
cmp al, 0x13
jne 0x469bce
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x469aeb
push 0x4a78b1
push str.Too_many_tab_controls.
mov ecx, 0x4bc4c8
call fcn.0043b7d0
jmp 0x46c905
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.00474020
test eax, eax
je 0x469b11
push eax
push esi
call fcn.00474430
mov al, byte [esp + 0x684]
cmp dword [esi + 0x10], 0
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, connect
jne 0x469b9c
cmp dword [esi + 0x78], ebx
jne 0x469b5e
mov edx, dword [esi + 0x50]
mov eax, dword [0x4bc3e4]
imul edx, edx, 0x54
fild dword [edx + eax + 0x44]
fmul qword [0x4b16c0]
call fcn.004a2770
mov ecx, dword [0x4bc4b4]
push 0x60
push ecx
push eax
call edi
mov dword [esi + 0x78], eax
mov al, byte [esp + 0x684]
cmp dword [esi + 0x7c], ebx
jne 0x469b93
mov edx, dword [esi + 0x50]
mov eax, dword [0x4bc3e4]
imul edx, edx, 0x54
fild dword [edx + eax + 0x44]
fmul qword [0x4b1708]
call fcn.004a2770
mov ecx, dword [0x4bc4b4]
push 0x60
push ecx
push eax
call edi
mov dword [esi + 0x7c], eax
mov al, byte [esp + 0x684]
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 + 0x206], cl
mov ecx, 0x20000
cmp al, 6
jne 0x469c15
or dword [esp + 0x74], 0x4000
cmp byte [esi + 0x44], 0
jne 0x469c2f
or dword [esp + 0x74], ecx
jmp 0x469c2f
cmp al, 0x19
jne 0x469bfc
cmp dword [ebx + 8], 0
je 0x469bf1
push 0x4a78b1
push str.Too_many_status_bars.
mov ecx, 0x4bc4c8
call fcn.0043b7d0
jmp 0x46c905
mov byte [ebp + 6], 0xff
mov esi, ebx
jmp 0x469b18
mov dl, byte [ebx + 0xb9]
mov byte [ebp + 6], dl
mov cl, byte [ebx + 0xba]
mov byte [ebp + 7], cl
mov esi, ebx
jmp 0x469b18
cmp byte [esi + 0x44], 0
je 0x469c1f
or dword [esp + 0x74], ecx
cmp al, 2
je 0x469c4c
cmp al, 0x10
je 0x469c4c
cmp al, 0x11
je 0x469c4c
cmp al, 0x12
je 0x469c4c
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x3c], 1
je 0x469c40
mov edx, dword [esi + 0x54]
mov dword [ebp + 0x10], edx
mov ecx, dword [esi + 0x54]
mov dword [esp + 0xd0], ecx
jmp 0x469c5c
mov byte [esp + 0x3c], 0
cmp al, 0x12
jne 0x469c5c
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x44], eax
add eax, 0xfffffffc
mov ecx, 0x10000
cmp eax, 0x15
ja case.0x469c74.6
jmp dword [eax*4 + 0x46c920]
or dword [esp + 0x74], 0x210000
jmp case.0x469c74.6
or dword [esp + 0x74], 0x210042
jmp case.0x469c74.6
or dword [esp + 0x74], 0x210080
or dword [esp + 0x7c], 0x200
jmp case.0x469c74.6
or dword [esp + 0x84], 0x30
or dword [esp + 0x74], 0x10008
or dword [esp + 0x7c], 0x200
mov dword [esp + 0x88], 1
jmp case.0x469c74.6
or dword [esp + 0x74], 0x10027
or dword [esp + 0x7c], 0x200
jmp case.0x469c74.6
or dword [esp + 0x74], ecx
or dword [esp + 0x7c], 0x200
jmp case.0x469c74.6
or dword [esp + 0x74], 0x36
jmp case.0x469c74.6
or dword [esp + 0x74], 0x1000c
jmp case.0x469c74.6
or dword [esp + 0x74], 1
jmp case.0x469c74.6
cmp byte [esp + 0x208], 0
jne 0x469d1c
mov byte [esp + 0x206], 0
or dword [esp + 0x74], 0x10200
jmp case.0x469c74.6
or dword [esp + 0x74], 0x4000000
jmp case.0x469c74.6
test dword [esi + 0x3c], 0x40000
je 0x469d41
or dword [esp + 0x74], 0x100
or dword [esp + 0x74], 0x800
jmp case.0x469c74.6
cmp byte [0x4bccb6], 0
je case.0x469c74.6
or dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x688]
push 0
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x80]
push edx
push esi
call fcn.0046d4b0
test eax, eax
je 0x46c905
mov cl, byte [esp + 0x684]
mov eax, dword [esp + 0xd0]
cmp cl, 0xa
je 0x469d90
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
setne al
mov byte [esp + 0x202], al
mov eax, dword [esp + 0xd4]
cmp eax, 0xff000000
jne 0x469dbf
cmp cl, 0xb
je 0x469ddf
mov dword [esp + 0xd4], 0xffffffff
jmp 0x469ddf
cmp eax, 0xffffffff
jne 0x469ddf
mov eax, dword [esi + 0x5c]
cmp eax, 0xff000000
je 0x469ddf
cmp cl, 0x12
je 0x469ddf
cmp cl, 0x19
je 0x469ddf
mov dword [esp + 0xd4], eax
mov esi, dword [esp + 0x78]
cmp dword [esp + 0x9c], ebx
jne 0x469e26
cmp dword [esp + 0xa0], ebx
jne 0x469e26
fld dword [0x4b1700]
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 5
jnp 0x469e26
mov eax, dword [esp + 0x68c]
mov edi, 0x4b0884
call fcn.00405520
test eax, eax
jne 0x469e26
mov dword [esp + 0x70], eax
mov ecx, eax
jmp 0x469e35
mov eax, esi
not eax
and eax, 0x2000
mov dword [esp + 0x70], eax
mov ecx, eax
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x680]
not eax
and eax, dword [esp + 0x7c]
mov ebx, esi
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 + 0x14], ebx
cmp eax, 0x10
ja case.0x469e76.10
movzx edx, byte [eax + 0x46c9a0]
jmp dword [edx*4 + 0x46c978]
and ebx, 0xfffffff7
or ebx, 7
mov dword [esp + 0x14], ebx
jmp case.0x469e76.10
test bl, 1
je 0x469ea6
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x14], ebx
or ebx, ecx
mov dword [esp + 0x14], ebx
jmp case.0x469e76.10
and ebx, 0xfffffff0
or ebx, ecx
mov dword [esp + 0x14], ebx
jmp case.0x469e76.10
mov eax, ebx
and eax, 6
cmp al, 6
jne 0x469ed0
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x14], ebx
or dword [esp + 0x14], ecx
jmp case.0x469e76.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x14], ebx
or dword [esp + 0x14], ecx
jmp case.0x469e76.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x469eff
test esi, 0x10000
jne 0x469eff
or eax, 0x10000
or eax, ecx
mov dword [esp + 0x14], eax
jmp case.0x469e76.10
or ebx, 3
mov dword [esp + 0x14], ebx
jmp case.0x469e76.10
test bl, 1
je 0x469f2a
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x14], ebx
jmp case.0x469e76.10
and ebx, 0xfffffff2
or ebx, 2
mov dword [esp + 0x14], ebx
jmp case.0x469e76.10
fld dword [0x4b1700]
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 5
jnp 0x469f6a
mov ecx, dword [esp + 0x68c]
push 0xa
push ecx
call fcn.004949a1
mov esi, dword [esp + 0x80]
add esp, 8
test eax, eax
je 0x469f77
mov edx, esi
not edx
and edx, 4
or ebx, edx
mov dword [esp + 0x14], ebx
test bl, 4
je case.0x469e76.10
not esi
and esi, 0x201040
or ebx, esi
mov dword [esp + 0x14], ebx
jmp case.0x469e76.10
or ebx, 0x4000000
cmp dword [edi + 0x60], 0
je 0x469f9e
test byte [ebp + 5], 0x20
je 0x469fa7
cmp dword [ebp + 0x10], 0xff000000
je 0x469fb7
or ebx, 0x2000
mov byte [esp + 0x206], 0
jmp 0x469fbd
and ebx, 0xffffdfff
mov eax, connect
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x9c], eax
je 0x469fd7
and byte [esp + 0x209], 0xfe
cmp dword [esp + 0xa0], eax
je case.0x469e76.10
and byte [esp + 0x209], 0xfd
cmp byte [esp + 0x684], 4
jne 0x46a191
cmp dword [ebp + 0xc], 0
lea esi, [ebp + 0xc]
jne 0x46a191
test byte [ebp + 5], 1
jne 0x46a191
mov eax, dword [edi]
cmp byte [eax], 0x31
jne 0x46a024
cmp byte [eax + 1], 0
jne 0x46a024
mov byte [esp + 0x26c], 0
jmp 0x46a03a
lea edx, [esp + 0x26c]
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x46a030
mov eax, dword [esp + 0x68c]
push eax
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x274]
call fcn.0047fe20
push 0
push 0xffffffffffffffff
push 1
push 0x4a78b1
lea ecx, [esp + 0x284]
push 0x4b0894
push ecx
xor eax, eax
or ecx, 0xffffffff
call fcn.00480550
push 0
push 0xffffffffffffffff
push 1
push 0x4a78b1
lea edx, [esp + 0x29c]
push 0x4aec78
push edx
xor eax, eax
or ecx, 0xffffffff
call fcn.00480550
push 0
push 0xffffffffffffffff
push 1
push 0x4a78b1
lea eax, [esp + 0x2b4]
push 0x4a78f0
push eax
xor eax, eax
or ecx, 0xffffffff
call fcn.00480550
add esp, 0x50
push 0
push 0xffffffffffffffff
push 1
push 0x4a78b1
lea ecx, [esp + 0x27c]
push 0x4ad874
push ecx
xor eax, eax
or ecx, 0xffffffff
call fcn.00480550
push 0
push 0xffffffffffffffff
push 1
push 0x4a78b1
lea edx, [esp + 0x294]
push 0x4b0898
push edx
xor eax, eax
or ecx, 0xffffffff
call fcn.00480550
push 0
push 0xffffffffffffffff
push 1
push 0x4a78b1
lea eax, [esp + 0x2ac]
push 0x4b089c
push eax
xor eax, eax
or ecx, 0xffffffff
call fcn.00480550
add esp, 0x48
cmp byte [esp + 0x26c], 0
je 0x46a183
mov edi, dword [0x4bc4d8]
test edi, edi
je 0x46a15f
mov edi, edi
mov eax, dword [edi + 4]
lea ecx, [esp + 0x26c]
push ecx
push eax
call fcn.004932c1
add esp, 8
test eax, eax
je 0x46a185
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x46a140
push 0
push 0
lea edx, [esp + 0x274]
push edx
mov ecx, 0x4bc4c8
call fcn.0042ca70
test eax, eax
je 0x46a183
cmp dword [eax + 0x14], 4
jg 0x46a183
mov edi, eax
jmp 0x46a185
xor edi, edi
call fcn.004013b0
mov edi, dword [esp + 0x680]
mov bl, byte [ebp + 6]
mov ecx, edi
call fcn.00474020
mov esi, eax
xor ecx, ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x264], ecx
mov dword [esp + 0x678], ecx
mov eax, dword [edi + 0x10]
cmp eax, ecx
je 0x46a1c8
mov ecx, dword [edi + 0x18]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 - 0x14]
mov dword [esp + 0x5c], edx
jmp 0x46a1d3
lea eax, [esp + 0x258]
mov dword [esp + 0x5c], eax
mov eax, connect
cmp dword [esp + 0x94], eax
jne 0x46a2b3
cmp dword [esp + 0x98], eax
jne 0x46a2b3
test esi, esi
je 0x46a236
mov al, byte [ebp + 7]
mov ecx, edi
call fcn.00474180
test eax, eax
jne 0x46a236
mov edx, esi
mov esi, dword [esp + 0x680]
lea edi, [esp + 0x2c]
mov ecx, esi
call fcn.00474290
mov ecx, dword [esi + 0x78]
add ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x7c]
add edx, dword [esp + 0x30]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
jmp 0x46a260
mov ecx, dword [edi + 0x8c]
add ecx, dword [edi + 0x84]
mov eax, dword [edi + 0x80]
add ecx, dword [edi + 0x7c]
mov esi, dword [esp + 0x680]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov al, byte [esp + 0x684]
mov ecx, dword [esp + 0x5c]
cmp al, 1
je 0x46a273
cmp al, 0x17
jne 0x46a2ac
cmp dword [esi + 0x10], 0
je 0x46a2ac
mov al, byte [ecx + 4]
cmp al, 1
je 0x46a284
cmp al, 0x17
jne 0x46a2ac
mov dl, byte [ecx + 6]
cmp dl, byte [ebp + 6]
jne 0x46a2ac
mov al, byte [ecx + 7]
cmp al, byte [ebp + 7]
jne 0x46a2ac
mov ecx, dword [0x4bc4b4]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
mov edi, dword [esp + 0x680]
mov cl, byte [esp + 0x684]
cmp cl, 0xe
je 0x46a2cd
cmp cl, 0xa
je 0x46a2cd
cmp cl, 0xb
je 0x46a2cd
xor bl, bl
jmp 0x46a2cf
mov bl, 1
fld1
test bl, bl
sete byte [esp + 0x26]
cmp dword [esp + 0xa0], 0x80000000
jne 0x46a451
fcom dword [esp + 0xa4]
fnstsw ax
test ah, 0x41
jne 0x46a451
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x15
ja case.0x46a312.4
movzx edx, byte [eax + 0x46c9e0]
jmp dword [edx*4 + 0x46c9b4]
mov eax, dword [esp + 0x14]
fstp st(0)
fld dword [0x4b16fc]
fstp dword [esp + 0xa4]
test al, 1
je 0x46a338
test al, 2
je 0x46a472
cmp byte [0x4bccb2], 0
je 0x46a472
test eax, 0x400
jne 0x46a472
mov byte [esp + 0x26], 0
jmp 0x46a472
fstp st(0)
fld dword [0x4b16f8]
fstp dword [esp + 0xa4]
jmp 0x46a472
fstp st(0)
fld dword [0x4b16f4]
fstp dword [esp + 0xa4]
jmp 0x46a472
mov eax, dword [esp + 0x68c]
cmp byte [eax], 0
jne case.0x46a312.4
test byte [esp + 0x14], 4
je case.0x46a312.13
fstp st(0)
fld dword [0x4b16fc]
fstp dword [esp + 0xa4]
jmp 0x46a472
test byte [esp + 0x14], 0x40
fstp st(0)
je 0x46a35c
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4bc3e4]
imul ecx, ecx, 0x54
mov eax, dword [ecx + edx + 0x44]
jmp 0x46a425
mov eax, dword [esp + 0x14]
fstp st(0)
test al, 2
je 0x46a3e8
fld dword [0x4b16f8]
fstp dword [esp + 0xa4]
jmp 0x46a472
push eax
mov eax, dword [esp + 0xc4]
call fcn.00473810
mov dword [esp + 0xa0], eax
jmp 0x46a472
test byte [esp + 0x14], 4
fstp st(0)
je 0x46a416
fld dword [0x4b16f8]
fstp dword [esp + 0xa4]
jmp 0x46a472
mov edx, dword [edi + 0x50]
mov eax, dword [0x4bc3e4]
imul edx, edx, 0x54
mov eax, dword [edx + eax + 0x44]
mov ecx, dword [0x4bc4b4]
push 0x60
add eax, eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0xa0], eax
jmp 0x46a472
fstp st(0)
fld dword [0x4b16f0]
fstp dword [esp + 0xa4]
jmp 0x46a472
fstp st(0)
cmp cl, 7
je 0x46a45d
cmp cl, 8
jne 0x46a472
cmp byte [0x4bccb2], 0
je 0x46a472
or dword [esp + 0x14], 0x400
jmp 0x46a472
fstp st(0)
fldz
xor eax, eax
fld dword [esp + 0xa4]
mov dword [esp + 0x28], eax
fcom st(1)
mov dword [esp + 0x40], eax
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x46a5fa
mov al, byte [esp + 0x684]
cmp al, 3
je 0x46a4a7
cmp al, 6
jbe 0x46a4b6
cmp al, 8
ja 0x46a4b6
fadd qword [0x4b1660]
fstp dword [esp + 0xa4]
jmp 0x46a4b8
fstp st(0)
cmp byte [esp + 0x26], 0
je 0x46a5dd
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4bc3e4]
mov esi, eax
mov eax, dword [edi + 0x50]
imul eax, eax, 0x54
mov edx, dword [eax + ecx + 0x50]
push edx
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x220]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
fld dword [esp + 0xa4]
fld st(0)
fld qword [0x4b1678]
fadd st(1), st(0)
fxch st(1)
call fcn.004a2770
fild dword [esp + 0x220]
mov esi, eax
lea ecx, [esi - 1]
imul ecx, dword [esp + 0x230]
fmulp st(2)
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
faddp st(2)
faddp st(1)
call fcn.004a2770
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x15
ja case.0x46a55b.5
movzx edx, byte [eax + 0x46ca0c]
jmp dword [edx*4 + 0x46c9f8]
mov eax, dword [0x4bc4b4]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0xa0], eax
test dword [esp + 0x14], 0x100000
je case.0x46a55b.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0xa0], eax
jmp case.0x46a55b.5
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4bc3e4]
imul ecx, ecx, 0x54
mov eax, dword [ecx + edx + 0x44]
mov ecx, dword [0x4bc4b4]
push 0x60
add eax, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0xa0], eax
jmp case.0x46a55b.5
mov edx, dword [edi + 0x7c]
imul edx, esi
add dword [esp + 0xa0], edx
jmp case.0x46a55b.5
inc esi
imul esi, dword [edi + 0x7c]
add dword [esp + 0xa0], esi
jmp case.0x46a55b.5
test bl, bl
jne case.0x46a55b.5
mov eax, dword [0x4bc4b4]
push 0x60
push eax
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0xa0], eax
jmp case.0x46a55b.5
fstp st(0)
mov eax, connect
mov byte [esp + 0x3f], 0
cmp dword [esp + 0xa0], eax
je 0x46a61c
cmp dword [esp + 0x9c], eax
jne case.0x46ab76.4
mov eax, dword [esp + 0x44]
xor ebx, ebx
dec eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x18], 0x400
cmp eax, 0x16
ja case.0x46a643.2
movzx ecx, byte [eax + 0x46ca30]
jmp dword [ecx*4 + 0x46ca24]
mov edx, dword [esp + 0x68c]
cmp byte [edx], bl
je case.0x46a643.2
mov esi, dword [esp + 0x28]
cmp esi, ebx
jne 0x46a68d
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4bc3e4]
imul ecx, ecx, 0x54
mov esi, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x220]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ebx, dword [esp + 0x234]
add ebx, 4
test dword [esp + 0x14], 0x200000
mov dword [esp + 0x60], ebx
je 0x46a6c2
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add ebx, eax
mov dword [esp + 0x60], ebx
mov esi, dword [esp + 0x68c]
cmp byte [esi], 0
je 0x46a6f7
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a6d3
sub eax, edx
cmp byte [eax + esi - 1], 0xa
jne 0x46a6f7
mov edx, dword [esp + 0x230]
mov eax, dword [esp + 0x220]
add edx, eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x18], 0x2c40
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x46a732
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [edi + 0x50]
imul edx, edx, 0x54
mov esi, eax
mov eax, dword [0x4bc3e4]
mov ecx, dword [edx + eax + 0x50]
push ecx
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x684]
cmp al, 1
jne 0x46a753
or dword [esp + 0x18], 0x40
test byte [esp + 0x14], 0x80
je 0x46a781
or dword [esp + 0x18], 0x800
jmp 0x46a781
cmp al, 5
je 0x46a75b
cmp al, 6
jne 0x46a781
lea edx, [esp + 0x220]
push edx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x234]
lea ebx, [ebx + eax + 2]
mov dword [esp + 0x60], ebx
test dword [esp + 0x14], 0x800000
je 0x46a7b6
mov al, byte [esp + 0x684]
cmp al, 1
je 0x46a79a
cmp al, 0x17
jne 0x46a7b6
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
call esi
mov ebx, eax
add ebx, ebx
push 6
mov dword [esp + 0x64], ebx
call esi
add eax, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x9c]
mov cl, byte [esp + 0x684]
cmp eax, 0x80000000
je 0x46a7e9
cmp cl, 4
je 0x46a7da
cmp cl, 5
je 0x46a7da
cmp cl, 6
jne 0x46a7e4
test dword [esp + 0x14], 0x2000
je 0x46a7e9
or dword [esp + 0x18], 0x10
xor edx, edx
mov dword [esp + 0x210], edx
mov dword [esp + 0x214], edx
cmp eax, 0x80000000
jne 0x46a809
mov dword [esp + 0x218], edx
jmp 0x46a812
sub eax, ebx
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0xa0]
mov edx, eax
sub edx, 0x80000000
neg edx
sbb edx, edx
and edx, eax
mov dword [esp + 0x21c], edx
mov byte [esp + 0x1d], 0
cmp cl, 0x17
jne 0x46a9a0
test byte [esp + 0x14], 4
je 0x46a84b
or dword [esp + 0x18], 0x800
mov eax, dword [esp + 0x68c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a855
sub eax, edx
inc eax
push eax
call fcn.004952bf
mov ebx, eax
mov eax, dword [esp + 0x690]
add esp, 4
cmp byte [eax], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], eax
je 0x46a958
mov eax, dword [esp + 0x48]
cmp byte [eax], 0x3c
jne 0x46a941
mov ecx, eax
mov al, byte [ecx + 1]
call fcn.00411200
cmp al, 0x41
jne 0x46a941
mov edi, dword [esp + 0x48]
add edi, 2
mov al, byte [edi]
cmp al, 0x20
je 0x46a8b2
cmp al, 9
jne 0x46a8b5
inc edi
jmp 0x46a8a8
cmp byte [edi], 0x3e
je 0x46a912
lea ebx, [ebx]
movzx eax, byte [edi]
test eax, 0xffffff80
jne 0x46a8df
push 0x107
push eax
call fcn.0049421c
add esp, 8
test eax, eax
je 0x46a8df
inc edi
jmp 0x46a8c0
cmp byte [edi], 0x3d
jne 0x46a941
cmp byte [edi + 1], 0x22
jne 0x46a941
push 0x22
add edi, 2
push edi
call fcn.004949a1
add esp, 8
test eax, eax
je 0x46a941
lea edi, [eax + 1]
nop
mov al, byte [edi]
cmp al, 0x20
je 0x46a90a
cmp al, 9
jne 0x46a90d
inc edi
jmp 0x46a900
cmp byte [edi], 0x3e
jne 0x46a8c0
lea esi, [edi + 1]
test esi, esi
je 0x46a941
push 0x4b08a0
mov eax, esi
call fcn.00480160
add esp, 4
test eax, eax
je 0x46a941
mov ecx, esi
cmp esi, eax
jae 0x46a93c
mov dl, byte [ecx]
mov byte [ebx], dl
inc ecx
inc ebx
cmp ecx, eax
jb 0x46a932
add eax, 3
jmp 0x46a94a
mov eax, dword [esp + 0x48]
mov cl, byte [eax]
mov byte [ebx], cl
inc ebx
inc eax
cmp byte [eax], 0
mov dword [esp + 0x48], eax
jne 0x46a882
mov eax, dword [esp + 0x2c]
mov byte [ebx], 0
cmp ebx, eax
jbe 0x46a96a
mov dl, byte [ebx - 1]
mov byte [esp + 0x1d], dl
cmp byte [eax], 0
jne 0x46a974
mov eax, 0x4b08a8
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x214]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esp + 0x2c]
push ecx
mov edi, eax
call fcn.004955eb
add esp, 4
jmp 0x46a9f1
mov eax, dword [esp + 0x68c]
cmp byte [eax], 0
jne 0x46a9b1
mov eax, 0x4b08a8
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x214]
push ecx
push 0xffffffffffffffff
push eax
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
mov esi, dword [esp + 0x68c]
cmp byte [esi], 0
mov edi, eax
je 0x46a9f1
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a9e0
sub eax, edx
mov al, byte [eax + esi - 1]
mov byte [esp + 0x1d], al
mov esi, dword [esp + 0x218]
mov eax, dword [esp + 0x44]
sub esi, dword [esp + 0x210]
dec eax
je 0x46aa19
sub eax, 3
je 0x46aa12
sub eax, 8
je 0x46aa19
jmp 0x46aa44
cmp dword [esp + 0x70], 0
jne 0x46aa44
mov al, byte [esp + 0x1d]
test al, al
je 0x46aa44
mov edx, dword [esp + 0x28]
movsx eax, al
lea ecx, [esp + 0x2c]
push ecx
push eax
push eax
push edx
call dword [sym.imp.GDI32.dll_GetCharABCWidthsA]
test eax, eax
je 0x46aa44
mov eax, dword [esp + 0x34]
test eax, eax
jns 0x46aa44
sub esi, eax
mov eax, dword [esp + 0xa0]
mov bl, byte [esp + 0x684]
cmp eax, 0x80000000
je 0x46aa62
cmp edi, eax
jle 0x46aace
cmp bl, 0xc
je 0x46aace
mov eax, dword [esp + 0x64]
add eax, edi
mov dword [esp + 0xa0], eax
cmp bl, 0xc
jne 0x46aaa7
mov ecx, dword [0x4bc4b4]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0xa0], eax
test dword [esp + 0x14], 0x100000
je 0x46aace
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0xa0], eax
jmp 0x46aace
cmp bl, 4
jne 0x46aace
mov edx, dword [esp + 0x680]
mov ecx, dword [edx + 0x50]
mov edx, dword [0x4bc3e4]
imul ecx, ecx, 0x54
mov ecx, dword [ecx + edx + 0x44]
lea edx, [eax + ecx + 2]
mov dword [esp + 0xa0], edx
mov eax, dword [esp + 0x9c]
cmp eax, 0x80000000
je 0x46aae0
cmp esi, eax
jle 0x46ab1e
add esi, dword [esp + 0x60]
mov byte [esp + 0x3f], 1
mov dword [esp + 0x9c], esi
cmp bl, 4
jne 0x46ab1e
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x680]
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x4bc3e4]
imul edx, edx, 0x54
mov edx, dword [edx + ecx + 0x44]
lea eax, [edx + eax*2]
add dword [esp + 0x9c], eax
mov edi, dword [esp + 0x680]
cmp dword [esp + 0x9c], 0x80000000
jne case.0x46ab76.4
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4bc3e4]
imul ecx, ecx, 0x54
mov ecx, dword [ecx + edx + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [0x4bc4b4]
push 0x60
push ecx
push eax
call esi
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffffd
cmp ecx, 0x15
ja case.0x46ab76.4
movzx edx, byte [ecx + 0x46ca68]
jmp dword [edx*4 + 0x46ca48]
mov dword [esp + 0x9c], eax
jmp case.0x46ab76.4
add eax, eax
mov dword [esp + 0x9c], eax
jmp case.0x46ab76.4
test byte [esp + 0x14], 0x40
je 0x46abaa
mov dword [esp + 0x9c], eax
jmp case.0x46ab76.4
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4bc3e4]
imul ecx, ecx, 0x54
mov eax, dword [ecx + edx + 0x44]
mov ecx, dword [0x4bc4b4]
push 0x60
add eax, eax
push ecx
push eax
call esi
mov dword [esp + 0x9c], eax
jmp case.0x46ab76.4
mov ecx, dword [esp + 0x14]
test cl, 2
je case.0x46ab76.7
mov eax, dword [esp + 0xc0]
push ecx
call fcn.00473810
mov dword [esp + 0x9c], eax
jmp case.0x46ab76.4
test byte [esp + 0x14], 4
je case.0x46ab76.7
mov edx, dword [edi + 0x50]
mov eax, dword [0x4bc3e4]
imul edx, edx, 0x54
mov eax, dword [edx + eax + 0x44]
jmp 0x46abba
mov edx, dword [edi + 0x78]
lea eax, [eax + edx*2]
mov dword [esp + 0x9c], eax
jmp case.0x46ab76.4
mov ecx, dword [edi + 0x78]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0x9c], edx
cmp byte [esp + 0x684], 0xc
jne 0x46ad42
test byte [esp + 0x14], 4
jne 0x46ad42
fld1
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 0x41
jne 0x46ad42
cmp dword [esp + 0x28], 0
jne 0x46ac85
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4bc3e4]
imul ecx, ecx, 0x54
mov ecx, dword [ecx + edx + 0x50]
push ecx
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x220]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, dword [0x4bc4b4]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [esp + 0xa0]
mov ebx, dword [esp + 0x14]
sub esi, eax
sub esi, dword [esp + 0x220]
mov dword [esp + 0x2c], esi
test ebx, 0x100000
je 0x46acd7
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
jle 0x46ad39
mov edx, dword [esp + 0x230]
fild dword [esp + 0x2c]
add edx, dword [esp + 0x220]
mov dword [esp + 0x2c], edx
fidiv dword [esp + 0x2c]
fadd qword [0x4b1660]
fstp dword [esp + 0xa4]
fld dword [0x4b1700]
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 5
jp 0x46ad42
mov eax, dword [esp + 0x78]
not eax
mov ecx, eax
and ecx, 4
or ebx, ecx
mov dword [esp + 0x14], ebx
test bl, 4
je 0x46ad42
and eax, 0x201040
or ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x46ad42
fld1
fstp dword [esp + 0xa4]
mov edi, dword [esp + 0x680]
cmp byte [esp + 0x206], 0
mov eax, dword [edi + 4]
mov esi, dword [edi + 0x10]
sete byte [esp + 0x3d]
push eax
mov byte [esp + 0x21], 0
add esi, 3
mov dword [esp + 0x1c], eax
mov byte [esp + 0x23], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46ad8b
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x1e], 1
test eax, eax
je 0x46ad90
mov byte [esp + 0x1e], 0
cmp byte [ebp + 6], 0xff
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
mov byte [esp + 0x3e], 0
jae 0x46ae3c
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x46ae55
mov eax, dword [ebx]
push str.ahk_dlg
push eax
call dword [sym.imp.USER32.dll_GetPropA]
test eax, eax
je 0x46ae0c
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 + 0x688]
push 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 [ebx]
push 0xfffffffffffffff0
push eax
call edi
test eax, 0x10000000
je 0x46ae55
mov ecx, dword [ebx]
push 0
push 0
push 0x130b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
movzx edx, byte [ebp + 7]
cmp eax, edx
jne 0x46ae55
mov al, byte [esp + 0x1e]
mov byte [esp + 0x3e], al
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
dec eax
cmp eax, 0x18
ja case.0x46ae4e.20
jmp dword [eax*4 + 0x46ca80]
mov ebx, dword [esp + 0x14]
and ebx, 0xefffffff
mov dword [esp + 0x14], ebx
jmp 0x46ae40
mov ecx, dword [0x4bb4a0]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xa0]
push 0
push ecx
mov ecx, dword [esp + 0xa4]
push esi
push edx
mov edx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x6a4]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ebx
push ecx
push str.static
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x46ae4e.20
mov eax, dword [0x4bb4a0]
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 + 0x6a4]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push ebx
push eax
push str.SysLink
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x46ae4e.20
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x80000000
jne 0x46af1c
xor ecx, ecx
mov dword [esp + 0x9c], ecx
mov eax, dword [esp + 0xa0]
cmp eax, 0x80000000
jne 0x46af33
xor eax, eax
mov dword [esp + 0xa0], eax
mov edx, dword [0x4bb4a0]
push 0
push edx
mov edx, dword [esp + 0x20]
push esi
push edx
mov edx, dword [esp + 0x69c]
push eax
mov eax, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push ebx
push edx
push str.static
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x68c]
push ecx
push edx
mov edx, dword [esp + 0xec]
push eax
mov esi, ebp
call fcn.0046fcc0
test eax, eax
je case.0x46ae4e.20
mov byte [esp + 0x1d], 1
jmp case.0x46ae4e.20
mov ecx, dword [0x4bb4a0]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xa0]
push 0
push ecx
mov ecx, dword [esp + 0xa4]
push esi
push edx
mov edx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x6a4]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ebx
push ecx
push str.button
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x46ae4e.20
mov eax, dword [0x4bb4a0]
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 + 0x6a4]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push ebx
push eax
push str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
test bl, 1
je case.0x46ae4e.20
mov esi, dword [esp + 0x680]
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x10]
jae 0x46b09c
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + edx*4]
push 1
push 0xfffffffffffffff0
push ecx
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
and eax, 0xfffe
push eax
mov eax, dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + edx*4]
push 0xf4
push ecx
call edi
jmp 0x46b0a2
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 4]
push 0
mov dword [esi + 0x1c], eax
add eax, 3
push eax
push 0x401
push edx
call edi
mov ecx, dword [ebp]
push 1
movzx eax, bx
push eax
push 0xf4
push ecx
call edi
jmp case.0x46ae4e.20
mov edx, dword [0x4bb4a0]
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 + 0x6a4]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push ebx
push edx
push str.button
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
mov ecx, dword [esp + 0xe0]
test ecx, ecx
je case.0x46ae4e.20
push 0
push ecx
push 0xf1
jmp 0x46c4b8
cmp dword [esp + 0xd8], 0
je 0x46b155
cmp byte [ebp + 4], 8
jne 0x46b155
and ebx, 0xffffffbf
mov dword [esp + 0x14], ebx
mov eax, dword [0x4bb4a0]
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 + 0x38]
push ecx
push edx
push ebx
push 0x4a78b1
push str.Combobox
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
movzx ecx, byte [esp + 0x1e]
mov edx, dword [esp + 0x680]
push ecx
mov ecx, dword [edx + 0x50]
mov edx, dword [0x4bc3e4]
imul ecx, ecx, 0x54
mov ecx, dword [ecx + edx + 0x50]
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp byte [esp + 0x26], 0
mov byte [esp + 0x1f], 1
je 0x46b276
mov edx, dword [ebp]
push 0
push 0
push 0x154
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test byte [esp + 0x14], 1
mov ebx, eax
mov dword [esp + 0x64], ebx
je 0x46b207
test byte [esp + 0x14], 2
mov esi, 4
je 0x46b20c
mov esi, 2
mov eax, dword [0x4bc4b4]
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 0x46b239
mov ecx, eax
mov dword [esp + 0xa0], ecx
jmp 0x46b27d
fldz
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 5
jp 0x46b27d
mov ecx, dword [0x4bc4b4]
push 0x60
push ecx
push 8
call edi
fild dword [esp + 0x64]
mov edi, eax
fmul dword [esp + 0xa4]
call fcn.004a2770
lea ecx, [esi + eax]
add ecx, edi
mov dword [esp + 0xa0], ecx
jmp 0x46b27d
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 + 0x1d], 1
jmp case.0x46ae4e.20
mov eax, dword [0x4bb4a0]
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 + 0x38]
push ecx
push edx
push ebx
push 0x4a78b1
push str.Listbox
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
mov ecx, dword [esp + 0x1b0]
test ecx, ecx
je 0x46b31b
lea edx, [esp + 0xe8]
push edx
push ecx
push 0x192
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x680]
mov edx, dword [ecx + 0x50]
movzx eax, byte [esp + 0x1e]
imul edx, edx, 0x54
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [0x4bc3e4]
mov ecx, dword [edx + eax + 0x50]
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 [0x4bc4b4]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push ecx
mov edi, eax
push 8
mov dword [esp + 0x70], edi
call ebx
lea esi, [edi + eax]
mov edi, dword [esp + 0x14]
and edi, 0x100000
je 0x46b38c
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [esp + 0xa0]
cmp ecx, esi
jge 0x46b39b
mov ecx, esi
jmp 0x46b3e9
fldz
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 5
jp 0x46b3f0
mov edx, dword [0x4bc4b4]
push 0x60
push edx
push 8
call ebx
fild dword [esp + 0x64]
mov esi, eax
fmul dword [esp + 0xa4]
call fcn.004a2770
lea ecx, [esi + eax]
mov dword [esp + 0xa0], ecx
test edi, edi
je 0x46b3f0
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
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x1d], 1
jmp case.0x46ae4e.20
mov eax, dword [esp + 0x88]
cmp eax, 4
je 0x46b434
and ebx, 0xfffffffc
or ebx, eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xa0]
cmp eax, 0x80000000
jne 0x46b447
mov eax, 0xc8
mov ecx, dword [0x4bb4a0]
mov edx, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push ebx
push 0x4a78b1
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [ebp], esi
test esi, esi
je case.0x46ae4e.20
push 0x3f8
call fcn.004938a9
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x46b4b9
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x46ae4e.20
mov ecx, dword [esp + 0x680]
push 0x3f8
mov dword [ecx + 0x48], ebp
mov edx, dword [ebp + 0x10]
push 0
push edx
call fcn.0049c740
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xffffffff
mov eax, dword [esp + 0x78]
mov ecx, dword [ebp + 0x10]
mov dl, byte [esp + 0x213]
add esp, 0xc
mov byte [ecx + 5], dl
test eax, eax
je 0x46b4f8
or byte [eax + 5], 0x80
cmp dword [esp + 0x88], 4
jne 0x46b515
mov eax, dword [ebp]
push 0
push 4
push 0x108e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x84]
test eax, eax
je 0x46b532
mov ecx, dword [ebp]
push eax
push 0
push 0x1036
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x74]
mov edi, ebp
call fcn.004739b0
cmp dword [esp + 0xa0], 0x80000000
jne case.0x46ae4e.20
mov edi, dword [esp + 0x680]
mov eax, dword [edi + 0x50]
movzx edx, byte [esp + 0x1e]
imul eax, eax, 0x54
mov ecx, dword [0x4bc3e4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edx
mov edx, dword [eax + ecx + 0x50]
mov eax, dword [ebp]
push edx
push 0x30
push eax
call esi
mov eax, dword [esp + 0x88]
dec eax
mov byte [esp + 0x1f], 1
je 0x46b6e1
sub eax, 3
je 0x46b6b3
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x46b5c9
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [edi + 0x50]
imul edx, edx, 0x54
mov ebx, eax
mov eax, dword [0x4bc3e4]
mov ecx, dword [edx + eax + 0x50]
push ecx
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea edx, [esp + 0x220]
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
cmp dword [esp + 0x88], 0
jne 0x46b677
mov eax, dword [ebp]
push 0
push 0
push 0x1033
push eax
call esi
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
test eax, eax
jns 0x46b607
fadd dword [0x4b16a0]
fld dword [esp + 0xa4]
push 0xc
fsub qword [0x4b1660]
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 ecx, dword [esp + 0x30]
shr ecx, 0x10
mov dword [esp + 0x30], ecx
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.004a2770
mov edx, dword [esp + 0x220]
lea eax, [eax + edx + 0x10]
jmp 0x46b71f
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x220]
mov dword [esp + 0x2c], eax
cmp eax, ecx
jg 0x46b692
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
fld dword [esp + 0xa4]
fld st(0)
fmulp st(2)
fsub qword [0x4b1660]
faddp st(1)
call fcn.004a2770
add eax, 0xb
jmp 0x46b71f
mov eax, dword [ebp]
push 0
push 0
push 0x1033
push eax
call esi
shr eax, 0x10
sub eax, 3
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmul dword [esp + 0xa4]
call fcn.004a2770
add eax, 7
jmp 0x46b71f
fld dword [esp + 0xa4]
mov edx, 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 ecx, dword [esp + 0x30]
dec ecx
push ecx
push 0x1040
fldcw word [esp + 0x32]
push edx
call esi
shr eax, 0x10
add eax, 4
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
push 1
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 case.0x46ae4e.20
mov eax, dword [esp + 0xa0]
cmp eax, 0x80000000
jne 0x46b763
mov eax, 0xc8
mov ecx, dword [0x4bb4a0]
mov edx, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push ebx
push 0x4a78b1
push str.SysTreeView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
cmp dword [esp + 0xe0], 0
mov ecx, dword [esp + 0x680]
mov dword [ecx + 0x4c], ebp
je 0x46b7d3
mov edx, dword [ebp]
or ebx, 0x100
push ebx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
lea edi, [esp + 0x74]
mov esi, ebp
call fcn.00473a60
mov eax, dword [esp + 0x8c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x46b7fd
push eax
mov eax, dword [ebp]
push 0
push 0x1109
push eax
call esi
cmp dword [esp + 0xa0], 0x80000000
jne case.0x46ae4e.20
mov edi, dword [esp + 0x680]
mov edx, dword [edi + 0x50]
movzx ecx, byte [esp + 0x1e]
imul edx, edx, 0x54
mov eax, dword [0x4bc3e4]
push ecx
mov ecx, dword [edx + eax + 0x50]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call esi
mov eax, dword [ebp]
push 0
push 0
push 0x111c
push eax
mov byte [esp + 0x2f], 1
call esi
mov dword [esp + 0xa0], eax
cmp eax, 2
jge 0x46b86c
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4bc3e4]
imul ecx, ecx, 0x54
mov eax, dword [ecx + edx + 0x44]
add eax, eax
mov dword [esp + 0xa0], eax
fild dword [esp + 0xa0]
fmul dword [esp + 0xa4]
call fcn.004a2770
add eax, 4
push 1
mov dword [esp + 0xa4], eax
push eax
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x46ae4e.20
test bl, 4
jne 0x46b8dc
cmp dword [esp + 0xd8], 0
jge 0x46b8ca
and ebx, 0xffefff7f
jmp 0x46b8d8
mov edx, dword [esp + 0x78]
not edx
and edx, 0x80
or ebx, edx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x68c]
cmp byte [ebx], 0
je 0x46b8fa
test byte [esp + 0x14], 4
je 0x46b8fa
mov edi, ebx
call fcn.00480a50
mov edi, eax
jmp 0x46b8fc
mov edi, ebx
mov eax, edi
test edi, edi
jne 0x46b904
mov eax, ebx
mov ecx, dword [0x4bb4a0]
mov edx, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0xa8]
push esi
push edx
mov edx, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xac]
push edx
mov edx, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x40]
push ecx
push eax
push str.edit
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x46b9bf
test byte [esp + 0x14], 0x20
je 0x46b978
mov cl, byte [esp + 0x200]
test cl, cl
je 0x46b978
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
movsx ecx, cl
push ecx
push 0xcc
push eax
call esi
jmp 0x46b97e
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0xd8]
test eax, eax
jns 0x46b992
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 0x46b9bf
mov edx, dword [ebp]
lea ecx, [esp + 0xe8]
push ecx
push eax
push 0xcb
push edx
call esi
test edi, edi
je case.0x46ae4e.20
cmp edi, ebx
je case.0x46ae4e.20
push edi
call fcn.004932d8
add esp, 4
jmp case.0x46ae4e.20
mov edi, dword [esp + 0x68c]
xor bl, bl
cmp byte [edi], bl
je 0x46ba30
push str.LongDate
push edi
call fcn.004932c1
add esp, 8
test eax, eax
jne 0x46ba0c
mov eax, dword [esp + 0x14]
and eax, 0xfffffff6
or eax, 4
mov dword [esp + 0x14], eax
jmp 0x46ba30
push str.Time
push edi
call fcn.004932c1
add esp, 8
test eax, eax
jne 0x46ba2e
mov ecx, dword [esp + 0x14]
and ecx, 0xfffffffb
or ecx, 9
mov dword [esp + 0x14], ecx
jmp 0x46ba30
mov bl, 1
mov eax, 2
cmp dword [esp + 0xa8], eax
jne 0x46ba42
or dword [esp + 0x14], eax
mov edx, dword [0x4bb4a0]
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 + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4a78b1
push str.SysDateTimePick32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test bl, bl
je 0x46baab
push edi
push 0
push 0x1005
push eax
call esi
mov eax, dword [esp + 0x1f8]
test eax, eax
je 0x46baca
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 0x46baf1
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 case.0x46ae4e.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
call esi
jmp case.0x46ae4e.20
cmp dword [esp + 0x1f4], 0
jne 0x46bb49
mov edx, dword [esp + 0x68c]
cmp byte [edx], 0
je 0x46bb49
lea eax, [esp + 0x1b4]
mov ecx, edx
call fcn.0047f880
mov dword [esp + 0x1f4], eax
cmp eax, 3
jne 0x46bb49
or ebx, 2
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xa0]
cmp ecx, 0x80000000
jne 0x46bb5d
mov ecx, 0x64
mov eax, dword [esp + 0x9c]
test eax, eax
jns 0x46bb6d
mov eax, 0x64
mov edx, dword [0x4bb4a0]
push 0
push edx
mov edx, dword [esp + 0x20]
push esi
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0xb0]
push eax
push ecx
push ebx
push 0x4a78b1
push str.SysMonthCal32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
mov ebx, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, ebx
and esi, 2
je 0x46bbcf
push 0
push 0x16e
push 0x1004
push eax
call edi
mov eax, dword [esp + 0x1f8]
test eax, eax
je 0x46bbee
mov edx, dword [ebp]
lea ecx, [esp + 0x1d4]
push ecx
push eax
push 0x1012
push edx
call edi
mov eax, dword [esp + 0x1f4]
test eax, eax
je 0x46bc64
test esi, esi
je 0x46bc4f
cmp eax, 1
jne 0x46bc3a
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 0x46bc62
mov ecx, dword [ebp]
lea eax, [esp + 0x1b4]
push eax
push 0
push 0x1002
push ecx
call edi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je 0x46bc7c
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call edi
mov esi, dword [esp + 0x680]
mov ecx, dword [esi + 0x50]
movzx eax, byte [esp + 0x1e]
imul ecx, ecx, 0x54
mov edx, dword [0x4bc3e4]
push eax
mov eax, dword [ecx + edx + 0x50]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call edi
cmp dword [esp + 0x9c], 0x80000000
mov byte [esp + 0x1f], 1
je 0x46bcc5
cmp dword [esp + 0xa0], 0x80000000
jne case.0x46ae4e.20
mov eax, dword [ebp]
lea edx, [esp + 0x4c]
push edx
push 0
push 0x1009
push eax
call edi
test eax, eax
je case.0x46ae4e.20
cmp dword [esp + 0x9c], 0
jge 0x46bd39
test bl, 0x10
je 0x46bcf4
mov eax, dword [esp + 0x54]
jmp 0x46bd0d
mov ecx, dword [ebp]
push 0
push 0
push 0x1015
push ecx
call edi
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jge 0x46bd0d
mov eax, ecx
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x80000000
jne 0x46bd25
mov dword [esp + 0x9c], eax
jmp 0x46bd39
add eax, 6
imul eax, ecx
mov edx, 0xfffffffa
sub edx, eax
mov dword [esp + 0x9c], edx
mov ecx, dword [esp + 0xa0]
cmp ecx, 0x80000000
jne 0x46be35
fldz
mov ecx, dword [esp + 0x58]
fld dword [esp + 0xa4]
mov dword [esp + 0xa0], ecx
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x46be33
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x46be35
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x46bdb2
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4bc3e4]
imul ecx, ecx, 0x54
mov edi, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x220]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov esi, dword [esp + 0x220]
test bl, 0x10
je 0x46bddf
mov edx, dword [esp + 0xa0]
lea eax, [edx + esi + 4]
mov dword [esp + 0xa0], eax
fild dword [esp + 0xa0]
fld dword [esp + 0xa4]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.004a2770
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 [0x4b1660]
fmulp st(2)
fsubrp st(1)
call fcn.004a2770
mov ecx, eax
push 1
mov dword [esp + 0xa4], ecx
push ecx
jmp 0x46b88c
fstp st(0)
push 1
push ecx
jmp 0x46b88c
mov edx, dword [0x4bb4a0]
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 + 0x38]
push eax
push ecx
push ebx
push 0x4a78b1
push str.msctls_hotkey32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
mov eax, dword [esp + 0x68c]
cmp byte [eax], 0
je 0x46beb3
push 0
call fcn.00473510
mov ecx, dword [ebp]
movzx eax, ax
push eax
push 0x401
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0xd8]
test eax, eax
jle case.0x46ae4e.20
mov edx, dword [ebp]
push 6
push eax
push 0x403
push edx
jmp 0x46c4b9
test bl, 0x10
je 0x46c09e
mov eax, dword [esp + 0x680]
cmp dword [eax + 8], 0
jne 0x46beff
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x46c09e
test byte [eax + 5], 0x80
je 0x46c09e
and dword [esp + 0x14], 0xffffffef
mov bl, 1
mov ecx, dword [0x4bb4a0]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xa0]
push 0
push ecx
mov ecx, dword [esp + 0xa4]
push esi
push edx
mov edx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 0x4a78b1
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
mov esi, dword [esp + 0x5c]
test bl, bl
je 0x46bf73
mov ecx, dword [esi]
push 0
push ecx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x680]
cmp dword [edi + 0x10], 0
je 0x46c0ed
test byte [esp + 0x14], 0x10
jne 0x46bf93
test bl, bl
je 0x46c0ed
mov eax, dword [ebp]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x4c]
push edx
push eax
call ebx
mov edx, dword [esp + 0x18]
push 2
lea ecx, [esp + 0x50]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
sub edx, eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x58]
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
mov ecx, dword [esp + 0x18]
push 2
lea eax, [esp + 0x30]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp byte [edi + 0xbf], 0
je 0x46c07d
test byte [esp + 0x14], 4
je 0x46c04f
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
add dword [esp + 0x54], 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 + 0x14], 4
je 0x46c0a5
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
sub ecx, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], ecx
jmp 0x46c0b4
xor bl, bl
jmp 0x46bf06
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x4c]
mov dword [esp + 0x9c], edx
cmp byte [esp + 0x201], 0
jne 0x46c10a
cmp byte [esi + 4], 9
jne 0x46c0f7
test byte [esp + 0x14], 0x40
mov byte [esp + 0x201], 1
je 0x46c0e0
mov dword [esp + 0xb0], 0x7fff
jmp 0x46c10a
mov dword [esp + 0xac], 0x7fff
jmp 0x46c10a
cmp byte [esp + 0x201], 0
jne 0x46c10a
mov byte [esp + 0x201], 1
mov dword [esp + 0xb0], 0x64
lea ecx, [esp + 0x74]
mov eax, ebp
call fcn.004737c0
mov esi, dword [esp + 0x68c]
call fcn.004162a0
mov edx, dword [ebp]
push eax
mov al, byte [ebp + 5]
and al, 0x80
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0xa
push 0
add ecx, 0x467
push ecx
push edx
jmp 0x46c4b9
mov eax, dword [0x4bb4a0]
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 + 0x38]
push ecx
push edx
push ebx
push 0x4a78b1
push str.msctls_trackbar32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
lea eax, [esp + 0x74]
mov esi, ebp
call fcn.004738a0
mov esi, dword [esp + 0x68c]
cmp byte [esi], 0
je case.0x46ae4e.20
call fcn.004162a0
test byte [ebp + 5], 0x80
je 0x46c1c0
push eax
mov edi, ebp
call fcn.00473860
mov ecx, dword [ebp]
push eax
push 1
push 0x405
push ecx
jmp 0x46c4b9
mov edx, dword [0x4bb4a0]
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 + 0x38]
push eax
push ecx
push ebx
push 0x4a78b1
push str.msctls_progress32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
mov eax, dword [esp + 0x680]
push ebx
push eax
lea eax, [esp + 0x7c]
mov ecx, ebp
call fcn.00473ab0
mov esi, dword [esp + 0x68c]
cmp byte [esi], 0
je 0x46c258
push 0
call fcn.004162a0
mov ecx, dword [ebp]
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [esp + 0x3d], 0
jmp case.0x46ae4e.20
mov edx, dword [0x4bb4a0]
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 + 0x38]
push eax
push ecx
push ebx
push 0x4a78b1
push str.SysTabControl32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
cmp byte [esp + 0x208], 0
mov esi, dword [esp + 0x680]
je 0x46c2e9
lea eax, [esp + 0x74]
push eax
mov ebx, ebp
call fcn.004746c0
test eax, eax
jne 0x46c2e9
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x46ae4e.20
mov al, byte [esp + 0x209]
test al, al
je 0x46c307
movsx edx, al
mov eax, dword [ebp]
push edx
push str.ahk_autosize
push eax
call dword [sym.imp.USER32.dll_SetPropA]
mov al, byte [esi + 0xb8]
mov byte [esi + 0xb9], al
inc al
push 0x473060
mov byte [esi + 0xba], 0
mov byte [esi + 0xb8], al
mov ecx, dword [ebp]
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [0x4bb4c8], eax
jmp case.0x46ae4e.20
cmp byte [0x4bd576], 0
jne 0x46c382
push 0x4b0580
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46c382
push str.AtlAxWinInit
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46c372
call eax
test eax, eax
setne byte [0x4bd576]
cmp byte [0x4bd576], 0
jne 0x46c382
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [0x4bb4a0]
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 + 0x6a4]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push ebx
push edx
push str.AtlAxWin
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
push eax
call fcn.00462e20
add esp, 4
test eax, eax
je 0x46c2d3
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x46c3f9
mov edi, eax
call fcn.00483290
jmp case.0x46ae4e.20
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp case.0x46ae4e.20
mov ax, word [esp + 0x20a]
test ax, ax
jne 0x46c42c
push 0x4a78b1
push str.A_window_class_is_required.
mov ecx, 0x4bc4c8
call fcn.0043b7d0
jmp 0x46c905
mov ecx, dword [0x4bb4a0]
mov edx, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0xa8]
push esi
push edx
mov edx, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xac]
push edx
mov edx, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0x6a8]
push edx
push ebx
movzx edx, ax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x46ae4e.20
mov ecx, dword [esp + 0x680]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x68c]
push esi
push edx
push eax
push ebx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowA]
mov dword [ebp], eax
test eax, eax
je case.0x46ae4e.20
mov ecx, dword [esp + 0x680]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0xd4]
cmp ecx, 0xffffffff
je case.0x46ae4e.20
push ecx
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x46c4eb
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46c4d7
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [esp + 0x680]
mov edx, dword [edi + 4]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x46c4f2
mov edi, dword [esp + 0x680]
cmp dword [ebp], 0
jne 0x46c511
push 0x4a78b1
push str.Cant_create_control.
mov ecx, 0x4bc4c8
call fcn.0043b7d0
jmp 0x46c905
mov al, byte [esp + 0x3f]
inc dword [edi + 0x10]
mov byte [edi + 0xbf], al
mov eax, dword [esp + 0x90]
test eax, eax
je 0x46c532
mov ecx, dword [ebp]
push eax
call fcn.004826f0
cmp byte [ebp + 4], 6
jne 0x46c556
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x46c550
push eax
mov eax, dword [edi + 0x10]
dec eax
push ebp
mov ecx, edi
call fcn.00473700
mov byte [edi + 0x44], 1
jmp 0x46c55a
mov byte [edi + 0x44], 0
test dword [esp + 0x78], 0x10000000
je 0x46c568
or byte [ebp + 5], 8
test dword [esp + 0x74], 0x8000000
je 0x46c576
or byte [ebp + 5], 0x10
cmp byte [esp + 0x3d], 0
jne 0x46c5a1
cmp dword [ebp + 0x10], 0xff000000
je 0x46c595
mov al, byte [ebp + 4]
cmp al, 5
je 0x46c5a1
cmp al, 6
je 0x46c5a1
cmp al, 3
je 0x46c5a1
cmp byte [ebp + 4], 3
jne 0x46c5ad
test byte [ebp + 5], 0x40
je 0x46c5ad
mov ecx, dword [ebp]
push ecx
call fcn.004820a0
add esp, 4
cmp byte [esp + 0x1f], 0
jne 0x46c5de
cmp byte [esp + 0x3c], 0
je 0x46c5de
mov eax, dword [edi + 0x50]
movzx edx, byte [esp + 0x1e]
imul eax, eax, 0x54
mov ecx, dword [0x4bc3e4]
push edx
mov edx, dword [eax + ecx + 0x50]
mov eax, dword [ebp]
push edx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x1fc], 4
jne 0x46c5f8
mov ecx, dword [ebp]
push 0
push 0
push 0xb
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x68c]
cmp byte [eax], 0
je 0x46c614
mov edx, dword [esp + 0xa8]
push edx
push edi
mov esi, ebp
call fcn.0046fa50
mov cl, byte [ebp + 4]
cmp cl, 0x13
jne 0x46c6e6
fldz
fcomp dword [esp + 0xa4]
fnstsw ax
test ah, 5
jp 0x46c6ce
mov ecx, dword [ebp]
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [esp + 0x14]
test al, 2
je 0x46c6ca
test al, al
js 0x46c6ca
mov edx, dword [esp + 0x14]
mov eax, dword [ebp]
and edx, 0xfffffffd
push edx
push 0xfffffffffffffff0
push eax
mov bl, 1
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [ebp]
lea ecx, [esp + 0x4c]
push ecx
push 1
push 0x1328
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test bl, bl
je 0x46c694
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
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 0x46c6e6
xor bl, bl
jmp 0x46c669
cmp cl, 0x13
jne 0x46c6e6
cmp byte [esp + 0x208], 0
je 0x46c6e6
mov eax, dword [ebp]
push edi
call fcn.00474790
cmp byte [esp + 0x1d], 0
je 0x46c755
mov ecx, dword [ebp]
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
sub eax, dword [esp + 0x50]
sub ecx, dword [esp + 0x4c]
cmp byte [esp + 0x684], 9
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], ecx
jne 0x46c755
test dword [esp + 0x14], 0x100000
je 0x46c755
mov eax, dword [esp + 0xdc]
test eax, eax
jns 0x46c743
lea eax, [ecx + ecx*2]
mov dword [esp + 0xdc], eax
mov edx, dword [ebp]
push 0
push eax
push 0x194
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x6c]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [esp + 0x680]
test ebx, ebx
je 0x46c7c6
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 4]
jne 0x46c7c6
cmp byte [esp + 0x3e], 0
je 0x46c7ad
mov edx, dword [ebp]
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [edi + 4]
push 2
lea eax, [esp + 0x50]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [edi + 4]
push 0
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [ebx + 5], 0x80
je 0x46c7c6
mov ecx, dword [ebp]
mov edx, dword [ebx]
push 0x13
push 0
push 0
push 0
push 0
push ecx
push edx
call esi
mov eax, dword [edi + 8]
test eax, eax
je 0x46c7dc
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [esp + 0x684], 0x19
je 0x46c900
mov edi, dword [esp + 0x680]
mov eax, dword [edi + 4]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x94]
cmp ebx, eax
je 0x46c839
mov edx, dword [esp + 0x98]
push 1
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x30]
push ecx
push eax
push ebx
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 0x46c840
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
mov dword [edi + 0x88], edx
mov dword [edi + 0x8c], esi
add edx, ecx
add esi, eax
mov dword [edi + 0x80], ecx
mov dword [edi + 0x84], eax
cmp ebx, dword [edi + 4]
jne 0x46c895
cmp byte [esp + 0x209], 0
jne 0x46c895
cmp edx, dword [edi + 0x90]
jle 0x46c887
mov dword [edi + 0x90], edx
cmp esi, dword [edi + 0x94]
jle 0x46c895
mov dword [edi + 0x94], esi
cmp byte [esp + 0x205], 0
jne 0x46c8e1
mov edi, dword [edi + 0x10]
cmp edi, 1
je 0x46c8e1
cmp edi, 2
jne 0x46c8bc
mov edi, dword [esp + 0x680]
mov edi, dword [edi + 0x18]
cmp byte [edi + 4], 0x19
je 0x46c8e1
mov eax, dword [esp + 0x680]
cmp edx, dword [eax + 0xa0]
jle 0x46c8d1
mov dword [eax + 0xa0], edx
cmp esi, dword [eax + 0xa4]
jle 0x46c900
mov dword [eax + 0xa4], esi
jmp 0x46c900
mov edi, dword [esp + 0x680]
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 + 0x670]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x66c
ret 0x10