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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b00ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa90
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [edi + 0x10]
cmp eax, 0x2af8
jb 0x464823
push 0x4b70dc
push str.Too_many_controls.
mov ecx, 0x4ddca0
call fcn.004302e0
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x14]
cmp eax, ecx
jb 0x464853
add ecx, 0x3e8
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
push dword [edi + 0x18]
call fcn.0049cfe0
add esp, 8
test eax, eax
je 0x4647fe
add dword [edi + 0x14], 0x3e8
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x10]
lea ecx, [eax + eax*4]
xorps xmm0, xmm0
mov eax, dword [edi + 0x18]
push esi
movups xmmword [eax + ecx*4], xmm0
mov dword [eax + ecx*4 + 0x10], 0
lea esi, [eax + ecx*4]
push esi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x14], esi
push eax
call fcn.0046af30
mov cl, byte [ebp + 8]
cmp cl, 0x14
jne 0x464892
or byte [esi + 5], 0x80
mov byte [ebp - 0x20], 0x13
mov byte [ebp - 0x1a], 0x13
jmp 0x4648b7
cmp cl, 0x15
jne 0x46489d
mov word [ebp - 0x7b], 0x301
mov edx, 0x13
movzx eax, cl
cmovne edx, eax
mov dword [ebp - 0x20], edx
mov byte [ebp - 0x1a], dl
cmp dl, 0x13
jne 0x464a49
cmp byte [edi + 0xb8], 0xff
jne 0x4648e6
push 0x4b70dc
push str.Too_many_tab_controls.
mov ecx, 0x4ddca0
call fcn.004302e0
pop esi
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov byte [esi + 6], 0xff
mov al, byte [edi + 0xb8]
mov byte [esi + 7], al
mov ch, byte [edi + 0xb9]
cmp ch, 0xff
je 0x46492b
mov esi, dword [edi + 0x10]
xor cl, cl
xor edx, edx
test esi, esi
je 0x464928
mov eax, dword [edi + 0x18]
nop dword [eax]
cmp byte [eax + 4], 0x13
jne 0x464920
cmp cl, ch
je 0x464a34
inc cl
inc edx
add eax, 0x14
cmp edx, esi
jb 0x464910
mov esi, dword [ebp - 0x14]
cmp dword [edi + 0x10], 0
mov edx, dword [sym.imp.KERNEL32.dll_MulDiv]
jne 0x4649c2
cmp dword [edi + 0x78], 0x80000000
jne 0x46497d
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4ddc5c]
push 0x60
push dword [0x4ddc8c]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4d46b8]
cvttsd2si eax, xmm0
push eax
call edx
mov edx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [edi + 0x78], eax
cmp dword [edi + 0x7c], 0x80000000
jne 0x4649b9
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4ddc5c]
push 0x60
push dword [0x4ddc8c]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4d46a0]
cvttsd2si eax, xmm0
push eax
call edx
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x78]
mov dword [edi + 0x80], eax
mov eax, dword [ebp - 0x20]
mov byte [esi + 4], al
mov edx, dword [ebp - 0x210]
mov al, byte [edi + 0x45]
or edx, 0x10000000
cmp byte [ebp - 0x20], 6
mov ecx, edx
mov byte [ebp - 0x7d], al
mov al, byte [edi + 0x44]
mov dword [ebp - 0x210], ecx
jne 0x464aa0
or ecx, 0x4000
mov dword [ebp - 0x210], ecx
test al, al
jne 0x464a0d
mov ecx, edx
or ecx, 0x24000
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x20]
cmp byte [esi + 4], 0xa
mov byte [ebp - 0x3f], 1
je 0x464a26
mov eax, dword [edi + 0x54]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 0x210]
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x1b4], eax
jmp 0x464ae1
test eax, eax
je 0x464928
push eax
mov ecx, edi
call fcn.00470100
jmp 0x464928
cmp dl, 0x19
jne 0x464a86
cmp dword [edi + 8], 0
je 0x464a7a
push 0x4b70dc
push str.Too_many_status_bars.
mov ecx, 0x4ddca0
call fcn.004302e0
pop esi
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov byte [esi + 6], 0xff
mov dword [ebp - 0x20], edx
jmp 0x46492b
mov al, byte [edi + 0xb9]
mov byte [esi + 6], al
mov al, byte [edi + 0xba]
mov byte [esi + 7], al
mov dword [ebp - 0x20], edx
jmp 0x46492b
test al, al
je 0x464ab0
or ecx, 0x20000
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x20]
cmp dl, 2
je 0x464acb
cmp dl, 0x10
je 0x464acb
cmp dl, 0x11
je 0x464acb
cmp dl, 0x12
jne 0x464a10
mov byte [ebp - 0x3f], 0
cmp dl, 0x12
jne 0x464ae1
mov dword [esi + 0x10], 0xff000000
mov ecx, dword [ebp - 0x210]
movzx eax, dl
mov dword [ebp - 0x44], eax
add eax, 0xfffffffc
cmp eax, 0x15
ja case.0x464af3.6
jmp dword [eax*4 + 0x467748]
or ecx, 0x210000
jmp 0x464bc3
or ecx, 0x210042
jmp 0x464bc3
or ecx, 0x210080
or dword [ebp - 0x208], 0x200
jmp 0x464bc3
or dword [ebp - 0x200], 0x30
or ecx, 0x10008
or dword [ebp - 0x208], 0x200
mov dword [ebp - 0x1fc], 1
jmp 0x464bc3
or ecx, 0x10027
or dword [ebp - 0x208], 0x200
jmp 0x464bc3
or ecx, 0x10000
or dword [ebp - 0x208], 0x200
jmp 0x464bc3
or ecx, 0x36
jmp 0x464bc3
or ecx, 0x1000c
jmp 0x464bc3
or ecx, 1
jmp 0x464bc3
movzx eax, byte [ebp - 0x7d]
xor edx, edx
cmp byte [ebp - 0x7b], dl
cmove eax, edx
or ecx, 0x10200
mov byte [ebp - 0x7d], al
jmp 0x464bc3
or ecx, 0x4000000
jmp 0x464bc3
test dword [edi + 0x3c], 0x40000
je 0x464bac
or ecx, 0x100
or ecx, 0x800
jmp 0x464bc3
cmp byte [0x4de963], 0
je case.0x464af3.6
or ecx, 0x10000
mov dword [ebp - 0x210], ecx
push 0
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call fcn.00468500
test eax, eax
jne 0x464bf5
pop esi
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1b4]
cmp dl, 0xa
je 0x464c06
mov eax, dword [esi + 0x10]
cmp eax, 0xff000000
mov eax, dword [ebp - 0x1b0]
setne byte [ebp - 0x81]
cmp eax, 0xff000000
jne 0x464c30
cmp dl, 0xb
je 0x464c51
mov dword [ebp - 0x1b0], 0xffffffff
jmp 0x464c51
cmp eax, 0xffffffff
jne 0x464c51
mov ecx, dword [edi + 0x5c]
cmp ecx, 0xff000000
je 0x464c51
cmp dl, 0x12
je 0x464c51
cmp dl, 0x19
cmovne eax, ecx
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1e8], 0x80000000
mov ecx, dword [ebp - 0x20c]
mov eax, dword [ebp + 0x10]
movss xmm1, dword [0x4d4688]
jne 0x464ce7
cmp dword [ebp - 0x1e4], 0x80000000
jne 0x464ce7
movss xmm0, dword [ebp - 0x1e0]
comiss xmm0, xmm1
ja 0x464ce7
mov edi, eax
test eax, eax
je 0x464cda
movzx eax, word [eax]
test ax, ax
je 0x464cda
mov esi, eax
nop word [eax + eax]
mov ecx, 0x4d2f24
mov edx, 0xa
nop word [eax + eax]
cmp si, dx
je 0x464cde
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x464cb0
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x464ca0
mov ecx, dword [ebp - 0x20c]
mov esi, dword [ebp - 0x14]
xor edi, edi
jmp 0x464cf1
mov ecx, dword [ebp - 0x20c]
mov esi, dword [ebp - 0x14]
mov edi, ecx
not edi
and edi, 0x2000
mov eax, dword [ebp - 0x204]
mov edx, ecx
not eax
mov dword [ebp - 0x54], edi
and eax, dword [ebp - 0x208]
not edx
and edx, dword [ebp - 0x210]
mov dword [ebp - 0x2c], eax
or edx, 0x40000000
mov eax, dword [ebp - 0x44]
add eax, 0xfffffffd
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x48], eax
cmp eax, 0x10
ja case.0x464d2d.10
movzx eax, byte [eax + 0x4677c8]
jmp dword [eax*4 + 0x4677a0]
and edx, 0xfffffff7
or edx, 7
jmp 0x464d49
test dl, 1
je 0x464d92
and edx, 0xfffffff1
or edx, 1
or edx, edi
mov dword [ebp - 0x18], edx
mov edi, dword [ebp - 0x10]
cmp byte [ebp - 0x20], 4
jne 0x465022
cmp dword [esi + 0xc], 0
jne 0x465022
test byte [esi + 5], 1
jne 0x465022
mov ecx, dword [edi]
cmp word [ecx], 0x31
jne 0x464eb1
cmp word [ecx + 2], 0
jne 0x464eb1
xor eax, eax
mov word [ebp - 0xa9c], ax
jmp 0x464ed0
and edx, 0xfffffff0
jmp 0x464d47
mov eax, edx
and eax, 6
cmp al, 6
jne 0x464da8
and edx, 0xfffffff6
or edx, 6
jmp 0x464d47
and edx, 0xfffffff3
or edx, 3
jmp 0x464d47
and edx, 0xfffffff9
or edx, 9
test edx, 0x20000
je 0x464d47
test ecx, 0x10000
jne 0x464d47
or edx, 0x10000
jmp 0x464d47
or edx, 3
jmp 0x464d49
mov edi, dword [ebp - 0x10]
test dl, 1
je 0x464def
and edx, 0xfffffff1
or edx, 1
mov dword [ebp - 0x18], edx
jmp 0x464d4f
and edx, 0xfffffff2
or edx, 2
mov dword [ebp - 0x18], edx
jmp 0x464d4f
or edx, 1
jmp 0x464d49
movss xmm0, dword [ebp - 0x1e0]
comiss xmm0, xmm1
ja 0x464e2c
push 0xa
push dword [ebp + 0x10]
call fcn.00496bcf
mov ecx, dword [ebp - 0x20c]
add esp, 8
mov edx, dword [ebp - 0x18]
test eax, eax
je 0x464e38
mov eax, ecx
not eax
and eax, 4
or edx, eax
mov dword [ebp - 0x18], edx
test dl, 4
je case.0x464d2d.10
not ecx
and ecx, 0x201040
or edx, ecx
jmp 0x464d49
mov edi, dword [ebp - 0x10]
or edx, 0x4000000
cmp dword [edi + 0x60], 0
je 0x464e65
test byte [esi + 5], 0x20
je 0x464e6e
cmp dword [esi + 0x10], 0xff000000
je 0x464e7a
or edx, 0x2000
mov byte [ebp - 0x7d], 0
jmp 0x464e80
and edx, 0xffffdfff
cmp dword [ebp - 0x1e8], 0x80000000
mov al, byte [ebp - 0x7a]
mov dword [ebp - 0x18], edx
je 0x464e97
and al, 0xfe
mov byte [ebp - 0x7a], al
cmp dword [ebp - 0x1e4], 0x80000000
je 0x464d4f
and al, 0xfd
mov byte [ebp - 0x7a], al
jmp 0x464d4f
lea edx, [ebp - 0xa9c]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x464ec0
push dword [ebp + 0x10]
lea eax, [ebp - 0xa9c]
push str.Button_s
push 0x400
push eax
call fcn.0047ca10
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b70dc
mov edx, 0x4d2f40
lea ecx, [ebp - 0xa9c]
call fcn.0047d1b0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b70dc
mov edx, 0x4d1dc4
lea ecx, [ebp - 0xa9c]
call fcn.0047d1b0
add esp, 0x40
lea ecx, [ebp - 0xa9c]
mov edx, 0x4cf2d0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b70dc
call fcn.0047d1b0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b70dc
mov edx, 0x4cf6dc
lea ecx, [ebp - 0xa9c]
call fcn.0047d1b0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b70dc
mov edx, 0x4d261c
lea ecx, [ebp - 0xa9c]
call fcn.0047d1b0
add esp, 0x48
lea ecx, [ebp - 0xa9c]
mov edx, 0x4d2f44
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4b70dc
call fcn.0047d1b0
add esp, 0x18
cmp word [ebp - 0xa9c], 0
je 0x464ffe
mov esi, dword [0x4ddcb0]
test esi, esi
je 0x464fdd
lea eax, [ebp - 0xa9c]
push eax
push dword [esi + 4]
call fcn.00499643
add esp, 8
test eax, eax
je 0x465000
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x464fc0
push 0
push 0
lea eax, [ebp - 0xa9c]
mov ecx, 0x4ddca0
push eax
call fcn.004216b0
mov esi, eax
test esi, esi
je 0x464ffe
cmp dword [esi + 0x14], 4
jle 0x465000
xor esi, esi
test esi, esi
je 0x46500a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x46501a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], esi
jmp 0x465025
mov eax, dword [ebp - 0x14]
mov dl, byte [eax + 6]
mov byte [ebp + 0xf], dl
cmp dl, 0xff
je 0x46505d
xor ecx, ecx
xor al, al
cmp dword [edi + 0x10], ecx
je 0x46505d
mov esi, dword [edi + 0x18]
mov dword [ebp - 0x30], esi
mov esi, dword [edi + 0x10]
mov edi, dword [ebp - 0x30]
cmp byte [edi + 4], 0x13
mov edi, dword [ebp - 0x10]
jne 0x465054
cmp al, dl
je 0x465082
inc al
add dword [ebp - 0x30], 0x14
inc ecx
cmp ecx, esi
jb 0x465042
xor edx, edx
mov dword [ebp - 0x30], edx
xor eax, eax
mov dword [ebp - 0x290], eax
mov dword [ebp - 4], eax
mov esi, dword [edi + 0x10]
test esi, esi
je 0x465087
mov eax, dword [edi + 0x18]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
add eax, 0xffffffec
jmp 0x46508d
mov edx, dword [ebp - 0x30]
jmp 0x465062
lea eax, [ebp - 0x29c]
cmp dword [ebp - 0x1f0], 0x80000000
mov dword [ebp - 0x50], eax
jne 0x465184
cmp dword [ebp - 0x1ec], 0x80000000
jne 0x465184
test edx, edx
je 0x46511b
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
test esi, esi
je 0x4650f8
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + 0x18]
add eax, 6
mov dl, byte [edx + 7]
mov byte [ebp + 0xb], dl
mov edx, esi
nop
mov cl, byte [ebp + 0xb]
cmp byte [eax + 1], cl
mov ecx, dword [ebp - 0x3c]
jne 0x4650e9
mov cl, byte [ebp + 0xf]
cmp byte [eax], cl
mov ecx, dword [ebp - 0x3c]
jne 0x4650e9
inc ecx
mov dword [ebp - 0x3c], ecx
add eax, 0x14
sub edx, 1
jne 0x4650d0
test ecx, ecx
jne 0x46511b
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.0046ff30
mov eax, dword [edi + 0x78]
add eax, dword [ebp - 0x60]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x1f0], eax
mov eax, dword [edi + 0x7c]
add eax, dword [ebp - 0x5c]
jmp 0x465136
mov eax, dword [edi + 0x80]
mov dword [ebp - 0x1f0], eax
mov eax, dword [edi + 0x8c]
add eax, dword [edi + 0x84]
add eax, dword [edi + 0x7c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1ec], eax
cmp cl, 1
je 0x465149
cmp cl, 0x17
jne 0x465187
test esi, esi
je 0x465187
mov edx, dword [ebp - 0x50]
mov al, byte [edx + 4]
cmp al, 1
je 0x46515b
cmp al, 0x17
jne 0x465187
mov ecx, dword [ebp - 0x14]
mov al, byte [edx + 6]
cmp al, byte [ecx + 6]
jne 0x465184
mov al, byte [edx + 7]
cmp al, byte [ecx + 7]
jne 0x465184
push 0x60
push dword [0x4ddc8c]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x20]
cmp cl, 0xe
je 0x46519a
cmp cl, 0xa
je 0x46519a
cmp cl, 0xb
je 0x46519a
xor cl, cl
jmp 0x46519c
mov cl, 1
mov ch, cl
mov byte [ebp + 0xb], cl
xor ch, 1
cmp dword [ebp - 0x1e4], 0x80000000
mov byte [ebp - 0x19], ch
jne 0x46530c
movss xmm1, dword [0x4d4678]
comiss xmm1, dword [ebp - 0x1e0]
jbe 0x46530c
mov esi, dword [ebp - 0x48]
cmp esi, 0x15
ja case.0x4651df.1
movzx eax, byte [esi + 0x467808]
jmp dword [eax*4 + 0x4677dc]
mov edx, dword [ebp - 0x18]
mov eax, edx
and al, 3
mov dword [ebp - 0x1e0], 0x40400000
cmp al, 1
je 0x465346
test edx, 0x400
jne 0x465346
xor ch, ch
mov byte [ebp - 0x19], ch
jmp 0x465346
mov dword [ebp - 0x1e0], 0x40000000
jmp 0x465346
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
jne case.0x4651df.1
test byte [ebp - 0x18], 4
je 0x465246
mov dword [ebp - 0x1e0], 0x40400000
jmp 0x465346
mov dword [ebp - 0x1e0], 0x3f800000
jmp case.0x4651df.1
mov dword [ebp - 0x1e0], 0x3f800000
jmp 0x465346
test byte [ebp - 0x18], 0x40
je 0x46529f
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4ddc5c]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
push 0x60
push dword [0x4ddc8c]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov cl, byte [ebp + 0xb]
mov ch, byte [ebp - 0x19]
mov dword [ebp - 0x1e4], eax
jmp case.0x4651df.1
mov dword [ebp - 0x1e0], 0x40a00000
jmp case.0x4651df.1
mov edx, dword [ebp - 0x18]
test dl, 2
je 0x4652c2
mov dword [ebp - 0x1e0], 0x40a00000
jmp 0x465346
mov eax, dword [ebp - 0x1c4]
mov ecx, 0x14
cmp eax, 1
cmovl eax, ecx
add eax, 5
test dl, 0x10
jne 0x46527f
test dl, 8
je 0x4652e5
add eax, 0x10
jmp 0x46527f
add eax, 8
jmp 0x46527f
test byte [ebp - 0x18], 4
je 0x46526a
mov dword [ebp - 0x1e0], 0x40a00000
jmp 0x465346
mov dword [ebp - 0x1e0], 0x41200000
jmp case.0x4651df.1
mov eax, dword [ebp - 0x20]
cmp al, 7
je 0x465317
cmp al, 8
jne 0x46531e
or dword [ebp - 0x18], 0x400
mov esi, dword [ebp - 0x48]
movss xmm0, dword [ebp - 0x1e0]
xor edx, edx
comiss xmm0, dword [0x4d4664]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x4c], edx
jbe 0x4654ce
movss xmm1, dword [0x4d4678]
cmp byte [ebp - 0x20], 3
je 0x465355
mov al, byte [ebp - 0x1a]
sub al, 7
cmp al, 1
ja 0x465369
movss xmm0, dword [ebp - 0x1e0]
addss xmm0, xmm1
movss dword [ebp - 0x1e0], xmm0
test ch, ch
je 0x46549e
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul edx, dword [edi + 0x50], 0x94
mov ecx, dword [0x4ddc5c]
mov dword [ebp - 0x24], eax
push dword [edx + ecx + 0x90]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x288]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
movss xmm2, dword [ebp - 0x1e0]
cvtps2pd xmm0, xmm2
addsd xmm0, qword [0x4d4698]
cvttsd2si ecx, xmm0
movd xmm0, dword [ebp - 0x288]
cvtdq2ps xmm0, xmm0
lea eax, [ecx - 1]
imul eax, dword [ebp - 0x278]
mulss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x4d4698]
cvttsd2si edx, xmm0
mov dword [ebp - 0x1e4], edx
cmp esi, 0x15
ja case.0x46540b.2
movzx eax, byte [esi + 0x467834]
jmp dword [eax*4 + 0x467820]
push 0x60
push dword [0x4ddc8c]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x1e4], eax
test dword [ebp - 0x18], 0x100000
je case.0x46540b.2
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [ebp - 0x1e4], eax
mov edx, dword [ebp - 0x24]
jmp 0x4654ce
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4ddc5c]
push 0x60
push dword [0x4ddc8c]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x1e4], eax
mov edx, dword [ebp - 0x24]
jmp 0x4654ce
mov eax, dword [edi + 0x7c]
imul eax, ecx
add eax, edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1e4], eax
jmp 0x4654ce
lea eax, [ecx + 1]
imul eax, dword [edi + 0x7c]
add eax, edx
mov dword [ebp - 0x1e4], eax
mov edx, dword [ebp - 0x24]
jmp 0x4654ce
xor edx, edx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x24], edx
test cl, cl
jne 0x4654ce
push 0x60
push dword [0x4ddc8c]
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x1e4], eax
xor eax, eax
xor edx, edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x1e4], 0x80000000
mov byte [ebp - 0x3d], 0
je 0x4654ee
cmp dword [ebp - 0x1e8], 0x80000000
jne 0x465b74
xor eax, eax
mov esi, 0x400
mov dword [ebp + 8], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 0x16
ja case.0x46550f.2
movzx eax, byte [eax + 0x467858]
jmp dword [eax*4 + 0x46784c]
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je case.0x46550f.2
test edx, edx
jne 0x465555
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4ddc5c]
mov dword [ebp - 0x24], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x288]
push eax
push edx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov esi, dword [ebp - 0x274]
add esi, 4
test dword [ebp - 0x18], 0x200000
mov dword [ebp + 8], esi
je 0x465585
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov dword [ebp + 8], esi
mov esi, dword [ebp + 0x10]
cmp word [esi], 0
je 0x4655b9
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465593
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0xa
jne 0x4655b9
mov eax, dword [ebp - 0x278]
add eax, dword [ebp - 0x288]
mov dword [ebp - 0x3c], eax
mov esi, 0x2c40
mov ecx, dword [ebp - 0x24]
mov edi, esi
test ecx, ecx
jne 0x4655fb
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
imul ecx, dword [eax + 0x50], 0x94
mov eax, dword [0x4ddc5c]
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x20]
cmp al, 1
jne 0x465617
mov edx, dword [ebp - 0x18]
mov esi, edx
and esi, 0x80
or esi, 4
shl esi, 4
or esi, edi
jmp 0x465651
cmp al, 5
je 0x46561f
cmp al, 6
jne 0x46564e
lea eax, [ebp - 0x288]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [ebp + 8]
add eax, dword [ebp - 0x274]
add edi, 2
mov edx, dword [ebp - 0x18]
add edi, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp + 8], edi
jmp 0x465654
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp + 8]
test edx, 0x800000
je 0x465680
cmp al, 1
je 0x465664
cmp al, 0x17
jne 0x465680
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
add edi, edi
push 6
mov dword [ebp + 8], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x1e8], 0x80000000
je 0x46568f
or esi, 0x10
cmp dword [ebp - 0x1e8], 0x80000000
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
jne 0x4656bb
mov dword [ebp - 0x218], 0
jmp 0x4656c9
mov eax, dword [ebp - 0x1e8]
sub eax, edi
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x1e4]
xor ecx, ecx
cmp eax, 0x80000000
cmove eax, ecx
mov dword [ebp - 0x214], eax
xor eax, eax
cmp byte [ebp - 0x20], 0x17
mov dword [ebp - 0x58], eax
jne 0x4658de
mov eax, dword [ebp - 0x18]
mov ecx, esi
or ecx, 0x800
and al, 4
cmove ecx, esi
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465707
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00495cc0
mov ecx, dword [ebp + 0x10]
mov esi, eax
mov eax, ecx
mov dword [ebp - 0x34], esi
add esp, 4
mov dword [ebp - 0x38], eax
mov edi, esi
movzx ecx, word [ecx]
mov dword [ebp + 0xc], edi
test cx, cx
je 0x46589c
cmp cx, 0x3c
jne 0x465870
movzx eax, word [eax + 2]
mov esi, eax
test eax, 0xffffff80
je 0x46576b
xor eax, eax
jmp 0x465776
push 2
push eax
call fcn.0049bd84
add esp, 8
mov ecx, esi
and ecx, 0xffdf
test eax, eax
movzx edx, cx
mov ecx, esi
cmove edx, ecx
cmp dx, 0x41
jne 0x465870
mov esi, dword [ebp - 0x38]
add esi, 4
movzx eax, word [esi]
cmp eax, 0x20
je 0x4657a5
cmp eax, 9
jne 0x4657aa
add esi, 2
jmp 0x465798
cmp eax, 0x3e
je 0x46581a
nop
movzx ecx, word [esi]
mov eax, ecx
test eax, 0xffffff80
jne 0x4657d6
push 0x107
push eax
call fcn.0049bd84
movzx ecx, word [esi]
add esp, 8
test eax, eax
je 0x4657d6
add esi, 2
jmp 0x4657b0
cmp cx, 0x3d
jne 0x465870
mov edx, 0x22
cmp dx, word [esi + 2]
jne 0x465870
push edx
lea eax, [esi + 4]
push eax
call fcn.00496bcf
add esp, 8
test eax, eax
je 0x465870
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x465810
cmp eax, 9
jne 0x465815
add esi, 2
jmp 0x465803
cmp eax, 0x3e
jne 0x4657b0
add esi, 2
je 0x465870
mov edx, 0x4d2f48
mov ecx, esi
call fcn.0047cda0
mov edi, eax
mov dword [ebp - 0x5c], edi
test edi, edi
je 0x46586d
mov edx, edi
xor eax, eax
sub edx, esi
xor ecx, ecx
inc edx
shr edx, 1
cmp esi, edi
cmova edx, eax
test edx, edx
je 0x465865
mov edi, dword [ebp + 0xc]
sub esi, edi
nop dword [eax]
mov ax, word [esi + edi]
inc ecx
mov word [edi], ax
add edi, 2
cmp ecx, edx
jb 0x465850
mov dword [ebp + 0xc], edi
mov edi, dword [ebp - 0x5c]
lea eax, [edi + 6]
mov edi, dword [ebp + 0xc]
jmp 0x465882
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x38]
mov ax, word [eax]
mov word [edi], ax
add edi, 2
mov eax, dword [ebp - 0x38]
mov dword [ebp + 0xc], edi
add eax, 2
mov dword [ebp - 0x38], eax
movzx eax, word [eax]
mov ecx, eax
test ax, ax
mov eax, dword [ebp - 0x38]
jne 0x465750
mov esi, dword [ebp - 0x34]
xor eax, eax
mov word [edi], ax
cmp edi, esi
jbe 0x4658ac
movzx eax, word [edi - 2]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x28]
cmp word [esi], 0
lea eax, [ebp - 0x220]
push eax
push 0xffffffffffffffff
mov eax, 0x4d2f54
cmovne eax, esi
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
mov edi, eax
call fcn.00495cc9
mov ecx, dword [ebp - 0x58]
add esp, 4
jmp 0x465928
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x220]
push eax
push 0xffffffffffffffff
mov eax, 0x4d2f54
cmp word [esi], cx
cmovne eax, esi
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp word [esi], 0
mov edi, eax
je 0x465926
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465910
sub ecx, edx
sar ecx, 1
movzx ecx, word [esi + ecx*2 - 2]
jmp 0x465928
xor ecx, ecx
mov esi, dword [ebp - 0x218]
mov eax, dword [ebp - 0x44]
sub esi, dword [ebp - 0x220]
sub eax, 1
je 0x46594e
sub eax, 3
je 0x465948
sub eax, 8
je 0x46594e
jmp 0x465972
cmp dword [ebp - 0x54], 0
jne 0x465972
test cx, cx
je 0x465972
movzx eax, cx
lea ecx, [ebp - 0x64]
push ecx
push eax
push eax
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
test eax, eax
je 0x465972
mov eax, dword [ebp - 0x5c]
test eax, eax
jns 0x465972
sub esi, eax
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [ebp - 0x20]
cmp eax, 0x80000000
je 0x465993
cmp edi, eax
jle 0x465aab
cmp cl, 0xc
je 0x465aab
mov edx, dword [ebp - 0x3c]
add edx, edi
mov dword [ebp - 0x1e4], edx
cmp cl, 0xc
jne 0x465a7c
push 0x60
push dword [0x4ddc8c]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x1e4], eax
test dword [ebp - 0x18], 0x100000
je 0x4659d4
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [ebp - 0x1e4], eax
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1e8]
cmp eax, 0x80000000
je 0x4659eb
cmp esi, eax
jle case.0x46550f.2
mov eax, dword [ebp + 8]
add eax, esi
mov byte [ebp - 0x3d], 1
mov dword [ebp - 0x1e8], eax
cmp cl, 4
jne case.0x46550f.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
imul edx, dword [edi + 0x50], 0x94
add eax, eax
mov ecx, dword [0x4ddc5c]
mov ecx, dword [edx + ecx + 0x84]
add ecx, eax
add dword [ebp - 0x1e8], ecx
cmp dword [ebp - 0x1e8], 0x80000000
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
jne case.0x465a75.1
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4ddc5c]
push 0x60
push dword [0x4ddc8c]
mov eax, dword [ecx + eax + 0x84]
mov ecx, eax
shl ecx, 4
sub ecx, eax
push ecx
call esi
mov edx, eax
mov eax, dword [ebp - 0x48]
cmp eax, 0x15
ja case.0x465a75.1
movzx ecx, byte [eax + 0x467890]
jmp dword [ecx*4 + 0x467870]
mov edi, dword [ebp - 0x10]
cmp cl, 4
jne 0x4659da
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4ddc5c]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
add eax, edx
mov dword [ebp - 0x1e4], eax
jmp 0x4659d7
mov edi, dword [ebp - 0x10]
jmp 0x4659da
mov dword [ebp - 0x1e8], edx
jmp case.0x465a75.1
lea eax, [edx + edx]
mov dword [ebp - 0x1e8], eax
jmp case.0x465a75.1
mov ecx, dword [ebp - 0x18]
test cl, 0x40
je 0x465b2d
mov dword [ebp - 0x1e8], edx
jmp 0x465b7d
mov ecx, dword [ebp - 0x18]
test cl, 2
je 0x465b1d
mov eax, dword [ebp - 0x1c4]
mov edx, 0x14
cmp eax, 1
cmovl eax, edx
add eax, 5
test cl, 0x10
jne 0x465b0d
test cl, 8
je 0x465b0a
add eax, 0x10
jmp 0x465b0d
add eax, 8
push 0x60
push dword [0x4ddc8c]
push eax
call esi
mov ecx, dword [ebp - 0x18]
mov edx, eax
mov dword [ebp - 0x1e8], edx
jmp 0x465b7d
mov ecx, dword [ebp - 0x18]
test cl, 4
je 0x465b1d
imul ecx, dword [edi + 0x50], 0x94
mov eax, dword [0x4ddc5c]
push 0x60
push dword [0x4ddc8c]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
push eax
call esi
mov dword [ebp - 0x1e8], eax
jmp case.0x465a75.1
mov eax, dword [edi + 0x78]
lea eax, [edx + eax*2]
mov dword [ebp - 0x1e8], eax
jmp case.0x465a75.1
mov eax, dword [edi + 0x78]
lea eax, [eax + eax*2]
lea eax, [eax + edx*2]
mov dword [ebp - 0x1e8], eax
jmp case.0x465a75.1
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x18]
cmp byte [ebp - 0x20], 0xc
jne 0x465c87
test cl, 4
jne 0x465c87
movss xmm0, dword [0x4d4678]
comiss xmm0, dword [ebp - 0x1e0]
jbe 0x465c87
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x465bda
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [edi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4ddc5c]
mov dword [ebp - 0x24], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x288]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x60
push dword [0x4ddc8c]
push 8
call esi
mov esi, dword [ebp - 0x1e4]
mov ecx, dword [ebp - 0x288]
sub esi, eax
mov edx, dword [ebp - 0x18]
sub esi, ecx
test edx, 0x100000
je 0x465c22
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x288]
sub esi, eax
mov edx, dword [ebp - 0x18]
test esi, esi
jle 0x465c7d
mov eax, dword [ebp - 0x278]
add eax, ecx
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
addss xmm1, dword [0x4d4678]
comiss xmm1, dword [0x4d4688]
movss dword [ebp - 0x1e0], xmm1
jbe 0x465c87
mov ecx, dword [ebp - 0x20c]
not ecx
mov eax, ecx
and eax, 4
or edx, eax
mov dword [ebp - 0x18], edx
test dl, 4
je 0x465c87
and ecx, 0x201040
or edx, ecx
mov dword [ebp - 0x18], edx
jmp 0x465c87
mov dword [ebp - 0x1e0], 0x3f800000
cmp byte [ebp - 0x7d], 0
mov eax, dword [edi + 4]
mov esi, dword [edi + 0x10]
sete byte [ebp - 0x3e]
push eax
mov byte [ebp - 0x1a], 0
add esi, 3
mov dword [ebp - 0x28], eax
mov byte [ebp + 0xf], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x465cbf
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [ebp + 0xb], 1
test eax, eax
je 0x465cc3
mov byte [ebp + 0xb], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x34], edi
cmp byte [eax + 6], 0xff
mov eax, dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [ebp - 0x48], eax
jae 0x465d6d
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x465db9
push 0x4d2f58
push dword [eax]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x465d38
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x1ec]
push 1
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x60]
push ecx
push eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [ebp - 0x48]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x30]
push 0xfffffffffffffff0
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x465db9
mov eax, dword [ebp - 0x30]
push 0
push 0
push 0x130b
push dword [eax]
call edi
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + 7]
cmp eax, ecx
jne 0x465db9
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x40], al
mov edx, dword [ebp - 0x18]
mov ecx, dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x44]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
dec eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [ebp - 0x44], ecx
mov ecx, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0x54], edi
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x5c], ecx
cmp eax, 0x18
ja case.0x465db2.20
jmp dword [eax*4 + 0x4678a8]
mov edx, dword [ebp - 0x18]
and edx, 0xefffffff
mov dword [ebp - 0x18], edx
jmp 0x465d70
push 0
push dword [0x4dc464]
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push dword [ebp + 0x10]
push str.static
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x465e25
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x465e1b
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0
jne 0x467342
mov eax, str.Cant_create_control.
push 0x4b70dc
push eax
mov ecx, 0x4ddca0
call fcn.004302e0
mov esi, eax
jmp 0x467729
push 0
push dword [0x4dc464]
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push dword [ebp + 0x10]
push str.SysLink
jmp 0x465df4
mov ecx, dword [ebp - 0x1e8]
xor eax, eax
cmp ecx, 0x80000000
cmove ecx, eax
mov eax, dword [ebp - 0x1e4]
xor edi, edi
mov dword [ebp - 0x1e8], ecx
push edi
push dword [0x4dc464]
cmp eax, 0x80000000
push esi
push dword [ebp - 0x28]
mov esi, dword [ebp + 0x10]
cmove eax, edi
push eax
push ecx
push dword [ebp - 0x1ec]
mov dword [ebp - 0x1e4], eax
push dword [ebp - 0x1f0]
push edx
push esi
push str.static
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x465db2.20
push dword [ebp - 0x1a0]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push esi
push ecx
call fcn.0046b220
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x465e05
mov byte [ebp - 0x1a], 1
jmp 0x465e05
push 0
push dword [0x4dc464]
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push dword [ebp + 0x10]
push str.button
jmp 0x465df4
push 0
push dword [0x4dc464]
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov dword [ecx], eax
test eax, eax
je 0x465e05
test byte [ebp - 0x18], 1
je 0x465e05
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x10]
cmp ecx, eax
jae 0x465fcd
mov eax, dword [esi + 0x18]
lea ecx, [ecx + ecx*4]
push 1
push 0xfffffffffffffff0
push dword [eax + ecx*4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffe
push eax
mov eax, dword [esi + 0x1c]
push 0xf4
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x18]
push dword [eax + ecx*4]
call edi
mov eax, dword [esi + 0x10]
push 0
mov dword [esi + 0x1c], eax
add eax, 3
push eax
push 0x401
push dword [esi + 4]
call edi
mov eax, dword [ebp - 0x18]
push 1
movzx eax, ax
push eax
mov eax, dword [ebp - 0x14]
push 0xf4
push dword [eax]
call edi
jmp 0x465e05
push 0
push dword [0x4dc464]
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x465db2.20
mov ecx, dword [ebp - 0x1a4]
test ecx, ecx
je case.0x465db2.20
push 0
push ecx
push 0xf1
push eax
call edi
jmp case.0x465db2.20
cmp dword [ebp - 0x1ac], 0
je 0x466074
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 4]
cmp al, 8
jne 0x466074
and edx, 0xffffffbf
mov dword [ebp - 0x18], edx
push 0
push dword [0x4dc464]
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push 0x4b70dc
push str.Combobox
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
test eax, eax
je 0x4661a7
movzx ecx, byte [ebp + 0xb]
push ecx
mov ecx, dword [ebp - 0x10]
imul edx, dword [ecx + 0x50], 0x94
mov ecx, dword [0x4ddc5c]
push dword [edx + ecx + 0x90]
push 0x30
push eax
call edi
cmp byte [ebp - 0x19], 0
je 0x466177
push 0
push 0
push 0x154
push dword [esi]
call edi
mov ecx, dword [ebp - 0x18]
mov edi, eax
xor eax, eax
and cl, 3
cmp cl, 1
push 0x60
push dword [0x4ddc8c]
sete al
push 8
lea eax, [eax*2 + 2]
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [ebp + 0xc]
add eax, esi
mov ecx, dword [ebp - 0x1e4]
lea eax, [eax + edi*2]
cmp ecx, eax
jge 0x466137
mov ecx, eax
mov dword [ebp - 0x1e4], ecx
jmp 0x46617d
movss xmm0, dword [ebp - 0x1e0]
comiss xmm0, dword [0x4d4664]
jbe 0x46617d
push 0x60
push dword [0x4ddc8c]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x1e0]
cvttss2si ecx, xmm0
add ecx, eax
add ecx, esi
mov dword [ebp - 0x1e4], ecx
jmp 0x46617d
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x14]
push 1
push ecx
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [eax]
call dword [ebp - 0x38]
mov al, 1
mov byte [ebp - 0x1a], al
mov byte [ebp + 0xf], al
jmp case.0x465db2.20
mov al, byte [ebp - 0x1a]
mov byte [ebp + 0xf], al
jmp case.0x465db2.20
push 0
push dword [0x4dc464]
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push 0x4b70dc
push str.Listbox
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x14]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x4661a7
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x466211
lea ecx, [ebp - 0x19c]
push ecx
push eax
push 0x192
push edx
call edi
mov edx, dword [esi]
movzx eax, byte [ebp + 0xb]
push eax
mov eax, dword [ebp - 0x10]
imul ecx, dword [eax + 0x50], 0x94
mov eax, dword [0x4ddc5c]
push dword [ecx + eax + 0x90]
push 0x30
push edx
call edi
push 0
push 0
push 0x1a1
push dword [esi]
call edi
push 0x60
push dword [0x4ddc8c]
mov edi, eax
push 8
mov dword [ebp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea esi, [edi + eax]
mov edi, dword [ebp - 0x18]
and edi, 0x100000
je 0x46626b
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [ebp - 0x1e4]
cmp ecx, esi
jge 0x466279
mov ecx, esi
jmp 0x4662ca
movss xmm0, dword [ebp - 0x1e0]
comiss xmm0, dword [0x4d4664]
jbe 0x4662d0
push 0x60
push dword [0x4ddc8c]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x1e0]
cvttss2si ecx, xmm0
add ecx, eax
mov dword [ebp - 0x1e4], ecx
test edi, edi
je 0x4662d0
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x1e4]
add ecx, eax
mov dword [ebp - 0x1e4], ecx
mov eax, dword [ebp - 0x14]
push 1
push ecx
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [eax]
call dword [ebp - 0x38]
mov al, 1
mov byte [ebp - 0x1a], al
mov byte [ebp + 0xf], al
jmp case.0x465db2.20
mov eax, dword [ebp - 0x1fc]
cmp eax, 4
je 0x46630d
and edx, 0xfffffffc
or edx, eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1e4]
mov ecx, 0xc8
push 0
push dword [0x4dc464]
cmp eax, 0x80000000
push esi
push dword [ebp - 0x28]
cmove eax, ecx
push eax
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push 0x4b70dc
push str.SysListView32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x465db2.20
push 0x3f8
call fcn.004997ae
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ecx + 0x10], eax
test eax, eax
jne 0x46638d
push dword [ecx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp case.0x465db2.20
mov esi, dword [ebp - 0x10]
push 0x3f8
push 0
mov dword [esi + 0x48], ecx
push dword [ecx + 0x10]
call fcn.004971b0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [edx + 0x10]
mov dword [eax], 0xffffffff
mov ecx, dword [edx + 0x10]
mov al, byte [ebp - 0x7c]
mov byte [ecx + 5], al
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4663c5
or byte [eax + 5], 0x80
cmp dword [ebp - 0x1fc], 4
jne 0x4663de
push 0
push 4
push 0x108e
push dword [edx]
call edi
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x4663f4
push eax
push 0
push 0x1036
push dword [edx]
call edi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x14]
call fcn.0046f6b0
cmp dword [ebp - 0x1e4], 0x80000000
jne 0x465e05
imul ecx, dword [esi + 0x50], 0x94
movzx eax, byte [ebp + 0xb]
push eax
mov eax, dword [0x4ddc5c]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call edi
mov eax, dword [ebp - 0x1fc]
mov byte [ebp + 0xf], 1
sub eax, 1
je 0x466588
sub eax, 3
je 0x46655a
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x466485
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [esi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4ddc5c]
mov dword [ebp - 0x24], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x288]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [ebp - 0x1fc], 0
jne 0x46651f
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x1033
push dword [eax]
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4d4800]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [ebp - 0x1e0]
subss xmm0, dword [0x4d4678]
mulss xmm0, xmm1
call fcn.004af080
mov esi, eax
push 0xc
shr esi, 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm1, esi
mov esi, dword [ebp - 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebp - 0x288]
cvtdq2ps xmm0, xmm0
add eax, 0x10
mulss xmm0, dword [ebp - 0x1e0]
addss xmm0, xmm1
cvttss2si ecx, xmm0
add eax, ecx
jmp 0x4665ab
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x288]
cmp eax, ecx
movss xmm0, dword [ebp - 0x1e0]
cmovg ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
subss xmm0, dword [0x4d4678]
addss xmm1, xmm0
cvttss2si eax, xmm1
add eax, 0xb
jmp 0x4665ab
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x1033
push dword [eax]
call edi
shr eax, 0x10
sub eax, 3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x1e0]
cvttss2si eax, xmm0
add eax, 7
jmp 0x4665ab
movss xmm0, dword [ebp - 0x1e0]
push 0xffffffffffffffff
call fcn.004af080
dec eax
push eax
mov eax, dword [ebp - 0x14]
push 0x1040
push dword [eax]
call edi
shr eax, 0x10
add eax, 4
push 1
push eax
push dword [ebp - 0x1e8]
mov dword [ebp - 0x1e4], eax
push dword [ebp - 0x1ec]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x1f0]
push dword [eax]
call dword [ebp - 0x38]
jmp 0x465e05
mov eax, dword [ebp - 0x1e4]
mov ecx, 0xc8
push 0
push dword [0x4dc464]
cmp eax, 0x80000000
push esi
push dword [ebp - 0x28]
cmove eax, ecx
push eax
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push 0x4b70dc
push str.SysTreeView32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov dword [ecx], eax
test eax, eax
je 0x465e05
cmp dword [ebp - 0x1a4], 0
mov dword [esi + 0x4c], ecx
je 0x466648
mov eax, dword [ebp - 0x18]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push dword [ecx]
call dword [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
cmp byte [ebp - 0x81], 0
je 0x46665f
push dword [ecx + 0x10]
push 0
push 0x111e
push dword [ecx]
call edi
mov eax, dword [ebp - 0x1b0]
cmp eax, 0xffffffff
je 0x466688
cmp eax, 0xff000000
jne 0x466679
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x111d
push dword [eax]
call edi
mov eax, dword [ebp - 0x1f8]
test eax, eax
je 0x4666a1
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x1109
push dword [eax]
call edi
cmp dword [ebp - 0x1e4], 0x80000000
jne 0x465e05
imul ecx, dword [esi + 0x50], 0x94
movzx eax, byte [ebp + 0xb]
push eax
mov eax, dword [0x4ddc5c]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call edi
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x111c
push dword [eax]
mov byte [ebp + 0xf], 1
call edi
mov dword [ebp - 0x1e4], eax
cmp eax, 2
jge 0x466706
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4ddc5c]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x1e0]
cvttss2si eax, xmm0
jmp 0x4665a8
test dl, 4
jne 0x466746
cmp dword [ebp - 0x1ac], 0
jge 0x466734
and edx, 0xffefff7f
jmp 0x466743
mov eax, dword [ebp - 0x20c]
not eax
and eax, 0x80
or edx, eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x466765
test dl, 4
je 0x466765
mov ecx, eax
call fcn.0047d700
mov edx, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp + 0x10]
jmp 0x466767
mov edi, eax
push 0
push dword [0x4dc464]
test edi, edi
push esi
push dword [ebp - 0x28]
cmovne eax, edi
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push eax
push str.edit
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
test edx, edx
je 0x46680d
test byte [ebp - 0x18], 0x20
mov esi, dword [ebp - 0x34]
je 0x4667ce
mov cx, word [ebp - 0x84]
test cx, cx
je 0x4667ce
push 0
movzx eax, cx
push eax
push 0xcc
push edx
call esi
mov eax, dword [ebp - 0x1ac]
xor ecx, ecx
test eax, eax
push ecx
cmovs eax, ecx
push eax
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x14]
push 0xc5
push dword [eax]
call esi
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x46680d
lea ecx, [ebp - 0x19c]
push ecx
push eax
mov eax, dword [ebp - 0x14]
push 0xcb
push dword [eax]
call esi
test edi, edi
je case.0x465db2.20
cmp edi, dword [ebp + 0x10]
je case.0x465db2.20
push edi
call fcn.0049b8d4
add esp, 4
jmp case.0x465db2.20
mov eax, dword [ebp + 0x10]
mov byte [ebp - 0x19], 0
cmp word [eax], 0
je 0x466881
push str.LongDate
push eax
call fcn.00499643
add esp, 8
test eax, eax
jne 0x466859
mov eax, dword [ebp - 0x18]
and eax, 0xfffffff6
or eax, 4
mov dword [ebp - 0x18], eax
jmp 0x466884
push str.Time
push dword [ebp + 0x10]
call fcn.00499643
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x18]
jne 0x46687b
and eax, 0xfffffffb
or eax, 9
mov dword [ebp - 0x18], eax
jmp 0x466884
mov byte [ebp - 0x19], 1
jmp 0x466884
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1dc], 2
jne 0x466893
or eax, 2
mov dword [ebp - 0x18], eax
push 0
push dword [0x4dc464]
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push eax
push 0x4b70dc
push str.SysDateTimePick32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x14]
mov ecx, eax
mov dword [esi], ecx
test ecx, ecx
je case.0x465db2.20
cmp byte [ebp - 0x19], 0
je 0x4668ef
push dword [ebp + 0x10]
push 0
push 0x1032
push ecx
call edi
mov ecx, dword [esi]
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x46690b
lea edx, [ebp - 0xb0]
push edx
push eax
push 0x1004
push ecx
call edi
mov ecx, dword [esi]
mov edx, dword [ebp - 0x1dc]
test edx, edx
je 0x46692f
lea eax, [ebp - 0xd0]
push eax
xor eax, eax
cmp edx, 1
setne al
push eax
push 0x1002
push ecx
call edi
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
cmp eax, 0xff000000
je case.0x465db2.20
push eax
push 1
push 0x1006
push ecx
call edi
jmp case.0x465db2.20
cmp dword [ebp - 0x90], 0
jne 0x4669e8
mov ecx, dword [ebp + 0x10]
movzx eax, word [ecx]
test ax, ax
je 0x4669e8
xor edi, edi
add ecx, 2
cmp eax, 0x2d
je 0x4669b9
push 0x2d
push ecx
call fcn.00496bcf
add esp, 8
mov dword [ebp - 0x50], eax
test eax, eax
je 0x46698a
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0xd0]
push 1
call fcn.0047c470
add esp, 4
mov ecx, 1
test eax, eax
mov eax, dword [ebp - 0x50]
cmovne edi, ecx
test eax, eax
je 0x4669d6
mov ecx, 0x2d
mov word [eax], cx
lea ecx, [eax + 2]
cmp word [ecx], 0
je 0x4669d6
push 1
lea edx, [ebp - 0xc0]
call fcn.0047c470
add esp, 4
test eax, eax
je 0x4669d6
or edi, 2
mov dword [ebp - 0x90], edi
cmp edi, 3
mov edi, dword [ebp - 0x34]
jne 0x4669e8
or dword [ebp - 0x18], 2
mov eax, dword [ebp - 0x1e4]
mov ecx, 0x64
push 0
push dword [0x4dc464]
cmp eax, 0x80000000
push esi
push dword [ebp - 0x28]
cmove eax, ecx
push eax
mov eax, dword [ebp - 0x1e8]
test eax, eax
cmovs eax, ecx
push eax
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [ebp - 0x18]
push 0x4b70dc
push str.SysMonthCal32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x465db2.20
mov esi, dword [ebp - 0x18]
mov ecx, eax
and esi, 2
je 0x466a63
push 0
push 0x16e
push 0x1004
push eax
call edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov ecx, eax
mov edx, dword [ebp - 0x8c]
test edx, edx
je 0x466a84
lea ecx, [ebp - 0xb0]
push ecx
push edx
push 0x1012
push eax
call edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov ecx, eax
mov edx, dword [ebp - 0x90]
test edx, edx
je 0x466acc
test esi, esi
je 0x466abb
cmp edx, 1
jne 0x466aaa
movups xmm0, xmmword [ebp - 0xd0]
mov eax, dword [ebp - 0x14]
movups xmmword [ebp - 0xc0], xmm0
mov ecx, dword [eax]
lea eax, [ebp - 0xd0]
push eax
push 0
push 0x1006
push ecx
jmp 0x466aca
lea ecx, [ebp - 0xd0]
push ecx
push 0
push 0x1002
push eax
call edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x10]
cmp eax, 0xff000000
je 0x466ae5
push eax
push 1
push 0x100a
push dword [ecx]
call edi
mov esi, dword [ebp - 0x10]
movzx eax, byte [ebp + 0xb]
push eax
mov eax, dword [0x4ddc5c]
imul ecx, dword [esi + 0x50], 0x94
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x14]
push 0x30
push dword [eax]
call edi
cmp dword [ebp - 0x1e8], 0x80000000
mov byte [ebp + 0xf], 1
je 0x466b29
cmp dword [ebp - 0x1e4], 0x80000000
jne 0x465e05
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x1009
push dword [eax]
call edi
test eax, eax
je 0x465e05
mov ecx, dword [ebp - 0x1e8]
test ecx, ecx
jns 0x466b94
test byte [ebp - 0x18], 0x10
je 0x466b58
mov eax, dword [ebp - 0x6c]
jmp 0x466b75
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0x1015
push dword [eax]
call edi
cmp eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x1e8]
cmovl eax, dword [ebp - 0x6c]
cmp ecx, 0x80000000
jne 0x466b81
mov ecx, eax
jmp 0x466b8e
add eax, 6
imul eax, ecx
mov ecx, 0xfffffffa
sub ecx, eax
mov dword [ebp - 0x1e8], ecx
mov edx, dword [ebp - 0x1e4]
cmp edx, 0x80000000
jne 0x466c77
movss xmm0, dword [ebp - 0x1e0]
comiss xmm0, dword [0x4d4664]
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x1e4], edx
jbe 0x466c77
ucomiss xmm0, dword [0x4d4678]
lahf
test ah, 0x44
jnp 0x466c77
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x466c0a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [esi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4ddc5c]
mov dword [ebp - 0x24], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x288]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x288]
mov eax, dword [ebp - 0x1e4]
je 0x466c2f
add eax, 4
add eax, ecx
movss xmm2, dword [ebp - 0x1e0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
subss xmm2, dword [0x4d4678]
cvttss2si eax, xmm0
movd xmm1, eax
lea eax, [ecx - 2]
mov ecx, dword [ebp - 0x1e8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
subss xmm1, xmm0
cvttss2si edx, xmm1
mov dword [ebp - 0x1e4], edx
mov eax, dword [ebp - 0x14]
push 1
push edx
push ecx
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [eax]
call dword [ebp - 0x38]
jmp 0x465e05
push 0
push dword [0x4dc464]
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push 0x4b70dc
push str.msctls_hotkey32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
test eax, eax
je case.0x465db2.20
mov edx, dword [ebp + 0x10]
cmp word [edx], 0
je 0x466cfa
push 0
mov ecx, edx
call fcn.0046f380
movzx eax, ax
push eax
push 0x401
push dword [esi]
call edi
mov eax, dword [esi]
mov ecx, dword [ebp - 0x1ac]
test ecx, ecx
jle case.0x465db2.20
push 6
push ecx
push 0x403
push eax
call edi
jmp case.0x465db2.20
test dl, 0x10
je 0x466d3f
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jne 0x466d33
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x466d3f
cmp byte [eax + 5], 0
jge 0x466d3f
and edx, 0xffffffef
mov byte [ebp - 0x19], 1
mov dword [ebp - 0x18], edx
jmp 0x466d43
mov byte [ebp - 0x19], 0
push 0
push dword [0x4dc464]
push esi
mov esi, dword [ebp - 0x28]
push esi
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push 0x4b70dc
push str.msctls_updown32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x465db2.20
mov cl, byte [ebp - 0x19]
test cl, cl
je 0x466da7
mov ecx, dword [ebp - 0x50]
push 0
push dword [ecx]
push 0x469
push eax
call edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov cl, byte [ebp - 0x19]
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0
je 0x466efa
mov edx, dword [ebp - 0x18]
test dl, 0x10
jne 0x466dc4
test cl, cl
je 0x466efa
lea ecx, [ebp - 0x74]
push ecx
push eax
call dword [ebp - 0x3c]
push 2
lea eax, [ebp - 0x74]
push eax
push esi
push 0
call dword [ebp - 0x48]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x70]
sub eax, ecx
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x68]
sub eax, edx
mov dword [ebp - 0x1f0], ecx
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x234]
push eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1ec], edx
push dword [eax]
call dword [ebp - 0x3c]
push 2
lea eax, [ebp - 0x234]
push eax
push esi
push 0
call dword [ebp - 0x48]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov esi, edx
and esi, 4
cmp byte [eax + 0xbf], 0
je 0x466e9e
test esi, esi
je 0x466e65
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [ebp - 0x1f0]
add dword [ebp - 0x6c], eax
add ecx, eax
push 1
push dword [ebp - 0x1e4]
mov dword [ebp - 0x1f0], ecx
push eax
push dword [ebp - 0x1ec]
mov eax, dword [ebp - 0x14]
push ecx
push dword [eax]
call dword [ebp - 0x38]
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x230]
sub eax, ecx
add edx, dword [ebp - 0x1e8]
push 1
push eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x22c], edx
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [ebp - 0x50]
push dword [eax]
call dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
test esi, esi
je 0x466eb5
mov ecx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1f0], ecx
sub eax, ecx
jmp 0x466ebe
mov eax, dword [ebp - 0x22c]
sub eax, dword [ebp - 0x74]
cmp byte [ebp - 0x82], 0
mov dword [ebp - 0x1e8], eax
jne 0x466f14
mov eax, dword [ebp - 0x50]
cmp byte [eax + 4], 9
jne 0x466f03
mov byte [ebp - 0x82], 1
test dl, 0x40
je 0x466eee
mov dword [ebp - 0x1d4], 0x7fff
jmp 0x466f14
mov dword [ebp - 0x1d8], 0x7fff
jmp 0x466f14
cmp byte [ebp - 0x82], 0
jne 0x466f14
mov byte [ebp - 0x82], 1
mov dword [ebp - 0x1d4], 0x64
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.0046f530
mov ecx, dword [ebp + 0x10]
call fcn.0040f490
push eax
movsx eax, byte [esi + 5]
sar eax, 0x1f
and eax, 0xa
push 0
add eax, 0x467
push eax
push dword [esi]
call edi
jmp case.0x465db2.20
push 0
push dword [0x4dc464]
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push 0x4b70dc
push str.msctls_trackbar32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
test eax, eax
je case.0x465db2.20
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.0046f5a0
mov edx, dword [ebp + 0x10]
cmp word [edx], 0
je case.0x465db2.20
mov ecx, edx
call fcn.0040f490
cmp byte [esi + 5], 0
mov edi, eax
jge 0x466fe1
push 0
push 0
push 0x402
push dword [esi]
mov esi, dword [ebp - 0x34]
call esi
push 0
mov esi, eax
mov eax, dword [ebp - 0x14]
push 0
push 0x401
sub esi, edi
push dword [eax]
call dword [ebp - 0x34]
lea edi, [esi + eax]
mov esi, dword [ebp - 0x14]
push edi
push 1
push 0x405
push dword [esi]
call dword [ebp - 0x34]
jmp case.0x465db2.20
push 0
push dword [0x4dc464]
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push 0x4b70dc
push str.msctls_progress32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov dword [ecx], eax
test eax, eax
je 0x465e05
push dword [ebp - 0x18]
lea eax, [ebp - 0x210]
push eax
push ecx
mov ecx, esi
call fcn.0046f760
mov edx, dword [ebp + 0x10]
cmp word [edx], 0
je 0x46706c
push 0
mov ecx, edx
call fcn.0040f490
push eax
mov eax, dword [ebp - 0x14]
push 0x402
push dword [eax]
call edi
mov byte [ebp - 0x3e], 0
jmp 0x465e05
push 0
push dword [0x4dc464]
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push 0x4b70dc
push str.SysTabControl32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je case.0x465db2.20
cmp byte [ebp - 0x7b], 0
je 0x4671f5
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
push 0
push 0x470420
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x23c], 0x50000400
push dword [eax + 4]
lea eax, [ebp - 0x23c]
movq qword [ebp - 0x22c], xmm0
push eax
push dword [0x4dc464]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, eax
test esi, esi
je 0x467124
mov eax, dword [ebp - 0x14]
push esi
push 0x4d2f58
push dword [eax]
call dword [sym.imp.USER32.dll_SetPropW]
test eax, eax
jne 0x467136
push esi
call edi
mov esi, dword [ebp - 0x14]
push dword [esi]
call edi
mov dword [esi], 0
jmp case.0x465db2.20
xor edx, edx
cmp byte [ebp - 0x7d], dl
je 0x467166
push str.uxtheme
call dword [ebp - 0x5c]
mov edi, eax
test edi, edi
je 0x467161
push str.EnableThemeDialogTexture
push edi
call dword [ebp - 0x54]
test eax, eax
je 0x46715d
push 6
push esi
call eax
push edi
call dword [ebp - 0x58]
mov edx, 2
mov eax, dword [ebp - 0x14]
mov ecx, edx
or ecx, 1
mov al, byte [eax + 5]
and al, 0x20
cmove ecx, edx
push ecx
push 0xffffffffffffffeb
push esi
mov esi, dword [ebp - 0x44]
call esi
mov edi, dword [ebp - 0x10]
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [edi + 0x40], eax
test eax, 0x10000
jne 0x4671a7
or eax, 0x10000
push eax
push 0xffffffffffffffec
push dword [edi + 4]
mov dword [edi + 0x40], eax
call esi
mov ecx, dword [ebp - 0x14]
mov al, byte [ebp - 0x7a]
test al, al
je 0x4671c2
movsx eax, al
push eax
push str.ahk_autosize
push dword [ecx]
call dword [sym.imp.USER32.dll_SetPropW]
mov al, byte [edi + 0xb8]
mov byte [edi + 0xb9], al
inc al
mov byte [edi + 0xb8], al
mov eax, dword [ebp - 0x14]
push 0x46ed40
push 0xfffffffffffffffc
mov byte [edi + 0xba], 0
push dword [eax]
call esi
mov dword [0x4dcec8], eax
jmp case.0x465db2.20
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x10]
jmp 0x4671aa
cmp byte [0x4dfc5c], 0
jne 0x46723b
push 0x4d28f0
call ecx
mov edi, eax
test edi, edi
je 0x46723b
push str.AtlAxWinInit
push edi
call dword [ebp - 0x54]
test eax, eax
je 0x46722e
call eax
test eax, eax
setne al
mov byte [0x4dfc5c], al
jmp 0x467233
mov al, byte [0x4dfc5c]
test al, al
jne 0x46723b
push edi
call dword [ebp - 0x58]
push 0
push dword [0x4dc464]
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
push str.AtlAxWin
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
test eax, eax
je case.0x465db2.20
mov ecx, eax
call fcn.0045cd80
mov ecx, eax
test ecx, ecx
jne 0x4672a0
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x465db2.20
mov eax, dword [esi + 8]
push ecx
test eax, eax
je 0x4672b4
mov ecx, eax
call fcn.0047fe00
jmp case.0x465db2.20
mov eax, dword [ecx]
call dword [eax + 8]
jmp case.0x465db2.20
mov ax, word [ebp - 0x78]
test ax, ax
jne 0x4672d1
mov eax, str.A_window_class_is_required.
jmp 0x465e36
push 0
push dword [0x4dc464]
movzx eax, ax
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edx
push dword [ebp + 0x10]
push eax
jmp 0x465df4
push esi
mov esi, dword [ebp - 0x10]
push dword [esi + 4]
push dword [ebp + 0x10]
push edx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je 0x465e05
mov ecx, dword [ebp - 0x1b0]
mov dword [esi + 8], eax
cmp ecx, 0xffffffff
je 0x465e05
push ecx
push 0
push 0x2001
push eax
call edi
jmp 0x465e05
mov al, byte [ebp - 0x3d]
inc dword [esi + 0x10]
mov byte [esi + 0xbf], al
mov esi, dword [ebp - 0x1f4]
test esi, esi
je 0x46738c
push 0x10
lea eax, [ebp - 0x248]
mov dword [ebp - 0x24c], 0x780030
push eax
push dword [edx]
call fcn.004995a1
add esp, 0xc
lea eax, [ebp - 0x24c]
mov ecx, esi
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.0047faa0
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 4]
cmp al, 6
jne 0x4673b3
mov ecx, dword [ebp - 0x1a4]
test ecx, ecx
je 0x4673af
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x10]
dec eax
push eax
push edx
call fcn.0046f420
mov edx, dword [ebp - 0x14]
mov al, 1
jmp 0x4673b5
xor al, al
mov edi, dword [ebp - 0x10]
mov byte [edi + 0x44], al
test dword [ebp - 0x20c], 0x10000000
je 0x4673cb
or byte [edx + 5], 8
test dword [ebp - 0x210], 0x8000000
je 0x4673db
or byte [edx + 5], 0x10
cmp byte [ebp - 0x3e], 0
jne 0x467403
cmp dword [edx + 0x10], 0xff000000
mov al, byte [edx + 4]
je 0x4673f9
cmp al, 5
je 0x467403
cmp al, 6
je 0x467403
cmp al, 3
je 0x467403
cmp al, 3
jne 0x467437
test byte [edx + 5], 0x40
je 0x467437
mov edi, dword [edx]
push str.uxtheme
call dword [ebp - 0x5c]
mov esi, eax
test esi, esi
je 0x467431
push str.SetWindowTheme
push esi
call dword [ebp - 0x54]
test eax, eax
je 0x46742d
push 0x4b70dc
push 0x4b70dc
push edi
call eax
push esi
call dword [ebp - 0x58]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
cmp byte [ebp + 0xf], 0
mov esi, dword [ebp - 0x34]
jne 0x467464
cmp byte [ebp - 0x3f], 0
je 0x467464
imul ecx, dword [edi + 0x50], 0x94
movzx eax, byte [ebp + 0xb]
push eax
mov eax, dword [0x4ddc5c]
push dword [ecx + eax + 0x90]
push 0x30
push dword [edx]
call esi
cmp dword [ebp - 0x88], 4
jne 0x46747a
mov eax, dword [ebp - 0x14]
push 0
push 0
push 0xb
push dword [eax]
call esi
push ecx
push dword [ebp - 0x1dc]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.0046afa0
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + 4], 0x13
jne 0x467542
movss xmm0, dword [ebp - 0x1e0]
comiss xmm0, dword [0x4d4664]
jbe 0x467530
lea eax, [ebp - 0x74]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov edi, dword [ebp - 0x44]
and al, 0x82
cmp al, 2
jne 0x4674dd
mov eax, dword [ebp - 0x14]
and ecx, 0xfffffffd
push ecx
push 0xfffffffffffffff0
mov byte [ebp + 0xb], 1
push dword [eax]
call edi
jmp 0x4674e1
mov byte [ebp + 0xb], 0
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x14]
push 1
push 0x1328
push dword [eax]
call esi
cmp byte [ebp + 0xb], 0
je 0x467505
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push 0xfffffffffffffff0
push dword [eax]
call edi
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
push 1
push eax
push dword [ebp - 0x1e8]
mov dword [ebp - 0x1e4], eax
push dword [ebp - 0x1ec]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x1f0]
push dword [eax]
call dword [ebp - 0x38]
jmp 0x46753f
cmp byte [ebp - 0x7b], 0
je 0x467542
push dword [ecx]
mov ecx, edi
call fcn.004703c0
mov ecx, dword [ebp - 0x14]
cmp byte [ebp - 0x1a], 0
je 0x46759a
lea eax, [ebp - 0x74]
push eax
push dword [ecx]
call dword [ebp - 0x3c]
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x74]
cmp byte [ebp - 0x20], 9
mov dword [ebp - 0x1e8], eax
jne 0x46759a
test dword [ebp - 0x18], 0x100000
je 0x46759a
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
jns 0x46758b
lea ecx, [eax + eax*2]
mov dword [ebp - 0x1a8], ecx
mov eax, dword [ebp - 0x14]
push 0
push ecx
push 0x194
push dword [eax]
call esi
mov ecx, dword [ebp - 0x30]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [ebp - 0x28]
test ecx, ecx
je 0x467603
mov eax, dword [ebp - 0x10]
cmp edi, dword [eax + 4]
jne 0x467603
cmp byte [ebp - 0x40], 0
je 0x4675ea
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [ebp - 0x3c]
push 2
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
push 0
call dword [ebp - 0x48]
push 0
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x30]
cmp byte [ecx + 5], 0
jge 0x467603
mov eax, dword [ebp - 0x14]
push 0x13
push 0
push 0
push 0
push 0
push dword [eax]
push dword [ecx]
call esi
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
test eax, eax
je 0x46761f
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
mov edx, dword [ebp - 0x10]
cmp byte [ebp - 0x20], 0x19
je 0x467724
mov ecx, dword [edx + 4]
cmp edi, ecx
je 0x467664
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1ec]
push 1
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
push ecx
push edi
call dword [ebp - 0x48]
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1f0], esi
mov dword [ebp - 0x1ec], edi
jmp 0x467670
mov edi, dword [ebp - 0x1ec]
mov esi, dword [ebp - 0x1f0]
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x1e8]
mov dword [edx + 0x8c], ecx
add ecx, edi
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x10]
mov dword [edx + 0x88], eax
mov dword [edx + 0x80], esi
mov dword [edx + 0x84], edi
lea edx, [esi + eax]
mov eax, dword [ebp - 0x28]
cmp eax, dword [ecx + 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
jne 0x4676cf
cmp byte [ebp - 0x7a], 0
jne 0x4676cf
cmp edx, dword [eax + 0x90]
jle 0x4676c1
mov dword [eax + 0x90], edx
cmp ecx, dword [eax + 0x94]
jle 0x4676cf
mov dword [eax + 0x94], ecx
cmp byte [ebp - 0x7e], 0
jne 0x467709
mov eax, dword [eax + 0x10]
cmp eax, 1
je 0x467709
cmp eax, 2
jne 0x4676ee
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
cmp byte [eax + 4], 0x19
je 0x467709
mov eax, dword [ebp - 0x10]
cmp edx, dword [eax + 0xa0]
jle 0x4676ff
mov dword [eax + 0xa0], edx
cmp ecx, dword [eax + 0xa4]
jle 0x467724
jmp 0x46771e
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x98], esi
mov dword [eax + 0x9c], edi
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], ecx
mov esi, 1
mov dword [ebp - 4], 3
xor ecx, ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc